diff options
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 31a762efe..f964b8353 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")) {
|