Fix types not refreshing after model change 56/130856/6
authorfranciscovila <javier.paradela.vila@est.tech>
Thu, 15 Sep 2022 13:20:35 +0000 (14:20 +0100)
committerMichael Morris <michael.morris@est.tech>
Fri, 16 Sep 2022 08:41:58 +0000 (08:41 +0000)
commit70c17bb345b6ed957290eec776c026d3a25f48a1
tree17773429de2c965a275ff53aa6938837206d0146
parent38d98f8852f3e1e15300946aef95c65d3fca70b4
Fix types not refreshing after model change

Loads the capability, requirement and node types based on the current
VFC model.
Removes the frontend cache that was being hold by the
ReqAndCapabilitiesService.

Issue-ID: SDC-4175
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I6ab9d1781c6d65e0d78ff69baf468fb9d24f9afd
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/TypesFetchServlet.java
catalog-be/src/test/java/org/openecomp/sdc/be/servlets/TypesFetchServletTest.java
catalog-ui/src/app/ng2/pages/workspace/req-and-capabilities/req-and-capabilities.service.ts
catalog-ui/src/app/ng2/services/tosca-types.service.ts