Skip to content

Commit 0e90f5e

Browse files
authored
Merge pull request #280 from ramindu90/master
Adding event publisher and receiver template deployer features
2 parents cdff672 + 6030fdc commit 0e90f5e

File tree

7 files changed

+226
-6
lines changed

7 files changed

+226
-6
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
4+
~
5+
~ WSO2 Inc. licenses this file to you under the Apache License,
6+
~ Version 2.0 (the "License"); you may not use this file except
7+
~ in compliance with the License.
8+
~ You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing,
13+
~ software distributed under the License is distributed on an
14+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
~ KIND, either express or implied. See the License for the
16+
~ specific language governing permissions and limitations
17+
~ under the License.
18+
-->
19+
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
22+
<parent>
23+
<groupId>org.wso2.carbon.analytics-common</groupId>
24+
<artifactId>event-publisher-feature</artifactId>
25+
<version>5.1.0-SNAPSHOT</version>
26+
<relativePath>../pom.xml</relativePath>
27+
</parent>
28+
29+
<modelVersion>4.0.0</modelVersion>
30+
<artifactId>org.wso2.carbon.event.publisher.template.deployer.server.feature</artifactId>
31+
<packaging>pom</packaging>
32+
<name>WSO2 Carbon - Event Publisher Template Deployer Server Feature</name>
33+
<url>http://wso2.org</url>
34+
<description>This feature contains the core bundles required for Back-end Event Publisher template deployment functionality</description>
35+
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.wso2.carbon.analytics-common</groupId>
40+
<artifactId>org.wso2.carbon.event.publisher.template.deployer</artifactId>
41+
</dependency>
42+
</dependencies>
43+
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.wso2.maven</groupId>
48+
<artifactId>carbon-p2-plugin</artifactId>
49+
<version>${carbon.p2.plugin.version}</version>
50+
<executions>
51+
<execution>
52+
<id>4-p2-feature-generation</id>
53+
<phase>package</phase>
54+
<goals>
55+
<goal>p2-feature-gen</goal>
56+
</goals>
57+
<configuration>
58+
<id>org.wso2.carbon.event.publisher.template.deployer.server</id>
59+
<propertiesFile>../../etc/feature.properties</propertiesFile>
60+
<adviceFile>
61+
<properties>
62+
<propertyDef>org.wso2.carbon.p2.category.type:server
63+
</propertyDef>
64+
<propertyDef>org.eclipse.equinox.p2.type.group:false
65+
</propertyDef>
66+
</properties>
67+
</adviceFile>
68+
<bundles>
69+
<bundleDef>
70+
org.wso2.carbon.analytics-common:org.wso2.carbon.event.publisher.template.deployer:${carbon.analytics.common.version}
71+
</bundleDef>
72+
</bundles>
73+
<importFeatures>
74+
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}
75+
</importFeatureDef>
76+
</importFeatures>
77+
</configuration>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
</plugins>
82+
</build>
83+
84+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
3+
#
4+
# WSO2 Inc. licenses this file to you under the Apache License,
5+
# Version 2.0 (the "License"); you may not use this file except
6+
# in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
19+
custom = true
20+
root.agent=conf

features/event-publisher/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
3+
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
44
~
55
~ WSO2 Inc. licenses this file to you under the Apache License,
66
~ Version 2.0 (the "License"); you may not use this file except
@@ -12,7 +12,7 @@
1212
~ Unless required by applicable law or agreed to in writing,
1313
~ software distributed under the License is distributed on an
1414
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
~ KIND, either express or implied. See the License for the
15+
~ KIND, either express or implied. See the License for the
1616
~ specific language governing permissions and limitations
1717
~ under the License.
1818
-->
@@ -53,6 +53,7 @@
5353
<module>org.wso2.carbon.event.output.adapter.feature</module>
5454
<module>org.wso2.carbon.event.output.adapter.ui.server.feature</module>
5555
<module>org.wso2.carbon.event.publisher.aggregate.feature</module>
56+
<module>org.wso2.carbon.event.publisher.template.deployer.server.feature</module>
5657
</modules>
5758

