spring-cloud / spring-cloud-deployer-cloudfoundry

The Spring Cloud Deployer implementation for Cloud Foundry
Apache License 2.0
28 stars 39 forks source link

Map env from request properties #356

Closed dturanski closed 4 years ago

dturanski commented 4 years ago

Fixes #355

Deploy with deployer.*.cloudfoundry.env.ROOT.LOG.LEVEL=DEBUG

$cf env time2
....
User-Provided:
ROOT.LOG.LEVEL: DEBUG
SPRING_APPLICATION_JSON: {"spring.datasource.username":"sa","spring.cloud.task.name":"time2","spring.datasource.url":"jdbc:h2:tcp://localhost:19092/mem:dataflow","spring.datasource.driverClassName":"org.h2.Driver"}
jvalkeal commented 4 years ago

lgtm