From ceaa2fc1fee98ca995e1952f107d098633f01eb7 Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 10 Sep 2019 15:54:55 +0200 Subject: Removal dead files Removal of the config files not used anymore by clamp backend Issue-ID: CLAMP-487 Change-Id: I7adc0cf3f55ceb7cd182720664118efd3c3a2319 Signed-off-by: sebdet --- .../resources/clds/blueprint-parser-mapping.json | 16 -- .../resources/clds/templates/bpmn/holmes-img.xml | 315 --------------------- .../clds/templates/bpmn/holmes-template.xml | 93 ------ src/main/resources/clds/templates/bpmn/tca-img.xml | 309 -------------------- .../resources/clds/templates/bpmn/tca-template.xml | 95 ------- .../clds/templates/dcae-deployment-template.json | 9 - .../resources/clds/templates/dcae-template.json | 26 -- .../resources/clds/templates/globalProperties.json | 123 -------- .../clds/templates/tca-policy-template.json | 19 -- .../resources/clds/templates/tca-template.json | 14 - .../clds/templates/tca-thresholds-template.json | 9 - .../clds/templates/ui-location-default.json | 5 - 12 files changed, 1033 deletions(-) delete mode 100644 src/main/resources/clds/blueprint-parser-mapping.json delete mode 100644 src/main/resources/clds/templates/bpmn/holmes-img.xml delete mode 100644 src/main/resources/clds/templates/bpmn/holmes-template.xml delete mode 100644 src/main/resources/clds/templates/bpmn/tca-img.xml delete mode 100644 src/main/resources/clds/templates/bpmn/tca-template.xml delete mode 100644 src/main/resources/clds/templates/dcae-deployment-template.json delete mode 100644 src/main/resources/clds/templates/dcae-template.json delete mode 100644 src/main/resources/clds/templates/globalProperties.json delete mode 100644 src/main/resources/clds/templates/tca-policy-template.json delete mode 100644 src/main/resources/clds/templates/tca-template.json delete mode 100644 src/main/resources/clds/templates/tca-thresholds-template.json delete mode 100644 src/main/resources/clds/templates/ui-location-default.json (limited to 'src/main/resources/clds') diff --git a/src/main/resources/clds/blueprint-parser-mapping.json b/src/main/resources/clds/blueprint-parser-mapping.json deleted file mode 100644 index a16ef0cbc..000000000 --- a/src/main/resources/clds/blueprint-parser-mapping.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - { - "blueprintKey": "tca_", - "files": { - "bpmnXmlFilePath": "classpath:/clds/templates/bpmn/tca-template.xml", - "svgXmlFilePath": "classpath:/clds/templates/bpmn/tca-img.xml" - } - }, - { - "blueprintKey": "holmes_", - "files": { - "bpmnXmlFilePath": "classpath:/clds/templates/bpmn/holmes-template.xml", - "svgXmlFilePath": "classpath:/clds/templates/bpmn/holmes-img.xml" - } - } -] diff --git a/src/main/resources/clds/templates/bpmn/holmes-img.xml b/src/main/resources/clds/templates/bpmn/holmes-img.xml deleted file mode 100644 index f84b6a10e..000000000 --- a/src/main/resources/clds/templates/bpmn/holmes-img.xml +++ /dev/null @@ -1,315 +0,0 @@ - -\n -\n -\n - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - H - - - Holmes - - - - - - - - - - - - - - V - - - E - - - S - - - VesCollector - - - - - - - - - - - - - Policy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/clds/templates/bpmn/holmes-template.xml b/src/main/resources/clds/templates/bpmn/holmes-template.xml deleted file mode 100644 index 0ea1587ce..000000000 --- a/src/main/resources/clds/templates/bpmn/holmes-template.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - SequenceFlow_1c9hzec - - - SequenceFlow_1ig3gix - SequenceFlow_0zwbn2r - - - SequenceFlow_1c9hzec - SequenceFlow_1ig3gix - - - SequenceFlow_0zwbn2r - SequenceFlow_0ox6r95 - - - SequenceFlow_0ox6r95 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/clds/templates/bpmn/tca-img.xml b/src/main/resources/clds/templates/bpmn/tca-img.xml deleted file mode 100644 index a2ec5af23..000000000 --- a/src/main/resources/clds/templates/bpmn/tca-img.xml +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - V - - - E - - - S - - - VesCollector - - - - - - - - - - - - - TCA - - - - - - - - - - - - - Policy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/clds/templates/bpmn/tca-template.xml b/src/main/resources/clds/templates/bpmn/tca-template.xml deleted file mode 100644 index cc942ef9d..000000000 --- a/src/main/resources/clds/templates/bpmn/tca-template.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - SequenceFlow_1ahk7jg - - - SequenceFlow_1ahk7jg - SequenceFlow_18ahat1 - - - SequenceFlow_18ahat1 - SequenceFlow_1mo9gxb - - - SequenceFlow_1mo9gxb - SequenceFlow_1dgtrrq - - - SequenceFlow_1dgtrrq - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/clds/templates/dcae-deployment-template.json b/src/main/resources/clds/templates/dcae-deployment-template.json deleted file mode 100644 index d4891747e..000000000 --- a/src/main/resources/clds/templates/dcae-deployment-template.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "serviceTypeId": "???", - "inputs": { - "aaiEnrichmentHost": "10.0.1.1", - "enableAAIEnrichment": "true", - "subscriberHostName": "10.0.11.1", - "publisherHostName": "10.0.11.1" - } -} diff --git a/src/main/resources/clds/templates/dcae-template.json b/src/main/resources/clds/templates/dcae-template.json deleted file mode 100644 index b76baf2d4..000000000 --- a/src/main/resources/clds/templates/dcae-template.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "properties": { - "service_name": "", - "service_ids": [ - ], - "vnf_ids": [ - ], - "location_ids": [ - ] - }, - "template": { - "tca": { - "dcae": { - "inputTopic": "", - "outputTopic": "", - "closedLoopControlName": "", - "closedLoopEventClient": "configuration.dcae.microservice.tca.xml", - "policyName": "", - "policyScope": "DCAE", - "policyVersion": "v0.0.1", - "serviceConfigurations": { - } - } - } - } -} diff --git a/src/main/resources/clds/templates/globalProperties.json b/src/main/resources/clds/templates/globalProperties.json deleted file mode 100644 index 985aba17e..000000000 --- a/src/main/resources/clds/templates/globalProperties.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "tca": { - "tname": "New_Set", - "tcaInt": "1", - "tcaVio": "1", - "eventName": { - "vLoadBalancer": "vLoadBalancer", - "vFirewallBroadcastPackets": "vFirewallBroadcastPackets", - "Measurement_vGMUX":"Measurement_vGMUX" - }, - "fieldPathM": { - "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value": "packetLossRate", - "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta":"receivedTotalPacketsDelta" - }, - "operator": { - ">": "GREATER", - ">=": "GREATER_OR_EQUAL", - "=": "EQUAL", - "<=": "LESS_OR_EQUAL", - "<": "LESS" - }, - "opsPolicy": { - "POLICY_test_X": "POLICY_test_X", - "POLICY_test_Y": "POLICY_test_Y" - }, - "controlLoopSchemaType": { - "": "", - "VM": "VM", - "VNF": "VNF" - }, - "closedLoopEventStatus": { - "": "", - "ONSET": "ONSET", - "ABATED": "ABATED" - } - }, - "global": { - "actionSet": { - "vnfRecipe": "VNF" - }, - "location": { - "DC1": "Data Center 1", - "DC2": "Data Center 2", - "DC3": "Data Center 3" - } - }, - "policy": { - "pname": "0", - "timeout": 345, - "actor": { - "APPC":"APPC", - "SO": "SO", - "VFC": "VFC", - "SDNC":"SDNC", - "SDNR":"SDNR" - }, - "vnfRecipe": { - "": "", - "Restart": "Restart", - "Rebuild": "Rebuild", - "Migrate": "Migrate", - "Health-Check": "Health Check", - "ModifyConfig": "Modify Config", - "VF Module Create":"VF Module Create", - "VF Module Delete":"VF Module Delete", - "Reroute":"Reroute" - }, - "maxRetries": "3", - "recipeLevel": { - "":"", - "VNF":"VNF", - "VM":"VM", - "VFC":"VFC", - "PNF":"PNF" - }, - "retryTimeLimit": 180, - "parentPolicyConditions": { - "Failure_Retries": "Failure: Max Retries Exceeded", - "Failure_Timeout": "Failure: Time Limit Exceeded", - "Failure_Guard": "Failure: Guard", - "Failure_Exception": "Failure: Exception", - "Failure": "Failure: Other", - "Success": "Success" - }, - "guardTargets": ".*", - "minGuard":1, - "maxGuard":1, - "limitGuard":1, - "timeUnitsGuard":{ - "minute":"minute", - "hour":"hour", - "day":"day", - "week":"week", - "month":"month", - "year":"year" - }, - "timeWindowGuard":10, - "guardActiveStart":"00:00:01-05:00", - "guardActiveEnd":"00:00:00-05:00" - }, - "shared": { - "byService": { - "": { - "vf": { - "": "" - }, - "location": { - "": "" - }, - "alarmCondition": { - "": "" - } - } - }, - "byVf": { - "": { - "vfc": { - "": "" - } - } - } - } -} diff --git a/src/main/resources/clds/templates/tca-policy-template.json b/src/main/resources/clds/templates/tca-policy-template.json deleted file mode 100644 index 575d1707a..000000000 --- a/src/main/resources/clds/templates/tca-policy-template.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "service": "tca_policy", - "version": "1.1.0", - "location": "SampleServiceLocation", - "configName": "SampleConfigName", - "uuid": "test", - "policyScope":"CLAMP", - "templateVersion": "OpenSource.version.1", - "policyName": "???", - "description": "MicroService Policy", - "priority": "1", - "riskType": "SampleRiskType", - "riskLevel": "1", - "guard": "False", - "content": { - "tca_policy": { - } - } -} diff --git a/src/main/resources/clds/templates/tca-template.json b/src/main/resources/clds/templates/tca-template.json deleted file mode 100644 index 892fc0d62..000000000 --- a/src/main/resources/clds/templates/tca-template.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "domain": "measurementsForVfScaling", - "metricsPerEventName": [ - { - "eventName": "???", - "controlLoopSchemaType": "VNF", - "policyScope": "DCAE", - "policyName": "???", - "policyVersion": "v0.0.1", - "thresholds": [ - ] - } - ] -} diff --git a/src/main/resources/clds/templates/tca-thresholds-template.json b/src/main/resources/clds/templates/tca-thresholds-template.json deleted file mode 100644 index b67e96321..000000000 --- a/src/main/resources/clds/templates/tca-thresholds-template.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "closedLoopControlName": "???", - "version": "1.0.2", - "fieldPath": "?????", - "thresholdValue": 0, - "direction": "???", - "severity": "MAJOR", - "closedLoopEventStatus": "???" -} diff --git a/src/main/resources/clds/templates/ui-location-default.json b/src/main/resources/clds/templates/ui-location-default.json deleted file mode 100644 index c0043d988..000000000 --- a/src/main/resources/clds/templates/ui-location-default.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "DC1": "Data Center 1", - "DC2": "Data Center 2", - "DC3": "Data Center 3" -} -- cgit 1.2.3-korg