Skip to content

Add an Environment variable to expose pass extra classpath #814

@kameshsampath

Description

@kameshsampath

Is your feature request related to a problem? Please describe.

Currently the polaris-service script sets the CLASSPATH inside it. As a developer I would like to add some extra paths to Classpath via an external variable like POLARIS_CLASSPATH which can then be appened to CLASSPATH like CLASSPATH="$CLASSPATH:$POLARIS_CLASSPATH"

Describe the solution you'd like

Expose a variable named POLARIS_CLASSPATH and update the polaris-service to append it to the CLASSPATH like CLASSPATH="$CLASSPATH:$POLARIS_CLASSPATH"

Describe alternatives you've considered

Currently when running via the container I used to do the sed hack like the following to append to the classpath

sed -i '/CLASSPATH=.*/{p;s/.*/CLASSPATH="$CLASSPATH:\/conf"/}' /app/bin/polaris-service

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions