Fixing docker image tag 35/112935/4
authorSingal, Kapil (ks220y) <ks220y@att.com>
Mon, 21 Sep 2020 13:53:32 +0000 (09:53 -0400)
committerKAPIL SINGAL <ks220y@att.com>
Mon, 21 Sep 2020 15:08:44 +0000 (15:08 +0000)
Moving related properties to parent most pom and using same across
Removing unnecessary version tag from poms

Issue-ID: CCSDK-2794
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I37d16d3f7a467bb579f70235f69a8bff0fe4ba8e

23 files changed:
README.md
cds-ui/application/pom.xml
cds-ui/client/pom.xml
cds-ui/designer-client/pom.xml
cds-ui/pom.xml
cds-ui/server/pom.xml
components/model-catalog/blueprint-model/pom.xml
components/model-catalog/blueprint-model/test-blueprint-kotlin-parent/pom.xml
components/model-catalog/blueprint-model/test-blueprint/pom.xml
components/pom.xml
ms/blueprintsprocessor/functions/ansible-awx-executor/pom.xml
ms/blueprintsprocessor/functions/cli-executor/pom.xml
ms/blueprintsprocessor/functions/config-snapshots/pom.xml
ms/blueprintsprocessor/functions/k8s-profile-upload/pom.xml
ms/blueprintsprocessor/functions/netconf-executor/pom.xml
ms/blueprintsprocessor/functions/resource-resolution/pom.xml
ms/blueprintsprocessor/functions/restconf-executor/pom.xml
ms/blueprintsprocessor/modules/blueprints/blueprint-core/pom.xml
ms/blueprintsprocessor/modules/inbounds/configs-api/pom.xml
ms/blueprintsprocessor/parent/pom.xml
ms/pom.xml
ms/sdclistener/application/pom.xml
pom.xml

index ba9c293..3c7dee7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,50 +1,52 @@
-##### Format code with ktlint checkstyle tool use the following command
-
+### Format code with ktlint checkstyle tool use the following command
 `mvn process-sources -P format`
 
-
-## Reference
+#### Reference
 https://github.com/pinterest/ktlint
 
-## Getting started
-
+## Basic Architecture
 ![Basic_Architecture](./docs/media/CDS.png)
 
 ## Basic Requirements
 Before you can build this project, you must install and configure the following dependencies on your machine:
 
-  1- Java 8 SDK
-  
+  1- Java 11 SDK
   2- Node and npm installed
-  
   3- Angular CLI & Angular v8
-  
   4- MySQL Database
-  
-  5- maven
+  5- Maven 3.6.X
   
 ## Running in Development Mode
 
-* In the main project folder run `mvn clean install` command to install all libraries and dependencies for maven and npm.
+Running `mvn clean install` command to install all libraries and dependencies for the maven and npm.
+Running `mvn clean install -Pdocker` command to install all libraries and create below docker images
+  * ccsdk-blueprintsprocessor
+  * ccsdk-commandexecutor
+  * ccsdk-py-executor
+  * ccsdk-sdclistener
+  * ccsdk-cds-ui-server
+  * ccsdk-cds-ui
 
- 1- Back-end MS
-  
-  * create `sdnctl` table in MySQL 
+**Note:** run `mvn clean install -Pdocker -Ddocker.skip.push=true` to skip pushing built docker image
+
+1) Back-end MS
+  * Create `sdnctl` table in MySQL 
   * (Optional) You could run the project in a specific profile(dev, local) by adding `-Dspring.profiles.active=profile-name`
   
-2- Loop-back server: that allow your request to reach the backend from cds-ui
+2) Loop-back server: that allow your request to reach the backend from cds-ui
  * move to `./cds-ui/server/` folder and run the  command `npm start`
  
- 3- cds-ui
+3) cds-ui
  
- * move to `./cds-ui/designer-client/` folder and run the command `npm start`, This command will make sure all the files follow the linting rules and then connect to the loopback server.
+ * Move to `./cds-ui/designer-client/` folder and run the command `npm start`.
+ * This command will make sure all the files follow the linting rules and then connect to the loopback server.
 
 ## Using an IDE
 
 **Front-end** you could use `vscode` or `webstorm`.
  
-**Back-end** `Intellij` with kotlin plugin or any other editor
+**Back-end** `IntelliJ` with kotlin plugin or any other editor
 
 
 ---
-For more information check the `docs` folder.
\ No newline at end of file
+For more information check: https://docs.onap.org/projects/onap-ccsdk-cds/en/latest/index.html
\ No newline at end of file
index 22d5cab..cf48137 100644 (file)
@@ -30,7 +30,6 @@ limitations under the License.
     </parent>
 
     <artifactId>cds-ui-application</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>UI Application</name>
index ec0326a..63ff9fb 100644 (file)
@@ -30,7 +30,6 @@ limitations under the License.
     </parent>
 
     <artifactId>cds-ui-client</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>UI Client</name>
