Skip to content

Commit

Permalink
Migrate web monitors to Upptime
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Sep 21, 2021
1 parent 98baa81 commit bfde976
Show file tree
Hide file tree
Showing 21 changed files with 352 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class AbsDriver implements SdmxWebDriver {
.driver(CONNECTORS_ABS)
.endpointOf("http://stat.data.abs.gov.au/restsdmx/sdmx.ashx")
.websiteOf("http://stat.data.abs.gov.au")
.monitorOf("UptimeRobot", "m783847060-975767bc3a033ea3f3ac8ca2")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ABS")
.build())
.build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public final class EurostatDriver implements SdmxWebDriver {
.driver(CONNECTORS_EUROSTAT)
.endpointOf("https://ec.europa.eu/eurostat/SDMX/diss-web/rest")
.websiteOf("https://ec.europa.eu/eurostat/data/database")
.monitorOf("UptimeRobot", "m783847077-390f706bd3acf8fb640e48df")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ESTAT")
.build())
.build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class ImfDriver implements SdmxWebDriver {
.driver(CONNECTORS_IMF)
.endpointOf("http://dataservices.imf.org/REST/SDMX_XML.svc")
.websiteOf("https://data.imf.org")
.monitorOf("UptimeRobot", "m783847087-0ea5fc62a2cf830952d3dd98")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:IMF")
.build())
.build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public final class InseeDriver implements SdmxWebDriver {
.driver(CONNECTORS_INSEE)
.endpointOf("https://bdm.insee.fr/series/sdmx")
.websiteOf("https://www.insee.fr/fr/statistiques")
.monitorOf("UptimeRobot", "m783847118-b9c18640231d06a23fd6e386")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:INSEE")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class NbbDriver implements SdmxWebDriver {
.driver(CONNECTORS_NBB)
.endpointOf("https://stat.nbb.be/restsdmx/sdmx.ashx")
.websiteOf("https://stat.nbb.be")
.monitorOf("UptimeRobot", "m783847132-29c6aa5b9cf34b10a6466571")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:NBB")
.build())
.build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class OecdDriver implements SdmxWebDriver {
.driver(CONNECTORS_OECD)
.endpointOf("https://stats.oecd.org/restsdmx/sdmx.ashx")
.websiteOf("https://stats.oecd.org")
.monitorOf("UptimeRobot", "m783847142-c1c97c88fd0d958b6478d961")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:OECD")
.build())
.build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://stats.bis.org/api/v1")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://stats.bis.org/statx/toc/LBS.html")
.monitorOf("UptimeRobot", "m787932103-5b1ea6eac87a4f436c565169")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:BIS")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -66,7 +66,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.driver(CONNECTORS_SDMX_21)
.endpointOf("https://nsiws-stable-camstat-live.officialstatistics.org/rest")
.websiteOf("http://camstat.nis.gov.kh/?locale=en&start=0")
.monitorOf("UptimeRobot", "m788487928-37e8ae2f2d754f577b97a780")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:CAMSTAT")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -78,7 +78,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.propertyOf(SUPPORTS_COMPRESSION_PROPERTY, true)
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://sdw.ecb.europa.eu")
.monitorOf("UptimeRobot", "m783846981-b55d7e635c5cdc16e16bac2a")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ECB")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -87,7 +87,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.driver(CONNECTORS_SDMX_21)
.endpointOf("https://api-dataexplorer.unescap.org/rest/")
.websiteOf("https://dataexplorer.unescap.org/")
.monitorOf("UptimeRobot", "m788486016-99b7fd6f51508b689c67d460")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ESCAP")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -97,7 +97,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://www.ilo.org/sdmx/rest")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://ilostat.ilo.org/data/")
.monitorOf("UptimeRobot", "m783847083-609d3e4ebc1da9455baeb63e")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ILO")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -108,7 +108,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.propertyOf(SUPPORTS_COMPRESSION_PROPERTY, true)
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://data.imf.org")
.monitorOf("UptimeRobot", "m783847101-ba94f8b8442fc1c13a36ad89")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:IMF_SDMX_CENTRAL")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -117,7 +117,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.driver(CONNECTORS_SDMX_21)
.endpointOf("https://sdmx.snieg.mx/service/Rest")
.websiteOf("https://sdmx.snieg.mx")
.monitorOf("UptimeRobot", "m783847104-047f5d4a8e6dacc0effb488b")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:INEGI")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -128,7 +128,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.propertyOf(SUPPORTS_COMPRESSION_PROPERTY, true)
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://www.istat.it/en/analysis-and-products")
.monitorOf("UptimeRobot", "m783847124-82c4c955d73e33fa148f72b8")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ISTAT")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -138,7 +138,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://data.norges-bank.no/api")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://www.norges-bank.no/en/topics/Statistics/")
.monitorOf("UptimeRobot", "m787932098-8e50275369b8d0e7bdc64354")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:NB")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -148,7 +148,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://registry.sdmx.org/ws/rest")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://registry.sdmx.org/overview.html")
.monitorOf("UptimeRobot", "m788488202-23b752a1d418181c2d64d6d1")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:SGR")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -158,7 +158,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://stats-nsi-stable.pacificdata.org/rest")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://stats.pacificdata.org/?locale=en")
.monitorOf("UptimeRobot", "m788488402-48b2f77f10060fcc6bb4baaa")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:SPC")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -168,7 +168,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://data.un.org/WS/rest")
.propertyOf(DETAIL_SUPPORTED_PROPERTY, true)
.websiteOf("https://data.un.org/SdmxBrowser/start")
.monitorOf("UptimeRobot", "m783847155-179810527371702e70b1c1b3")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:UNDATA")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -178,7 +178,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.endpointOf("https://api.worldbank.org/v2/sdmx/rest")
.propertyOf(SUPPORTS_COMPRESSION_PROPERTY, true)
.websiteOf("https://data.worldbank.org")
.monitorOf("UptimeRobot", "m783847161-28762547004598b9cc9311bc")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:WB")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -187,7 +187,7 @@ public final class Sdmx21Driver implements SdmxWebDriver {
.driver(CONNECTORS_SDMX_21)
.endpointOf("http://wits.worldbank.org/API/V1/SDMX/V21/rest")
.websiteOf("https://wits.worldbank.org")
.monitorOf("UptimeRobot", "m783847171-e363f4fe1930586228b1dc39")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:WITS")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final class SeDriver implements SdmxWebDriver {
.driver(CONNECTORS_ES)
.endpointOf("http://andmebaas.stat.ee/restsdmx/sdmx.ashx")
.websiteOf("http://andmebaas.stat.ee")
.monitorOf("UptimeRobot", "m783847065-e1d117d7c62688abdfec4734")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:SE")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public final class UisDriver implements SdmxWebDriver {
.driver(CONNECTORS_UIS)
.endpointOf(FALLBACK_ENDPOINT)
.websiteOf("http://data.uis.unesco.org")
.monitorOf("UptimeRobot", "m783847149-7753fbe93eefc48f2ac9983f")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:UIS")
.build())
.build();

