File tree Expand file tree Collapse file tree 5 files changed +5
-43
lines changed
src/Codebender/BuilderBundle Expand file tree Collapse file tree 5 files changed +5
-43
lines changed Original file line number Diff line number Diff line change @@ -38,29 +38,3 @@ assetic:
38
38
# jar: "%kernel.root_dir%/Resources/java/compiler.jar"
39
39
# yui_css:
40
40
# jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
41
-
42
- # Doctrine Configuration
43
- doctrine :
44
- dbal :
45
- driver : " %database_driver%"
46
- host : " %database_host%"
47
- port : " %database_port%"
48
- dbname : " %database_name%"
49
- user : " %database_user%"
50
- password : " %database_password%"
51
- charset : UTF8
52
- # if using pdo_sqlite as your database driver, add the path in parameters.yml
53
- # e.g. database_path: "%kernel.root_dir%/data/data.db3"
54
- # path: "%database_path%"
55
-
56
- orm :
57
- auto_generate_proxy_classes : " %kernel.debug%"
58
- auto_mapping : true
59
-
60
- # Swiftmailer Configuration
61
- swiftmailer :
62
- transport : " %mailer_transport%"
63
- host : " %mailer_host%"
64
- username : " %mailer_user%"
65
- password : " %mailer_password%"
66
- spool : { type: memory }
Original file line number Diff line number Diff line change 1
1
parameters:
2
- database_driver: pdo_mysql
3
- database_host: ~
4
- database_port: ~
5
- database_name: ~
6
- database_user: ~
7
- database_password: ~
8
-
9
- mailer_transport: smtp
10
- mailer_host: ~
11
- mailer_user: ~
12
- mailer_password: ~
13
-
14
2
locale: en
15
3
secret: ThisTokenIsNotSoSecretChangeIt
16
4
compiler: 'http://compilerurl.com/'
17
- library : 'http://libraryappurl.com/'
5
+ library_manager : 'http://libraryappurl.com/'
18
6
authorizationKey: authenticationekey
19
7
version: version
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ protected function getLibraryInfo($data)
127
127
{
128
128
$ handler = $ this ->get ('codebender_builder.handler ' );
129
129
130
- $ libraryManager = $ this ->container ->getParameter ('library ' );
130
+ $ libraryManager = $ this ->container ->getParameter ('library_manager ' );
131
131
132
132
return $ handler ->postRawData ($ libraryManager , $ data );
133
133
}
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ public function testGetLibraryInfo() {
237
237
238
238
$ controller ->expects ($ this ->once ())->method ('get ' )->with ('codebender_builder.handler ' )->will ($ this ->returnValue ($ apiHandler ));
239
239
240
- $ container ->expects ($ this ->once ())->method ('getParameter ' )->with ('library ' )->will ($ this ->returnValue ('http://library/manager ' ));
240
+ $ container ->expects ($ this ->once ())->method ('getParameter ' )->with ('library_manager ' )->will ($ this ->returnValue ('http://library/manager ' ));
241
241
242
242
$ apiHandler ->expects ($ this ->once ())->method ('postRawData ' )->with ('http://library/manager ' , 'library data ' )->will ($ this ->returnValue ('Whatever ' ));
243
243
Original file line number Diff line number Diff line change 93
93
cat app/config/parameters.yml | grep -v " compiler:" | tee app/config/parameters.yml > /dev/null
94
94
echo " compiler: '$COMPILER_URL '" >> app/config/parameters.yml
95
95
96
- cat app/config/parameters.yml | grep -v " library :" | tee app/config/parameters.yml > /dev/null
97
- echo " library : '$LIBRARY_URL '" >> app/config/parameters.yml
96
+ cat app/config/parameters.yml | grep -v " library_manager :" | tee app/config/parameters.yml > /dev/null
97
+ echo " library_manager : '$LIBRARY_URL '" >> app/config/parameters.yml
98
98
set -x
99
99
100
100
You can’t perform that action at this time.
0 commit comments