From a09d5756ef4fa6cdea56acecd9c35f0ce4f30e28 Mon Sep 17 00:00:00 2001 From: MaryamZi Date: Mon, 3 Aug 2020 16:48:09 +0530 Subject: [PATCH] Update to staging URL --- .../web/{active-2020-07-31-I => active-2020-08-03-I} | 0 distributor/web/info.txt | 8 ++++---- subscriber/src/subscriber/constants.bal | 2 +- subscriber/src/subscriber/subscriber.bal | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename distributor/web/{active-2020-07-31-I => active-2020-08-03-I} (100%) diff --git a/distributor/web/active-2020-07-31-I b/distributor/web/active-2020-08-03-I similarity index 100% rename from distributor/web/active-2020-07-31-I rename to distributor/web/active-2020-08-03-I diff --git a/distributor/web/info.txt b/distributor/web/info.txt index 0a8d71b..d9aba04 100644 --- a/distributor/web/info.txt +++ b/distributor/web/info.txt @@ -2,15 +2,15 @@ ****** IMPORTANT ******* ** -** The latest version of the subscriber JAR is subscriber-20200731-I.jar +** The latest version of the subscriber JAR is subscriber-20200803-I.jar ** -** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-07-31-I +** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-08-03-I ** ****** IMPORTANT ******* Run it as follows: -java -jar subscriber-20200731-I.jar [options] +java -jar subscriber-20200803-I.jar [options] where options are: -username=name my username for authentication @@ -21,7 +21,7 @@ where options are: -html=true|false do I want HTML output (default: false) -image=true|false do I want release proof image (default: false) -wantCode=true|false do I want the electionCode in the filename (default: false) - -homeURL=URL subscription URL (default: https://mediaresultshub.ecdev.opensource.lk) + -homeURL=URL subscription URL (default: https://mediaresultshub.ecstag.opensource.lk) *** End Message diff --git a/subscriber/src/subscriber/constants.bal b/subscriber/src/subscriber/constants.bal index ae0fd14..31f34e7 100644 --- a/subscriber/src/subscriber/constants.bal +++ b/subscriber/src/subscriber/constants.bal @@ -9,7 +9,7 @@ const LEVEL_NF = "NATIONAL-FINAL"; const WANT_IMAGE = "image=true"; const WANT_AWAIT_RESULTS = "await=true"; -const MY_VERSION = "2020-07-31-I"; +const MY_VERSION = "2020-08-03-I"; const UNDERSOCRE = "_"; const COLON = ":"; diff --git a/subscriber/src/subscriber/subscriber.bal b/subscriber/src/subscriber/subscriber.bal index cb2344c..08af29e 100644 --- a/subscriber/src/subscriber/subscriber.bal +++ b/subscriber/src/subscriber/subscriber.bal @@ -29,7 +29,7 @@ public function main (string? username = (), // my username boolean html = false, // do I want HTML? //boolean sorted = true, // do I want HTML results sorted highest to lowest boolean wantCode = false, // do I want electionCode in the filename - string homeURL = "https://mediaresultshub.ecdev.opensource.lk" // where do I connect at + string homeURL = "https://mediaresultshub.ecstag.opensource.lk" // where do I connect at ) returns @tainted error? { // Set the election type electionType = ELECTION_TYPE_PARLIAMENTARY; @@ -108,7 +108,7 @@ public function main (string? username = (), // my username callbackService = imageAndResultDataClientService; kinds = "result data and PDF"; } else { - queryString = "&" + WANT_IMAGE; + queryString = queryString + "&" + WANT_IMAGE; callbackService = allClientService; kinds = "await notification, result data, and PDF"; }