diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src')
2 files changed, 18 insertions, 20 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_performance-data-collector.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_performance-data-collector.json index 9b89daac..fb5ec10a 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_performance-data-collector.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_performance-data-collector.json @@ -91,26 +91,26 @@ "id": "57ac747a.c5062c", "type": "execute", "name": "execute RestApiCallNode to performance-data-collector", - "xml": "<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">\n<parameter name="\"templateFileName\"" value="\"`$tmp.templateFileName`\"">\n<parameter name="\"restapiUrl\"" value="\"`$prop.sdncRestApi.thirdpartySdnc.url" +="" $tmp.restapiurl`\"="">\n<parameter name="\"restapiUser\"" value="\"`$prop.sdncRestApi.thirdpartySdnc.user`\"">\n<parameter name="\"restapiPassword\"" value="\"`$prop.sdncRestApi.thirdpartySdnc.password`\"">\n<parameter name="\"format\"" value="\"json\"/">\n<parameter name="\"httpMethod\"" value="\"post\"/">\n<parameter name="\"responsePrefix\"" value="\"restApi-result\"/">", - "comments": "", - "outputs": 1, - "x": 329.5992431640625, - "y": 962.920654296875, - "z": "f85a283.735a0d8", - "wires": [ + "xml": "<execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">\n<parameter name="\"templateFileName\"" value="\"`$tmp.templateFileName`\"">\n<parameter name="\"restapiUrl\"" value="\"`'http://'" +="" $collect-performace-data-input.controller-ipv4-address="" ':8181="" restconf="" data="" ietf-service-pm:performance-monitoring="" service-pm=" + $collect-performace-data-input.service-name `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restApi-result\"/>", + "comments": "", + "outputs": 1, + "x": 329.5992431640625, + "y": 962.920654296875, + "z": "f85a283.735a0d8", + "wires": [ [ - "a89016ec.95b9f8", - "dbad8b12.6a55c8", - "522d781.14b7388", - "7c72a790.675628" + "a89016ec.95b9f8", + "dbad8b12.6a55c8", + "522d781.14b7388", + "7c72a790.675628" ] ] }, { - "id": "522d781.14b7388", - "type": "not-found", - "name": "not-found", - "xml": "<outcome value="not-found">\n", + "id": "522d781.14b7388", + "type": "not-found", + "name": "not-found", + "xml": "<outcome value=" not-found'="">\n", "comments": "", "outputs": 1, "x": 1052.3556938171387, @@ -234,4 +234,4 @@ [] ] } -]</record></record></parameter></parameter></return></parameter></return></execute></parameter></parameter></parameter></return></outcome></outcome></outcome></parameter></parameter></parameter></parameter></parameter></parameter></parameter></execute></parameter></return></parameter></set></block></method></service-logic>
\ No newline at end of file +]</record></record></parameter></parameter></return></parameter></return></execute></parameter></parameter></parameter></return></outcome></outcome></parameter></parameter></execute></parameter></return></parameter></set></block></method></service-logic>
\ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_performance-data-collector.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_performance-data-collector.xml index 9741ba38..b069dd14 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_performance-data-collector.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_performance-data-collector.xml @@ -20,10 +20,8 @@ ","comments":"","x":1532.8334693908691,"y":1024.3891944885254,"z":"f85a283.735a0d8","wires":[]},{"id":"57ac747a.c5062c","type":"execute","name":"execute RestApiCallNode to performance-data-collector","xml":" <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest'>\n - <parameter name=\"templateFileName\" value=\"`$tmp.templateFileName`\" />\n<parameter name= - \"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + $tmp.restapiUrl`\" />\n<parameter - name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter - name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n + <parameter name="restapiUrl" + value="`'http://' + $collect-performace-data-input.controller-ipv4-address + ':8181/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $collect-performace-data-input.service-name `"/> <parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"restApi-result\"/>","comments":"","outputs":1,"x":329.5992431640625,"y":962.920654296875,"z":"f85a283.735a0d8","wires":[["a89016ec.95b9f8","dbad8b12.6a55c8","522d781.14b7388","7c72a790.675628"]]},{"id":"522d781.14b7388","type":"not-found","name":"not-found","xml":" |