Showing 1 of 1 files from the diff.
@@ -77,6 +77,7 @@
Loading
77 | 77 | //for 2.6 |
|
78 | 78 | if (StringUtils.isNotEmpty(newConditionRoute.getService())) { |
|
79 | 79 | for (Route old : convertRouteToOldRoute(oldConditionRoute)) { |
|
80 | + | old.setService(id); |
|
80 | 81 | registry.unregister(old.toUrl().addParameter(Constants.COMPATIBLE_CONFIG, true)); |
|
81 | 82 | } |
|
82 | 83 | for (Route updated : convertRouteToOldRoute(newConditionRoute)) { |
@@ -101,6 +102,7 @@
Loading
101 | 102 | RoutingRule originRule = YamlParser.loadObject(config, RoutingRule.class); |
|
102 | 103 | ConditionRouteDTO conditionRouteDTO = RouteUtils.createConditionRouteFromRule(originRule); |
|
103 | 104 | for (Route old : convertRouteToOldRoute(conditionRouteDTO)) { |
|
105 | + | old.setService(id); |
|
104 | 106 | URL oldUrl = old.toUrl(); |
|
105 | 107 | if(oldUrl.getParameter("rule").contains("host") && oldUrl.getParameter("rule").contains("false")) { |
|
106 | 108 | registry.unregister(oldUrl); |
Files | Complexity | Coverage |
---|---|---|
dubbo-admin-server/src/main/java/org/apache/dubbo/admin | 19.06% | 21.58% |
Project Totals (149 files) | 19.06% | 21.58% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.