aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2018-10-01 13:34:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-01 13:34:53 +0000
commitf3e28b23e4256b5c88d328743bb66d0d6766f542 (patch)
treeffd0f9d019f4139abf82e27a324f7d5b33850255
parente23e0182650a654e1f32bfb164a95e8b63219ee5 (diff)
parentb79b35d5496f1c44fdbb6bf52f057d87031e1314 (diff)
Merge "Docker-compose for DFC"
-rw-r--r--datafile-devops/pom.xml15
-rw-r--r--datafile-devops/src/main/resources/docker-compose.yml33
-rw-r--r--pom.xml1
3 files changed, 49 insertions, 0 deletions
diff --git a/datafile-devops/pom.xml b/datafile-devops/pom.xml
new file mode 100644
index 00000000..219e9eee
--- /dev/null
+++ b/datafile-devops/pom.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+ <artifactId>datafile</artifactId>
+ <groupId>org.onap.dcaegen2.collectors</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>datafile-devops</artifactId>
+
+
+</project> \ No newline at end of file
diff --git a/datafile-devops/src/main/resources/docker-compose.yml b/datafile-devops/src/main/resources/docker-compose.yml
new file mode 100644
index 00000000..97c05160
--- /dev/null
+++ b/datafile-devops/src/main/resources/docker-compose.yml
@@ -0,0 +1,33 @@
+version: '3'
+services:
+ data-file-collector:
+ image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server
+ command: >
+ --dmaap.dmaapConsumerConfiguration.dmaapHostName=<HOST-TO-SET-DMAAP-MR>
+ --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=3904
+ --dmaap.dmaapConsumerConfiguration.dmaapTopicName=/events/unauthenticated.VES_NOTIFICATION_OUTPUT
+ --dmaap.dmaapConsumerConfiguration.dmaapProtocol=http
+ --dmaap.dmaapConsumerConfiguration.dmaapUserName=admin
+ --dmaap.dmaapConsumerConfiguration.dmaapUserPassword=admin
+ --dmaap.dmaapConsumerConfiguration.dmaapContentType=application/json
+ --dmaap.dmaapConsumerConfiguration.consumerId=C12
+ --dmaap.dmaapConsumerConfiguration.consumerGroup=OpenDCAE-c12
+ --dmaap.dmaapConsumerConfiguration.timeoutMS=-1
+ --dmaap.dmaapConsumerConfiguration.message-limit=-1
+ --dmaap.dmaapProducerConfiguration.dmaapHostName=<HOST-TO-SET-DMAAP-DR>
+ --dmaap.dmaapProducerConfiguration.dmaapPortNumber=8443
+ --dmaap.dmaapProducerConfiguration.dmaapTopicName=publish
+ --dmaap.dmaapProducerConfiguration.dmaapProtocol=https
+ --dmaap.dmaapProducerConfiguration.dmaapUserName=dradmin
+ --dmaap.dmaapProducerConfiguration.dmaapUserPassword=dradmin
+ --dmaap.dmaapProducerConfiguration.dmaapContentType=application/octet-stream"
+ entrypoint:
+ - java
+ - -Dspring.profiles.active=dev
+ - -jar
+ - /target/datafile-app-server.jar
+ ports:
+ - "8100:8100"
+ - "8433:8433"
+ restart: always
+
diff --git a/pom.xml b/pom.xml
index 189e392b..34860bfb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,7 @@
<module>datafile-app-server</module>
<module>datafile-dmaap-client</module>
<module>datafile-commons</module>
+ <module>datafile-devops</module>
</modules>
<build>