summaryrefslogtreecommitdiffstats
path: root/common/src
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-06-25 12:34:04 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-25 12:34:04 +0000
commit78d0be555197b29cd9de4b882c9525d6b6b2e524 (patch)
tree5473d222ccf01be249fb716d78d8f4853f681667 /common/src
parentc2f0aac6784db56706931a5fa409e18a3dc872cd (diff)
parentdbc13c78875a3d5493054a7252a7804daae8cf1f (diff)
Merge "Move parameters from config Json file to application.yaml"
Diffstat (limited to 'common/src')
-rw-r--r--common/src/test/resources/demo/Notes.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/common/src/test/resources/demo/Notes.txt b/common/src/test/resources/demo/Notes.txt
index 21be91449..315d6407c 100644
--- a/common/src/test/resources/demo/Notes.txt
+++ b/common/src/test/resources/demo/Notes.txt
@@ -14,10 +14,16 @@ Run CL from command line
Go to clamp/tosca-controlloop/runtime
mvn exec:java -Dexec.mainClass=org.onap.policy.clamp.controlloop.runtime.main.startstop.Main -Dexec.args="-c src/test/resources/parameters/TestParametersMariaDB.json"
-Run Participant from command line
-mvn exec:java -Dexec.mainClass=org.onap.policy.clamp.controlloop.participants.ParticipantMain -Dexec.args=" -c src/main/resources/config/CDSParticipantConfig.json"
-mvn exec:java -Dexec.mainClass=org.onap.policy.clamp.controlloop.participant.dcae.main.startstop.Main -Dexec.args=" -c src/main/resources/config/DCAEParticipantConfig.json"
-mvn exec:java -Dexec.mainClass=org.onap.policy.clamp.controlloop.participants.ParticipantMain -Dexec.args=" -c src/main/resources/config/PolicyParticipantConfig.json"
+Run Participant from command line using Maven
+mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=8080 --topicServer=localhost"
+mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=8081 --topicServer=localhost"
+mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=8082 --topicServer=localhost"
+
+Run Participant from command line using Jar
+java -jar -Dserver.port=8080 -DtopicServer=localhost target/policy-clamp-participant-impl-simulator-6.1.2-SNAPSHOT.jar
+java -jar -Dserver.port=8081 -DtopicServer=localhost target/policy-clamp-participant-impl-dcae-6.1.2-SNAPSHOT.jar
+java -jar -Dserver.port=8082 -DtopicServer=localhost target/policy-clamp-participant-impl-policy-6.1.2-SNAPSHOT.jar
+java -jar -DtopicServer=localhost target/policy-clamp-participant-impl-kubernetes-6.1.2-SNAPSHOT.jar
Config of DB