Commit 79ca6d7
committed
Remove RemoteClusterService.getConnections() method
This method is only used in unit tests.
In an effort to reduce the API surface area and ease the analysis for
making RemoteClusterService multi-project aware, this change refactors
the test code to use other existing methods to achieve the same
functionality.
Relates: ES-115761 parent bec9749 commit 79ca6d7
File tree
3 files changed
+23
-19
lines changed- server/src
- main/java/org/elasticsearch/transport
- test/java/org/elasticsearch
- action/search
- transport
3 files changed
+23
-19
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | 655 | | |
661 | 656 | | |
662 | 657 | | |
| |||
Lines changed: 20 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
846 | 850 | | |
847 | 851 | | |
848 | | - | |
| 852 | + | |
849 | 853 | | |
850 | 854 | | |
851 | 855 | | |
| |||
1149 | 1153 | | |
1150 | 1154 | | |
1151 | 1155 | | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
1157 | 1165 | | |
1158 | 1166 | | |
1159 | | - | |
| 1167 | + | |
1160 | 1168 | | |
1161 | 1169 | | |
1162 | 1170 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
1254 | | - | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1255 | 1256 | | |
1256 | 1257 | | |
1257 | 1258 | | |
| |||
0 commit comments