mapado/rest-client-sdk-bundle : Move from "old" configuration to env variable

This commit is contained in:
Julien Deniau
2019-09-27 09:58:08 +02:00
parent 3bcb8e8a2d
commit 4909ad7627
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
mapado_rest_client_sdk:
entity_managers:
foo:
server_url: 'https://my-api.com:8080'
server_url: '%env(MAPADO_REST_CLIENT_SDK_SERVER_URL)%'
mappings:
dir: '%kernel.project_dir%/src/Entity/'

View File

@@ -5,5 +5,8 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"env": {
"MAPADO_REST_CLIENT_SDK_SERVER_URL": "https://my-api.com:8080"
}
}