Skip to content

Environment Variables Support in CEFConnector.properties #2

@jgcotta

Description

@jgcotta

Currently, the CEFConnector-1.7.9.jar does not support the use of environment variables for configuration values in the CEFConnector.properties file. This limitation makes it challenging to manage configurations dynamically, specially if this tool would be containerized.

Proposed Feature:

Adding support for environment variables in the [CEFConnector.properties] file. This feature would allow users to reference environment variables directly within the properties file, enabling more flexible and secure configuration management. https://github.com/jkburg101/environmentResourceBundle

Example Use Case:

For instance, we would like to be able to define a property in the CEFConnector.properties file as follows:

akamai.data.requesturlhost=${AKAMAI_DATA_REQUESTURLHOST}

Where [AKAMAI_DATA_REQUESTURLHOST] is an environment variable set in the runtime environment.

If I tried it, I currently get the following error:

CEFConnectorApp:54- Error occurred. java.lang.IllegalArgumentException: The required configuration parameter akamai.data.requesturlhost has an invalue.

I would appreciate any feedback on the feasibility of this feature. Additionally, if there are any recommended approaches or existing solutions that I might have missed, please let me know.

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions