-
Notifications
You must be signed in to change notification settings - Fork 3
Running using Maven
If you want to build the application yourself, run:
mnv clean install
in the parent pom.xml folder. You will have scenario-generator-*.jar uber jar files:
- main (server) jar file under
scenario-generator/targetfolder - agent jar file under
scenario-generator-agent/targetfolder
If you had an application.properties file in the classpath while running mvn install command, your jar file will include it and use it when you run the application. It is recommended to separate configuration from the application. That is why it is better to build without one and put the properties file in the same folder of the jar file while running the application.
If you just want to run the application, you can find the jar files build under the releases tab https://github.com/opsgenie/playground-scenario-generator/releases.
Create application.properties file and put the necessary configuration parameters as described in the configuration page. This should be done for both server and agent.
OpsGenie Playground - https://opsgenie.com/playground