add configuration & service testes

This commit is contained in:
Nicolas Le Goff
2011-12-28 19:27:26 +01:00
parent 52c971f1a8
commit 45aa313db7
17 changed files with 1034 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
## YAML Template.
---
phraseanet:
servername: http://dev.phrasea.net/
maintenance: false
debug: false
display_errors: false
# Twig Configuration
twig:
debug: false
strict_variables: true
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: localhost
port: 3306
dbname: ab_trunk
user: root
password: nicolas007
charset: UTF8
orm:
auto_generate_proxy_classes: %phraseanet.debug%
auto_mapping: true
cache:
query: array
result: array
metadata: array
log:
enable: true
type: bad_logger
handler: rotate
output: json
filename: doctrine-query.log
max_day: 10
# Monolog LOG Configuration
monolog:
output: yaml
handlers:
main:
type: stream
level: debug
rotate:
type: rotatingFile
level: debug
max_day: 10
# Memchache Configuration
memcached:
host: 11211

View File

@@ -0,0 +1,60 @@
## YAML Template.
---
phraseanet:
servername: http://dev.phrasea.net/
maintenance: false
debug: false
display_errors: false
# Twig Configuration
twig:
debug: false
strict_variables: true
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: localhost
port: 3306
dbname: ab_trunk
user: root
password: nicolas007
charset: UTF8
orm:
auto_generate_proxy_classes: %phraseanet.debug%
auto_mapping: true
cache:
query: array
result: array
metadata: array
log:
enable: false
type: monolog
handler: rotate
output: json
filename: doctrine-query.log
max_day: 10
# Monolog LOG Configuration
monolog:
output: yaml
handlers:
main:
type: stream
level: debug
rotate:
type: rotatingFile
level: debug
max_day: 10
# Memchache Configuration
memcached:
host: 11211

View File

@@ -0,0 +1,19 @@
## YAML Template.
---
extends: main
phraseanet:
debug: true
doctrine:
orm:
cache:
query: array
result: array
metadata: array
log:
enable: true
output: json
rotate:
max_day: 2

View File

@@ -0,0 +1,2 @@
## YAML Template.
---

View File

@@ -0,0 +1,12 @@
## YAML Template.
---
# Doctrine Configuration
doctrine:
orm:
cache:
query: apc
result: memcached
metadata: apc
log:
enable: true

View File

@@ -0,0 +1,10 @@
## YAML Template.
---
extends: dev
doctrine:
dbal:
driver: pdo_sqlite
path: /Users/nicolasl/workspace/phraseanet/lib/unitTest/tests.sqlite
charset: UTF8

View File

@@ -0,0 +1,5 @@
## YAML Template.
---
extends: unknow

View File

@@ -0,0 +1,60 @@
## YAML Template.
---
phraseanet:
servername: http://dev.phrasea.net/
maintenance: false
debug: false
display_errors: false
# Twig Configuration
twig:
debug: false
strict_variables: true
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: localhost
port: 3306
dbname: ab_trunk
user: root
password: nicolas007
charset: UTF8
orm:
auto_generate_proxy_classes: %phraseanet.debug%
auto_mapping: true
cache:
query: array
result: array
metadata: array
log:
enable: true
type: monolog
handler: rotate
output: json
filename: doctrine-query.log
max_day: 10
# Monolog LOG Configuration
monolog:
output: yaml
handlers:
main:
type: stream
level: debug
rotate:
type: rotatingFile
level: debug
max_day: 10
# Memchache Configuration
memcached:
host: 11211

View File

@@ -0,0 +1,59 @@
## YAML Template.
---
phraseanet:
servername: http://dev.phrasea.net/
maintenance: false
debug: false
display_errors: false
# Twig Configuration
twig:
debug: false
strict_variables: true
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: localhost
port: 3306
dbname: ab_trunk
user: root
password: nicolas007
charset: UTF8
orm:
auto_generate_proxy_classes: %phraseanet.debug%
auto_mapping: true
cache:
query: array
result: array
metadata: array
log:
enable: true
type: monolog
handler: rotate
filename: doctrine-query.log
max_day: 10
# Monolog LOG Configuration
monolog:
output: yaml
handlers:
main:
type: stream
level: debug
rotate:
type: rotatingFile
level: debug
max_day: 10
# Memchache Configuration
memcached:
host: 11211

View File

@@ -0,0 +1,59 @@
## YAML Template.
---
phraseanet:
servername: http://dev.phrasea.net/
maintenance: false
debug: false
display_errors: false
# Twig Configuration
twig:
debug: false
strict_variables: true
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: localhost
port: 3306
dbname: ab_trunk
user: root
password: nicolas007
charset: UTF8
orm:
auto_generate_proxy_classes: %phraseanet.debug%
auto_mapping: true
cache:
query: array
result: array
metadata: array
log:
enable: true
type: monolog
handler: rotate
filename: doctrine-query.log
max_day: 10
# Monolog LOG Configuration
monolog:
output: yaml
handlers:
main:
type: stream
level: debug
rotate:
type: rotatingFile
level: debug
max_day: 10
# Memchache Configuration
memcached:
host: 11211

View File

@@ -0,0 +1,12 @@
{
"meta": {
"api_version": "1.0",
"request": "GET /api/v1/feeds/288/content/",
"response_time": "2011-07-27T15:52:04+02:00",
"http_code": 200,
"error_message": null,
"error_details": null,
"charset": "UTF-8"
},
"response": {}
}