Removing artifact version from stratos-metering-service capps
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9d7226a7 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9d7226a7 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9d7226a7 Branch: refs/heads/stratos-4.1.x Commit: 9d7226a747941265074d408a10e7f110303337d8 Parents: 7656e20 Author: Thanuja <[email protected]> Authored: Tue Oct 13 20:17:32 2015 +0530 Committer: Thanuja <[email protected]> Committed: Tue Oct 13 20:17:32 2015 +0530 ---------------------------------------------------------------------- .../Dashboard/artifact.xml | 24 + .../Dashboard/stratos-metering-dashboard.json | 267 + .../EventreceiverMemberInfo/artifact.xml | 24 + .../member_info_receiver.xml | 29 + .../EventreceiverMemberLifecycle/artifact.xml | 24 + .../member_lifecycle_receiver.xml | 29 + .../EventstoreMemberInfo/artifact.xml | 24 + .../EventstoreMemberInfo/member_info.xml | 148 + .../EventstoreMemberLifecycle/artifact.xml | 24 + .../member_lifecycle.xml | 99 + .../EventstreamMemberInfo/artifact.xml | 24 + .../member_info_1.0.0.json | 76 + .../EventstreamMemberLifecycle/artifact.xml | 24 + .../member_lifecycle_1.0.0.json | 48 + .../Member_Count/css/bootstrap.min.css | 5935 ++++++ .../Member_Count/css/d3.geomap.css | 48 + .../Member_Count/css/igviz.css | 86 + .../GadgetMemberCount/Member_Count/gadget.json | 19 + .../GadgetMemberCount/Member_Count/index.xml | 85 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Member_Count/js/d3.geomap.min.js | 538 + .../GadgetMemberCount/Member_Count/js/d3.min.js | 6332 +++++++ .../Member_Count/js/excanvas.min.js | 954 + .../Member_Count/js/gadgetconf.js | 56 + .../GadgetMemberCount/Member_Count/js/igviz.js | 3585 ++++ .../GadgetMemberCount/Member_Count/js/jquery.js | 9496 ++++++++++ .../GadgetMemberCount/Member_Count/js/main.js | 170 + .../Member_Count/js/outputAdapterUiLibrary.js | 275 + .../GadgetMemberCount/Member_Count/js/vega.js | 8006 ++++++++ .../GadgetMemberCount/artifact.xml | 24 + .../Member_Details_Filter/css/jquery-ui.css | 1225 ++ .../Member_Details_Filter/css/style.css | 221 + .../Member_Details_Filter/gadget.json | 23 + .../Member_Details_Filter/index.png | Bin 0 -> 6754 bytes .../Member_Details_Filter/index.xml | 67 + .../Member_Details_Filter/js/jquery-ui.js | 16617 +++++++++++++++++ .../js/member-details-filter.js | 138 + .../GadgetMemberDetailsFilter/artifact.xml | 24 + .../Member_Information/css/bootstrap.min.css | 5935 ++++++ .../Member_Information/css/d3.geomap.css | 48 + .../Member_Information/css/igviz.css | 86 + .../Member_Information/gadget.json | 19 + .../Member_Information/index.xml | 88 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Member_Information/js/d3.geomap.min.js | 538 + .../Member_Information/js/d3.min.js | 6332 +++++++ .../Member_Information/js/excanvas.min.js | 954 + .../Member_Information/js/gadgetconf.js | 89 + .../Member_Information/js/igviz.js | 3565 ++++ .../Member_Information/js/jquery.js | 9496 ++++++++++ .../Member_Information/js/main.js | 168 + .../js/outputAdapterUiLibrary.js | 276 + .../Member_Information/js/vega.js | 8006 ++++++++ .../GadgetMemberInformation/artifact.xml | 24 + .../Member_Status/css/bootstrap.min.css | 5935 ++++++ .../Member_Status/css/d3.geomap.css | 67 + .../Member_Status/css/igviz.css | 86 + .../Member_Status/gadget.json | 19 + .../GadgetMemberStatus/Member_Status/index.xml | 87 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Member_Status/js/d3.geomap.min.js | 538 + .../Member_Status/js/d3.min.js | 6332 +++++++ .../Member_Status/js/excanvas.min.js | 954 + .../Member_Status/js/gadgetconf.js | 50 + .../Member_Status/js/igviz.js | 3565 ++++ .../Member_Status/js/jquery.js | 9496 ++++++++++ .../GadgetMemberStatus/Member_Status/js/main.js | 170 + .../Member_Status/js/outputAdapterUiLibrary.js | 276 + .../GadgetMemberStatus/Member_Status/js/vega.js | 8006 ++++++++ .../GadgetMemberStatus/artifact.xml | 24 + .../Member_Status_Filter/css/jquery-ui.css | 1225 ++ .../Member_Status_Filter/css/style.css | 253 + .../Member_Status_Filter/gadget.json | 23 + .../Member_Status_Filter/index.png | Bin 0 -> 12554 bytes .../Member_Status_Filter/index.xml | 72 + .../Member_Status_Filter/js/jquery-ui.js | 16617 +++++++++++++++++ .../js/member-status-filter.js | 140 + .../GadgetMemberStatusFilter/artifact.xml | 24 + .../SparkscriptsMemberInfo/artifact.xml | 24 + .../member_information.xml | 36 + .../SparkscriptsMemberLifecycle/artifact.xml | 24 + .../member_count.xml | 55 + 82 files changed, 169257 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/artifact.xml new file mode 100644 index 0000000..bd6d164 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/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="Dashboard" version="1.0.0" type="dashboards/dashboard" serverRole="DataAnalyticsServer"> + <file>stratos-metering-dashboard.json</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/stratos-metering-dashboard.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/stratos-metering-dashboard.json b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/stratos-metering-dashboard.json new file mode 100644 index 0000000..96413db --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/Dashboard/stratos-metering-dashboard.json @@ -0,0 +1,267 @@ +{ + "id": "stratos-metering-dashboard", + "title": "Stratos Metering Dashboard", + "description": "This dashboard is to show metering data.", + "permissions": { + "viewers": [], + "editors": [ + "Internal/everyone" + ] + }, + "pages": [ + { + "id": "member-status", + "title": "Member Status", + "layout": { + "id": "single-column", + "title": "Single Column", + "description": "This is a layout generated through single-column.io", + "thumbnail": "store://layout/single-column/index.png", + "url": "store://layout/single-column/index.hbs", + "content": "<!--\n\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership. The ASF licenses this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the License. You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n\n-->\n<div class=\"container\">\n<div class=\"row\">\n <div id=\"a\" class=\"col-md-12 ues-component-box\"></div>\n <div id=\"b\" class=\"col-md-12 ues-component-box\"></div >\n <div id=\"c\" class=\"col-md-12 >ues-component-box\"></div>\n</div>\n</div>\n" + }, + "content": { + "a": [ + { + "id": "ehng97cyk3kxogvi", + "content": { + "id": "Member_Status_Filter", + "title": "Member Status Filter", + "type": "gadget", + "thumbnail": "store://gadget/Member_Status_Filter/index.png", + "data": { + "url": "store://gadget/Member_Status_Filter/index.xml" + }, + "styles": { + "title": "", + "height": "100", + "borders": false, + "titlePosition": "left" + }, + "notify": { + "member-status-filter": { + "type": "address", + "description": "This notifies time interval" + }, + "cancel": { + "type": "boolean", + "description": "This notifies cancellation of state selection" + } + }, + "options": {}, + "settings": {} + } + } + ], + "b": [ + { + "id": "q1pf6m8s5bq08uxr", + "content": { + "id": "Member_Count", + "title": "Member Count", + "type": "gadget", + "thumbnail": "local://store/carbon.super/gadget/usa-business-revenue/index.png", + "data": { + "url": "local://store/carbon.super/gadget/Member_Count/index.xml" + }, + "listen": { + "member-status-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "ehng97cyk3kxogvi", + "event": "member-status-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "", + "height": "400", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "No", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ], + "c": [ + { + "id": "qf9lnn9oiv1pds4i", + "content": { + "id": "Member_Update", + "title": "Member Status", + "type": "gadget", + "thumbnail": "local://store/carbon.super/gadget/usa-business-revenue/index.png", + "data": { + "url": "local://store/carbon.super/gadget/Member_Status/index.xml" + }, + "listen": { + "member-status-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "ehng97cyk3kxogvi", + "event": "member-status-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "", + "height": "800", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "No", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ] + } + }, + { + "id": "member-details", + "title": "Member Details", + "layout": { + "id": "single-column", + "title": "Single Column", + "description": "This is a layout generated through single-column.io", + "thumbnail": "store://layout/single-column/index.png", + "url": "store://layout/single-column/index.hbs", + "content": "<!--\n\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership. The ASF licenses this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the License. You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n\n-->\n<div class=\"container\">\n<div class=\"row\">\n <div id=\"a\" class=\"col-md-12 ues-component-box\"></div>\n <div id=\"b\" class=\"col-md-12 ues-component-box\"></div >\n <div id=\"c\" class=\"col-md-12 >ues-component-box\"></div>\n</div>\n</div>\n" + }, + "content": { + "a": [ + { + "id": "8zgl65uoackgldi", + "content": { + "id": "Member_Details_Filter", + "title": "Member Details Filter", + "type": "gadget", + "thumbnail": "store://gadget/Member_Details_Filter/index.png", + "data": { + "url": "store://gadget/Member_Details_Filter/index.xml" + }, + "styles": { + "title": "", + "height": "100", + "borders": false, + "titlePosition": "left" + }, + "notify": { + "member-details-filter": { + "type": "address", + "description": "This notifies applicationId and clusterId" + } + }, + "cancel": { + "type": "boolean", + "description": "This notifies cancellation of state selection" + }, + "options": {}, + "settings": {} + } + } + ], + "b": [ + { + "id": "hoqfz4b6z91nstt9", + "content": { + "id": "Member_Details", + "title": "Member Details", + "type": "gadget", + "thumbnail": "local://store/carbon.super/gadget/usa-business-revenue/index.png", + "data": { + "url": "local://store/carbon.super/gadget/Member_Information/index.xml" + }, + "listen": { + "member-details-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "8zgl65uoackgldi", + "event": "member-details-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state" + } + }, + "styles": { + "title": "", + "height": "800", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "No", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ] + } + } + ], + "landing": "member-status" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/artifact.xml new file mode 100644 index 0000000..c64b395 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/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="EventreceiverMemberInfo" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>member_info_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/member_info_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/member_info_receiver.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/member_info_receiver.xml new file mode 100644 index 0000000..509788e --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberInfo/member_info_receiver.xml @@ -0,0 +1,29 @@ +<?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. + +--> +<eventReceiver name="MemberInfoEventReceiver" statistics="disable" + trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="member_info" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/artifact.xml new file mode 100644 index 0000000..a6a68ff --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/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="EventreceiverMemberLifecycle" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>member_lifecycle_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/member_lifecycle_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/member_lifecycle_receiver.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/member_lifecycle_receiver.xml new file mode 100644 index 0000000..146a5bc --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventreceiverMemberLifecycle/member_lifecycle_receiver.xml @@ -0,0 +1,29 @@ +<?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. + +--> +<eventReceiver name="MemberLifecycleEventReceiver" statistics="disable" + trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="member_lifecycle" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/artifact.xml new file mode 100644 index 0000000..e018b0c --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/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="EventstoreMemberInfo" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>member_info.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/member_info.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/member_info.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/member_info.xml new file mode 100644 index 0000000..8b33298 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberInfo/member_info.xml @@ -0,0 +1,148 @@ +<?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>member_id</Name> + <EnableIndexing>true</EnableIndexing> + <IsPrimaryKey>true</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>instance_type</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>scaling_decision_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>is_multi_tenant</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>private_IP_addresses</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>public_IP_addresses</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>allocated_IP_addresses</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>host_name</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>hypervisor</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cpu</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>ram</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>image_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>login_port</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>os_name</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>os_version</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>os_architecture</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>is_64bit_os</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>BOOLEAN</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>member_info: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/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/artifact.xml new file mode 100644 index 0000000..b6b4438 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/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="EventstoreMemberLifecycle" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>member_lifecycle.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/member_lifecycle.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/member_lifecycle.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/member_lifecycle.xml new file mode 100644 index 0000000..bf3b220 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstoreMemberLifecycle/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/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/artifact.xml new file mode 100644 index 0000000..3d957ce --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/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/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/member_info_1.0.0.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/member_info_1.0.0.json b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberInfo/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/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/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/artifact.xml b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/artifact.xml new file mode 100644 index 0000000..40de1f3 --- /dev/null +++ b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/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/9d7226a7/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/member_lifecycle_1.0.0.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/member_lifecycle_1.0.0.json b/extensions/das/modules/artifacts/metering-dashboard/capps/stratos-metering-service/EventstreamMemberLifecycle/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/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
