diff options
author | andre.schmid <andre.schmid@est.tech> | 2021-05-14 20:38:45 +0100 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-06-14 08:16:08 +0000 |
commit | c82aebcde26e34c4151531b4d7a8f6e7689734ba (patch) | |
tree | fe14e6fadded7f43f9e1634b89d1fb9358b44253 /catalog-be/src/test/resources | |
parent | ab6a90df6444ef7282fe9de8fe8107641bf7082f (diff) |
Add models imports endpoint and persistence structure
Create the structure to persist the model imports.
Changed create model API, allowing to create a model along its TOSCA
descriptor import structure.
Introduced an endpoint to update the imports of a model.
Change-Id: Ic775ef544051c29c721cacc20b37c2fb20338be9
Issue-ID: SDC-3614
Signed-off-by: André Schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-be/src/test/resources')
-rw-r--r-- | catalog-be/src/test/resources/modelImports/emptyModelImports.zip | bin | 0 -> 186 bytes | |||
-rw-r--r-- | catalog-be/src/test/resources/modelImports/modelWithSubFolderAndEmptyFolder.zip | bin | 0 -> 1961 bytes | |||
-rw-r--r-- | catalog-be/src/test/resources/paths/path-context.xml | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/catalog-be/src/test/resources/modelImports/emptyModelImports.zip b/catalog-be/src/test/resources/modelImports/emptyModelImports.zip Binary files differnew file mode 100644 index 0000000000..323472535d --- /dev/null +++ b/catalog-be/src/test/resources/modelImports/emptyModelImports.zip diff --git a/catalog-be/src/test/resources/modelImports/modelWithSubFolderAndEmptyFolder.zip b/catalog-be/src/test/resources/modelImports/modelWithSubFolderAndEmptyFolder.zip Binary files differnew file mode 100644 index 0000000000..281e3fc3c1 --- /dev/null +++ b/catalog-be/src/test/resources/modelImports/modelWithSubFolderAndEmptyFolder.zip diff --git a/catalog-be/src/test/resources/paths/path-context.xml b/catalog-be/src/test/resources/paths/path-context.xml index 3b472dd16f..7994b0c44d 100644 --- a/catalog-be/src/test/resources/paths/path-context.xml +++ b/catalog-be/src/test/resources/paths/path-context.xml @@ -80,6 +80,7 @@ Modifications copyright (c) 2018 Nokia <bean id="userOperation" class="org.openecomp.sdc.be.facade.operations.UserOperation"/> <bean id="dmaapProducerHealth" class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth"/> <bean id="feature_toggle_dao" class="org.openecomp.sdc.be.components.path.beans.FeatureToggleDaoMock"/> + <bean id="tosca-model-import-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.ToscaModelImportCassandraDaoMock"/> <bean name="httpClient" class="org.apache.http.impl.client.HttpClients" factory-method="createDefault" /> <bean class="org.openecomp.sdc.be.components.attribute.AttributeDeclarationOrchestrator"/> <bean class="org.openecomp.sdc.be.components.attribute.ComponentInstanceOutputAttributeDeclarator"/> |