...
Code Block |
---|
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
<parameter name="logger" value="message-log" />
<parameter name="level" value="info" />
<parameter name="field1" value="Hello World!"/> |
...
The URL to use for you local machine isĀ http://localhost:8181/restconf/operations/SLI-API:execute-graph. Basic authorization is used, the username is admin and the password is adminthe standard ONAP default password.
Use the below body. Initially we will not pass any parameters because this graph does not read any parameters.
...
If everything worked we should get an HTTP 200 OK response. Let's check the logs to be sure.
Code Block |
---|
tail /var/sdnclog/logsonap/bvcsdnc/debugkaraf.log |
Below is the output of this command
...
Code Block |
---|
<record plugin="org.onap.ccsdk.openecompsli.sdnccore.sli.recording.Slf4jRecorder"> <parameter name="logger" value="message-log" /> <parameter name="level" value="info" /> <parameter name="field1" value="`$greeting[$greetingIdx]`"/> <parameter name="field2" value="`$customerName`"/> |
...