diff options
Diffstat (limited to 'models-provider/src/main/java')
2 files changed, 2 insertions, 4 deletions
diff --git a/models-provider/src/main/java/org/onap/policy/models/provider/PolicyModelsProvider.java b/models-provider/src/main/java/org/onap/policy/models/provider/PolicyModelsProvider.java index f0a5382de..e2aa81ff9 100644 --- a/models-provider/src/main/java/org/onap/policy/models/provider/PolicyModelsProvider.java +++ b/models-provider/src/main/java/org/onap/policy/models/provider/PolicyModelsProvider.java @@ -303,8 +303,7 @@ public interface PolicyModelsProvider extends AutoCloseable { * @return the list of nodeTemplates found * @throws PfModelException on errors getting node template */ - public List<Map<PfConceptKey, ToscaNodeTemplate>> getToscaNodeTemplate(final String name, - final String version) + public List<ToscaNodeTemplate> getToscaNodeTemplate(final String name, final String version) throws PfModelException; /** diff --git a/models-provider/src/main/java/org/onap/policy/models/provider/impl/AbstractPolicyModelsProvider.java b/models-provider/src/main/java/org/onap/policy/models/provider/impl/AbstractPolicyModelsProvider.java index 6747d9c49..ebd9dc472 100644 --- a/models-provider/src/main/java/org/onap/policy/models/provider/impl/AbstractPolicyModelsProvider.java +++ b/models-provider/src/main/java/org/onap/policy/models/provider/impl/AbstractPolicyModelsProvider.java @@ -221,8 +221,7 @@ public abstract class AbstractPolicyModelsProvider implements PolicyModelsProvid } @Override - public List<Map<PfConceptKey, ToscaNodeTemplate>> getToscaNodeTemplate(final String name, - final String version) + public List<ToscaNodeTemplate> getToscaNodeTemplate(final String name, final String version) throws PfModelException { assertInitialized(); return new AuthorativeToscaProvider().getToscaNodeTemplate(getPfDao(), name, version); |