Skip to content

Commit

Permalink
Update URL to the prod and release new subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
chamil321 committed Aug 5, 2020
1 parent 552ee7a commit 160a6c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Empty file.
File renamed without changes.
8 changes: 4 additions & 4 deletions distributor/web/info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion subscriber/src/subscriber/constants.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ":";
Expand Down
2 changes: 1 addition & 1 deletion subscriber/src/subscriber/subscriber.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 160a6c3

Please sign in to comment.