index 34f56e1..01504fb 100644 (file)
@@ -30,7 +30,6 @@ limitations under the License.
     </parent>
 
     <artifactId>cds-ui-designer-client</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>UI designer Client</name>
index 6d54732..285e63e 100644 (file)
@@ -23,15 +23,13 @@ limitations under the License.
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.0.1</version>
-        <relativePath/>
+        <groupId>org.onap.ccsdk.cds</groupId>
+        <artifactId>cds-aggregator</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+        <relativePath>..</relativePath>
     </parent>
 
-    <groupId>org.onap.ccsdk.cds</groupId>
     <artifactId>cds-ui</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>UI Parent</name>
@@ -46,14 +44,5 @@ limitations under the License.
 
     <properties>
         <npm.executable>npm</npm.executable>
-        <image.name>onap/ccsdk-cds-ui</image.name>
-        <ccsdk.cds.version>${project.version}</ccsdk.cds.version>
-        <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
-        <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
-
-        <!-- docker related properties -->
-        <docker.verbose>true</docker.verbose>
-        <docker.skip.push>false</docker.skip.push>
-        <docker.push.phase>deploy</docker.push.phase>
     </properties>
 </project>
index 6444385..6d9bc14 100644 (file)
@@ -30,7 +30,6 @@ limitations under the License.
     </parent>
 
     <artifactId>cds-ui-server</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>UI Server</name>
index db63478..65b8ce1 100644 (file)
@@ -27,7 +27,6 @@
 
     <groupId>org.onap.ccsdk.cds.components.cba</groupId>
     <artifactId>blueprint-model</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>Components Model Catalog - Blueprints Model</name>
index 626ca9e..f39ded7 100644 (file)
@@ -25,7 +25,6 @@
     </parent>
 
     <artifactId>test-blueprint-kotlin-parent</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>Components Model Catalog - Blueprints Model - Test Kotlin Parent</name>
index 70b3bfc..fb372ed 100644 (file)
@@ -25,7 +25,6 @@
     </parent>
 
     <artifactId>test-blueprint-model</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>Components Model Catalog - Blueprints Model - Test Blueprints</name>
index 64bc46e..0ea3e58 100644 (file)
@@ -26,7 +26,6 @@
     </parent>
 
     <artifactId>cds-components</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>Components (Root)</name>
index 43f4598..40c93b1 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>ansible-awx-executor</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - Ansible AWX Executor</name>
     <description>Blueprints Processor Function - Ansible Executor</description>
index 04c78d8..37f4bfc 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>cli-executor</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - CLI Executor</name>
     <description>Blueprints Processor Function - CLI Executor</description>
index 35c2113..35f838e 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>config-snapshots</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - Config Snapshots</name>
     <description>Blueprints Processor Function - Config Snapshots</description>
index eb36fe5..9fd4274 100644 (file)
@@ -28,7 +28,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>k8s-profile-upload</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - K8s Profile Upload</name>
     <description>Blueprints Processor Function - K8s Profile Upload</description>
index ce49754..ac56a1a 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>netconf-executor</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - Netconf Executor</name>
     <description>Blueprints Processor Function - Netconf Executor</description>
index a955351..c1357f8 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>resource-resolution</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>jar</packaging>
 
     <name>MS Blueprints Processor Functions - Resource Resolution</name>
index 73502b2..de13517 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
     <artifactId>restconf-executor</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Functions - Restconf Executor</name>
     <description>Blueprints Processor Function - Restconf Executor</description>
index 8673211..7960ca3 100644 (file)
@@ -27,7 +27,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
     <artifactId>blueprint-core</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
 
     <name>MS Blueprints Processor Modules - Blueprints - Blueprints Core</name>
 
index 39f2df5..bdf0513 100644 (file)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
     <artifactId>configs-api</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>jar</packaging>
 
     <name>MS Blueprints Processor Modules - Inbound - Configurations API</name>
index eb4f4de..a74132b 100755 (executable)
@@ -26,7 +26,6 @@
 
     <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
     <artifactId>blueprintsprocessor-parent</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>MS Blueprints Processor Parent</name>
index bc0131e..7d98e37 100644 (file)
@@ -26,7 +26,6 @@
     </parent>
 
     <artifactId>cds-ms</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>MS (Root)</name>
index a1ea90c..34fb6f9 100644 (file)
@@ -26,7 +26,6 @@
     </parent>
 
     <artifactId>sdclistener-application</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
     <packaging>jar</packaging>
 
     <name>MS SDC Listener - Application</name>
diff --git a/pom.xml b/pom.xml
index c1216b8..c2aecb3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,8 @@ limitations under the License.
         <docker.verbose>true</docker.verbose>
         <docker.skip.push>false</docker.skip.push>
         <docker.push.phase>deploy</docker.push.phase>
+        <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
+        <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
 
         <ccsdk.cds.version>${project.version}</ccsdk.cds.version>
     </properties>