You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/08/30 20:17:37 UTC
[44/50] [abbrv] stratos git commit: Fixing pom modules structure.
Make it consistent
Fixing pom modules structure. Make it consistent
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/d97d9c78
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/d97d9c78
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/d97d9c78
Branch: refs/heads/master
Commit: d97d9c78cf0f0cb8c1e144b0bafe00751460ebe6
Parents: fb5383d
Author: Akila Perera <ra...@gmail.com>
Authored: Sun Aug 30 14:08:15 2015 +0530
Committer: Akila Perera <ra...@gmail.com>
Committed: Sun Aug 30 14:09:53 2015 +0530
----------------------------------------------------------------------
.../HealthStatisticsEventBuilder.xml | 31 -
.../LoadBalancerStatisticsEventBuilder.xml | 31 -
.../AverageInFlightRequestsEventFormatter.xml | 32 -
.../AverageLoadAverageEventFormatter.xml | 32 -
.../AverageMemoryConsumptionEventFormatter.xml | 32 -
.../FaultMessageEventFormatter.xml | 32 -
.../GradientInFlightRequestsEventFormatter.xml | 32 -
.../GradientLoadAverageEventFormatter.xml | 32 -
.../GradientMemoryConsumptionEventFormatter.xml | 32 -
.../MemberAverageLoadAverageEventFormatter.xml | 32 -
...erAverageMemoryConsumptionEventFormatter.xml | 32 -
.../MemberGradientLoadAverageEventFormatter.xml | 32 -
...rGradientMemoryConsumptionEventFormatter.xml | 32 -
...econdDerivativeLoadAverageEventFormatter.xml | 32 -
...erivativeMemoryConsumptionEventFormatter.xml | 32 -
...DerivativeInFlightRequestsEventFormatter.xml | 32 -
...econdDerivativeLoadAverageEventFormatter.xml | 32 -
...erivativeMemoryConsumptionEventFormatter.xml | 32 -
.../executionplans/AverageHeathRequest.xml | 71 --
.../AverageInFlightRequestsFinder.xml | 48 --
.../executionplans/GradientOfHealthRequest.xml | 71 --
.../GradientOfRequestsInFlightFinder.xml | 48 --
.../SecondDerivativeOfHealthRequest.xml | 68 --
...SecondDerivativeOfRequestsInFlightFinder.xml | 48 --
.../DefaultWSO2EventInputAdaptor.xml | 24 -
.../DefaultWSO2EventOutputAdaptor.xml | 29 -
.../outputeventadaptors/JMSOutputAdaptor.xml | 30 -
.../streamdefinitions/stream-manager-config.xml | 309 -------
extensions/cep/distribution/README.md | 12 -
extensions/cep/distribution/pom.xml | 66 --
.../cep/distribution/src/assembly/bin.xml | 59 --
.../cep/distribution/src/main/license/LICENSE | 204 -----
.../cep/distribution/src/main/notice/NOTICE | 7 -
.../HealthStatisticsEventBuilder.xml | 31 +
.../LoadBalancerStatisticsEventBuilder.xml | 31 +
.../AverageInFlightRequestsEventFormatter.xml | 32 +
.../AverageLoadAverageEventFormatter.xml | 32 +
.../AverageMemoryConsumptionEventFormatter.xml | 32 +
.../FaultMessageEventFormatter.xml | 32 +
.../GradientInFlightRequestsEventFormatter.xml | 32 +
.../GradientLoadAverageEventFormatter.xml | 32 +
.../GradientMemoryConsumptionEventFormatter.xml | 32 +
.../MemberAverageLoadAverageEventFormatter.xml | 32 +
...erAverageMemoryConsumptionEventFormatter.xml | 32 +
.../MemberGradientLoadAverageEventFormatter.xml | 32 +
...rGradientMemoryConsumptionEventFormatter.xml | 32 +
...econdDerivativeLoadAverageEventFormatter.xml | 32 +
...erivativeMemoryConsumptionEventFormatter.xml | 32 +
...DerivativeInFlightRequestsEventFormatter.xml | 32 +
...econdDerivativeLoadAverageEventFormatter.xml | 32 +
...erivativeMemoryConsumptionEventFormatter.xml | 32 +
.../executionplans/AverageHeathRequest.xml | 71 ++
.../AverageInFlightRequestsFinder.xml | 48 ++
.../executionplans/GradientOfHealthRequest.xml | 71 ++
.../GradientOfRequestsInFlightFinder.xml | 48 ++
.../SecondDerivativeOfHealthRequest.xml | 68 ++
...SecondDerivativeOfRequestsInFlightFinder.xml | 48 ++
.../DefaultWSO2EventInputAdaptor.xml | 24 +
.../DefaultWSO2EventOutputAdaptor.xml | 29 +
.../outputeventadaptors/JMSOutputAdaptor.xml | 30 +
.../streamdefinitions/stream-manager-config.xml | 309 +++++++
extensions/cep/modules/distribution/README.md | 12 +
extensions/cep/modules/distribution/pom.xml | 66 ++
.../modules/distribution/src/assembly/bin.xml | 59 ++
.../distribution/src/main/license/LICENSE | 204 +++++
.../modules/distribution/src/main/notice/NOTICE | 7 +
.../cep/modules/stratos-cep-extension/pom.xml | 63 ++
.../cep/extension/CEPTopologyEventReceiver.java | 99 +++
.../cep/extension/ConcatWindowProcessor.java | 54 ++
.../extension/FaultHandlingWindowProcessor.java | 349 ++++++++
.../GradientFinderWindowProcessor.java | 283 +++++++
...equestHandlingCapabilityWindowProcessor.java | 68 ++
.../SecondDerivativeFinderWindowProcessor.java | 301 +++++++
extensions/cep/pom.xml | 38 +
extensions/cep/stratos-cep-extension/pom.xml | 63 --
.../cep/extension/CEPTopologyEventReceiver.java | 99 ---
.../cep/extension/ConcatWindowProcessor.java | 54 --
.../extension/FaultHandlingWindowProcessor.java | 349 --------
.../GradientFinderWindowProcessor.java | 283 -------
...equestHandlingCapabilityWindowProcessor.java | 68 --
.../SecondDerivativeFinderWindowProcessor.java | 301 -------
.../load-balancer/haproxy-extension/INSTALL.md | 32 -
.../load-balancer/haproxy-extension/README.md | 20 -
.../load-balancer/haproxy-extension/pom.xml | 109 ---
.../haproxy-extension/src/main/assembly/bin.xml | 106 ---
.../src/main/bin/haproxy-extension.sh | 50 --
.../src/main/conf/jndi.properties | 22 -
.../src/main/conf/log4j.properties | 40 -
.../src/main/conf/thrift-client-config.xml | 27 -
.../stratos/haproxy/extension/Constants.java | 39 -
.../stratos/haproxy/extension/HAProxy.java | 158 ----
.../haproxy/extension/HAProxyConfigWriter.java | 152 ----
.../haproxy/extension/HAProxyContext.java | 157 ----
.../extension/HAProxyStatisticsReader.java | 108 ---
.../apache/stratos/haproxy/extension/Main.java | 85 --
.../haproxy-extension/src/main/license/LICENSE | 481 -----------
.../haproxy-extension/src/main/notice/NOTICE | 402 ---------
.../src/main/resources/velocity.properties | 26 -
.../src/main/scripts/get-weight.sh | 23 -
.../src/main/security/client-truststore.jks | Bin 35240 -> 0 bytes
.../src/main/templates/haproxy.cfg.template | 17 -
.../load-balancer/lvs-extension/INSTALL.md | 37 -
.../load-balancer/lvs-extension/README.md | 18 -
extensions/load-balancer/lvs-extension/pom.xml | 109 ---
.../lvs-extension/src/main/assembly/bin.xml | 106 ---
.../lvs-extension/src/main/bin/lvs-extension.sh | 54 --
.../lvs-extension/src/main/conf/jndi.properties | 22 -
.../src/main/conf/log4j.properties | 40 -
.../src/main/conf/thrift-client-config.xml | 25 -
.../apache/stratos/lvs/extension/Constants.java | 43 -
.../org/apache/stratos/lvs/extension/LVS.java | 158 ----
.../stratos/lvs/extension/LVSConfigWriter.java | 241 ------
.../stratos/lvs/extension/LVSContext.java | 203 -----
.../lvs/extension/LVSStatisticsReader.java | 80 --
.../org/apache/stratos/lvs/extension/Main.java | 85 --
.../lvs-extension/src/main/license/LICENSE | 481 -----------
.../lvs-extension/src/main/notice/NOTICE | 395 ---------
.../src/main/resources/velocity.properties | 26 -
.../src/main/security/client-truststore.jks | Bin 35240 -> 0 bytes
.../src/main/templates/keepalived.conf.template | 59 --
.../modules/haproxy-extension/INSTALL.md | 32 +
.../modules/haproxy-extension/README.md | 20 +
.../modules/haproxy-extension/pom.xml | 110 +++
.../haproxy-extension/src/main/assembly/bin.xml | 106 +++
.../src/main/bin/haproxy-extension.sh | 50 ++
.../src/main/conf/jndi.properties | 22 +
.../src/main/conf/log4j.properties | 40 +
.../src/main/conf/thrift-client-config.xml | 27 +
.../stratos/haproxy/extension/Constants.java | 39 +
.../stratos/haproxy/extension/HAProxy.java | 158 ++++
.../haproxy/extension/HAProxyConfigWriter.java | 152 ++++
.../haproxy/extension/HAProxyContext.java | 157 ++++
.../extension/HAProxyStatisticsReader.java | 108 +++
.../apache/stratos/haproxy/extension/Main.java | 85 ++
.../haproxy-extension/src/main/license/LICENSE | 481 +++++++++++
.../haproxy-extension/src/main/notice/NOTICE | 402 +++++++++
.../src/main/resources/velocity.properties | 26 +
.../src/main/scripts/get-weight.sh | 23 +
.../src/main/security/client-truststore.jks | Bin 0 -> 35240 bytes
.../src/main/templates/haproxy.cfg.template | 17 +
.../modules/lvs-extension/INSTALL.md | 37 +
.../modules/lvs-extension/README.md | 18 +
.../load-balancer/modules/lvs-extension/pom.xml | 110 +++
.../lvs-extension/src/main/assembly/bin.xml | 106 +++
.../lvs-extension/src/main/bin/lvs-extension.sh | 54 ++
.../lvs-extension/src/main/conf/jndi.properties | 22 +
.../src/main/conf/log4j.properties | 40 +
.../src/main/conf/thrift-client-config.xml | 25 +
.../apache/stratos/lvs/extension/Constants.java | 43 +
.../org/apache/stratos/lvs/extension/LVS.java | 158 ++++
.../stratos/lvs/extension/LVSConfigWriter.java | 241 ++++++
.../stratos/lvs/extension/LVSContext.java | 203 +++++
.../lvs/extension/LVSStatisticsReader.java | 80 ++
.../org/apache/stratos/lvs/extension/Main.java | 85 ++
.../lvs-extension/src/main/license/LICENSE | 481 +++++++++++
.../lvs-extension/src/main/notice/NOTICE | 395 +++++++++
.../src/main/resources/velocity.properties | 26 +
.../src/main/security/client-truststore.jks | Bin 0 -> 35240 bytes
.../src/main/templates/keepalived.conf.template | 59 ++
.../modules/nginx-extension/INSTALL.md | 33 +
.../modules/nginx-extension/README.md | 27 +
.../modules/nginx-extension/pom.xml | 110 +++
.../nginx-extension/src/main/assembly/bin.xml | 106 +++
.../src/main/bin/nginx-extension.sh | 50 ++
.../src/main/conf/jndi.properties | 22 +
.../src/main/conf/log4j.properties | 40 +
.../src/main/conf/thrift-client-config.xml | 27 +
.../stratos/nginx/extension/Constants.java | 39 +
.../apache/stratos/nginx/extension/Main.java | 85 ++
.../apache/stratos/nginx/extension/Nginx.java | 140 ++++
.../nginx/extension/NginxConfigWriter.java | 181 ++++
.../stratos/nginx/extension/NginxContext.java | 157 ++++
.../nginx/extension/NginxStatisticsReader.java | 124 +++
.../nginx-extension/src/main/license/LICENSE | 481 +++++++++++
.../nginx-extension/src/main/notice/NOTICE | 402 +++++++++
.../src/main/resources/velocity.properties | 26 +
.../src/main/security/client-truststore.jks | Bin 0 -> 35240 bytes
.../src/main/templates/nginx.cfg.template | 8 +
.../load-balancer/nginx-extension/INSTALL.md | 33 -
.../load-balancer/nginx-extension/README.md | 27 -
.../load-balancer/nginx-extension/pom.xml | 109 ---
.../nginx-extension/src/main/assembly/bin.xml | 106 ---
.../src/main/bin/nginx-extension.sh | 50 --
.../src/main/conf/jndi.properties | 22 -
.../src/main/conf/log4j.properties | 40 -
.../src/main/conf/thrift-client-config.xml | 27 -
.../stratos/nginx/extension/Constants.java | 39 -
.../apache/stratos/nginx/extension/Main.java | 85 --
.../apache/stratos/nginx/extension/Nginx.java | 140 ----
.../nginx/extension/NginxConfigWriter.java | 181 ----
.../stratos/nginx/extension/NginxContext.java | 157 ----
.../nginx/extension/NginxStatisticsReader.java | 124 ---
.../nginx-extension/src/main/license/LICENSE | 481 -----------
.../nginx-extension/src/main/notice/NOTICE | 402 ---------
.../src/main/resources/velocity.properties | 26 -
.../src/main/security/client-truststore.jks | Bin 35240 -> 0 bytes
.../src/main/templates/nginx.cfg.template | 8 -
extensions/load-balancer/pom.xml | 8 +-
extensions/pom.xml | 3 +-
products/stratos-cli/distribution/INSTALL.txt | 42 -
products/stratos-cli/distribution/README.txt | 75 --
products/stratos-cli/distribution/pom.xml | 84 --
.../distribution/src/main/assembly/bin.xml | 88 --
.../distribution/src/main/bin/stratos.bat | 80 --
.../distribution/src/main/bin/stratos.sh | 42 -
.../distribution/src/main/conf/log4j.properties | 37 -
.../distribution/src/main/license/LICENSE | 836 -------------------
.../distribution/src/main/notice/NOTICE | 85 --
.../modules/distribution/INSTALL.txt | 42 +
.../stratos-cli/modules/distribution/README.txt | 75 ++
.../stratos-cli/modules/distribution/pom.xml | 85 ++
.../distribution/src/main/assembly/bin.xml | 88 ++
.../distribution/src/main/bin/stratos.bat | 80 ++
.../distribution/src/main/bin/stratos.sh | 42 +
.../distribution/src/main/conf/log4j.properties | 37 +
.../distribution/src/main/license/LICENSE | 836 +++++++++++++++++++
.../modules/distribution/src/main/notice/NOTICE | 85 ++
products/stratos-cli/pom.xml | 4 +-
218 files changed, 10596 insertions(+), 10555 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventbuilders/HealthStatisticsEventBuilder.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventbuilders/HealthStatisticsEventBuilder.xml b/extensions/cep/artifacts/eventbuilders/HealthStatisticsEventBuilder.xml
deleted file mode 100644
index 92f8d8a..0000000
--- a/extensions/cep/artifacts/eventbuilders/HealthStatisticsEventBuilder.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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.
-
--->
-
-<eventBuilder name="HealthStatisticsEventBuilder" statistics="disable"
- trace="enable" xmlns="http://wso2.org/carbon/eventbuilder">
- <from eventAdaptorName="DefaultWSO2EventInputAdaptor" eventAdaptorType="wso2event">
- <property name="stream">cartridge_agent_health_stats</property>
- <property name="version">1.0.0</property>
- </from>
- <mapping customMapping="disable" type="wso2event"/>
- <to streamName="cartridge_agent_health_stats" version="1.0.0"/>
-</eventBuilder>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventbuilders/LoadBalancerStatisticsEventBuilder.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventbuilders/LoadBalancerStatisticsEventBuilder.xml b/extensions/cep/artifacts/eventbuilders/LoadBalancerStatisticsEventBuilder.xml
deleted file mode 100644
index 8090e63..0000000
--- a/extensions/cep/artifacts/eventbuilders/LoadBalancerStatisticsEventBuilder.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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.
-
--->
-
-<eventBuilder name="LoadBalancerStatisticsEventBuilder"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventbuilder">
- <from eventAdaptorName="DefaultWSO2EventInputAdaptor" eventAdaptorType="wso2event">
- <property name="stream">in_flight_requests</property>
- <property name="version">1.0.0</property>
- </from>
- <mapping customMapping="disable" type="wso2event"/>
- <to streamName="in_flight_requests" version="1.0.0"/>
-</eventBuilder>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/AverageInFlightRequestsEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/AverageInFlightRequestsEventFormatter.xml b/extensions/cep/artifacts/eventformatters/AverageInFlightRequestsEventFormatter.xml
deleted file mode 100644
index 5955866..0000000
--- a/extensions/cep/artifacts/eventformatters/AverageInFlightRequestsEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="AverageRequestsInflightEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="average_in_flight_requests" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.AverageRequestsInFlightEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{count}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/AverageLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/AverageLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/AverageLoadAverageEventFormatter.xml
deleted file mode 100644
index a0e2052..0000000
--- a/extensions/cep/artifacts/eventformatters/AverageLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="AverageLoadAverageEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="average_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.AverageLoadAverageEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{average_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/AverageMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/AverageMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/AverageMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index cbcab0a..0000000
--- a/extensions/cep/artifacts/eventformatters/AverageMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="AverageMemoryConsumptionEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="average_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.AverageMemoryConsumptionEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{average_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/FaultMessageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/FaultMessageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/FaultMessageEventFormatter.xml
deleted file mode 100644
index 96264ca..0000000
--- a/extensions/cep/artifacts/eventformatters/FaultMessageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="FaultMessageEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="fault_message" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberFaultEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","memberId":"{{member_id}}","partitionId":"{{partition_id}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/GradientInFlightRequestsEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/GradientInFlightRequestsEventFormatter.xml b/extensions/cep/artifacts/eventformatters/GradientInFlightRequestsEventFormatter.xml
deleted file mode 100644
index 2b5045b..0000000
--- a/extensions/cep/artifacts/eventformatters/GradientInFlightRequestsEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="GradientInFlightRequestsEventFormatter" statistics="disable"
- trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="gradient_in_flight_requests" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.GradientOfRequestsInFlightEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{count}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/GradientLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/GradientLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/GradientLoadAverageEventFormatter.xml
deleted file mode 100644
index 7fa3d7a..0000000
--- a/extensions/cep/artifacts/eventformatters/GradientLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="GradientLoadAverageEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="gradient_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.GradientOfLoadAverageEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{gradient_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/GradientMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/GradientMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/GradientMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index 8c3b871..0000000
--- a/extensions/cep/artifacts/eventformatters/GradientMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="GradientMemoryConsumptionEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="gradient_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.GradientOfMemoryConsumptionEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{gradient_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberAverageLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberAverageLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberAverageLoadAverageEventFormatter.xml
deleted file mode 100644
index cab6df6..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberAverageLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberAverageLoadAverageEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_average_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberAverageLoadAverageEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_average_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberAverageMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberAverageMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberAverageMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index 7f6e1f8..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberAverageMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberAverageMemoryConsumptionEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_average_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberAverageMemoryConsumptionEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_average_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberGradientLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberGradientLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberGradientLoadAverageEventFormatter.xml
deleted file mode 100644
index af73b46..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberGradientLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberGradientLoadAverageEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_gradient_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberGradientOfLoadAverageEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_gradient_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberGradientMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberGradientMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberGradientMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index 702f149..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberGradientMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberGradientMemoryConsumptionEventFormatter"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_gradient_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberGradientOfMemoryConsumptionEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_gradient_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeLoadAverageEventFormatter.xml
deleted file mode 100644
index 5281652..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberSecondDerivativeLoadAverageEventFormatter"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_second_derivative_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberSecondDerivativeOfLoadAverageEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_second_derivative_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index 2e32be3..0000000
--- a/extensions/cep/artifacts/eventformatters/MemberSecondDerivativeMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="MemberSecondDerivativeMemoryConsumptionEventFormatter"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="member_second_derivative_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.MemberSecondDerivativeOfMemoryConsumptionEvent":{"message":{"memberId":"{{member_id}}","clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{member_second_derivative_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/SecondDerivativeInFlightRequestsEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/SecondDerivativeInFlightRequestsEventFormatter.xml b/extensions/cep/artifacts/eventformatters/SecondDerivativeInFlightRequestsEventFormatter.xml
deleted file mode 100644
index 61862d1..0000000
--- a/extensions/cep/artifacts/eventformatters/SecondDerivativeInFlightRequestsEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="SecondDerivativeEventFormatter"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="second_derivative_in_flight_requests" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.SecondDerivativeOfRequestsInFlightEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{count}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/SecondDerivativeLoadAverageEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/SecondDerivativeLoadAverageEventFormatter.xml b/extensions/cep/artifacts/eventformatters/SecondDerivativeLoadAverageEventFormatter.xml
deleted file mode 100644
index 3dc4a74..0000000
--- a/extensions/cep/artifacts/eventformatters/SecondDerivativeLoadAverageEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="SecondDerivativeLoadAverageEventFormatter"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="second_derivative_load_average_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.SecondDerivativeOfLoadAverageEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{second_derivative_load_average}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/eventformatters/SecondDerivativeMemoryConsumptionEventFormatter.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/eventformatters/SecondDerivativeMemoryConsumptionEventFormatter.xml b/extensions/cep/artifacts/eventformatters/SecondDerivativeMemoryConsumptionEventFormatter.xml
deleted file mode 100644
index bb0f70c..0000000
--- a/extensions/cep/artifacts/eventformatters/SecondDerivativeMemoryConsumptionEventFormatter.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
-
--->
-
-<eventFormatter name="SecondDerivativeMemoryConsumptionEventFormatter"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventformatter">
- <from streamName="second_derivative_memory_consumption_stats" version="1.0.0"/>
- <mapping customMapping="enable" type="json">
- <inline>{"org.apache.stratos.messaging.event.health.stat.SecondDerivativeOfMemoryConsumptionEvent":{"message":{"clusterId":"{{cluster_id}}","clusterInstanceId":"{{cluster_instance_id}}","networkPartitionId":"{{network_partition_id}}","value":"{{second_derivative_memory_consumption}}"}}}</inline>
- </mapping>
- <to eventAdaptorName="JMSOutputAdaptor" eventAdaptorType="jms">
- <property name="transport.jms.Destination">summarized-health-stats</property>
- </to>
-</eventFormatter>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/AverageHeathRequest.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/AverageHeathRequest.xml b/extensions/cep/artifacts/executionplans/AverageHeathRequest.xml
deleted file mode 100644
index b60a0bf..0000000
--- a/extensions/cep/artifacts/executionplans/AverageHeathRequest.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="AverageHeathRequest" statistics="disable"
- trace="enable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will average health stats of an instance over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="health_avg_processsor" name="cartridge_agent_health_stats" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from health_avg_processsor [health_description == 'ports_not_open']
- select cluster_id, cluster_instance_id, network_partition_id, member_id, partition_id insert into fault_message;
- from health_avg_processsor
- select cluster_id, cluster_instance_id, network_partition_id, member_id, partition_id, health_description, value,
- stratos:concat(cluster_id, '-' , cluster_instance_id) as health_grad_cluster_network
- insert into health_avg_concatinator;
- define partition health_avg_cluster_partition by health_avg_concatinator.health_grad_cluster_network;
- define partition member_health_avg_cluster_partition by health_avg_processsor.member_id;
- from health_avg_concatinator [health_description == 'load_average']
- #window.timeBatch(1 min) select cluster_id, cluster_instance_id, network_partition_id, avg(value) as average_load_average
- insert into average_load_average_stats
- partition by health_avg_cluster_partition;
- from health_avg_processsor [health_description == 'load_average']
- #window.timeBatch(1 min) select member_id, cluster_id, cluster_instance_id, network_partition_id, avg(value) as member_average_load_average
- insert into member_average_load_average_stats
- partition by member_health_avg_cluster_partition;
- from health_avg_processsor [health_description == 'memory_consumption']
- #window.timeBatch(1 min) select member_id, cluster_id, cluster_instance_id, network_partition_id, avg(value) as member_average_memory_consumption
- insert into member_average_memory_consumption_stats
- partition by member_health_avg_cluster_partition;
- from health_avg_concatinator [health_description == 'memory_consumption']
- #window.timeBatch(1 min) select cluster_id, cluster_instance_id, network_partition_id, avg(value) as average_memory_consumption
- insert into average_memory_consumption_stats
- partition by health_avg_cluster_partition;
- ]]></queryExpressions>
- <exportedStreams>
- <stream name="average_load_average_stats" passthroughFlow="disable"
- valueOf="average_load_average_stats" version="1.0.0"/>
- <stream name="member_average_load_average_stats" passthroughFlow="disable"
- valueOf="member_average_load_average_stats" version="1.0.0"/>
- <stream name="member_average_memory_consumption_stats" passthroughFlow="disable"
- valueOf="member_average_memory_consumption_stats" version="1.0.0"/>
- <stream name="average_memory_consumption_stats" passthroughFlow="disable"
- valueOf="average_memory_consumption_stats" version="1.0.0"/>
- <stream name="fault_message" passthroughFlow="disable"
- valueOf="fault_message" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/AverageInFlightRequestsFinder.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/AverageInFlightRequestsFinder.xml b/extensions/cep/artifacts/executionplans/AverageInFlightRequestsFinder.xml
deleted file mode 100644
index 20b94da..0000000
--- a/extensions/cep/artifacts/executionplans/AverageInFlightRequestsFinder.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="AverageInFlightRequestsFinder" statistics="disable"
- trace="enable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will average the number of requests in flight over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="avg_rif_stat" name="in_flight_requests" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from avg_rif_stat
- select cluster_id, cluster_instance_id, network_partition_id, in_flight_request_count,
- stratos:concat(cluster_id, '-' ,cluster_instance_id) as avg_rif_cluster_network
- insert into avg_rif_concat;
- define partition avg_rif_cluster_partition by avg_rif_concat.avg_rif_cluster_network;
- from avg_rif_concat#window.timeBatch(1 min)
- select cluster_id, cluster_instance_id, network_partition_id, avg(in_flight_request_count) as count
- insert into average_in_flight_requests
- partition by avg_rif_cluster_partition;
- ]]></queryExpressions>
- <exportedStreams>
- <stream name="average_in_flight_requests"
- valueOf="average_in_flight_requests" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/GradientOfHealthRequest.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/GradientOfHealthRequest.xml b/extensions/cep/artifacts/executionplans/GradientOfHealthRequest.xml
deleted file mode 100644
index fcbc24e..0000000
--- a/extensions/cep/artifacts/executionplans/GradientOfHealthRequest.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="GradientOfHealthRequest" statistics="disable"
- trace="disable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will find the gradient of the heath request over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="health_grad_processsor" name="cartridge_agent_health_stats" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from health_grad_processsor
- #window.stratos:faultHandling(1min, member_id) select cluster_id, cluster_instance_id, network_partition_id, member_id, partition_id
- group by cluster_id, network_partition_id
- insert into fault_message;
- from health_grad_processsor
- select cluster_id, cluster_instance_id, network_partition_id, member_id, partition_id, health_description, value,
- stratos:concat(cluster_id, '-' , cluster_instance_id) as health_grad_cluster_network
- insert into health_grad_concatinator;
- define partition health_grad_cluster_partition by health_grad_concatinator.health_grad_cluster_network;
- define partition member_health_grad_cluster_partition by health_grad_processsor.member_id;
- from health_grad_concatinator [health_description == 'load_average']
- #window.stratos:gradient(1 min, value) select cluster_id, cluster_instance_id, network_partition_id, value as gradient_load_average
- insert into gradient_load_average_stats
- partition by health_grad_cluster_partition;
- from health_grad_processsor [health_description == 'load_average']
- #window.stratos:gradient(1 min, value) select member_id, cluster_id, cluster_instance_id, network_partition_id, value as member_gradient_load_average
- insert into member_gradient_load_average_stats
- partition by member_health_grad_cluster_partition;
- from health_grad_processsor [health_description == 'memory_consumption']
- #window.stratos:gradient(1 min, value) select member_id, cluster_id, cluster_instance_id, network_partition_id, value as member_gradient_memory_consumption
- insert into member_gradient_memory_consumption_stats partition by member_health_grad_cluster_partition;
- from health_grad_concatinator [health_description == 'memory_consumption']
- #window.stratos:gradient(1 min, value) select cluster_id, cluster_instance_id, network_partition_id, value as gradient_memory_consumption
- insert into gradient_memory_consumption_stats
- partition by health_grad_cluster_partition;]]></queryExpressions>
- <exportedStreams>
- <stream name="gradient_load_average_stats"
- valueOf="gradient_load_average_stats" version="1.0.0"/>
- <stream name="gradient_memory_consumption_stats"
- valueOf="gradient_memory_consumption_stats" version="1.0.0"/>
- <stream name="member_gradient_load_average_stats"
- valueOf="member_gradient_load_average_stats" version="1.0.0"/>
- <stream name="member_gradient_memory_consumption_stats"
- valueOf="member_gradient_memory_consumption_stats" version="1.0.0"/>
- <stream name="fault_message" passthroughFlow="disable"
- valueOf="fault_message" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/GradientOfRequestsInFlightFinder.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/GradientOfRequestsInFlightFinder.xml b/extensions/cep/artifacts/executionplans/GradientOfRequestsInFlightFinder.xml
deleted file mode 100644
index fff4a8a..0000000
--- a/extensions/cep/artifacts/executionplans/GradientOfRequestsInFlightFinder.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="GradientOfRequestsInFlightFinder"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will find the gradient of the number of requests in flight over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="gradient_rif_processor" name="in_flight_requests" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from gradient_rif_processor
- select cluster_id, cluster_instance_id, network_partition_id, in_flight_request_count,
- stratos:concat(cluster_id, '-' , network_partition_id) as request_grad_cluster_network
- insert into gradient_rif_concatinator;
- define partition request_grad_cluster_partition by gradient_rif_concatinator.request_grad_cluster_network;
- from gradient_rif_concatinator
- #window.stratos:gradient(1 min, in_flight_request_count)
- select cluster_id, cluster_instance_id, network_partition_id,in_flight_request_count as count
- insert into gradient_in_flight_requests
- partition by request_grad_cluster_partition;
-]]></queryExpressions>
- <exportedStreams>
- <stream name="gradient_in_flight_requests" valueOf="gradient_in_flight_requests" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/SecondDerivativeOfHealthRequest.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/SecondDerivativeOfHealthRequest.xml b/extensions/cep/artifacts/executionplans/SecondDerivativeOfHealthRequest.xml
deleted file mode 100644
index 0fa4a0a..0000000
--- a/extensions/cep/artifacts/executionplans/SecondDerivativeOfHealthRequest.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="SecondDerivativeOfHealthRequest"
- statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will find the second derivative of health stats over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="health_second_der_request" name="cartridge_agent_health_stats" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from health_second_der_request
- select member_id, cluster_id, cluster_instance_id, network_partition_id, health_description, value,
- stratos:concat(cluster_id, '-' ,cluster_instance_id) as health_second_der_cluster_network
- insert into health_second_der_concat;
- define partition health_second_der_cluster_partition by health_second_der_concat.health_second_der_cluster_network;
- from health_second_der_concat [health_description == 'memory_consumption']
- #window.stratos:secondDerivative(1 min, value) select cluster_id, cluster_instance_id, network_partition_id, value as second_derivative_memory_consumption
- insert into second_derivative_memory_consumption_stats
- partition by health_second_der_cluster_partition;
- from health_second_der_concat [health_description == 'load_average']
- #window.stratos:secondDerivative(1 min, value) select cluster_id, cluster_instance_id, network_partition_id, value as second_derivative_load_average
- insert into second_derivative_load_average_stats
- partition by health_second_der_cluster_partition;
- define partition health_second_der_member_partition by health_second_der_request.member_id;
- from health_second_der_request [health_description == 'memory_consumption']
- #window.stratos:secondDerivative(1 min, value)
- select member_id, cluster_id, cluster_instance_id, network_partition_id, value as member_second_derivative_memory_consumption
- insert into member_second_derivative_memory_consumption_stats
- partition by health_second_der_member_partition;
- from health_second_der_request [health_description == 'load_average']
- #window.stratos:secondDerivative(1 min, value)
- select member_id, cluster_id, cluster_instance_id, network_partition_id, value as member_second_derivative_load_average
- insert into member_second_derivative_load_average_stats
- partition by health_second_der_member_partition;]]></queryExpressions>
- <exportedStreams>
- <stream name="second_derivative_memory_consumption_stats"
- valueOf="second_derivative_memory_consumption_stats" version="1.0.0"/>
- <stream name="second_derivative_load_average_stats"
- valueOf="second_derivative_load_average_stats" version="1.0.0"/>
- <stream name="member_second_derivative_memory_consumption_stats"
- valueOf="member_second_derivative_memory_consumption_stats" version="1.0.0"/>
- <stream name="member_second_derivative_load_average_stats"
- valueOf="member_second_derivative_load_average_stats" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/executionplans/SecondDerivativeOfRequestsInFlightFinder.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/executionplans/SecondDerivativeOfRequestsInFlightFinder.xml b/extensions/cep/artifacts/executionplans/SecondDerivativeOfRequestsInFlightFinder.xml
deleted file mode 100644
index c8e4ed5..0000000
--- a/extensions/cep/artifacts/executionplans/SecondDerivativeOfRequestsInFlightFinder.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?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.
-
--->
-
-<executionPlan name="SecondDerivativeOfRequestsInFlightFinder"
- statistics="disable" trace="enable" xmlns="http://wso2.org/carbon/eventprocessor">
- <description>This will find the second derivative of the number of requests in flight over a minute.</description>
- <siddhiConfiguration>
- <property name="siddhi.enable.distributed.processing">false</property>
- <property name="siddhi.persistence.snapshot.time.interval.minutes">0</property>
- </siddhiConfiguration>
- <importedStreams>
- <stream as="second_der_rif" name="in_flight_requests" version="1.0.0"/>
- </importedStreams>
- <queryExpressions><![CDATA[
- from second_der_rif
- select cluster_id, cluster_instance_id, network_partition_id, in_flight_request_count,
- stratos:concat(cluster_id, '-' ,network_partition_id) as rif_second_der_cluster_network
- insert into rif_second_der_concat;
- define partition rif_second_der_cluster_partition by rif_second_der_concat.rif_second_der_cluster_network;
- from rif_second_der_concat#window.stratos:secondDerivative(1 min, in_flight_request_count)
- select cluster_id, cluster_instance_id, network_partition_id,in_flight_request_count as count
- insert into second_derivative_in_flight_requests
- partition by rif_second_der_cluster_partition;
- ]]></queryExpressions>
- <exportedStreams>
- <stream name="second_derivative_in_flight_requests"
- valueOf="second_derivative_in_flight_requests" version="1.0.0"/>
- </exportedStreams>
-</executionPlan>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/inputeventadaptors/DefaultWSO2EventInputAdaptor.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/inputeventadaptors/DefaultWSO2EventInputAdaptor.xml b/extensions/cep/artifacts/inputeventadaptors/DefaultWSO2EventInputAdaptor.xml
deleted file mode 100644
index 77af463..0000000
--- a/extensions/cep/artifacts/inputeventadaptors/DefaultWSO2EventInputAdaptor.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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.
-
--->
-
-<inputEventAdaptor name="DefaultWSO2EventInputAdaptor"
- statistics="disable" trace="enable" type="wso2event" xmlns="http://wso2.org/carbon/eventadaptormanager"/>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/outputeventadaptors/DefaultWSO2EventOutputAdaptor.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/outputeventadaptors/DefaultWSO2EventOutputAdaptor.xml b/extensions/cep/artifacts/outputeventadaptors/DefaultWSO2EventOutputAdaptor.xml
deleted file mode 100644
index 4438d2c..0000000
--- a/extensions/cep/artifacts/outputeventadaptors/DefaultWSO2EventOutputAdaptor.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
-
--->
-
-<outputEventAdaptor name="DefaultWSO2EventOutputAdaptor"
- statistics="disable" trace="disable" type="wso2event" xmlns="http://wso2.org/carbon/eventadaptormanager">
- <property name="username">admin</property>
- <property name="receiverURL">tcp://localhost:7661</property>
- <property name="password">admin</property>
- <property name="authenticatorURL">ssl://localhost:7761</property>
-</outputEventAdaptor>
http://git-wip-us.apache.org/repos/asf/stratos/blob/d97d9c78/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml
----------------------------------------------------------------------
diff --git a/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml b/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml
deleted file mode 100644
index 59c3653..0000000
--- a/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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.
-
--->
-
-<outputEventAdaptor name="JMSOutputAdaptor" statistics="disable"
- trace="enable" type="jms" xmlns="http://wso2.org/carbon/eventadaptormanager">
- <!--property name="java.naming.provider.url">CEP_HOME/repository/conf/jndi.properties</property-->
- <property name="java.naming.provider.url">tcp://localhost:61616</property>
- <property name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</property>
- <property name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</property>
- <property name="transport.jms.DestinationType">topic</property>
-</outputEventAdaptor>