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?
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?