diff options
author | Ofir Sonsino <os0695@att.com> | 2017-09-12 12:17:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-12 12:17:35 +0000 |
commit | 138adfa2ca115e3929964abd998df02c3318d58e (patch) | |
tree | 34e325286eb78412399b5c968b7dc4dbc34597cb /vid-app-common/src/main/java/org | |
parent | 60fcc81d37e64dffe8001e8542466b751aa5a522 (diff) | |
parent | e6ccaa275470ee87747a803ed732b8e33e0831c5 (diff) |
Merge "Fix to pass calling application identifier to SO"
Diffstat (limited to 'vid-app-common/src/main/java/org')
-rwxr-xr-x | vid-app-common/src/main/java/org/openecomp/vid/mso/MsoRestInterface.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/openecomp/vid/mso/MsoRestInterface.java b/vid-app-common/src/main/java/org/openecomp/vid/mso/MsoRestInterface.java index 31a762ef..f964b835 100755 --- a/vid-app-common/src/main/java/org/openecomp/vid/mso/MsoRestInterface.java +++ b/vid-app-common/src/main/java/org/openecomp/vid/mso/MsoRestInterface.java @@ -84,7 +84,10 @@ public class MsoRestInterface extends MsoRestInt implements MsoRestInterfaceIfc commonHeaders = new MultivaluedHashMap<String, Object> ();
commonHeaders.put("Authorization", Collections.singletonList((Object) ("Basic " + authStringEnc)));
-
+ //Pass calling application identifier to SO
+ commonHeaders.put("X-FromAppId",
+ Collections.singletonList(SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME)));
+
boolean use_ssl = true;
if ( (mso_url != null) && ( !(mso_url.isEmpty()) ) ) {
if ( mso_url.startsWith("https")) {
|