From 160a6c3c43988479254e74aadd3e7e4415da80f1 Mon Sep 17 00:00:00 2001 From: chamil321 Date: Wed, 5 Aug 2020 21:42:23 +0530 Subject: [PATCH] Update URL to the prod and release new subscriber --- distributor/web/active-2020-08-05-I | 0 .../web/{active-2020-08-03-I => active-2020-08-06-I} | 0 distributor/web/info.txt | 8 ++++---- subscriber/src/subscriber/constants.bal | 2 +- subscriber/src/subscriber/subscriber.bal | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 distributor/web/active-2020-08-05-I rename distributor/web/{active-2020-08-03-I => active-2020-08-06-I} (100%) diff --git a/distributor/web/active-2020-08-05-I b/distributor/web/active-2020-08-05-I deleted file mode 100644 index e69de29..0000000 diff --git a/distributor/web/active-2020-08-03-I b/distributor/web/active-2020-08-06-I similarity index 100% rename from distributor/web/active-2020-08-03-I rename to distributor/web/active-2020-08-06-I diff --git a/distributor/web/info.txt b/distributor/web/info.txt index d9aba04..e5ee4eb 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-20200803-I.jar +** The latest version of the subscriber JAR is subscriber-20200806-I.jar ** -** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-08-03-I +** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-08-06-I ** ****** IMPORTANT ******* Run it as follows: -java -jar subscriber-20200803-I.jar [options] +java -jar subscriber-20200806-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.ecstag.opensource.lk) + -homeURL=URL subscription URL (default: https://mediaresults-lgc.elections.gov.lk) *** End Message diff --git a/subscriber/src/subscriber/constants.bal b/subscriber/src/subscriber/constants.bal index 1e41d9c..161b001 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-08-05-I"; +const MY_VERSION = "2020-08-06-I"; const UNDERSOCRE = "_"; const COLON = ":"; diff --git a/subscriber/src/subscriber/subscriber.bal b/subscriber/src/subscriber/subscriber.bal index 86c3ef6..50ea4df 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.ecstag.opensource.lk" // where do I connect at + string homeURL = "https://mediaresults-lgc.elections.gov.lk" // where do I connect at ) returns @tainted error? { // Set the election type electionType = ELECTION_TYPE_PARLIAMENTARY;