diff options
author | Balaji, Ramya (rb111y) <rb111y@att.com> | 2018-05-23 15:07:57 -0400 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-05-23 20:02:24 +0000 |
commit | d5662e4f5ad44fe89b455d0596e185f7e4c905f0 (patch) | |
tree | 4827bf97b3a578ba1c1874028e6442ee1eb26f46 /appc-inbound | |
parent | 07fcbfcd2e65135556fce021748aa6c338cf710d (diff) |
Healthcheck bug fixes
Fixed code to set userid and
password correctly. Also set the url
in context when passed in reference
artifact.
Cherry-pick from master branch
Issue-ID: APPC-917
Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
(cherry picked from commit 17e3dbc0a2af683609c5d8cebdcc68884a29b1aa)
Diffstat (limited to 'appc-inbound')
-rw-r--r-- | appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java index 349821723..12cd7f7a5 100644 --- a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java +++ b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNode.java @@ -76,6 +76,7 @@ import static org.onap.appc.artifact.handler.utils.SdcArtifactHandlerConstants.V import static org.onap.appc.artifact.handler.utils.SdcArtifactHandlerConstants.VNFC_INSTANCE; import static org.onap.appc.artifact.handler.utils.SdcArtifactHandlerConstants.VNFC_TYPE; import static org.onap.appc.artifact.handler.utils.SdcArtifactHandlerConstants.VNF_TYPE; +import static org.onap.appc.artifact.handler.utils.SdcArtifactHandlerConstants.URL; import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; @@ -319,6 +320,9 @@ public class ArtifactHandlerNode implements SvcLogicJavaPlugin { if (content.has(PORT_NUMBER)) { setAttribute(context, content::getString, PORT_NUMBER); } + if (content.has(URL)) { + setAttribute(context, content::getString, URL); + } processArtifactList(content, dbservice, context); processConfigTypeActions(content, dbservice, context); dbservice.processDeviceAuthentication(context, |