update dockers base version to 1.4.0 55/56055/1
authorYuli Shlosberg <ys9693@att.com>
Sun, 8 Jul 2018 08:50:54 +0000 (11:50 +0300)
committerYuli Shlosberg <ys9693@att.com>
Tue, 10 Jul 2018 08:16:12 +0000 (11:16 +0300)
Change-Id: I6c2490ade7ff3071487be5c0e783060390e2a2f1
Issue-ID: SDC-1344
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
17 files changed:
asdctool/sdc-cassandra-init/Dockerfile
asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphMLConverter.java
asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/tasks/handlers/XlsOutputHandler.java
catalog-be/sdc-backend-init/Dockerfile
catalog-be/sdc-backend/Dockerfile
catalog-fe/sdc-frontend/Dockerfile
catalog-model/src/main/java/org/openecomp/sdc/be/model/jsontitan/operations/NodeTypeOperation.java
openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile
openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
sdc-os-chef/sdc-cassandra/Dockerfile
sdc-os-chef/sdc-elasticsearch/Dockerfile
sdc-os-chef/sdc-init-elasticsearch/Dockerfile
sdc-os-chef/sdc-kibana/Dockerfile
test-apis-ci/sdc-api-tests/Dockerfile
ui-ci/sdc-ui-tests/Dockerfile
utils/webseal-simulator/sdc-simulator/Dockerfile
utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb

index 2e00eca..ab2e0bd 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-cqlsh:1.3.1
+FROM onap/base_sdc-cqlsh:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index f036c39..5fb5c7e 100644 (file)
@@ -449,7 +449,6 @@ public class GraphMLConverter {
                                                }
 
                                        } catch (Exception e) {
-                                               e.printStackTrace();
                                                log.info("run Vertex Scan failed - {}" , e);
 
                                                Object property1 = vertex.value(GraphPropertiesDictionary.HEALTH_CHECK.getProperty());
index 91eaed5..0ce03b1 100644 (file)
@@ -57,8 +57,7 @@ public class XlsOutputHandler implements OutputHandler {
                        workbook.write(new FileOutputStream(fileName));
                        return true;
                } catch (Exception e) {
-                       LOGGER.error("Failed to write an output file upon  Upgrade migration 1710. Exception {} occured. ", e.getMessage());
-                       e.printStackTrace();
+                       LOGGER.error("Failed to write an output file upon  Upgrade migration 1710. Exception {} occured. ", e);
                        return false;
                }
        }
index 23847b4..5f5f451 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-python:1.3.1
+FROM onap/base_sdc-python:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 70d03a5..e3e66e5 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index bc43366..55fe1fa 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 77677a9..d9318f5 100644 (file)
@@ -83,7 +83,10 @@ public class NodeTypeOperation extends ToscaElementOperation {
 
                nodeType.generateUUID();
 
+               //Set missing props such as names, default lifecycle state, dates etc...
                nodeType = getResourceMetaDataFromResource(nodeType);
+
+               //Set unique ID
                String resourceUniqueId = nodeType.getUniqueId();
                if (resourceUniqueId == null) {
                        resourceUniqueId = UniqueIdBuilder.buildResourceUniqueId();
@@ -100,9 +103,11 @@ public class NodeTypeOperation extends ToscaElementOperation {
                        derivedResources = derivedResourcesResult.left().value();
                }
 
+               //Create Vertext Object and fill according to given NodeType
                GraphVertex nodeTypeVertex = new GraphVertex(VertexTypeEnum.NODE_TYPE);
                fillToscaElementVertexData(nodeTypeVertex, nodeType, JsonParseFlagEnum.ParseAll);
 
+               //Create Node Type in Graph
                Either<GraphVertex, TitanOperationStatus> createdVertex = titanDao.createVertex(nodeTypeVertex);
                if (createdVertex.isRight()) {
                        TitanOperationStatus status = createdVertex.right().value();
index 976a46a..2dd1405 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-cassandra:1.3.1
+FROM onap/base_sdc-cassandra:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 8609a4c..15a3650 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-elasticsearch:1.3.1
+FROM onap/base_sdc-elasticsearch:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 3a0c0c4..acc4db8 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-sanity:1.3.1
+FROM onap/base_sdc-sanity:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 961642a..0135270 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-kibana:1.3.1
+FROM onap/base_sdc-kibana:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 25e22c5..b5978cb 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-sanity:1.3.1
+FROM onap/base_sdc-sanity:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 1aa84c5..d303ced 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-vnc:1.3.1
+FROM onap/base_sdc-vnc:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/
 
index 5b11553..ca74a81 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
 
 COPY chef-solo /root/chef-solo/