aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-tca/src/test/resources/data/properties
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics-tca/src/test/resources/data/properties')
-rw-r--r--dcae-analytics-tca/src/test/resources/data/properties/quartz-test.properties24
-rw-r--r--dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties59
2 files changed, 83 insertions, 0 deletions
diff --git a/dcae-analytics-tca/src/test/resources/data/properties/quartz-test.properties b/dcae-analytics-tca/src/test/resources/data/properties/quartz-test.properties
new file mode 100644
index 0000000..d4ad8f3
--- /dev/null
+++ b/dcae-analytics-tca/src/test/resources/data/properties/quartz-test.properties
@@ -0,0 +1,24 @@
+#
+# ===============================LICENSE_START======================================
+# dcae-analytics
+# ================================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============================LICENSE_END===========================================
+#
+
+org.quartz.scheduler.instanceName=TCA_DMaaPMRPublisher_Scheduler
+org.quartz.threadPool.threadCount=3
+org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
+org.quartz.scheduler.skipUpdateCheck=true
diff --git a/dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties b/dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties
new file mode 100644
index 0000000..6eeea87
--- /dev/null
+++ b/dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties
@@ -0,0 +1,59 @@
+#
+# ===============================LICENSE_START======================================
+# dcae-analytics
+# ================================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============================LICENSE_END===========================================
+#
+
+domain=measurementsForVfScaling
+
+configuration.metricsPerFunctionalRole.vFirewall.policy.functionalRole=vFirewall
+configuration.metricsPerFunctionalRole.vFirewall.policyName=configuration.dcae.microservice.tca.xml
+configuration.metricsPerFunctionalRole.vFirewall.policyVersion=v0.0.1
+configuration.metricsPerFunctionalRole.vFirewall.policyScope=resource=vFirewall;type=configuration
+
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.closedLoopControlName=CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.thresholdValue=4000
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.direction=LESS_OR_EQUAL
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.severity=MAJOR
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.version=1.0.2
+
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.closedLoopControlName=L-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.thresholdValue=20000
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.direction=GREATER_OR_EQUAL
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.severity=CRITICAL
+configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.version=1.0.2
+
+configuration.metricsPerFunctionalRole.vLoadBalancer.policy.functionalRole=vLoadBalancer
+configuration.metricsPerFunctionalRole.vLoadBalancer.policyName=configuration.dcae.microservice.tca.xml
+configuration.metricsPerFunctionalRole.vLoadBalancer.policyVersion=v0.0.1
+configuration.metricsPerFunctionalRole.vLoadBalancer.policyScope=resource=vLoadBalancer;type=configuration
+
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.thresholdValue=500
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.direction=LESS_OR_EQUAL
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.severity=MAJOR
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.version=1.0.2
+
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.thresholdValue=5000
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.direction=GREATER_OR_EQUAL
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.severity=CRITICAL
+configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.version=1.0.2