From b79b35d5496f1c44fdbb6bf52f057d87031e1314 Mon Sep 17 00:00:00 2001 From: Marcin Migdal Date: Mon, 24 Sep 2018 15:30:27 +0200 Subject: Docker-compose for DFC Change-Id: I2d680ebc6b9841fc929ce9d7e19f38d6cb856bda Issue-ID: DCAEGEN2-833 Signed-off-by: Marcin Migdal --- datafile-devops/pom.xml | 15 ++++++++++ .../src/main/resources/docker-compose.yml | 33 ++++++++++++++++++++++ pom.xml | 1 + 3 files changed, 49 insertions(+) create mode 100644 datafile-devops/pom.xml create mode 100644 datafile-devops/src/main/resources/docker-compose.yml 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 @@ + + + + datafile + org.onap.dcaegen2.collectors + 1.0.0-SNAPSHOT + + 4.0.0 + + datafile-devops + + + \ 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= + --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= + --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 @@ datafile-app-server datafile-dmaap-client datafile-commons + datafile-devops -- cgit 1.2.3-korg