"web" => "webapp" change
This commit is contained in:
parent
d86857ed83
commit
e493b8af28
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user