Refactor ArtifactsBusinessLogic::generateToscaArtifact 35/107035/4
authorFrancis Toth <francis.toth@yoppworks.com>
Mon, 4 May 2020 12:14:51 +0000 (08:14 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 11 May 2020 07:22:48 +0000 (07:22 +0000)
commitae0f64936f9798b17b313754d643977b7567af17
tree32573cf1f4281f9045345ee88f897e84d86ea4ae
parenta7bd374357e0737e419d196a16ff09a644417f97
Refactor ArtifactsBusinessLogic::generateToscaArtifact

This commit aims to refactor how Either is used in ArtifactsBusinessLogic::generateToscaArtifact. In order to keep the refactoring relatively small, we evalute its result at the call site.

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