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;
}
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);