diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/analytics/PackageVisitor.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/analytics/PackageVisitor.java index 64a1f0055..2308aae8f 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/analytics/PackageVisitor.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/analytics/PackageVisitor.java @@ -200,7 +200,7 @@ public class PackageVisitor { } if (step == 0 || step == 3) { - JsonObject json = JsonParser.parseObjectFromUrl("https://raw.githubusercontent.com/FHIR/ig-registry/master/fhir-ig-list.json"); + JsonObject json = JsonParser.parseObjectFromUrl("https://fhir.github.io/ig-registry/fhir-ig-list.json"); i = 0; List objects = json.getJsonObjects("guides"); for (JsonObject o : objects) { @@ -315,11 +315,11 @@ public class PackageVisitor { for (PackageInfo i : pc.search(null, null, null, false)) { list.add(i.getId()); } - JsonObject json = JsonParser.parseObjectFromUrl("https://raw.githubusercontent.com/FHIR/ig-registry/master/fhir-ig-list.json"); + JsonObject json = JsonParser.parseObjectFromUrl("https://fhir.github.io/ig-registry/fhir-ig-list.json"); for (JsonObject ig : json.getJsonObjects("guides")) { list.add(ig.asString("npm-name")); } - json = JsonParser.parseObjectFromUrl("https://raw.githubusercontent.com/FHIR/ig-registry/master/package-feeds.json"); + json = JsonParser.parseObjectFromUrl("https://fhir.github.io/ig-registry/package-feeds.json"); for (JsonObject feed : json.getJsonObjects("feeds")) { processFeed(list, feed.asString("url")); } diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageClient.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageClient.java index 1dbab8248..4bf827356 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageClient.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/PackageClient.java @@ -273,7 +273,7 @@ public class PackageClient { public List listFromRegistry(String name, String canonical, String fhirVersion) throws IOException { List result = new ArrayList<>(); - JsonObject packages = JsonParser.parseObjectFromUrl("https://raw.githubusercontent.com/FHIR/ig-registry/master/fhir-ig-list.json?nocache=" + System.currentTimeMillis()); + JsonObject packages = JsonParser.parseObjectFromUrl("https://fhir.github.io/ig-registry/fhir-ig-list.json?nocache=" + System.currentTimeMillis()); for (JsonObject o : packages.getJsonObjects("guides")) { if (o.has("canonical")) { final PackageInfo packageInfo = getPackageInfoFromJSON(o, name, canonical, fhirVersion);