Refactor ArtifactsBusinessLogic::handleDeleteInternal 95/107395/3
authorFrancis Toth <francis.toth@yoppworks.com>
Fri, 8 May 2020 16:22:41 +0000 (12:22 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Wed, 20 May 2020 08:34:28 +0000 (08:34 +0000)
commit8366fcd262412e178ea331f17fe6144e95eb891a
tree8fb3c4ada18df0732c3f0964de69da0a57858757
parented73921b083bddae1692e22cfd8fac5fdc2fd57b
Refactor ArtifactsBusinessLogic::handleDeleteInternal

This commit is a first step towards the ArtifactsBusinessLogic::handleDeleteInternal function refactoring. It aims to improve how Either is used, and to reduce its cyclomatic complexity along with some duplications.

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I1b476ccc0e0341975b80c10dc79c5dc1592267f4
Issue-ID: SDC-2812
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ArtifactsBusinessLogic.java