From 1b0fd8bc0662f2e3f51ad0fe61a31d00abcd5346 Mon Sep 17 00:00:00 2001 From: Eldon Stegall Date: Mon, 9 May 2016 16:21:10 -0400 Subject: [PATCH] Pin highcharts version. Closes #210 --- src/java/com/netflix/ice/reader/ReaderConfig.java | 2 +- src/java/sample.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/netflix/ice/reader/ReaderConfig.java b/src/java/com/netflix/ice/reader/ReaderConfig.java index 4c08af76..aedb56aa 100644 --- a/src/java/com/netflix/ice/reader/ReaderConfig.java +++ b/src/java/com/netflix/ice/reader/ReaderConfig.java @@ -73,7 +73,7 @@ public ReaderConfig( companyName = properties.getProperty(IceOptions.COMPANY_NAME, ""); currencySign = properties.getProperty(IceOptions.CURRENCY_SIGN, "$"); currencyRate = Double.parseDouble(properties.getProperty(IceOptions.CURRENCY_RATE, "1")); - highstockUrl = properties.getProperty(IceOptions.HIGHSTOCK_URL, "http://code.highcharts.com/stock/highstock.js"); + highstockUrl = properties.getProperty(IceOptions.HIGHSTOCK_URL, "https://code.highcharts.com/stock/4.2.1/highstock.js"); this.managers = managers; this.applicationGroupService = applicationGroupService; diff --git a/src/java/sample.properties b/src/java/sample.properties index 09c96bd7..5dacd6c0 100644 --- a/src/java/sample.properties +++ b/src/java/sample.properties @@ -14,7 +14,7 @@ ice.reservationPeriod=threeyear ice.reservationUtilization=MEDIUM # the highstock url; host it somewhere else and change this if you need HTTPS -ice.highstockUrl=http://code.highcharts.com/stock/highstock.js +ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js # url prefix, e.g. http://ice.netflix.com/. Will be used in alert emails. ice.urlPrefix=