Fix 'Import use case fails when interfaces in template do not exist in system'-bug... 84/135684/4
authorvasraz <vasyl.razinkov@est.tech>
Sat, 5 Aug 2023 17:28:19 +0000 (18:28 +0100)
committerFrancisco Javier Paradela Vila <javier.paradela.vila@est.tech>
Thu, 17 Aug 2023 13:15:28 +0000 (13:15 +0000)
commit7c61c7bb0369bc27d05c8801c8cb0cca41e494bf
tree1ed171980ca863d486a8830c1fe591d581bbc1fa
parenta54910e9b98e78cf543c5245417eeaf9256b242e
Fix 'Import use case fails when interfaces in template do not exist in system'-bug (p.2)

No interfaces defined on the VFC:
 - SDC create the basic interface operations on the VFC  - Create / Delete  etc - with no implementation details
 - Add the implementations to the interface on the Service side
If interfaces are defined on the VFC with no implementation details defined:
 - SDC import successfully and add the implementation details to the interface on the Service side

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: If966a64b865791eed0cf29c8da8f04e44eb32e50
Issue-ID: SDC-4591
13 files changed:
catalog-be/src/main/java/org/openecomp/sdc/be/components/csar/CsarBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportParseLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/AbstractValidationsServlet.java
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ResourceUploadServlet.java
catalog-be/src/test/java/org/openecomp/sdc/be/components/ResourceImportManagerTest.java
catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogicTest.java
catalog-be/src/test/java/org/openecomp/sdc/be/servlets/ResourceUploadServletTest.java
catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadCapInfo.java
catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadInfo.java
catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadInterfaceInfo.java