From 28babfa0a7ab8a6c1df9d16c7235d968c1337df3 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Fri, 10 Apr 2020 18:22:59 +0200 Subject: Fix integration markdown errors for linter Issue-ID: INT-1523 Signed-off-by: mrichomme Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056 Signed-off-by: mrichomme --- .../mass-pnf-sim/pnf-sim-lightweight/README.md | 29 +++++++++++++++------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight') diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/README.md b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/README.md index 0e2b668a4..927140571 100644 --- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/README.md +++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/README.md @@ -1,16 +1,26 @@ -##Local development shortcuts: -####To start listening on port 10000 for test purposes -`nc -l -k -p 10000` -####Test the command above: -`echo "Hello World" | nc localhost 10000` +## Local development shortcuts: -####Trigger the pnf simulator locally: +To start listening on port 10000 for test purposes: + +``` +nc -l -k -p 10000 +``` + +Test the command above: + +``` +echo "Hello World" | nc localhost 10000 +``` + +Trigger the pnf simulator locally: ``` ~/dev/git/integration/test/mocks/mass-pnf-sim/pnf-sim-lightweight$ curl -s -X POST -H "Content-Type: application/json" -H "X-ONAP-RequestID: 123" -H "X-InvocationID: 456" -d @config/config.json http://localhost:5000/simulator/start ``` -#### VES event sending + +## VES event sending + the default action is to send a VES Message every 15 minutes and the total duration of the VES FileReady Message sending is 1 day (these values can be changed in config/config.json) Message from the stdout of nc: @@ -27,7 +37,8 @@ User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_162) Accept-Encoding: gzip,deflate ``` -```javascript +```i +javascript {"event":{"commonEventHeader":{"startEpochMicrosec":"1551865758690","sourceId":"val13","eventId":"registration_51865758", "nfcNamingCode":"oam","internalHeaderFields":{},"priority":"Normal","version":"4.0.1","reportingEntityName":"NOK6061ZW3", "sequence":"0","domain":"notification","lastEpochMicrosec":"1551865758690","eventName":"pnfRegistration_Nokia_5gDu", @@ -36,4 +47,4 @@ Accept-Encoding: gzip,deflate "arrayOfNamedHashMap":[{"name":"10MB.tar.gz","hashMap":{ "location":"ftpes://10.11.0.68/10MB.tar.gz","fileFormatType":"org.3GPP.32.435#measCollec", "fileFormatVersion":"V10","compression":"gzip"}}]}}} -``` \ No newline at end of file +``` -- cgit 1.2.3-korg