Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 769 Bytes

README.adoc

File metadata and controls

25 lines (15 loc) · 769 Bytes

Disaster simulater creates Incidents for and send them to the Incident Service.

Following ConfigMap needs to exist which is mounted to /deployments/config/app-config-properties via fabric8:deploy NAME: disaster-simulator needs to exist for this application to run It can be created from the config dir like this: oc create -f configmap.yml

Finally run the following mvn clean fabric8:deploy -Popenshift

Following commands can be used to run this on an Openshift/Minishift cluster.

$ oc login -u developer -p developer

$ oc new-project MY_PROJECT_NAME

$ oc create -f config/configmap.yml

$ mvn clean fabric8:deploy -Popenshift

Incase running and debugging this locally i.e. an IDE, the com.redhat.cajun.navy.datagenerate.Main is your entry point.