diff --git a/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/ConfigService.java b/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/ConfigService.java index 38aad6455ceb0..3b408770c0a72 100644 --- a/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/ConfigService.java +++ b/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/ConfigService.java @@ -32,13 +32,9 @@ public class ConfigService { public static final String QUARKUS_ANALYTICS_PROMPT_TIMEOUT = "quarkus.analytics.prompt.timeout"; private static final String NEW_LINE = System.lineSeparator(); public static final String ACCEPTANCE_PROMPT = NEW_LINE - + "********************************************************************************************************" - + NEW_LINE - + "********************************************************************************************************" - + NEW_LINE - + "********************************************************************************************************" - + NEW_LINE - + "* Please help improve Quarkus!" + NEW_LINE + + "----------------------------" + NEW_LINE + + "--- Help improve Quarkus ---" + NEW_LINE + + "----------------------------" + NEW_LINE + "* Learn more: https://quarkus.io/usage/" + NEW_LINE + "* Do you agree to contribute anonymous build time data to the Quarkus community? (y/n) " + NEW_LINE; private static final int DEFAULT_REFRESH_HOURS = 12; diff --git a/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/rest/RestClient.java b/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/rest/RestClient.java index d1c166476e7cd..4a1d5779a882a 100644 --- a/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/rest/RestClient.java +++ b/independent-projects/tools/analytics-common/src/main/java/io/quarkus/analytics/rest/RestClient.java @@ -34,9 +34,8 @@ public class RestClient implements ConfigClient, SegmentClient { public static final int DEFAULT_TIMEOUT = 3000;// milliseconds static final String IDENTITY_ENDPOINT = "v1/identify"; static final String TRACK_ENDPOINT = "v1/track"; - static final URI CONFIG_URI = getUri( - "https://raw.githubusercontent.com/brunobat/tests/main/03656937-19FD-4C83-9066-C76631D445EA");//FIXME config location - private static final String AUTH_HEADER = getAuthHeader("SGGi49IwHoDEpE4NVBEHJDZ4uyzeoI4M"); //FIXME dev key + static final URI CONFIG_URI = getUri("https://quarkus.io/assets/json/03656937-19FD-4C83-9066-C76631D445EA.json"); + private static final String AUTH_HEADER = getAuthHeader("WdCBreXheGC541sGjMMvUknY8c6lLxy5"); private static final int SEGMENT_POST_RESPONSE_CODE = 200; // sad but true static URI getUri(final String uri) {