private void notifyAllServices(String body) {
for (Service service : services.getAll()) {
String url = service.getCallbackUrl();
- if (service.getCallbackUrl().length() > 0) {
+ if (url.length() > 0) {
createNotificationClient(url) //
.put("", body) //
.subscribe( //
}
AsyncRestClient createNotificationClient(final String url) {
- return new AsyncRestClient(url);
+ return new AsyncRestClient(url, this.a1ClientFactory.getAppConfig().getWebClientConfig());
}
private Flux<PolicyType> synchronizePolicyTypes(Ric ric, A1Client a1Client) {