Skip to content

Commit

Permalink
Merge pull request #172 from MaryamZi/master
Browse files Browse the repository at this point in the history
Update to staging URL
  • Loading branch information
chamil321 authored Aug 3, 2020
2 parents 28d91dd + a09d575 commit b2ab267
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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-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
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.ecdev.opensource.lk)
-homeURL=URL subscription URL (default: https://mediaresultshub.ecstag.opensource.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-07-31-I";
const MY_VERSION = "2020-08-03-I";

const UNDERSOCRE = "_";
const COLON = ":";
Expand Down
4 changes: 2 additions & 2 deletions 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.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;
Expand Down Expand Up @@ -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";
}
Expand Down

0 comments on commit b2ab267

Please sign in to comment.