http://git-wip-us.apache.org/repos/asf/stratos/blob/53c98dd9/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle_1.0.0/member_lifecycle.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle_1.0.0/member_lifecycle.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle_1.0.0/member_lifecycle.xml new file mode 100644 index 0000000..bf3b220 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle_1.0.0/member_lifecycle.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>application_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_alias</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>service_name</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_status</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>member_lifecycle:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/stratos/blob/53c98dd9/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/artifact.xml new file mode 100644 index 0000000..3d957ce --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. + +--> +<artifact name="EventstreamMemberInfo" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer"> + <file>member_info_1.0.0.json</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/53c98dd9/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/member_info_1.0.0.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/member_info_1.0.0.json b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/member_info_1.0.0.json new file mode 100644 index 0000000..d0b89a6 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo_1.0.0/member_info_1.0.0.json @@ -0,0 +1,76 @@ +{ + "name": "member_info", + "version": "1.0.0", + "nickName": "Member Information", + "description": "Member Information", + "payloadData": [ + { + "name": "member_id", + "type": "STRING" + }, + { + "name": "instance_type", + "type": "STRING" + }, + { + "name": "scaling_decision_id", + "type": "STRING" + }, + { + "name": "is_multi_tenant", + "type": "STRING" + }, + { + "name": "private_IP_addresses", + "type": "STRING" + }, + { + "name": "public_IP_addresses", + "type": "STRING" + }, + { + "name": "allocated_IP_addresses", + "type": "STRING" + }, + { + "name": "host_name", + "type": "STRING" + }, + { + "name": "hypervisor", + "type": "STRING" + }, + { + "name": "cpu", + "type": "STRING" + }, + { + "name": "ram", + "type": "STRING" + }, + { + "name": "image_id", + "type": "STRING" + }, + { + "name": "login_port", + "type": "INT" + }, + { + "name": "os_name", + "type": "STRING" + }, + { + "name": "os_version", + "type": "STRING" + }, + { + "name": "os_architecture", + "type": "STRING" + }, + { + "name": "is_64bit_os", + "type": "BOOL" + } + ] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/53c98dd9/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/artifact.xml new file mode 100644 index 0000000..40de1f3 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. + +--> +<artifact name="EventstreamMemberLifecycle" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer"> + <file>member_lifecycle_1.0.0.json</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/53c98dd9/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/member_lifecycle_1.0.0.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/member_lifecycle_1.0.0.json b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/member_lifecycle_1.0.0.json new file mode 100644 index 0000000..4e6699a --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle_1.0.0/member_lifecycle_1.0.0.json @@ -0,0 +1,48 @@ +{ + "name": "member_lifecycle", + "version": "1.0.0", + "nickName": "Member Lifecycle", + "description": "Member Lifecycle", + "payloadData": [ + { + "name": "timestamp", + "type": "LONG" + }, + { + "name": "application_id", + "type": "STRING" + }, + { + "name": "cluster_id", + "type": "STRING" + }, + { + "name": "cluster_alias", + "type": "STRING" + }, + { + "name": "cluster_instance_id", + "type": "STRING" + }, + { + "name": "service_name", + "type": "STRING" + }, + { + "name": "network_partition_id", + "type": "STRING" + }, + { + "name": "partition_id", + "type": "STRING" + }, + { + "name": "member_id", + "type": "STRING" + }, + { + "name": "member_status", + "type": "STRING" + } + ] +} \ No newline at end of file
