SteeltoeOSS / Tooling

Steeltoe developer tool collection
https://steeltoe.io/
Apache License 2.0
12 stars 7 forks source link

Ability to dynamically retrieve env/config details from PCF #40

Open TimHess opened 5 years ago

TimHess commented 5 years ago

As a .NET Developer, I would like to be able to retrieve the environment info (eg: VCAP_APPLICATION and VCAP_SERVICES) from an application instance running in Pivotal Cloud Foundry and apply it to my local instance in a non-static way.

Possibly implemented as an on-demand command like st mimic <app-name-on-pcf> or as an msbuild task -- either of which could populate a file that then needs to be included in app configuration

https://stackoverflow.com/questions/52919309/is-it-possible-to-initialize-net-core-non-pcf-deployed-application-with-values/52972109

TimHess commented 5 years ago

See also: https://github.com/jthomas/copyenv