There is an issue raised for this problem : https://jiradc.int.net.nokia.com/browse/ONAP-5322 Please track jiira.
From: [email protected] <[email protected]> On Behalf Of hbarawkar via Lists.Onap.Org Sent: Monday, March 16, 2020 11:55 AM To: [email protected] Subject: [onap-discuss] #elalto #pnfsimulator #deployment Hi, I am using elalto relese pnfsimulator Git link https://github.com/hbarawkar/integration.git run the docker-compose up config.json format { "simulatorParams": { "vesServerUrl": "http://18.222.109.116:8080/eventListener/v7", "repeatInterval": 10, "repeatCount": 2 }, "templateName": "notification.json", "patch": {} } notification.json format { "event": { "commonEventHeader": { "domain": "notification", "eventName": "vFirewallBroadcastPackets", "eventId": "4cfc-91cf-31a46", "priority": "Normal", "reportingEntityName": "myVNF", "sequence": 1, "sourceName": "ClosedLoopVNF", "startEpochMicrosec": 1531616794, "lastEpochMicrosec": 1531719042, "vesEventListenerVersion": "7.0.1", "version": "4.0.1" }, "notificationFields": { "changeIdentifier": "PM_MEAS_FILES", "changeType": "FileReady", "arrayOfNamedHashMap": [ { "name": "A20161221.1031-1041.bin.gz", "hashMap": { "fileformatType": "org.3GPP.32.435#measCollec", "fileFormatVersion": "V10", "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", "compression": "gzip" } }, { "name": "A20161222.1042-1102.bin.gz", "hashMap": { "fileFormatType": "org.3GPP.32.435#measCollec", "fileFormatVersion": "V10", "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", "compression": "gzip" } } ], "notificationFieldsVersion": "2.0" } } } docker compose file file code version: '3' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: zXcVbN123! MONGO_INITDB_DATABASE: pnf_simulator volumes: - ./db:/docker-entrypoint-initdb.d ports: - "27017:27017" mongo-express: image: mongo-express restart: always ports: - 8081:8081 environment: ME_CONFIG_MONGODB_ADMINUSERNAME: root ME_CONFIG_MONGODB_ADMINPASSWORD: zXcVbN123! pnf-simulator: image: nexus3.onap.org:10003/onap/pnfsimulator ports: - "5000:5000" volumes: - ./logs:/var/log - ./templates:/app/templates - ./store:/app/store restart: on-failure depends_on: - mongo[cid:[email protected]] - mongo-express Facing some issues with mongoDB connection refuse screen shot attached and attache the log file error 1. Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available error 2. java.lang.IllegalArgumentException: Could not resolve placeholder 'templates.dir' in value "${templates.dir}" error 3. Exception in monitor thread while connecting to server localhost:27017 error 4. Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/application/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) Regards -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20267): https://lists.onap.org/g/onap-discuss/message/20267 Mute This Topic: https://lists.onap.org/mt/71995490/21656 Mute #deployment: https://lists.onap.org/mk?hashtag=deployment&subid=2740164 Mute #elalto: https://lists.onap.org/mk?hashtag=elalto&subid=2740164 Mute #pnfsimulator: https://lists.onap.org/mk?hashtag=pnfsimulator&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
