You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2018/10/08 15:54:09 UTC
[1/2] incubator-unomi git commit: Revert "add missing files"
Repository: incubator-unomi
Updated Branches:
refs/heads/master 329af539e -> 32608bc47
Revert "add missing files"
This reverts commit 329af539e8c106d1f51f09e086c874339f90a1c9.
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/efb8f68d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/efb8f68d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/efb8f68d
Branch: refs/heads/master
Commit: efb8f68d83db4c88c2296dd5cf93a050e5738977
Parents: 329af53
Author: dgaillard <dg...@jahia.com>
Authored: Mon Oct 8 17:53:44 2018 +0200
Committer: dgaillard <dg...@jahia.com>
Committed: Mon Oct 8 17:53:44 2018 +0200
----------------------------------------------------------------------
extensions/pom.xml | 1 -
extensions/twilio/README.md | 26 ++++++---
extensions/twilio/core/pom.xml | 56 ++++++--------------
.../unomi/twilio/actions/TwilioCallAction.java | 2 +-
.../META-INF/cxs/actions/twilioCall.json | 2 +-
.../META-INF/cxs/rules/callVisitorTwilio.json | 4 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 19 +++----
extensions/twilio/karaf-kar/pom.xml | 17 ++++--
.../karaf-kar/src/main/feature/feature.xml | 15 +++---
extensions/twilio/pom.xml | 8 +--
.../analytics.js-integration-apache-unomi.js | 4 +-
.../web-tracker/wab/src/main/webapp/voice.xml | 16 ------
12 files changed, 79 insertions(+), 91 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/pom.xml b/extensions/pom.xml
index 23a9455..975c28c 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -39,7 +39,6 @@
<module>unomi-mailchimp</module>
<module>weather-update</module>
<module>web-tracker</module>
- <module>twilio</module>
</modules>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/README.md
----------------------------------------------------------------------
diff --git a/extensions/twilio/README.md b/extensions/twilio/README.md
index 9e4befc..8ade7ee 100644
--- a/extensions/twilio/README.md
+++ b/extensions/twilio/README.md
@@ -16,14 +16,28 @@
-->
-Apache Unomi Twilio Integration
+Apache Unomi Web Tracker
=================================
-```
-feature:repo-add mvn:org.apache.unomi/unomi-twilio-karaf-kar/1.4.0-incubating-SNAPSHOT/xml/features
+This extension is providing the web tracker to start collecting visitors data on your website.
+The tracker is implemented as an integration of [analytics.js](https://github.com/segmentio/analytics.js) for Unomi.
+
+## Getting started
+
+Extension can be tested at : `http://localhost:8181/tracker/index.html`
-feature:repo-add mvn:org.apache.unomi/unomi-twilio-karaf-kar/${project.version}/xml/features
-feature:install unomi-twilio-karaf-kar
+In your page include unomiOptions and include code snippet from `snippet.min.js` :
-feature:uninstall unomi-twilio-karaf-kar
+```html
+<script type="text/javascript">
+ var unomiOption = {
+ scope: 'realEstateManager',
+ url: 'http://localhost:8181'
+ };
+ window.unomiTracker||(window.unomiTracker={}),function(){for(var e=[],r=["trackSubmit","trackClick","trackLink","trackForm","initialize","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"],n=0;n<r.length;n++){var t=r[n];window.unomiTracker[t]=function(r){return function(){var n=Array.prototype.slice.call(arguments);return n.unshift(r),e.push(n),window.unomiTracker}}(t)}unomiTracker.load=function(e,r){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=r.url+"/tracker/javascript/unomi-tracker.js",n.addEventListener?n.addEventListener("load",function(r){"function"==typeof e&&e(r)},!1):n.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||e(window.event)};var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)},unomiTracker.load(function(r){for(unomiTracker.initialize({"Apache Unomi":r});e.length>0;){var n=e.shift(),t=n.shift();unomiTracker[t]&&unom
iTracker[t].apply(unomiTracker,n)}},unomiOption),unomiTracker.page()}();
+</script>
```
+
+`window.unomiTracker` can be used to send additional events when needed.
+
+Check analytics.js API [here](https://segment.com/docs/sources/website/analytics.js/). All methods can be used on `unomiTracker` object, although not all event types are supported by Unomi intergation.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/core/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/pom.xml b/extensions/twilio/core/pom.xml
index 97e8881..dbb462e 100755
--- a/extensions/twilio/core/pom.xml
+++ b/extensions/twilio/core/pom.xml
@@ -21,12 +21,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.unomi</groupId>
- <artifactId>unomi-twilio</artifactId>
+ <artifactId>unomi-web-tracker</artifactId>
<version>1.4.0-incubating-SNAPSHOT</version>
</parent>
- <artifactId>unomi-twilio-core</artifactId>
- <name>Apache Unomi :: Extension :: Twilio Integration :: Core</name>
+ <artifactId>unomi-web-tracker-wab</artifactId>
+ <name>Apache Unomi :: Extension :: Web Tracker :: Wab</name>
<description>This is a simple Apache Unomi plugin.</description>
<packaging>bundle</packaging>
@@ -37,21 +37,19 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
-
<dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>0.4</version>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-osgi</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
- <groupId>com.twilio.sdk</groupId>
- <artifactId>twilio</artifactId>
- <version>7.17.0</version>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore-osgi</artifactId>
+ <scope>provided</scope>
</dependency>
-
<dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
@@ -64,40 +62,20 @@
<extensions>true</extensions>
<configuration>
<instructions>
+ <_wab>src/main/webapp</_wab>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Import-Package>
*
</Import-Package>
+ <Web-ContextPath>/tracker</Web-ContextPath>
</instructions>
</configuration>
</plugin>
-
- <!-- Add config file -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>
- src/main/resources/org.apache.unomi.twilio.cfg
- </file>
- <type>cfg</type>
- <classifier>twiliocfg</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
+
+ <resources>
+ <resource><directory>../javascript/dist</directory></resource>
+ </resources>
</build>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java b/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
index 49bbb66..b13fccd 100644
--- a/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
+++ b/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
@@ -63,7 +63,7 @@ public class TwilioCallAction implements ActionExecutor {
try {
textUrl = new URI(DEMO_VOICE_URL);
} catch (URISyntaxException e) {
- logger.error("Error when building URI with response URL = {}", DEMO_VOICE_URL);
+ logger.error("Error when building URI with response URL = {}", "http://localhost:8181/cxs/twilio/validate");
return EventService.NO_CHANGE;
}
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json b/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
index 1f7df99..13cd438 100755
--- a/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
+++ b/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
@@ -13,7 +13,7 @@
"actionExecutor": "twilioCall",
"parameters": [
{
- "id": "visitorPhoneNumber",
+ "id": "phoneNumber",
"type": "string",
"multivalued": false
}
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json b/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
index 0483208..bbc7ba5 100644
--- a/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
+++ b/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
@@ -16,8 +16,8 @@
{
"type": "eventPropertyCondition",
"parameterValues": {
- "propertyName": "target.phoneNumber",
- "comparisonOperator": "exists"
+ "eventProperty": "requestCall",
+ "operator": "exist"
}
}
],
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
index b45388a..e21d744 100755
--- a/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ b/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
@@ -21,23 +21,24 @@
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<!-- cfg configuration -->
- <cm:property-placeholder persistent-id="org.apache.unomi.twilio" update-strategy="reload">
+ <cm:property-placeholder persistent-id="org.apache.unomi.weatherupdate"
+ update-strategy="reload">
<cm:default-properties>
- <cm:property name="twilio.accountSid" value="YOUR_TWILIO_API_KEY"/>
- <cm:property name="twilio.authToken" value="YOUR_TWILIO_AUTH_TOKEN"/>
- <cm:property name="twilio.phoneNumber" value="YOUR_TWILIO_PHONE_NUMBER"/>
+ <cm:property name="weatherUpdate.apiKey" value=""/>
+ <cm:property name="weatherUpdate.url.base" value=""/>
+ <cm:property name="weatherUpdate.url.attributes" value=""/>
</cm:default-properties>
</cm:property-placeholder>
<!-- Action executor -->
<service interface="org.apache.unomi.api.actions.ActionExecutor">
<service-properties>
- <entry key="actionExecutorId" value="twilioCall"/>
+ <entry key="actionExecutorId" value="weatherUpdate"/>
</service-properties>
- <bean class="org.apache.unomi.twilio.actions.TwilioCallAction">
- <property name="twilioAccountSid" value="${twilio.accountSid}"/>
- <property name="twilioAuthToken" value="${twilio.authToken}"/>
- <property name="twilioPhoneNumber" value="${twilio.phoneNumber}"/>
+ <bean class="org.apache.unomi.weatherupdate.actions.WeatherUpdateAction">
+ <property name="weatherApiKey" value="${weatherUpdate.apiKey}"/>
+ <property name="weatherUrlBase" value="${weatherUpdate.url.base}"/>
+ <property name="weatherUrlAttributes" value="${weatherUpdate.url.attributes}"/>
</bean>
</service>
</blueprint>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/karaf-kar/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/karaf-kar/pom.xml b/extensions/twilio/karaf-kar/pom.xml
index c8a6d1d..5826931 100644
--- a/extensions/twilio/karaf-kar/pom.xml
+++ b/extensions/twilio/karaf-kar/pom.xml
@@ -19,13 +19,13 @@
<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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.unomi</groupId>
- <artifactId>unomi-twilio</artifactId>
+ <artifactId>unomi-web-tracker</artifactId>
<version>1.4.0-incubating-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>unomi-twilio-karaf-kar</artifactId>
- <name>Apache Unomi :: Extension :: Twilio Integration :: Apache Karaf Feature and KAR archive</name>
+ <artifactId>unomi-web-tracker-karaf-kar</artifactId>
+ <name>Apache Unomi :: Extension :: Web Tracker :: Apache Karaf Feature and KAR archive</name>
<description>This is a simple Apache Unomi plugin.</description>
<packaging>kar</packaging>
@@ -37,8 +37,17 @@
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore-osgi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-osgi</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.unomi</groupId>
- <artifactId>unomi-twilio-core</artifactId>
+ <artifactId>unomi-web-tracker-wab</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/karaf-kar/src/main/feature/feature.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/karaf-kar/src/main/feature/feature.xml b/extensions/twilio/karaf-kar/src/main/feature/feature.xml
index 1b5322e..cc72fd0 100644
--- a/extensions/twilio/karaf-kar/src/main/feature/feature.xml
+++ b/extensions/twilio/karaf-kar/src/main/feature/feature.xml
@@ -15,11 +15,14 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
-<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.1" name="unomi-twilio-karaf-feature">
- <feature name="unomi-twilio-karaf-kar" version="${project.version}"
- description="Apache Unomi :: Extensions :: Twilio Integration :: Apache Karaf Feature">
- <details>Apache Karaf feature for the Apache Unomi Context Server extension that provide the Twilio Integration.</details>
- <configfile finalname="/etc/org.apache.unomi.twilio.cfg">mvn:org.apache.unomi/unomi-twilio-core/${project.version}/cfg/twiliocfg</configfile>
- <bundle start-level="85">mvn:org.apache.unomi/unomi-twilio-core/${project.version}</bundle>
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.1" name="unomi-web-tracker-karaf-feature">
+ <feature name="unomi-web-tracker-karaf-kar" version="${project.version}"
+ description="Apache Unomi :: Extensions :: Web Tracker :: Apache Karaf Feature">
+ <details>Apache Karaf feature for the Apache Unomi Context Server extension that provide the web tracker.</details>
+ <!--<configfile finalname="/etc/org.apache.unomi.webTracker.cfg">mvn:org.apache.unomi/unomi-weather-update-core/${project-->
+ <!--.version}/cfg/weatherupdatecfg</configfile>-->
+ <bundle start-level="85">mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore-osgi.version}</bundle>
+ <bundle start-level="85">mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient-osgi.version}</bundle>
+ <bundle start-level="85">mvn:org.apache.unomi/unomi-web-tracker-wab/${project.version}</bundle>
</feature>
</features>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/twilio/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/pom.xml b/extensions/twilio/pom.xml
index 2099d33..efa80d8 100644
--- a/extensions/twilio/pom.xml
+++ b/extensions/twilio/pom.xml
@@ -24,13 +24,13 @@
<version>1.4.0-incubating-SNAPSHOT</version>
</parent>
- <artifactId>unomi-twilio</artifactId>
- <name>Apache Unomi :: Extension :: Twilio Integration</name>
- <description>Apache Unomi Context Server to provide Twilio Integration</description>
+ <artifactId>unomi-web-tracker</artifactId>
+ <name>Apache Unomi :: Extension :: Web Tracker</name>
+ <description>Apache Unomi Context Server to provide the web tracker</description>
<packaging>pom</packaging>
<modules>
- <module>core</module>
+ <module>wab</module>
<module>karaf-kar</module>
</modules>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js
----------------------------------------------------------------------
diff --git a/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js b/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js
index e1e930a..7de7475 100644
--- a/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js
+++ b/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js
@@ -115,7 +115,7 @@ Unomi.prototype.fillPageData = function(unomiPage, props) {
unomiPage.pageInfo.pagePath = unomiPage.pageInfo.pagePath || props.path;
unomiPage.pageInfo.destinationURL = unomiPage.pageInfo.destinationURL || props.url;
unomiPage.pageInfo.referringURL = unomiPage.pageInfo.referringURL || props.referrer;
-};
+}
/**
@@ -221,7 +221,7 @@ Unomi.prototype.onpersonalize = function (msg) {
};
window.digitalData.personalizationCallback = window.digitalData.personalizationCallback || [];
window.digitalData.personalizationCallback.push({personalization: msg.personalization, callback: msg.callback});
-};
+},
/**
* This function return the basic structure for an event, it must be adapted to your need
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/efb8f68d/extensions/web-tracker/wab/src/main/webapp/voice.xml
----------------------------------------------------------------------
diff --git a/extensions/web-tracker/wab/src/main/webapp/voice.xml b/extensions/web-tracker/wab/src/main/webapp/voice.xml
index e6107fb..3561943 100644
--- a/extensions/web-tracker/wab/src/main/webapp/voice.xml
+++ b/extensions/web-tracker/wab/src/main/webapp/voice.xml
@@ -1,20 +1,4 @@
<?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.
- -->
<Response>
<Say voice="alice">Thanks for reaching out Real Estate Manager Support. Please be patient we will connect you shortly!</Say>
<Play>http://demo.twilio.com/docs/classic.mp3</Play>
[2/2] incubator-unomi git commit: Revert "commit poc"
Posted by dg...@apache.org.
Revert "commit poc"
This reverts commit 1403a9a44cc5a548a216bab98586f66d11cc8360.
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/32608bc4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/32608bc4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/32608bc4
Branch: refs/heads/master
Commit: 32608bc47ecf1fb32057ec8406debb4cb27fb365
Parents: efb8f68
Author: dgaillard <dg...@jahia.com>
Authored: Mon Oct 8 17:53:57 2018 +0200
Committer: dgaillard <dg...@jahia.com>
Committed: Mon Oct 8 17:53:57 2018 +0200
----------------------------------------------------------------------
extensions/twilio/README.md | 43 ---------
extensions/twilio/core/.gitignore | 3 -
extensions/twilio/core/pom.xml | 81 -----------------
.../unomi/twilio/actions/TwilioCallAction.java | 91 --------------------
.../META-INF/cxs/actions/twilioCall.json | 21 -----
.../META-INF/cxs/rules/callVisitorTwilio.json | 44 ----------
.../resources/OSGI-INF/blueprint/blueprint.xml | 44 ----------
.../main/resources/org.apache.unomi.twilio.cfg | 25 ------
extensions/twilio/karaf-kar/pom.xml | 79 -----------------
.../karaf-kar/src/main/feature/feature.xml | 28 ------
extensions/twilio/pom.xml | 36 --------
.../web-tracker/wab/src/main/webapp/voice.xml | 5 --
12 files changed, 500 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/README.md
----------------------------------------------------------------------
diff --git a/extensions/twilio/README.md b/extensions/twilio/README.md
deleted file mode 100644
index 8ade7ee..0000000
--- a/extensions/twilio/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-<!--
- ~ 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.
- -->
-
-
-Apache Unomi Web Tracker
-=================================
-
-This extension is providing the web tracker to start collecting visitors data on your website.
-The tracker is implemented as an integration of [analytics.js](https://github.com/segmentio/analytics.js) for Unomi.
-
-## Getting started
-
-Extension can be tested at : `http://localhost:8181/tracker/index.html`
-
-In your page include unomiOptions and include code snippet from `snippet.min.js` :
-
-```html
-<script type="text/javascript">
- var unomiOption = {
- scope: 'realEstateManager',
- url: 'http://localhost:8181'
- };
- window.unomiTracker||(window.unomiTracker={}),function(){for(var e=[],r=["trackSubmit","trackClick","trackLink","trackForm","initialize","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"],n=0;n<r.length;n++){var t=r[n];window.unomiTracker[t]=function(r){return function(){var n=Array.prototype.slice.call(arguments);return n.unshift(r),e.push(n),window.unomiTracker}}(t)}unomiTracker.load=function(e,r){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=r.url+"/tracker/javascript/unomi-tracker.js",n.addEventListener?n.addEventListener("load",function(r){"function"==typeof e&&e(r)},!1):n.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||e(window.event)};var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)},unomiTracker.load(function(r){for(unomiTracker.initialize({"Apache Unomi":r});e.length>0;){var n=e.shift(),t=n.shift();unomiTracker[t]&&unom
iTracker[t].apply(unomiTracker,n)}},unomiOption),unomiTracker.page()}();
-</script>
-```
-
-`window.unomiTracker` can be used to send additional events when needed.
-
-Check analytics.js API [here](https://segment.com/docs/sources/website/analytics.js/). All methods can be used on `unomiTracker` object, although not all event types are supported by Unomi intergation.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/.gitignore
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/.gitignore b/extensions/twilio/core/.gitignore
deleted file mode 100644
index 6ade2e9..0000000
--- a/extensions/twilio/core/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-node_modules
-yarn-error.log
-src/main/webapp/dist
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/pom.xml b/extensions/twilio/core/pom.xml
deleted file mode 100755
index dbb462e..0000000
--- a/extensions/twilio/core/pom.xml
+++ /dev/null
@@ -1,81 +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.
- -->
-
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-web-tracker</artifactId>
- <version>1.4.0-incubating-SNAPSHOT</version>
- </parent>
-
- <artifactId>unomi-web-tracker-wab</artifactId>
- <name>Apache Unomi :: Extension :: Web Tracker :: Wab</name>
- <description>This is a simple Apache Unomi plugin.</description>
- <packaging>bundle</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-api</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient-osgi</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore-osgi</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <_wab>src/main/webapp</_wab>
- <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
- <Import-Package>
- *
- </Import-Package>
- <Web-ContextPath>/tracker</Web-ContextPath>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
-
- <resources>
- <resource><directory>../javascript/dist</directory></resource>
- </resources>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java b/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
deleted file mode 100644
index b13fccd..0000000
--- a/extensions/twilio/core/src/main/java/org/apache/unomi/twilio/actions/TwilioCallAction.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
-
- ~ 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.
-*/
-
-package org.apache.unomi.twilio.actions;
-
-import com.twilio.Twilio;
-import com.twilio.rest.api.v2010.account.Call;
-import com.twilio.type.PhoneNumber;
-import org.apache.unomi.api.Event;
-import org.apache.unomi.api.actions.Action;
-import org.apache.unomi.api.actions.ActionExecutor;
-import org.apache.unomi.api.services.EventService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Map;
-
-/**
- * @author dgaillard
- */
-public class TwilioCallAction implements ActionExecutor {
- private static Logger logger = LoggerFactory.getLogger(TwilioCallAction.class);
-
-// public static final String DEMO_VOICE_URL = "http://demo.twilio.com/docs/voice.xml";
- public static final String DEMO_VOICE_URL = "http://6cebf511.eu.ngrok.io/tracker/voice.xml";
- private static final String VISITOR_PHONE_NUMBER = "visitorPhoneNumber";
-
- private String twilioAccountSid;
- private String twilioAuthToken;
- private String twilioPhoneNumber;
-
- @Override public int execute(Action action, Event event) {
- if (logger.isDebugEnabled()) {
- logger.debug("Execute action {} for event id {} and type {}", TwilioCallAction.class.getName(), event.getItemId(), event.getEventType());
- }
-
- Map<String, Object> parameterValues = action.getParameterValues();
- if (!parameterValues.containsKey(VISITOR_PHONE_NUMBER)) {
- logger.warn("Could not execute action, missing mandatory parameter {}, event id = {}", VISITOR_PHONE_NUMBER, event.getItemId());
- return EventService.NO_CHANGE;
- }
-
- Twilio.init(twilioAccountSid, twilioAuthToken);
-
- URI textUrl;
- try {
- textUrl = new URI(DEMO_VOICE_URL);
- } catch (URISyntaxException e) {
- logger.error("Error when building URI with response URL = {}", "http://localhost:8181/cxs/twilio/validate");
- return EventService.NO_CHANGE;
- }
-
- Call call = Call.creator(new PhoneNumber(parameterValues.get(VISITOR_PHONE_NUMBER).toString()), new PhoneNumber(twilioPhoneNumber), textUrl).create();
-
- logger.info(call.getSid());
-
- if (logger.isDebugEnabled()) {
- logger.debug("Action {} is done for event id {} and type {}", TwilioCallAction.class.getName(), event.getItemId(), event.getEventType());
- }
- return EventService.NO_CHANGE;
- }
-
- public void setTwilioAccountSid(String twilioAccountSid) {
- this.twilioAccountSid = twilioAccountSid;
- }
-
- public void setTwilioAuthToken(String twilioAuthToken) {
- this.twilioAuthToken = twilioAuthToken;
- }
-
- public void setTwilioPhoneNumber(String twilioPhoneNumber) {
- this.twilioPhoneNumber = twilioPhoneNumber;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json b/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
deleted file mode 100755
index 13cd438..0000000
--- a/extensions/twilio/core/src/main/resources/META-INF/cxs/actions/twilioCall.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "metadata": {
- "id": "twilioCallAction",
- "name": "Call Visitor with Twilio",
- "description": "This action will call the visitor with Twilio",
- "systemTags": [
- "event",
- "availableToEndUser",
- "hasNoTemplate"
- ],
- "readOnly": true
- },
- "actionExecutor": "twilioCall",
- "parameters": [
- {
- "id": "phoneNumber",
- "type": "string",
- "multivalued": false
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json b/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
deleted file mode 100644
index bbc7ba5..0000000
--- a/extensions/twilio/core/src/main/resources/META-INF/cxs/rules/callVisitorTwilio.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "metadata": {
- "id": "callVisitorTwilio",
- "name": "Call visitor with Twilio",
- "description": "Call a visitor with Twilio when receiving a requestCall event"
- },
- "condition": {
- "parameterValues": {
- "subConditions": [
- {
- "type": "eventTypeCondition",
- "parameterValues": {
- "eventTypeId": "requestCall"
- }
- },
- {
- "type": "eventPropertyCondition",
- "parameterValues": {
- "eventProperty": "requestCall",
- "operator": "exist"
- }
- }
- ],
- "operator": "and"
- },
- "type": "booleanCondition"
- },
- "actions": [
- {
- "parameterValues": {
- "setPropertyName": "properties.phoneNumber",
- "setPropertyValue": "eventProperty::target.properties(phoneNumber)",
- "storeInSession": false
- },
- "type": "setPropertyAction"
- },
- {
- "parameterValues": {
- "visitorPhoneNumber": "eventProperty::target.properties(phoneNumber)"
- },
- "type": "twilioCallAction"
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100755
index e21d744..0000000
--- a/extensions/twilio/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,44 +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.
- -->
-<blueprint xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
-
- <!-- cfg configuration -->
- <cm:property-placeholder persistent-id="org.apache.unomi.weatherupdate"
- update-strategy="reload">
- <cm:default-properties>
- <cm:property name="weatherUpdate.apiKey" value=""/>
- <cm:property name="weatherUpdate.url.base" value=""/>
- <cm:property name="weatherUpdate.url.attributes" value=""/>
- </cm:default-properties>
- </cm:property-placeholder>
-
- <!-- Action executor -->
- <service interface="org.apache.unomi.api.actions.ActionExecutor">
- <service-properties>
- <entry key="actionExecutorId" value="weatherUpdate"/>
- </service-properties>
- <bean class="org.apache.unomi.weatherupdate.actions.WeatherUpdateAction">
- <property name="weatherApiKey" value="${weatherUpdate.apiKey}"/>
- <property name="weatherUrlBase" value="${weatherUpdate.url.base}"/>
- <property name="weatherUrlAttributes" value="${weatherUpdate.url.attributes}"/>
- </bean>
- </service>
-</blueprint>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/core/src/main/resources/org.apache.unomi.twilio.cfg
----------------------------------------------------------------------
diff --git a/extensions/twilio/core/src/main/resources/org.apache.unomi.twilio.cfg b/extensions/twilio/core/src/main/resources/org.apache.unomi.twilio.cfg
deleted file mode 100644
index 33c7bea..0000000
--- a/extensions/twilio/core/src/main/resources/org.apache.unomi.twilio.cfg
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# 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.
-#
-
-# Twilio API credentials
-# Found at https://www.twilio.com/user/account/voice
-twilio.accountSid=ACe34cc2867d574f19e59575f393da60b6
-twilio.authToken=0d29358240b7be93eed6b6a3b14aa759
-
-# Twilio phone number
-# Purchase one at https://www.twilio.com/user/account/phone-numbers
-twilio.phoneNumber=+33644644570
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/karaf-kar/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/karaf-kar/pom.xml b/extensions/twilio/karaf-kar/pom.xml
deleted file mode 100644
index 5826931..0000000
--- a/extensions/twilio/karaf-kar/pom.xml
+++ /dev/null
@@ -1,79 +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.
- -->
-
-<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/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-web-tracker</artifactId>
- <version>1.4.0-incubating-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>unomi-web-tracker-karaf-kar</artifactId>
- <name>Apache Unomi :: Extension :: Web Tracker :: Apache Karaf Feature and KAR archive</name>
- <description>This is a simple Apache Unomi plugin.</description>
- <packaging>kar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-api</artifactId>
- <version>1.4.0-incubating-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore-osgi</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient-osgi</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-web-tracker-wab</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <includeTransitiveDependency>false</includeTransitiveDependency>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <configuration>
- <startLevel>85</startLevel>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/karaf-kar/src/main/feature/feature.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/karaf-kar/src/main/feature/feature.xml b/extensions/twilio/karaf-kar/src/main/feature/feature.xml
deleted file mode 100644
index cc72fd0..0000000
--- a/extensions/twilio/karaf-kar/src/main/feature/feature.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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.
- -->
-<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.1" name="unomi-web-tracker-karaf-feature">
- <feature name="unomi-web-tracker-karaf-kar" version="${project.version}"
- description="Apache Unomi :: Extensions :: Web Tracker :: Apache Karaf Feature">
- <details>Apache Karaf feature for the Apache Unomi Context Server extension that provide the web tracker.</details>
- <!--<configfile finalname="/etc/org.apache.unomi.webTracker.cfg">mvn:org.apache.unomi/unomi-weather-update-core/${project-->
- <!--.version}/cfg/weatherupdatecfg</configfile>-->
- <bundle start-level="85">mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore-osgi.version}</bundle>
- <bundle start-level="85">mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient-osgi.version}</bundle>
- <bundle start-level="85">mvn:org.apache.unomi/unomi-web-tracker-wab/${project.version}</bundle>
- </feature>
-</features>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/twilio/pom.xml
----------------------------------------------------------------------
diff --git a/extensions/twilio/pom.xml b/extensions/twilio/pom.xml
deleted file mode 100644
index efa80d8..0000000
--- a/extensions/twilio/pom.xml
+++ /dev/null
@@ -1,36 +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.
- -->
-
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.unomi</groupId>
- <artifactId>unomi-extensions</artifactId>
- <version>1.4.0-incubating-SNAPSHOT</version>
- </parent>
-
- <artifactId>unomi-web-tracker</artifactId>
- <name>Apache Unomi :: Extension :: Web Tracker</name>
- <description>Apache Unomi Context Server to provide the web tracker</description>
- <packaging>pom</packaging>
-
- <modules>
- <module>wab</module>
- <module>karaf-kar</module>
- </modules>
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/32608bc4/extensions/web-tracker/wab/src/main/webapp/voice.xml
----------------------------------------------------------------------
diff --git a/extensions/web-tracker/wab/src/main/webapp/voice.xml b/extensions/web-tracker/wab/src/main/webapp/voice.xml
deleted file mode 100644
index 3561943..0000000
--- a/extensions/web-tracker/wab/src/main/webapp/voice.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Response>
- <Say voice="alice">Thanks for reaching out Real Estate Manager Support. Please be patient we will connect you shortly!</Say>
- <Play>http://demo.twilio.com/docs/classic.mp3</Play>
-</Response>
\ No newline at end of file