Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CLAMP Participant Simulator is a simulator used to test the participant ecosystem.

Participant Simulator can mock the messaging behavior of a particular participant. In order to do that just change the identification of the participant (participantId and participantType) into the configuration yaml file.
In a complex scenario, using console and more yaml configuration files, it possible to run simulator in multiple instances. For each yaml file, it needs to change the web-server port and the participant identification.
So just run one by one the jar file with an external yaml configuration file.

Sirisha Manchikanti to update.

...

mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=8080 --topicServer=localhost"

Run Participant from command line using Jar

java -jar -Dserver.port=8080 -DtopicServer=localhost target/target/policy-clamp-participant-impl-simulator-6.1.3-SNAPSHOT.jar

Run Participant from command line using Jar and external yaml file

java -jar policy-clamp-participant-impl-simulator-6.1.23-SNAPSHOT.jar --spring.config.location=http-participant.yaml

Swagger UI

Swagger User Interface of the Participant Simulator is available at the below link:

http://localhost:8080/onap/participantsim/swagger-ui/

Image Added