Expand Down
5 changes: 5 additions & 0 deletions sdmx-dl-provider-ri/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
<artifactId>picocsv</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.jsoniter</groupId>
<artifactId>jsoniter</artifactId>
<version>0.9.23</version>
</dependency>

<!-- test only -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public final class AbsDriver2 implements SdmxWebDriver {
.driver(RI_ABS)
.endpointOf("https://stat.data.abs.gov.au/restsdmx/sdmx.ashx")
.websiteOf("https://stat.data.abs.gov.au")
.monitorOf("UptimeRobot", "m783847060-975767bc3a033ea3f3ac8ca2")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:ABS")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public final class BbkDriver implements SdmxWebDriver {
.driver(RI_BBK)
.endpointOf("https://api.statistiken.bundesbank.de/rest")
.websiteOf("https://www.bundesbank.de/en/statistics/time-series-databases")
.monitorOf("UptimeRobot", "m788346159-bf4da8fbc0d9c633266a9387")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:BBK")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public final class DotStatDriver2 implements SdmxWebDriver {
.driver(RI_DOTSTAT)
.endpointOf("https://stats.oecd.org/restsdmx/sdmx.ashx")
.websiteOf("https://stats.oecd.org")
.monitorOf("UptimeRobot", "m783847142-c1c97c88fd0d958b6478d961")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:OECD")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -64,7 +64,7 @@ public final class DotStatDriver2 implements SdmxWebDriver {
.driver(RI_DOTSTAT)
.endpointOf("http://andmebaas.stat.ee/restsdmx/sdmx.ashx")
.websiteOf("http://andmebaas.stat.ee")
.monitorOf("UptimeRobot", "m783847065-e1d117d7c62688abdfec4734")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:SE")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -73,7 +73,7 @@ public final class DotStatDriver2 implements SdmxWebDriver {
.driver(RI_DOTSTAT)
.endpointOf(UIS_ENDPOINT)
.websiteOf("http://data.uis.unesco.org")
.monitorOf("UptimeRobot", "m783847149-7753fbe93eefc48f2ac9983f")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:UIS")
.build())
.source(SdmxWebSource
.builder()
Expand All @@ -82,7 +82,7 @@ public final class DotStatDriver2 implements SdmxWebDriver {
.driver(RI_DOTSTAT)
.endpointOf("https://stats2.digitalresources.jisc.ac.uk/restsdmx/sdmx.ashx")
.websiteOf("https://stats2.digitalresources.jisc.ac.uk/")
.monitorOf("UptimeRobot", "m788496292-8f7f10200ba0cf792589e612")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:UKDS")
.build())
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public final class NbbDriver2 implements SdmxWebDriver {
.driver(RI_NBB)
.endpointOf("https://stat.nbb.be/restsdmx/sdmx.ashx")
.websiteOf("https://stat.nbb.be")
.monitorOf("UptimeRobot", "m783847132-29c6aa5b9cf34b10a6466571")
.monitorOf("Upptime", "nbbrd:sdmx-upptime:NBB")
.build())
.build();

Expand Down
Loading

0 comments on commit bfde976

Please sign in to comment.