Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

updates to latest versions of all actors#3

Open
cprato79 wants to merge 12 commits intogravitee-io:masterfrom
cprato79:master
Open

updates to latest versions of all actors#3
cprato79 wants to merge 12 commits intogravitee-io:masterfrom
cprato79:master

Conversation

@cprato79
Copy link
Copy Markdown

@cprato79 cprato79 commented Jul 4, 2019

updates to make the projects compliants with the latest versions of all actors

@@ -0,0 +1,169 @@
#!/bin/sh
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why providing this binary instead of using the one from the container?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
i tried to make less changes as possible respect to the initial master so due the fact in the original binary there is the following code:

if [ -f "/etc/gravitee-gateway/gravitee.yml" ]
then
        GRAVITEE_OPTS="-Dgravitee.conf=/etc/gravitee-gateway/gravitee.yml"
fi

the configuration supplied from outside the container wasn't read

So, I had to change as follow:

if [ -f "$GRAVITEEIO_HOME/config/gravitee.yml" ]
then
	GRAVITEE_OPTS="-Dgravitee.conf=$GRAVITEEIO_HOME/config/gravitee.yml"
fi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants