diff --git a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java index f10259197..9d2027c48 100644 --- a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java +++ b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/geoiplookup/GeoIpLookupService.java @@ -40,6 +40,7 @@ public GeoIpLookupService(GeoIpInfoSettings geoIpInfoSettings) { this.settings = geoIpInfoSettings; } + @Override public GeoIpLookup retrieveIpInfo() { GeoIpLookupRemoteService httpClient = super.buildHttlClient(this.settings.retrieveBaseUrl(this.getServiceName()), GeoIpLookupRemoteService.class, GeoIpLookupService.class); @@ -50,6 +51,7 @@ public GeoIpLookup retrieveIpInfo() { return result; } + @Override public String getServiceName() { return SERVICE_NAME; } diff --git a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java index c5e0952c0..104a2b472 100644 --- a/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java +++ b/src/main/java/org/isf/telemetry/envdatacollector/collectors/remote/ipapi/IpApiService.java @@ -40,6 +40,7 @@ public IpApiService(GeoIpInfoSettings geoIpInfoSettings) { this.settings = geoIpInfoSettings; } + @Override public IpApi retrieveIpInfo() { IpApiRemoteservice httpClient = buildHttlClient(this.settings.retrieveBaseUrl(this.getServiceName()), IpApiRemoteservice.class, IpApiService.class); LOGGER.debug("IpApi request start"); @@ -49,6 +50,7 @@ public IpApi retrieveIpInfo() { return result; } + @Override public String getServiceName() { return SERVICE_NAME; }