Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a dedicated deployment property to set environment variables. #170

Open
markpollack opened this issue Sep 3, 2019 · 1 comment

Comments

@markpollack
Copy link
Contributor

markpollack commented Sep 3, 2019

The deployment property use-spring-application-json will take the application properties defined in the DSL and either set them as a json string under the env-var SPRING_APPLICATION_JSON aka SAJ or set an environment variable for each application property. The problem with this is that using env-vars for an application properties is very delicate so not recommended. That leaves no way to reliably pass in an applications properties and set an environment variable, for example one that might be needed by the application for some reason. A new deployment property that lists environment variables to be explicitly set, independent the use of SAJ should be created.

@sangeetakm
Copy link

sangeetakm commented Jul 28, 2022

@markpollack is this issue resolved? i want to pass custom property as environment variable which scdf can use to launch my task.
I am using rest endpoint to launch task. is there an option to pass env variable while launching task using rest endpoint?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants