...
Installation:
1. git clone "https://gerrit.onap.org/r/integration/simulators/ran-app"
To To build a new ran app.
mvn clean install -Dcheckstyle.skip -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
2. To build and run a new ran app container
mvn clean install -Dcheckstyle.skip -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -P docker
docker-compose up -d
Configure the application properties to connect with kafka instance, kafka dispatcher url and the websocket address (ransim IP and port) under <config/application.properties>
server.port=9091
kafka.bootstrapAddress=10.31.4.44:9092
#spring.kafka.producer.bootstrap-servers=10.31.4.44:9092
spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
spring.kafka.producer.value-serializer=org.springframework.kafka.support.serializer.JsonSerializer
ranapp.testing.topic.name=xapptest-topic
ranapp.testing.topic.id=testtopic
restapi.version=v1
websocketserver.address=10.31.4.44:8081
websocketserver.endpoint=/ransim/RansimAgent/ANR-xAPP:9091
ranapp.name=ANR-RanAPP:9091
ranapp.policytype=ANR
ranapp.hokpi1_threshold=100
kafkadispatcher.url=http://10.31.4.44:7075/policytypetotopicmapping/