-FROM onap/base_sdc-cqlsh:1.3.1
+FROM onap/base_sdc-cqlsh:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
}
} catch (Exception e) {
- e.printStackTrace();
log.info("run Vertex Scan failed - {}" , e);
Object property1 = vertex.value(GraphPropertiesDictionary.HEALTH_CHECK.getProperty());
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;
}
}
-FROM onap/base_sdc-python:1.3.1
+FROM onap/base_sdc-python:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
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();
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();
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-cqlsh:1.3.1
+FROM onap/base_sdc-cqlsh:1.4.0-SNAPSHOT-latest
COPY init_keyspaces.cql /root/
-FROM onap/base_sdc-cassandra:1.3.1
+FROM onap/base_sdc-cassandra:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-elasticsearch:1.3.1
+FROM onap/base_sdc-elasticsearch:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-sanity:1.3.1
+FROM onap/base_sdc-sanity:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-kibana:1.3.1
+FROM onap/base_sdc-kibana:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-sanity:1.3.1
+FROM onap/base_sdc-sanity:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-vnc:1.3.1
+FROM onap/base_sdc-vnc:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
-FROM onap/base_sdc-jetty:1.3.1
+FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
COPY chef-solo /root/chef-solo/
jetty_base="/var/lib/jetty"
-if !ENV['FE_URL'].empty?
+if ENV['FE_URL']
fe_url="#{ENV['FE_URL']}"
elsif node['disableHttp']
fe_url="https://#{node['Nodes']['FE']}:#{node['FE'][:https_port]}"