Update dg commit from appc repo
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC_method_Generic_Sync_2.0.0.json
index 7e6e191..e829c98 100644 (file)
@@ -38,7 +38,7 @@
     "id": "9ec6a6d6.7a5678",
     "type": "get-resource",
     "name": "Retrieve current config details",
-    "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
     "comments": "",
     "outputs": 1,
     "x": 519.0861930847168,
     "id": "4f4a7a36.c2a284",
     "type": "update",
     "name": "Mark current configs as historic",
-    "xml": "<update resource='SQL' force='true' plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET config_indicator=null WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\">\n",
+    "xml": "<update resource='SQL' force='true' plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' key=\"UPDATE UPLOAD_CONFIG SET config_indicator=null WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\">\n",
     "comments": "",
     "outputs": 1,
     "x": 801.5814094543457,
     "id": "d5cea21b.c34aa",
     "type": "save",
     "name": "Store device config as 'Current'",
-    "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, content) SELECT request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, 'Current', content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y')\" force='true'>\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, content) SELECT request_id, originator_id, service_description, action, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, 'Current', content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y')\" force='true'>\n",
     "comments": "",
     "outputs": 1,
     "x": 795.196704864502,
     "id": "1aa4df6e.f6da11",
     "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=\"`$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=\"`$error-message`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 1182.3589057922363,
     "id": "4b77bb4a.9f7014",
     "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=\"`$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=\"`$error-message`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 1778.0247383117676,
     "id": "3521d3f3.e7bf6c",
     "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=\"`$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=\"`$error-message`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 1427.1704940795898,
     "id": "58cdab19.f47684",
     "type": "record",
     "name": "Log message",
-    "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 481.0855522155762,
     "id": "11dcb423.01808c",
     "type": "record",
     "name": "Log message",
-    "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Marking current configuration as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Marking current configuration as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 735.7780342102051,
     "id": "6d230a1.4a08cf4",
     "type": "record",
     "name": "Log message",
-    "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Storing device configuration as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Storing device configuration as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 745.7009773254395,
     "id": "855ad0e4.d405c",
     "type": "record",
     "name": "Log message",
-    "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Current configuration marked as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Current configuration marked as historic in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 748.6198616027832,
     "id": "59566c79.8df204",
     "type": "record",
     "name": "Log message",
-    "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Device configuration stored as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+    "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Device configuration stored as Current configuration in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 735.6198616027832,
     "id": "60059d22.c2ba54",
     "type": "get-resource",
     "name": "Retrieve Running config details DB",
-    "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE upload_config_id = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\">",
+    "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE upload_config_id = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\">",
     "comments": "",
     "outputs": 1,
     "x": 1432.6667404174805,
     "id": "ba52c35d.d0a18",
     "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=\"`$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=\"`$error-message`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 1859.8998336791992,
     "id": "feccd180.68417",
     "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=\"`$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=\"`$error-message`\"/>\n",
     "comments": "",
     "outputs": 1,
     "x": 3182.3132286071777,