aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-h...
diff options
context:
space:
mode:
authorBryan Guo <guofengbei@huawei.com>2019-03-21 15:05:07 +0800
committerGxxxx <guofengbei@huawei.com>2019-03-21 15:45:25 +0800
commitab5ec38462597f0f3a01f3d74b676efc3cfcbbdd (patch)
tree45251b3a1becaebd4ba007863f51f32307559b62 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
parentf5263394426fc4021179da8135c16f33e9bb2bd8 (diff)
add DGs for BBS usecase
Issue-ID: SDNC-698,SDNC-699,SDNC-700 Change-Id: Iac71c3ad2a42def4bf1fd0e3464f028dae5a5414 Signed-off-by: Gxxxx <guofengbei@huawei.com> Former-commit-id: 05ccc1879959d01720065f633d08e68ede2c04aa
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json229
1 files changed, 229 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
new file mode 100644
index 00000000..3d478c21
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
@@ -0,0 +1,229 @@
+[
+ {
+ "id": "5e265471.e67f7c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 344,
+ "y": 400,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "d75b37ac.e738e8"
+ ]
+ ]
+ },
+ {
+ "id": "d75b37ac.e738e8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 651.9996490478516,
+ "y": 400.0000219345093,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "f2820cf8.0bd53"
+ ]
+ ]
+ },
+ {
+ "id": "f2820cf8.0bd53",
+ "type": "method",
+ "name": "method:bbs-internet-profile-network-topology-operation-delete-huawei",
+ "xml": "<method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.9996337890625,
+ "y": 596.0000982284546,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "9b232b7e.58e2b8"
+ ]
+ ]
+ },
+ {
+ "id": "9b232b7e.58e2b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1056.9998626708984,
+ "y": 597.0000619888306,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "9eb1d9e6.392fa8",
+ "7617ea2e.9a48d4",
+ "5d716cef.c08464"
+ ]
+ ]
+ },
+ {
+ "id": "9eb1d9e6.392fa8",
+ "type": "execute",
+ "name": "execute:DeleteInternetProfileInstance",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1445.6509246826172,
+ "y": 600.9608850479126,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "2862e76.2bc8318",
+ "a6a0cc88.189c9"
+ ]
+ ]
+ },
+ {
+ "id": "a6a0cc88.189c9",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1746.9839057922363,
+ "y": 600.9608850479126,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "68923169.94f92"
+ ]
+ ]
+ },
+ {
+ "id": "2862e76.2bc8318",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1755.9838180541992,
+ "y": 675.9608869552612,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "de6ab4f4.b99d68"
+ ]
+ ]
+ },
+ {
+ "id": "de6ab4f4.b99d68",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.9999389648438,
+ "y": 675.0001821517944,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "4603a7e2.b0ee88",
+ "e87dbd8d.effaf"
+ ]
+ ]
+ },
+ {
+ "id": "68923169.94f92",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n",
+ "comments": "",
+ "x": 2255.9175186157227,
+ "y": 601.2504329681396,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "4603a7e2.b0ee88",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2217.0002784729004,
+ "y": 676.0002756118774,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "43e7a5db.efe9bc"
+ ]
+ ]
+ },
+ {
+ "id": "e87dbd8d.effaf",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.999984741211,
+ "y": 762.0001420974731,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "22f84f13.a10ce"
+ ]
+ ]
+ },
+ {
+ "id": "43e7a5db.efe9bc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`'Error DeleteInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2403.4999465942383,
+ "y": 676.0001125335693,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "22f84f13.a10ce",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.1666145324707,
+ "y": 763.0001173019409,
+ "z": "5f22295c.f35688",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7617ea2e.9a48d4",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1365.4999160766602,
+ "y": 685.0001831054688,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "5d716cef.c08464",
+ "type": "call",
+ "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1557.6669082641602,
+ "y": 517.0000553131104,
+ "z": "5f22295c.f35688",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file