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

Running sample app locally (not on BlueMix) causes test configuration data to be picked up #10

Open
arsu77 opened this issue Jan 23, 2018 · 0 comments

Comments

@arsu77
Copy link

arsu77 commented Jan 23, 2018

This might not be really an issue but it caused me a bit of time to investigate.
When I run the application locally (using ngrok to register the Webhook) I am not able to register the WebHook as the token verification fails.

This is caused by the fact that /src/test/resources/application.properties is picked up instead of the /src/main/resources/application.yml when starting the Java-Application.
A workaround would be to add the same information insight the application.properties file.
But I would consider this more as a workaround rather than a fix.

Could you recommend (e.g. by passing cli arguments to the main method) an approach in which am able to control which configuration file is picked up?

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

1 participant