Adaptation to new xApp Descriptor

Change-Id: Ic3398b16787dab948a4414d121365870cd5cedbf
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/pkg/xapp/subscription.go b/pkg/xapp/subscription.go
index 4dcf22b..4ecc262 100755
--- a/pkg/xapp/subscription.go
+++ b/pkg/xapp/subscription.go
@@ -170,7 +170,7 @@
 	}
 
 	ep, _, _ := net.SplitHostPort(clientEndpoint)
-	_, port, _ := net.SplitHostPort(viper.GetString("local.host"))
+	_, port, _ := net.SplitHostPort(fmt.Sprintf(":%d", GetPortData("http").Port))
 	clientUrl := fmt.Sprintf("http://%s:%s%s", ep, port, r.clientUrl)
 
 	retries := viper.GetInt("subscription.retryCount")