Block interface operation edit in checkedin VFC 59/129659/3
authorandre.schmid <andre.schmid@est.tech>
Tue, 21 Jun 2022 14:06:12 +0000 (15:06 +0100)
committerMichael Morris <michael.morris@est.tech>
Wed, 22 Jun 2022 16:33:39 +0000 (16:33 +0000)
commitfbab79aeaccf74385c9a55b697a1055a86bdf171
tree8fa0640b7d26298c3bcb805098c88dfabd036c8c
parent9cbed7bdd05b0bad6814bd3eb1b43562387d4fd7
Block interface operation edit in checkedin VFC

VFC interface operation could be edited even when checked in, due to
an incorrect viewOnly input passed to the modal component.
Blocks edition also in the backend, by verifying if the component
can be edited.

Change-Id: I816e28897273aaa677237ca55794bb3dc8460975
Issue-ID: SDC-4058
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentInterfaceOperationBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ComponentInterfaceOperationServlet.java
catalog-ui/src/app/ng2/pages/interface-definition/interface-definition.page.component.ts
integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java
integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/GoToInterfaceDefinitionPageFlow.java [moved from integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/InterfaceDefinitionFlow.java with 86% similarity]
integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/InterfaceDefinitionOperationsModal.java