From fd641723015574449bc2bcd8a3def5dde1e7b6b5 Mon Sep 17 00:00:00 2001 From: Przemko Robakowski Date: Wed, 3 Mar 2021 12:55:41 +0100 Subject: [PATCH 1/2] geoip remove uuid --- modules/ingest-geoip/build.gradle | 2 +- .../ingest/geoip/GeoIpDownloaderIT.java | 1 - .../ingest/geoip/GeoIpDownloader.java | 6 ++++-- .../elasticsearch/ingest/geoip/HttpClient.java | 4 ++-- .../java/fixture/geoip/GeoIpHttpFixture.java | 12 ++++++++---- .../src/main/resources/GeoIP2-City-Test.mmdb.gz | Bin 10141 -> 0 bytes .../src/main/resources/GeoLite2-ASN.mmdb.gz | Bin 0 -> 5797 bytes .../src/main/resources/GeoLite2-City.mmdb.gz | Bin 0 -> 10043 bytes .../src/main/resources/GeoLite2-Country.mmdb.gz | Bin 0 -> 8470 bytes .../geoip-fixture/src/main/resources/data.json | 12 ++++++------ 10 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 test/fixtures/geoip-fixture/src/main/resources/GeoIP2-City-Test.mmdb.gz create mode 100644 test/fixtures/geoip-fixture/src/main/resources/GeoLite2-ASN.mmdb.gz create mode 100644 test/fixtures/geoip-fixture/src/main/resources/GeoLite2-City.mmdb.gz create mode 100644 test/fixtures/geoip-fixture/src/main/resources/GeoLite2-Country.mmdb.gz diff --git a/modules/ingest-geoip/build.gradle b/modules/ingest-geoip/build.gradle index 08baba6466edf..8a4b902d027f7 100644 --- a/modules/ingest-geoip/build.gradle +++ b/modules/ingest-geoip/build.gradle @@ -42,7 +42,7 @@ def fixtureAddress = { assert useFixture: 'closure should not be used without a fixture' int ephemeralPort = tasks.getByPath(":test:fixtures:geoip-fixture:postProcessFixture").ext."test.fixtures.geoip-fixture.tcp.80" assert ephemeralPort > 0 - return "http://127.0.0.1:${ephemeralPort}" + return "http://127.0.0.1:${ephemeralPort}/" } if (useFixture) { diff --git a/modules/ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderIT.java b/modules/ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderIT.java index e4e7aaa951f2f..7724ae9743d2b 100644 --- a/modules/ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderIT.java +++ b/modules/ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderIT.java @@ -75,7 +75,6 @@ public void disableDownloader(){ assertTrue(settingsResponse.isAcknowledged()); } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/69594") public void testGeoIpDatabasesDownload() throws Exception { // use short wait for local fixture, longer when we hit real service int waitTime = ENDPOINT == null ? 120 : 10; diff --git a/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/GeoIpDownloader.java b/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/GeoIpDownloader.java index 2bc8a53af43b7..4ec148885d044 100644 --- a/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/GeoIpDownloader.java +++ b/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/GeoIpDownloader.java @@ -60,7 +60,7 @@ class GeoIpDownloader extends AllocatedPersistentTask { public static final Setting POLL_INTERVAL_SETTING = Setting.timeSetting("geoip.downloader.poll.interval", TimeValue.timeValueDays(3), TimeValue.timeValueDays(1), Property.Dynamic, Property.NodeScope); public static final Setting ENDPOINT_SETTING = Setting.simpleString("geoip.downloader.endpoint", - "https://paisano.elastic.dev/v1/geoip/database", Property.NodeScope); + "https://geoip.elastic.co/v1/database", Property.NodeScope); public static final String GEOIP_DOWNLOADER = "geoip-downloader"; static final String DATABASES_INDEX = ".geoip_databases"; @@ -106,7 +106,9 @@ void updateDatabases() throws IOException { @SuppressWarnings("unchecked") private List fetchDatabasesOverview() throws IOException { - byte[] data = httpClient.getBytes(endpoint + "?key=11111111-1111-1111-1111-111111111111&elastic_geoip_service_tos=agree"); + String url = endpoint + "?elastic_geoip_service_tos=agree"; + logger.info("fetching geoip databases overview from [" + url + "]"); + byte[] data = httpClient.getBytes(url); try (XContentParser parser = XContentType.JSON.xContent().createParser(NamedXContentRegistry.EMPTY, DeprecationHandler.THROW_UNSUPPORTED_OPERATION, data)) { return (List) parser.list(); diff --git a/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/HttpClient.java b/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/HttpClient.java index 7b3b4bb89d505..2a2dc81a537fa 100644 --- a/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/HttpClient.java +++ b/modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/HttpClient.java @@ -75,8 +75,8 @@ private InputStream getInputStream(HttpURLConnection conn) throws IOException { private HttpURLConnection createConnection(String url) throws IOException { HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection(); - conn.setConnectTimeout(5000); - conn.setReadTimeout(5000); + conn.setConnectTimeout(10000); + conn.setReadTimeout(10000); conn.setDoOutput(false); conn.setInstanceFollowRedirects(false); return conn; diff --git a/test/fixtures/geoip-fixture/src/main/java/fixture/geoip/GeoIpHttpFixture.java b/test/fixtures/geoip-fixture/src/main/java/fixture/geoip/GeoIpHttpFixture.java index ca0146d43b538..8a00b3750f742 100644 --- a/test/fixtures/geoip-fixture/src/main/java/fixture/geoip/GeoIpHttpFixture.java +++ b/test/fixtures/geoip-fixture/src/main/java/fixture/geoip/GeoIpHttpFixture.java @@ -11,6 +11,7 @@ import com.sun.net.httpserver.HttpServer; import java.io.BufferedWriter; +import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.InetAddress; @@ -26,8 +27,9 @@ public class GeoIpHttpFixture { this.server = HttpServer.create(new InetSocketAddress(InetAddress.getByName(args[0]), Integer.parseInt(args[1])), 0); this.server.createContext("/", exchange -> { String query = exchange.getRequestURI().getQuery(); - if (query.contains("elastic_geoip_service_tos=agree") == false) { + if (query == null || query.contains("elastic_geoip_service_tos=agree") == false) { exchange.sendResponseHeaders(400, 0); + exchange.getResponseBody().close(); return; } String data = rawData.replace("endpoint", "http://" + exchange.getRequestHeaders().getFirst("Host")); @@ -36,10 +38,12 @@ public class GeoIpHttpFixture { writer.write(data); } }); - this.server.createContext("/db.mmdb.gz", exchange -> { + this.server.createContext("/db", exchange -> { exchange.sendResponseHeaders(200, 0); - try (OutputStream outputStream = exchange.getResponseBody()) { - GeoIpHttpFixture.class.getResourceAsStream("/GeoIP2-City-Test.mmdb.gz").transferTo(outputStream); + String dbName = exchange.getRequestURI().getPath().replaceAll(".*/db", ""); + try (OutputStream outputStream = exchange.getResponseBody(); + InputStream db = GeoIpHttpFixture.class.getResourceAsStream(dbName)) { + db.transferTo(outputStream); } }); } diff --git a/test/fixtures/geoip-fixture/src/main/resources/GeoIP2-City-Test.mmdb.gz b/test/fixtures/geoip-fixture/src/main/resources/GeoIP2-City-Test.mmdb.gz deleted file mode 100644 index 38a8c7fc9c03e874c7ae806aa1e27c8dc9f48e84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10141 zcmZ{HXIK+m7p;IOMT($+ARUQFmtKR?r9=f0q$wc1NC_PR(n2p$=|n(5x`0UUUAmM= z550#PYDn(ze$RdGulwg@&YpeNUTf`hW+v>>WMuE&@Vvc7qW<1R^Z8>zWjhZaLH+mc z9zsq|RuECe$LX5HO!05a0kxPkW=aoEUlE%4B5UZ zeD}%Bby2#UYdN$QcRFn0TyP6G9sDI+MCG1}j0&mBgAOKmIqfT2sly|%ntp60GyDzQ zm3E1fS4lgxhIG*YKF#4AQA4t*3zvo0b8x8~+2m*ne4!oBEhlPQ=<1H-T`Eo-N<&xU zV0SDiI`o?)5kKzP2-1qeYi^&z-$Y`pN7O#GRPm@#a8Zd;EwYu(do*|ok2KaC2f*2t zaI}kx@QcPkvEecrn;lwKS{fyJjiUtA!aKN;O1yV$Wu)x>x;p2oQh!*=+N=z_1<{D5 z+0s+)8~gHt2h5B#Ob6tOen?wBN=4)Fu9dk=$WwXMU&N@a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git a/test/fixtures/geoip-fixture/src/main/resources/GeoLite2-City.mmdb.gz b/test/fixtures/geoip-fixture/src/main/resources/GeoLite2-City.mmdb.gz new file mode 100644 index 0000000000000000000000000000000000000000..f71d1181119630cfc82e7007005b0f71df699729 GIT binary patch literal 10043 zcmZ9x2Q-{t)HRMM5z!O9Mj0fC-VH%SC%WiFj}k=GNurIO1c^RDL?@#6KB5zY=!xFP zh+!~hzQ^zVzw7_4Z!PP%&%OKXv-df7o;3^3gqt@FeZckvH#DF7=(-0y7Z+A@4+s`E zdF~$|^5TWFBSBymc^F%N4L-Cb^o?)yls)~?t;7%P*{nU87C!VW>u}J{ciLn(a5MS-u9#DtE5?Z+eEqg3aY?$ z7}Z3v>J3Fc3Zr(sqt2nO+~)=rqamS*rqQ73r%{E{L7zg!p)aAgpfxn$q6YgovD7`DNxpu`tQUbrv0kIxSNVV{XGf;O9!_O07H=%YR+&sWGWrh8)+JxZC*529U_iNx3)N!1fVw{)RM ziPIZr>(u#kkKqyfc{$V7-mLY@&K0@D^&I_!1B(iru^FSk*{nl*+ND3&1bgpk!8cng zNoXjz8N?cxmS8V^EQxCFI5Im8qw6K|`f?4X29*+(B4@N4SA^hs{exRvW@?JmHKYZ- z2j4%{1j;rqD>c8ZVf1~;)0c2qub24Z)w5?@4dM++eIjt%f+IBt2Zd-Dh3^ZpK7HY_ zg8I5=LEtIkly;iSMc2bv*{sw#@a=eBT;)2Ji-7Pn2I}(GeF1Z9J zUXjn@Zlf5_<_8k5?t<{7s7@MKQ)AdIR1h3TJ&PkmWrhxexs_*E*=}{?zh!8YqbTT{ z*G07w%@&nqK&oE87? z90*XzOl8vszY9PoY`24Bzg`?14g%NJdB)~&u$8-G_`%UQ%ZBZ+lUc{Oh0~%Z$;dsN zrK#Ip)jJaZk(4724B-H#%-0|}x+JP8Ha8*P;{TUT&(#I~54RU_Hkr!B@#gjW|1p(c z{ktL=SZ=83`c+FkET4Q4oe3D8;<`tpM`HxdSjf+`q;9Re)_i{_Pghm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F3A&K<~WpL=$ zz6s4g%_*E4`sE*!up}dN=F8mSEJdBwL<64qwr>~0<2n;Wl+k6%3^za2XbjOcg{6T54t58vZ-v~Mp@x>Cvve`A~Z zE?{6cFL?Y^1hS~(#>k{0n$1l*n!HqZhZ6ZrCPa(&s*xox6Q*^DOeCsWV34H!oqFr7 z)aJmAU8~bN$G^mE19b2uMKFJf7C66}F92k%b+W}jWOHe2vD~N|ZZ&q;y6TR$3uhrY z92PH^P%s$b<2{(|FRW^VB91*Gi z(7OBNtjctmGDZbL+{{%TVhTai`gu4Rdkok2lX0TAmDjhQ#n6*)@xWS`pYNe=9?@Ks-})kzHPsSQr78}^i%!f?Y0ITp+sNvxX5 zRG??td%5cDe;-{X8(wW6zonfUCJdA_EQ}zKfuB&X>yzvG69s5~KZd^v*@Y79(D=GU zWo5ZP&NfDEW@wi?O+Fd^{?XUJbEudk?lz_1aX}QHX+|=9mmT})uW6`;`(kNfVxcr` U-cCT+9-a_&^e9)$h=Ab#07F)lYXATM literal 0 HcmV?d00001 diff --git a/test/fixtures/geoip-fixture/src/main/resources/GeoLite2-Country.mmdb.gz b/test/fixtures/geoip-fixture/src/main/resources/GeoLite2-Country.mmdb.gz new file mode 100644 index 0000000000000000000000000000000000000000..d684ca167e8fde097e60d229106cc710d1cf7037 GIT binary patch literal 8470 zcmYLtcRba9{JlsjtITX7G9o+k#+8wAMP;XqkUg(`&5+SW;ac}&WK;-AHYu*1y}QP> zXV<*$`o8u1{(irIUf28iKCkmU=R9BceIIXpiI*=w@dQ1mpwe;lG;r~Al(_@;^!M=d z3A*#x(brGX-QB^C!ae&+DEF`TUA8;}E;)EQ`1MP(+?O;N`0E|EZs;p$W_+i6)MaAD zDKQYwLEj}T@GT~paX(V3e-Yo#uHJ#oyDQN1`hM56P!1eU|EcfckJoMtnp5zwC$`BY zTne~?s;0(ITSr@Fd$v_wT2ZJFgl-MDh>6zHi5905FNOtG4j(r-p3_i4&rzm&$5V(~BcN3!zmjbs^ z;>3z?m{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b9{ z=H6}B`wY_$#Y9eb2JXr8uZ-C-xPN`xT~ex(`E$hlnrGkICIaW2XUx;LYk=R-)srB3 z$qZ1EQW@DhY@Uiif$Q$8_E9oyq3K*L5$vU z+l>pdSu@J@DF=okAsbl7r|764HJ$!!`}N-Y5tA@uN4DYU zhG|Fx^mc8WLUWwjtHjG8S6pykl6OCtgCYGMhH99XXUh1F{K|{! z2-EL7V0afj}7agR@N_}H>>;EW7SnCj=tXxpqH0_b({A%E#cQaC zpR)#oMc`W6=re~_Bhdk~-{pjxs@YhZFk|+aI|&PHTYsFzY{kZ=4AIHQ(M={DkMHb0 z#e35>bgtk?4Iu{MbyqOk*8H3hylZ05fycC3>%D;v-b6)CXihx0nQEtk>T{|uBYB41 zU3#oWwN0FSU#2G{bf#+rQz%|4&5X}C2;>GI3-=7(6P%7Ghv(U z&%)gU@>?>#<$2vwyL^vXj4H>BPD0VD6h}|3TJd)ovK(`iFt<6E&wQZNwp*`nRSQ=Q zw$s@C5IQnrUu&M}GKEn2!I#X%F`9e2$4gg}UYh~D7pdG0>1f9;$A9syx_qkTfwT{m zQHN|l{shu>3vn}@2^tSLg1;K@AYQJSB!W;z)W`Gev&qYumrmxDW(GXjgPtLwzFzvo zcUA{EGamL5$_h==i}hV5CGp~XTOwXrDJjV!fl(j6eCOiwJu&wKc|?cQ+01TpTBGw$ zXjB+8sZGp)x1dO{uzwy@0>0>()!1#IxCVEYOFg!_x$JIk<|BZ~nN#NVc7G)=i|#MS z2{^q-M1tz@!k-N3_CgRviZdgsflgww>L+svBEC9RZ!sy!gFEsnY(u;o^LPm>A5zv% z71=vpjvZ0sg|I5UXHDNCJy;q3gd704Tm>#1Xrggb*9qd$zGr9l5K`F^y+R6h}}Xs zBfTK GDE Date: Wed, 3 Mar 2021 13:16:56 +0100 Subject: [PATCH 2/2] fix test --- .../org/elasticsearch/ingest/geoip/GeoIpDownloaderTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderTests.java b/modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderTests.java index aca15cf2d8ce3..ef6ffc0bc68a2 100644 --- a/modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderTests.java +++ b/modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderTests.java @@ -323,7 +323,7 @@ public void testUpdateDatabases() throws IOException { builder.map(Map.of("a", 2)); builder.endArray(); builder.close(); - when(httpClient.getBytes("a.b?key=11111111-1111-1111-1111-111111111111&elastic_geoip_service_tos=agree")) + when(httpClient.getBytes("a.b?elastic_geoip_service_tos=agree")) .thenReturn(baos.toByteArray()); Iterator> it = maps.iterator(); geoIpDownloader = new GeoIpDownloader(client, httpClient, clusterService, threadPool,