Skip to content

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

@arsu77

Description

@arsu77

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?

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