5859

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
4+
~
5+
~ WSO2 Inc. licenses this file to you under the Apache License,
6+
~ Version 2.0 (the "License"); you may not use this file except
7+
~ in compliance with the License.
8+
~ You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing,
13+
~ software distributed under the License is distributed on an
14+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
~ KIND, either express or implied. See the License for the
16+
~ specific language governing permissions and limitations
17+
~ under the License.
18+
-->
19+
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
22+
<parent>
23+
<groupId>org.wso2.carbon.analytics-common</groupId>
24+
<artifactId>event-receiver-feature</artifactId>
25+
<version>5.1.0-SNAPSHOT</version>
26+
<relativePath>../pom.xml</relativePath>
27+
</parent>
28+
29+
<modelVersion>4.0.0</modelVersion>
30+
<artifactId>org.wso2.carbon.event.receiver.template.deployer.server.feature</artifactId>
31+
<packaging>pom</packaging>
32+
<name>WSO2 Carbon - Event Receiver Template Deployer Server Feature</name>
33+
<url>http://wso2.org</url>
34+
<description>This feature contains the core bundles required for Back-end Event Receiver template deployment functionality</description>
35+
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.wso2.carbon.analytics-common</groupId>
40+
<artifactId>org.wso2.carbon.event.receiver.template.deployer</artifactId>
41+
</dependency>
42+
</dependencies>
43+
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.wso2.maven</groupId>
48+
<artifactId>carbon-p2-plugin</artifactId>
49+
<version>${carbon.p2.plugin.version}</version>
50+
<executions>
51+
<execution>
52+
<id>4-p2-feature-generation</id>
53+
<phase>package</phase>
54+
<goals>
55+
<goal>p2-feature-gen</goal>
56+
</goals>
57+
<configuration>
58+
<id>org.wso2.carbon.event.receiver.template.deployer.server</id>
59+
<propertiesFile>../../etc/feature.properties</propertiesFile>
60+
<adviceFile>
61+
<properties>
62+
<propertyDef>org.wso2.carbon.p2.category.type:server
63+
</propertyDef>
64+
<propertyDef>org.eclipse.equinox.p2.type.group:false
65+
</propertyDef>
66+
</properties>
67+
</adviceFile>
68+
<bundles>
69+
<bundleDef>
70+
org.wso2.carbon.analytics-common:org.wso2.carbon.event.receiver.template.deployer:${carbon.analytics.common.version}
71+
</bundleDef>
72+
</bundles>
73+
<importFeatures>
74+
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}
75+
</importFeatureDef>
76+
</importFeatures>
77+
</configuration>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
</plugins>
82+
</build>
83+
84+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
3+
#
4+
# WSO2 Inc. licenses this file to you under the Apache License,
5+
# Version 2.0 (the "License"); you may not use this file except
6+
# in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
19+
custom = true
20+
root.agent=conf

features/event-receiver/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
3+
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
44
~
55
~ WSO2 Inc. licenses this file to you under the Apache License,
66
~ Version 2.0 (the "License"); you may not use this file except
@@ -12,7 +12,7 @@
1212
~ Unless required by applicable law or agreed to in writing,
1313
~ software distributed under the License is distributed on an
1414
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
~ KIND, either express or implied. See the License for the
15+
~ KIND, either express or implied. See the License for the
1616
~ specific language governing permissions and limitations
1717
~ under the License.
1818
-->
@@ -48,6 +48,7 @@
4848
<module>org.wso2.carbon.event.input.adapter.mqtt.server.feature</module>
4949
<module>org.wso2.carbon.event.input.adapter.wso2event.server.feature</module>
5050
<module>org.wso2.carbon.event.input.adapter.feature</module>
51+
<module>org.wso2.carbon.event.receiver.template.deployer.server.feature</module>
5152
</modules>
5253

5354

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
2+
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
33
~
44
~ WSO2 Inc. licenses this file to you under the Apache License,
55
~ Version 2.0 (the "License"); you may not use this file except
@@ -11,7 +11,7 @@
1111
~ Unless required by applicable law or agreed to in writing,
1212
~ software distributed under the License is distributed on an
1313
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
~ KIND, either express or implied. See the License for the
14+
~ KIND, either express or implied. See the License for the
1515
~ specific language governing permissions and limitations
1616
~ under the License.
1717
-->
@@ -613,6 +613,16 @@
613613
<artifactId>org.wso2.carbon.metrics.manager</artifactId>
614614
<version>${carbon.metrics.version}</version>
615615
</dependency>
616+
<dependency>
617+
<groupId>org.wso2.carbon.analytics-common</groupId>
618+
<artifactId>org.wso2.carbon.event.publisher.template.deployer</artifactId>
619+
<version>${carbon.analytics.common.version}</version>
620+
</dependency>
621+
<dependency>
622+
<groupId>org.wso2.carbon.analytics-common</groupId>
623+
<artifactId>org.wso2.carbon.event.receiver.template.deployer</artifactId>
624+
<version>${carbon.analytics.common.version}</version>
625+
</dependency>
616626
<!--carbon analytics common dependencies stop-->
617627

618628
<!-- spark commons dependencies start -->

0 commit comments

Comments
 (0)