diff options
-rw-r--r-- | datafile-devops/pom.xml | 15 | ||||
-rw-r--r-- | datafile-devops/src/main/resources/docker-compose.yml | 33 | ||||
-rw-r--r-- | pom.xml | 1 |
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 + @@ -68,6 +68,7 @@ <module>datafile-app-server</module> <module>datafile-dmaap-client</module> <module>datafile-commons</module> + <module>datafile-devops</module> </modules> <build> |