From e493b8af2834bf145e90461e69726a8fcc319949 Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 16 Mar 2018 16:27:55 +0900 Subject: [PATCH] "web" => "webapp" change --- .../overflow/module/discovery/service/DiscoveryService.java | 6 +++--- .../module/noauthprobe/service/NoAuthProbeService.java | 2 +- .../module/noauthprobe/service/NoAuthProbeServiceTest.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/discovery/service/DiscoveryService.java b/src/main/java/com/loafle/overflow/module/discovery/service/DiscoveryService.java index 160a0d0..03fdbf4 100644 --- a/src/main/java/com/loafle/overflow/module/discovery/service/DiscoveryService.java +++ b/src/main/java/com/loafle/overflow/module/discovery/service/DiscoveryService.java @@ -37,13 +37,13 @@ public class DiscoveryService { // int typeInt = Integer.valueOf(types); switch (types) { case 1 : - messagePublisher.publishToDomain("/web", domain, "DiscoveryService.discoveryIngHost", obj); + messagePublisher.publishToDomain("/webapp", domain, "DiscoveryService.discoveryIngHost", obj); break; case 2 : - messagePublisher.publishToDomain("/web", domain, "DiscoveryService.discoveryIngPort", obj); + messagePublisher.publishToDomain("/webapp", domain, "DiscoveryService.discoveryIngPort", obj); break; case 3 : - messagePublisher.publishToDomain("/web", domain, "DiscoveryService.discoveryIngService", obj); + messagePublisher.publishToDomain("/webapp", domain, "DiscoveryService.discoveryIngService", obj); break; } diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java index 85b1b6a..2348c5c 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java @@ -52,7 +52,7 @@ public class NoAuthProbeService { ApiKey apiKey = apiKeyService.readByApiKey(noAuthProbe.getApiKey()); noAuthProbe.setDomain(apiKey.getDomain()); - messagePublisher.publishToDomain("/web", apiKey.getDomain(), "NoAuthProbeService.regist", noAuthProbe); + messagePublisher.publishToDomain("/webapp", apiKey.getDomain(), "NoAuthProbeService.regist", noAuthProbe); return this.noAuthProbeDAO.save(noAuthProbe); } diff --git a/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java b/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java index e9c80a8..7280337 100644 --- a/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java +++ b/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java @@ -151,7 +151,7 @@ public class NoAuthProbeServiceTest { List probes = this.noAuthProbeService.readAllByDomain(domain); - messagePublisher.publishToDomain("/web", domain, "NoAuthProbeService.regist", probes); + messagePublisher.publishToDomain("/webapp", domain, "NoAuthProbeService.regist", probes); }