Controller Blueprints Microservice
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Thu, 23 Aug 2018 15:54:30 +0000 (15:54 +0000)
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Thu, 23 Aug 2018 15:57:47 +0000 (15:57 +0000)
Add Docker Build and Deploy Maven Implementations for Controller Blueprint MS and their dependencies

Change-Id: I9eee9fff535bcc9ca0b855150892ce53af126d1c
Issue-ID: CCSDK-483
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
17 files changed:
ms/blueprintsprocessor/application/pom.xml
ms/blueprintsprocessor/modules/commons/adaptors/pom.xml
ms/blueprintsprocessor/modules/commons/core/pom.xml
ms/blueprintsprocessor/modules/commons/db-lib/pom.xml
ms/blueprintsprocessor/modules/commons/pom.xml
ms/blueprintsprocessor/modules/commons/rest-lib/pom.xml
ms/blueprintsprocessor/modules/inbounds/pom.xml
ms/blueprintsprocessor/modules/inbounds/resource-api/pom.xml
ms/blueprintsprocessor/modules/inbounds/selfservice-api/pom.xml
ms/blueprintsprocessor/modules/outbounds/pom.xml
ms/blueprintsprocessor/modules/pom.xml
ms/blueprintsprocessor/modules/services/db-service/pom.xml
ms/blueprintsprocessor/modules/services/execution-service/pom.xml
ms/blueprintsprocessor/modules/services/pom.xml
ms/blueprintsprocessor/modules/services/resolution-service/pom.xml
ms/blueprintsprocessor/parent/pom.xml
ms/blueprintsprocessor/pom.xml

index ea42260..1412eca 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>parent</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
         <relativePath>../parent</relativePath>
     </parent>
     <artifactId>application</artifactId>
index efd7d74..a467051 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>commons</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>adaptors</artifactId>
index a601560..d020320 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>commons</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>core</artifactId>
@@ -38,8 +38,8 @@
                        <artifactId>rest-lib</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.onap.ccsdk.apps</groupId>
-                       <artifactId>controllerblueprints-resource-dict</artifactId>
+                       <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                       <artifactId>resource-dict</artifactId>
                </dependency>
        </dependencies>
 </project>
index 31abb40..a8ece15 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>commons</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>db-lib</artifactId>
index 83a3cb8..00b7e5f 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>modules</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>commons</artifactId>
index d671f12..27a1a1d 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>commons</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>rest-lib</artifactId>
index 1b9d278..fd2b9fa 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>modules</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>inbounds</artifactId>
index 6ed7c9d..32b7217 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>inbounds</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>resource-api</artifactId>
index a777c08..7791b5d 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>inbounds</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>selfservice-api</artifactId>
index 213e516..8a90262 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>modules</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>outbounds</artifactId>
index 6844743..c0c30e0 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>parent</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
                <relativePath>../parent</relativePath>
        </parent>
 
index b11ba6d..3c0d9e7 100644 (file)
@@ -20,7 +20,7 @@
        <parent>
                <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
                <artifactId>services</artifactId>
-               <version>0.0.3-SNAPSHOT</version>
+               <version>0.3.0-SNAPSHOT</version>
        </parent>
 
        <artifactId>db-service</artifactId>
index c49476f..b1bf823 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>services</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>execution-service</artifactId>
index 4ab8d00..90a4446 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>modules</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>services</artifactId>
index 581dd14..f25eb71 100644 (file)
@@ -20,7 +20,7 @@
     <parent>
         <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
         <artifactId>services</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
+        <version>0.3.0-SNAPSHOT</version>
     </parent>
     <artifactId>resolution-service</artifactId>
     <packaging>jar</packaging>
index b6c8e0c..79039aa 100644 (file)
   -->
 <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">
-    <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
-    <version>0.0.3-SNAPSHOT</version>
     <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.onap.ccsdk.apps</groupId>
