diff --git a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/GeoIPProcessorServiceTest.java b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/GeoIPProcessorServiceTest.java index e83f5a8b75..c96b3b5528 100644 --- a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/GeoIPProcessorServiceTest.java +++ b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/GeoIPProcessorServiceTest.java @@ -36,7 +36,7 @@ class GeoIPProcessorServiceTest { private static final String S3_URL = "https://mybucket10012023.s3.amazonaws.com/GeoLite2/"; private static final String URL = "https://download.maxmind.com/app/geoip_download?edition_" + - "id=GeoLite2-ASN&license_key=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&suffix=tar.gz"; + "id=GeoLite2-ASN&suffix=tar.gz"; private static final String PATH = "./src/test/resources/mmdb-file/geo-lite2"; private static final String S3_REGION = "us-east-1"; public static final int REFRESH_SCHEDULE = 10; diff --git a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/databasedownload/HttpDBDownloadServiceTest.java b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/databasedownload/HttpDBDownloadServiceTest.java index 3b13db5030..7a3c2a693c 100644 --- a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/databasedownload/HttpDBDownloadServiceTest.java +++ b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/databasedownload/HttpDBDownloadServiceTest.java @@ -27,7 +27,7 @@ void initiateDownloadTest() throws NoSuchFieldException, IllegalAccessException DatabasePathURLConfig databasePathURLConfig1 = new DatabasePathURLConfig(); ReflectivelySetField.setField(DatabasePathURLConfig.class, databasePathURLConfig1, "url", "https://download.maxmind.com/app/geoip_download?" + - "edition_id=GeoLite2-ASN&license_key=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&suffix=tar.gz"); + "edition_id=GeoLite2-ASN&suffix=tar.gz"); List config = new ArrayList<>(); config.add(databasePathURLConfig1); downloadThroughUrl = createObjectUnderTest(); diff --git a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/utils/DbSourceIdentificationTest.java b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/utils/DbSourceIdentificationTest.java index 68447fe422..d283c7efc0 100644 --- a/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/utils/DbSourceIdentificationTest.java +++ b/data-prepper-plugins/geoip-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/utils/DbSourceIdentificationTest.java @@ -71,7 +71,7 @@ void getDatabasePathTypeTest_URL() throws NoSuchFieldException, IllegalAccessExc DatabasePathURLConfig databasePathURLConfig2 = new DatabasePathURLConfig(); ReflectivelySetField.setField(DatabasePathURLConfig.class, databasePathURLConfig2, "url", "https://download.maxmind.com/app/geoip_download?" + - "edition_id=GeoLite2-ASN&license_key=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&suffix=tar.gz"); + "edition_id=GeoLite2-ASN&suffix=tar.gz"); List urlList = List.of(databasePathURLConfig2); DBSourceOptions dbSourceOptions = DbSourceIdentification.getDatabasePathType(urlList); Assertions.assertNotNull(dbSourceOptions);