Add null test in ArtifactsOperations 97/106397/2
authorChris André <chris.andre@yoppworks.com>
Wed, 22 Apr 2020 01:26:12 +0000 (21:26 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Wed, 22 Apr 2020 10:58:43 +0000 (10:58 +0000)
commit80a4b4a14a63509990bdbcb960538d30ae22a6e5
treec9565ded67e69716431d9cb74fce98a155edc531
parentc39f8ff9e9436d974f9d0021be04b0a925d6745d
Add null test in ArtifactsOperations

- Added if statement in `updateArtifactOnGraph` to account for the case where variable `artifactInst` has not been properly initialized

Issue-ID: SDC-2919
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I73fe3b3bcef59e5797a0f7cfe7b6894816d0d3fb
catalog-model/src/main/java/org/openecomp/sdc/be/model/jsonjanusgraph/operations/ArtifactsOperations.java