Issue-ID: HOLMES-50
Change-Id: I4fad7c622f4aada0657f60063f38ce3f624611a2
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
     }\r
 \r
     public static String getMsbServerAddr() {\r
-        return getProperty("MSB_ADDR") + ":" + AlarmConst.MICRO_SERVICE_PORT;\r
+        return AlarmConst.HTTP+getProperty("MSB_ADDR") + ":" + AlarmConst.MICRO_SERVICE_PORT;\r
     }\r
 \r
     public static String getServiceIp() {\r
 
     int MICRO_SERVICE_STATUS_SUCCESS = 201;\r
 \r
     int MICRO_SERVICE_PORT = 8086;\r
+\r
+    String HTTP = "http://";\r
 }\r
 
         try {\r
             ObjectMapper mapper = new ObjectMapper();\r
             String content = mapper.writeValueAsString(entity);\r
-            HttpPost httpPost = new HttpPost("http://" + MicroServiceConfig.getMsbServerAddr()\r
+            HttpPost httpPost = new HttpPost(MicroServiceConfig.getMsbServerAddr()\r
                     + "/api/microservices/v1/services?createOrUpdate=false");\r
             if (StringUtils.isNotEmpty(content)) {\r
                 httpPost.setEntity(new ByteArrayEntity(content.getBytes()));\r