From 77c8e7ee4645fcd7052ac2a1055dd0d387fc5ecb Mon Sep 17 00:00:00 2001 From: prathamesh morde Date: Fri, 22 Feb 2019 17:03:19 -0500 Subject: Skeleton of CDS-SDC Listener ms Change-Id: I3874b588a484a22cc4e0fe9d39541effa1f3c305 Issue-ID: CCSDK-349 Signed-off-by: prathamesh morde --- ms/cds-sdc-listener/application/pom.xml | 58 +++++++++++ .../cdssdclistener/CdsSdcListenerApplication.java | 19 ++++ ms/cds-sdc-listener/distribution/pom.xml | 106 +++++++++++++++++++++ ms/cds-sdc-listener/pom.xml | 28 ++++++ 4 files changed, 211 insertions(+) create mode 100644 ms/cds-sdc-listener/application/pom.xml create mode 100644 ms/cds-sdc-listener/application/src/main/java/org/onap/ccsdk/apps/cdssdclistener/CdsSdcListenerApplication.java create mode 100644 ms/cds-sdc-listener/distribution/pom.xml create mode 100644 ms/cds-sdc-listener/pom.xml (limited to 'ms/cds-sdc-listener') diff --git a/ms/cds-sdc-listener/application/pom.xml b/ms/cds-sdc-listener/application/pom.xml new file mode 100644 index 000000000..a5e6f1e53 --- /dev/null +++ b/ms/cds-sdc-listener/application/pom.xml @@ -0,0 +1,58 @@ + + + + + org.onap.ccsdk.parent + spring-boot-1-starter-parent + 1.2.1-SNAPSHOT + + + + 4.0.0 + application + CDS-SDC Listener Application + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-devtools + true + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + repackage + + repackage + + + + + + + + diff --git a/ms/cds-sdc-listener/application/src/main/java/org/onap/ccsdk/apps/cdssdclistener/CdsSdcListenerApplication.java b/ms/cds-sdc-listener/application/src/main/java/org/onap/ccsdk/apps/cdssdclistener/CdsSdcListenerApplication.java new file mode 100644 index 000000000..661f8cb5b --- /dev/null +++ b/ms/cds-sdc-listener/application/src/main/java/org/onap/ccsdk/apps/cdssdclistener/CdsSdcListenerApplication.java @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2019 Bell Canada. All rights reserved. + * + * NOTICE: All the intellectual and technical concepts contained herein are + * proprietary to Bell Canada and are protected by trade secret or copyright law. + * Unauthorized copying of this file, via any medium is strictly prohibited. + */ + +package org.onap.ccsdk.apps.cdssdclistener; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class CdsSdcListenerApplication { + public static void main(String[] args) { + SpringApplication.run(CdsSdcListenerApplication.class, args); + } +} diff --git a/ms/cds-sdc-listener/distribution/pom.xml b/ms/cds-sdc-listener/distribution/pom.xml new file mode 100644 index 000000000..9ff555fce --- /dev/null +++ b/ms/cds-sdc-listener/distribution/pom.xml @@ -0,0 +1,106 @@ + + + + cds-sdc-listener + org.onap.ccsdk.apps + 0.4.1-SNAPSHOT + + + 4.0.0 + distribution + CDS-SDC Listener Distribution + + + onap/ccsdk-cdssdclistener + deploy + + + + + + maven-resources-plugin + 2.6 + + + copy-dockerfile + + copy-resources + + validate + + ${basedir}/target/docker-stage + + + src/main/docker + + * + + true + + + + + + + + + + + + docker + + + + + io.fabric8 + docker-maven-plugin + 0.26.1 + false + + + + ${image.name} + + try + ${basedir}/target/docker-stage + + ${project.version} + ${project.version}-STAGING-${maven.build.timestamp} + + + + + true + + + + generate-images + package + + build + + + + push-images + ${docker.push.phase} + + build + push + + + + + + + + + + \ No newline at end of file diff --git a/ms/cds-sdc-listener/pom.xml b/ms/cds-sdc-listener/pom.xml new file mode 100644 index 000000000..3998f5f28 --- /dev/null +++ b/ms/cds-sdc-listener/pom.xml @@ -0,0 +1,28 @@ + + + + ccsdk-apps-ms + org.onap.ccsdk.apps + 0.4.1-SNAPSHOT + + + 4.0.0 + cds-sdc-listener + CDS-SDC Listener Root + A microservice to get the cba file from SDC and store it into database at runtime + pom + + + application + distribution + + + \ No newline at end of file -- cgit 1.2.3-korg