diff options
author | amitjai <amitjai@amdocs.com> | 2018-01-10 15:02:59 +0530 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2018-01-10 12:46:22 +0000 |
commit | df348f9866e922122c7eb9c48210e18da3679913 (patch) | |
tree | 59bf944395860eb5219c18b2ecc6241e883fba70 /openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main | |
parent | 8ba29c4639995f8911ef4f10ac5c5047d0cc8bfc (diff) |
Fixed Lifefcycle operation issue
Artifact Process Entity is not populating with all filed hence nullpointer exception while writing artifact file.
Change-Id: Ie26982471c25fc6c1a38bbe8a0e07efa7b33577d
Issue-ID: SDC-896
Signed-off-by: amitjai <amitjai@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/external/artifact/ProcessArtifactEnricher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/external/artifact/ProcessArtifactEnricher.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/external/artifact/ProcessArtifactEnricher.java index e2ae60d87e..30a8965809 100644 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/external/artifact/ProcessArtifactEnricher.java +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/external/artifact/ProcessArtifactEnricher.java @@ -65,7 +65,7 @@ public class ProcessArtifactEnricher implements ExternalArtifactEnricherInterfac ProcessEntity artifactEntity = new ProcessEntity(vspId, version, componentId, entity.getId()); - ProcessEntity artifactProcessEntity = getProcessDao().get(artifactEntity); + ProcessEntity artifactProcessEntity = getProcessDao().getArtifact(artifactEntity); if (artifactProcessEntity != null && ProcessType.Lifecycle_Operations.equals( artifactProcessEntity.getType()) && artifactProcessEntity.getArtifactName() != null ) { |