This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch UNOMI-334-docker-maven-integration
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to
refs/heads/UNOMI-334-docker-maven-integration by this push:
new 08288f0 UNOMI-334 Docker - Maven integration - Use project version
for image tag - Increment Javascript timeout since Docker images execute
seemingly slower on some installs (such as macOS) - Add a top-level profile to
build Docker sub-project.
08288f0 is described below
commit 08288f02db8aaed597583cf054045dbf5746d744
Author: Serge Huber <[email protected]>
AuthorDate: Sun May 3 10:23:46 2020 +0200
UNOMI-334 Docker - Maven integration
- Use project version for image tag
- Increment Javascript timeout since Docker images execute seemingly slower
on some installs (such as macOS)
- Add a top-level profile to build Docker sub-project.
---
docker/pom.xml | 3 +--
.../javascript/src/analytics.js-integration-apache-unomi.js | 2 +-
pom.xml | 6 ++++++
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/docker/pom.xml b/docker/pom.xml
index 085a14a..db3f877 100644
--- a/docker/pom.xml
+++ b/docker/pom.xml
@@ -73,8 +73,7 @@
<images>
<image>
<alias>unomi</alias>
- <name>apache/unomi:latest</name>
-
+ <name>apache/unomi:${project.version}</name>
<external>
<type>compose</type>
<basedir>${basedir}</basedir>
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 186c1a5..b365ab6 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
@@ -25,7 +25,7 @@ var Unomi = (module.exports = integration('Apache Unomi')
.readyOnLoad()
.option('scope', 'systemscope')
.option('url', 'http://localhost:8181')
- .option('timeoutInMilliseconds', 1500)
+ .option('timeoutInMilliseconds', 3000)
.option('sessionCookieName', 'unomiSessionId')
.option('sessionId'));
diff --git a/pom.xml b/pom.xml
index de60a74..222826b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -666,6 +666,12 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>docker</id>
+ <modules>
+ <module>docker</module>
+ </modules>
+ </profile>
</profiles>
<dependencyManagement>