Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/yamlsupport #665

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ protected Optional<ServiceTemplateId> processDefinitionsImport(TDefinitions defs
this.adjustNodeType(definitionsPath.getParent().getParent(), (TNodeType) ci, (NodeTypeId) wid, tmf, errors);
} else if (ci instanceof TRelationshipType) {
this.adjustRelationshipType(definitionsPath.getParent().getParent(), (TRelationshipType) ci, (RelationshipTypeId) wid, tmf, errors);
} else if (ci instanceof TServiceTemplate) {
// tosca yaml doesn't have plans but workflows, therefore this seems not to be working properly
// this.adjustServiceTemplate(definitionsPath.getParent().getParent(), tmf, (ServiceTemplateId) wid, (TServiceTemplate) ci, errors);
entryServiceTemplate = Optional.of((ServiceTemplateId) wid);
}

storeDefs(wid, newDefs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

public class YamlToscaExportUtil extends ToscaExportUtil {

private static final boolean EXPORT_NORMATIVE_TYPES = false;
private static final boolean EXPORT_NORMATIVE_TYPES = true;
private static final Logger LOGGER = LoggerFactory.getLogger(YamlToscaExportUtil.class);

@Override
Expand Down