aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTal Gitelman <tal.gitelman@att.com>2019-01-23 18:37:06 +0200
committerTal Gitelman <tal.gitelman@att.com>2019-01-23 16:37:43 +0000
commit56cdfb114c099bb80734437d0fd1aa5aa3a859d1 (patch)
tree77753fae994c7807150fe2e3748e329bbe78cfae
parent7b60d28f8144b46b28cfa65e09be2cf759d431fb (diff)
SDC distribution failed bug fix
Change-Id: Ia80d03ed2ee9554b315a5db3bc253b4580bdcfb9 Issue-ID: SDC-1955 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
-rw-r--r--src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java b/src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java
index a6d7f81..5ba6622 100644
--- a/src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java
+++ b/src/main/java/org/onap/sdc/toscaparser/api/elements/NodeType.java
@@ -111,7 +111,7 @@ public class NodeType extends StatefulEntityType {
getRelation = _getRelation(key, nodeType);
} else {
ThreadLocalsHolder.getCollector().appendValidationIssue(new JToscaValidationIssue("JE11", String.format(
- "NodeTypeForCapabilityNotFoundError: Node type for capability type \"%s\" is not found",captype)));
+ "NodeTypeRequirementForCapabilityUnfulfilled: Node type: \"%s\" with requrement \"%s\" for node type with capability type \"%s\" is not found\\unfulfilled", this.ntype, key, captype)));
}
if (getRelation != null) {
relation = getRelation;
@@ -122,7 +122,7 @@ public class NodeType extends StatefulEntityType {
}
if(relation == null || nodeType == null){
ThreadLocalsHolder.getCollector().appendValidationIssue(new JToscaValidationIssue("JE11", String.format(
- "NodeTypeForRelationNotFound: Node type \"%s\" with relationship type \"%s\" is not found",nodeType, relation)));
+ "NodeTypeForRelationUnfulfilled: Node type \"%s\" - relationship type \"%s\" is unfulfilled", this.ntype, relation)));
} else {
RelationshipType rtype = new RelationshipType(relation, keyword, customDef);
NodeType relatednode = new NodeType(nodeType, customDef);