summaryrefslogtreecommitdiffstats
path: root/datafile-devops
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2018-09-24 15:30:27 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2018-10-01 10:40:33 +0200
commitb79b35d5496f1c44fdbb6bf52f057d87031e1314 (patch)
tree5fb53ccb0d87fe0697e8b5c59e26870f05ad144d /datafile-devops
parentd1e9b1e4004faf059c2505ef9ab561bf19472b98 (diff)
Docker-compose for DFC
Change-Id: I2d680ebc6b9841fc929ce9d7e19f38d6cb856bda Issue-ID: DCAEGEN2-833 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'datafile-devops')
-rw-r--r--datafile-devops/pom.xml15
-rw-r--r--datafile-devops/src/main/resources/docker-compose.yml33
2 files changed, 48 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
+