aboutsummaryrefslogtreecommitdiffstats
path: root/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
diff options
context:
space:
mode:
authortanghua <tang.hua52@zte.com.cn>2017-05-06 12:20:52 +0800
committertanghua <tang.hua52@zte.com.cn>2017-05-06 12:20:52 +0800
commit41d3db15a8e1a0496f9c2a5e15db2998a32bb9bf (patch)
tree7037e81e1fdfb30af5a8e1ebd508f952eb740a28 /msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
parentd9b0610153178b84792b6190ad7ac60e24852fb6 (diff)
msb protocol synch change
Issue-id: OCS-220 routing protocol strategy of synchronous change Change-Id: I4790bb3270afc4486abb568ed4d438dbb1c2c37b Signed-off-by: tanghua <tang.hua52@zte.com.cn>
Diffstat (limited to 'msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java')
-rw-r--r--msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java b/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
index 56c8aff..f2e2004 100644
--- a/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
+++ b/msb-core/apiroute/apiroute-service/src/main/java/org/openo/msb/wrapper/util/MicroServiceDB.java
@@ -395,7 +395,7 @@ public class MicroServiceDB {
* @return
*/
private boolean isNeedNotifyByProtocol(String protocol) {
- return "UI".equalsIgnoreCase(protocol) ||("REST".equalsIgnoreCase(protocol));
+ return "UI".equalsIgnoreCase(protocol) || "REST".equalsIgnoreCase(protocol) || "HTTP".equalsIgnoreCase(protocol);
}
/**