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