"web" => "webapp" change

This commit is contained in:
geek 2018-03-16 16:27:55 +09:00
parent d86857ed83
commit e493b8af28
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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);
}

View File

@ -151,7 +151,7 @@ public class NoAuthProbeServiceTest {
List<NoAuthProbe> probes = this.noAuthProbeService.readAllByDomain(domain);
messagePublisher.publishToDomain("/web", domain, "NoAuthProbeService.regist", probes);
messagePublisher.publishToDomain("/webapp", domain, "NoAuthProbeService.regist", probes);
}