@@ -55,7 +55,7 @@ public Mono<JsonNode> getBotNodeFromStartingMessage(String startingMessage) {
5555 return CacheMono .lookup (key -> Mono .justOrEmpty (cache .getIfPresent (cacheKey ) != null ? (JsonNode ) cache .getIfPresent (key ) : null )
5656 .map (Signal ::next ), cacheKey )
5757 .onCacheMissResume (() -> webClient .get ()
58- .uri (builder -> builder .path ("admin/bot/search" )
58+ .uri (builder -> builder .path ("admin/bot/search/internal " )
5959 .queryParam ("perPage" , 5 )
6060 .queryParam ("page" , 1 )
6161 .queryParam ("match" , true )
@@ -98,7 +98,7 @@ public Mono<JsonNode> getBotNodeFromName(String botName) {
9898 return CacheMono .lookup (key -> Mono .justOrEmpty (cache .getIfPresent (cacheKey ) != null ? (JsonNode ) cache .getIfPresent (key ) : null )
9999 .map (Signal ::next ), cacheKey )
100100 .onCacheMissResume (() -> webClient .get ()
101- .uri (builder -> builder .path ("admin/bot/search" )
101+ .uri (builder -> builder .path ("admin/bot/search/internal " )
102102 .queryParam ("perPage" , 5 )
103103 .queryParam ("page" , 1 )
104104 .queryParam ("match" , true )
@@ -175,7 +175,7 @@ public Mono<String> getAdapterIdFromBotName(String botName) {
175175 return CacheMono .lookup (key -> Mono .justOrEmpty (cache .getIfPresent (cacheKey ) != null ? cache .getIfPresent (key ).toString () : null )
176176 .map (Signal ::next ), cacheKey )
177177 .onCacheMissResume (() -> webClient .get ()
178- .uri (builder -> builder .path ("admin/bot/search" )
178+ .uri (builder -> builder .path ("admin/bot/search/internal " )
179179 .queryParam ("perPage" , 5 )
180180 .queryParam ("page" , 1 )
181181 .queryParam ("match" , true )
@@ -217,7 +217,7 @@ public Mono<String> getBotIdFromBotName(String botName) {
217217 String cacheKey = "Bot-id-for-bot-name: " + botName ;
218218 return CacheMono .lookup (key -> Mono .justOrEmpty (cache .getIfPresent (cacheKey ) != null ? cache .getIfPresent (key ).toString () : null )
219219 .map (Signal ::next ), cacheKey )
220- .onCacheMissResume (() -> webClient .get ().uri (builder -> builder .path ("admin/bot/search" )
220+ .onCacheMissResume (() -> webClient .get ().uri (builder -> builder .path ("admin/bot/search/internal " )
221221 .queryParam ("perPage" , 5 )
222222 .queryParam ("page" , 1 )
223223 .queryParam ("match" , true )
0 commit comments