aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2018-05-07 15:11:09 -0700
committerRanda Maher <rx196w@att.com>2018-05-08 15:23:19 +0000
commitb10158513c2b3951aa6323b5914e4b2d6bcca489 (patch)
treeda340c5629d7c5efb8217ce1b6afc697d677e1bd /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG
parentf43e6e9f562543aaf8bfb8fdc5a1525eb6fb0966 (diff)
Modify DGs to match deployment repo
DGs are being pulled from main appc repository. A few changes needed to be moved over from the deployment repo. Change-Id: Ia30bd6f7b1cabb9968df1839bba3b66c110c871f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-887
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json24
1 files changed, 12 insertions, 12 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
index 6bdcd2ca5..d5e91b6d4 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json
@@ -165,7 +165,7 @@
"id": "4820c332.ead96c",
"type": "get-resource",
"name": "Get device interfacing DG",
- "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n",
"comments": "",
"outputs": 1,
"x": 362.24999237060547,
@@ -183,7 +183,7 @@
"id": "aab808f2.7e3fc8",
"type": "get-resource",
"name": "Check if running config exists",
- "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n",
"comments": "",
"outputs": 1,
"x": 244.25003051757812,
@@ -201,7 +201,7 @@
"id": "cf0ad6ea.cb1f78",
"type": "save",
"name": "Insert configuration",
- "xml": "<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID, ORIGINATOR_ID, SERVICE_DESCRIPTION, ACTION, VNF_ID, VNF_NAME, VM_NAME, VNF_TYPE, VNFC_TYPE, HOST_IP_ADDRESS, CONFIG_INDICATOR, PENDING_DELETE, CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID, ORIGINATOR_ID, SERVICE_DESCRIPTION, ACTION, VNF_ID, VNF_NAME, VM_NAME, VNF_TYPE, VNFC_TYPE, HOST_IP_ADDRESS, CONFIG_INDICATOR, PENDING_DELETE, CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n",
"comments": "",
"outputs": 1,
"x": 1142.9998016357422,
@@ -218,7 +218,7 @@
"id": "1a65ac62.011454",
"type": "save",
"name": "Update configuration",
- "xml": "<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id , SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id , SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n",
"comments": "",
"outputs": 1,
"x": 1145.0000038146973,
@@ -436,7 +436,7 @@
"module": "APPC",
"version": "2.0.0",
"comments": "",
- "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
+ "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='APPC' version='2.0.0'>",
"outputs": 1,
"x": 251.99999618530273,
"y": 41.25,
@@ -779,7 +779,7 @@
"id": "110568c2.beef77",
"type": "record",
"name": "Log error",
- "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
"comments": "",
"outputs": 1,
"x": 1059.0000038146973,
@@ -793,7 +793,7 @@
"id": "56da2cf4.8a70d4",
"type": "record",
"name": "Log error",
- "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
"comments": "",
"outputs": 1,
"x": 1116.24995803833,
@@ -807,7 +807,7 @@
"id": "ad0cfd57.99bc5",
"type": "record",
"name": "Log error",
- "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
"comments": "",
"outputs": 1,
"x": 1739.0000114440918,
@@ -850,7 +850,7 @@
"id": "7ffbca1c.8ade54",
"type": "get-resource",
"name": "Get Running Config Id",
- "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n",
"comments": "",
"outputs": 1,
"x": 1587.0000114440918,
@@ -930,7 +930,7 @@
"id": "3953bd65.2d7222",
"type": "record",
"name": "Log error",
- "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
"comments": "",
"outputs": 1,
"x": 2322.9996452331543,
@@ -1141,7 +1141,7 @@
"id": "6c13c721.deff88",
"type": "record",
"name": "Log error",
- "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$property.error-message`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$property.error-message`\"/>\n",
"comments": "",
"outputs": 1,
"x": 1310.5626678466797,
@@ -1208,4 +1208,4 @@
"z": "f559ad98.b8693",
"wires": []
}
-] \ No newline at end of file
+]