diff options
author | lj1412 <lji@research.att.com> | 2017-02-14 15:10:48 +0000 |
---|---|---|
committer | lj1412 <lji@research.att.com> | 2017-02-14 15:10:50 +0000 |
commit | e27500a2d72e152490d6786d3a6d90f8d2ba973f (patch) | |
tree | f8088c05a15ec4404c7b707902bab083d5fe2671 /dcae-analytics-tca/src/main/resources | |
parent | 6348522233134b69dc455949d80b11e3bcd2fce7 (diff) |
Init dcae.apod.analytics
Change-Id: Ie62128895a199633d0afa695749d40c940d804b2
Signed-off-by: lj1412 <lji@research.att.com>
Diffstat (limited to 'dcae-analytics-tca/src/main/resources')
3 files changed, 159 insertions, 0 deletions
diff --git a/dcae-analytics-tca/src/main/resources/quartz-publisher.properties b/dcae-analytics-tca/src/main/resources/quartz-publisher.properties new file mode 100644 index 0000000..17d564d --- /dev/null +++ b/dcae-analytics-tca/src/main/resources/quartz-publisher.properties @@ -0,0 +1,23 @@ +# +# ============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/main/resources/quartz-subscriber.properties b/dcae-analytics-tca/src/main/resources/quartz-subscriber.properties new file mode 100644 index 0000000..78a968f --- /dev/null +++ b/dcae-analytics-tca/src/main/resources/quartz-subscriber.properties @@ -0,0 +1,23 @@ +# +# ============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_DMaaPMRSubscriber_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/main/resources/ves_mock_messages.json b/dcae-analytics-tca/src/main/resources/ves_mock_messages.json new file mode 100644 index 0000000..483c1d5 --- /dev/null +++ b/dcae-analytics-tca/src/main/resources/ves_mock_messages.json @@ -0,0 +1,113 @@ +[ + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 10, + "measurementsForVfScalingVersion": 1.1, + "vNicUsageArray": [ + { + "multicastPacketsIn": 0, + "bytesIn": 20445, + "unicastPacketsIn": 0, + "multicastPacketsOut": 0, + "broadcastPacketsOut": 0, + "packetsOut": 0, + "bytesOut": 0, + "broadcastPacketsIn": 0, + "packetsIn": 700, + "unicastPacketsOut": 0, + "vNicIdentifier": "eth1" + } + ] + }, + "commonEventHeader": { + "reportingEntityName": "zdfw1fwl01fwl02", + "startEpochMicrosec": 1484335735737754, + "lastEpochMicrosec": 1484335745737754, + "eventId": "61542", + "sourceName": "Dummy VM name - No Metadata available", + "sequence": 61542, + "priority": "Normal", + "functionalRole": "vFirewall", + "domain": "measurementsForVfScaling", + "reportingEntityId": "No UUID available", + "sourceId": "Dummy VM UUID - No Metadata available", + "version": 1.1 + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 10, + "measurementsForVfScalingVersion": 1.1, + "vNicUsageArray": [ + { + "multicastPacketsIn": 0, + "bytesIn": 20445, + "unicastPacketsIn": 0, + "multicastPacketsOut": 0, + "broadcastPacketsOut": 0, + "packetsOut": 0, + "bytesOut": 0, + "broadcastPacketsIn": 0, + "packetsIn": 300, + "unicastPacketsOut": 0, + "vNicIdentifier": "eth1" + } + ] + }, + "commonEventHeader": { + "reportingEntityName": "zdfw1fwl01fwl02", + "startEpochMicrosec": 1484335735737754, + "lastEpochMicrosec": 1484335745737754, + "eventId": "61542", + "sourceName": "Dummy VM name - No Metadata available", + "sequence": 61542, + "priority": "Normal", + "functionalRole": "vFirewall", + "domain": "measurementsForVfScaling", + "reportingEntityId": "No UUID available", + "sourceId": "Dummy VM UUID - No Metadata available", + "version": 1.1 + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 10, + "measurementsForVfScalingVersion": 1.1, + "vNicUsageArray": [ + { + "multicastPacketsIn": 0, + "bytesIn": 20445, + "unicastPacketsIn": 0, + "multicastPacketsOut": 0, + "broadcastPacketsOut": 0, + "packetsOut": 0, + "bytesOut": 0, + "broadcastPacketsIn": 0, + "packetsIn": 400, + "unicastPacketsOut": 0, + "vNicIdentifier": "eth1" + } + ] + }, + "commonEventHeader": { + "reportingEntityName": "zdfw1fwl01fwl02", + "startEpochMicrosec": 1484335735737754, + "lastEpochMicrosec": 1484335745737754, + "eventId": "61542", + "sourceName": "Dummy VM name - No Metadata available", + "sequence": 61542, + "priority": "Normal", + "functionalRole": "vFirewall", + "domain": "measurementsForVfScaling", + "reportingEntityId": "No UUID available", + "sourceId": "Dummy VM UUID - No Metadata available", + "version": 1.1 + } + } + } +] |