Add generic methods to TOSCA providers and utils 80/116080/1
authorliamfallon <liam.fallon@est.tech>
Thu, 3 Dec 2020 12:40:58 +0000 (12:40 +0000)
committerliamfallon <liam.fallon@est.tech>
Thu, 3 Dec 2020 15:12:41 +0000 (15:12 +0000)
commitdb2118d4a635f2d116d4a5cd6714730600e47b6c
tree03208d2db4fad9f7eefd687140641fbfbdda2880
parentd0e612882c86222dbc1560b1282de42cd245a905
Add generic methods to TOSCA providers and utils

Generic methods for getting ehtire service templates are added to the
TOSCA providers in models-tosca.

These are needed to read service tempaltes containing entities that are
not policy related.

Issue-ID: POLICY-2900
Change-Id: If4c646037f51f8a18b66257426accc330905acf9
Signed-off-by: liamfallon <liam.fallon@est.tech>
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProvider.java
models-tosca/src/main/java/org/onap/policy/models/tosca/simple/provider/SimpleToscaProvider.java
models-tosca/src/main/java/org/onap/policy/models/tosca/utils/ToscaUtils.java
models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderGenericTest.java [new file with mode: 0644]
models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java
models-tosca/src/test/java/org/onap/policy/models/tosca/simple/provider/SimpleToscaProviderTest.java