+        <artifactId>blueprintsprocessor</artifactId>
+        <version>0.3.0-SNAPSHOT</version>
+    </parent>
+    <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
     <artifactId>parent</artifactId>
     <packaging>pom</packaging>
     <name>Blueprints Processor Parent</name>
     <description>Blueprints Processor Parent</description>
     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <java.version>1.8</java.version>
         <controllerblueprints.version>0.3.0-SNAPSHOT</controllerblueprints.version>
         <spring.boot.version>2.0.4.RELEASE</spring.boot.version>
+        <spring.version>5.0.8.RELEASE</spring.version>
         <kotlin.version>1.2.60</kotlin.version>
+        <eelf.version>1.0.0</eelf.version>
         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
         <h2database.version>1.4.197</h2database.version>
     </properties>
     <dependencyManagement>
         <dependencies>
+            <!-- Spring Boot -->
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-parent</artifactId>
+                <version>${spring.boot.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+
+            <!-- Logging Dependencies -->
+            <dependency>
+                <groupId>com.att.eelf</groupId>
+                <artifactId>eelf-core</artifactId>
+                <version>${eelf.version}</version>
+            </dependency>
+
+            <!-- Kotlin Dependencies -->
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-stdlib</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-stdlib-jdk8</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-reflect</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+
             <!-- Application Module Dependencies -->
             <dependency>
                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
 
             <!-- Application Component Dependency -->
             <dependency>
-                <groupId>org.onap.ccsdk.apps</groupId>
-                <artifactId>controllerblueprints-resource-dict</artifactId>
+                <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                <artifactId>resource-dict</artifactId>
                 <version>${controllerblueprints.version}</version>
             </dependency>
 
                 <version>${springfox.swagger2.version}</version>
             </dependency>
 
-            <!-- Spring Boot -->
-
+            <!-- Common Libs -->
             <dependency>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-starter-parent</artifactId>
-                <version>${spring.boot.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-lang3</artifactId>
+                <version>3.2.1</version>
             </dependency>
             <dependency>
-                <groupId>org.jetbrains.kotlin</groupId>
-                <artifactId>kotlin-stdlib-jdk8</artifactId>
-                <version>${kotlin.version}</version>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.2.2</version>
             </dependency>
             <dependency>
-                <groupId>org.jetbrains.kotlin</groupId>
-                <artifactId>kotlin-reflect</artifactId>
-                <version>${kotlin.version}</version>
+                <groupId>commons-io</groupId>
+                <artifactId>commons-io</artifactId>
+                <version>2.6</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.velocity</groupId>
+                <artifactId>velocity</artifactId>
+                <version>1.7</version>
+            </dependency>
+            <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>guava</artifactId>
+                <version>25.1-jre</version>
+            </dependency>
+
             <!-- Database -->
             <dependency>
                 <groupId>com.h2database</groupId>
         <dependency>
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-lang3</artifactId>
-            <version>3.2.1</version>
         </dependency>
         <dependency>
             <groupId>commons-collections</groupId>
             <artifactId>commons-collections</artifactId>
-            <version>3.2.2</version>
         </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
-            <version>2.6</version>
         </dependency>
         <dependency>
             <groupId>org.apache.velocity</groupId>
             <artifactId>velocity</artifactId>
-            <version>1.7</version>
         </dependency>
 
         <dependency>
index 6c980be..f35b105 100644 (file)
        <description>Blueprints Processor POM</description>
 
        <properties>
+               <service.name>BlueprintsProcessor</service.name>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+               <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
+               <build.number>${maven.build.timestamp}</build.number>
+               <java.version>1.8</java.version>
                <maven.compiler.target>1.8</maven.compiler.target>
                <maven.compiler.source>1.8</maven.compiler.source>
-               <kotlin.version>1.2.60</kotlin.version>
+               <ccsdk.project.version>${project.version}</ccsdk.project.version>
        </properties>
 
        <modules>