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.
Run Participant Simulator from command line using Maven
mvn spring-boot:run -Dspring-boot.run.arguments="--server.port=8080"
Run Participant from command line using Jar
java -jar -Dserver.port=8080 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.3-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/