├── .github └── workflows │ ├── ci.yml │ ├── persist.yml │ └── platformer-958eb0e3-ae52-475c-983e-0341ab80734c.yml ├── .gitignore ├── README.md ├── distributor ├── .gitignore ├── Ballerina.toml ├── Dockerfile ├── lib │ └── mysql-connector-java-5.1.40.jar ├── src │ └── distributor │ │ ├── Module.md │ │ ├── constants.bal │ │ ├── filters.bal │ │ ├── genhtml.bal │ │ ├── listeners.bal │ │ ├── messenger.bal │ │ ├── results.bal │ │ ├── save.bal │ │ ├── tests │ │ ├── main_test.bal │ │ ├── resources │ │ │ ├── contact1.json │ │ │ ├── contact2.json │ │ │ └── contact3.json │ │ └── sms_publisher_test.bal │ │ ├── types.bal │ │ └── website.bal └── web │ ├── active-2020-08-06-I │ └── info.txt ├── images ├── high_level_architecture.png ├── site_results.png └── site_test_driver.png ├── subscriber ├── .gitignore ├── Ballerina.toml └── src │ └── subscriber │ ├── Module.md │ ├── constants.bal │ ├── genhtml.bal │ ├── save.bal │ ├── subscriber.bal │ └── tests │ └── main_test.bal └── testdriver ├── .gitignore ├── Ballerina.toml ├── Dockerfile ├── data └── elections.lk.presidential.2015.json └── src └── testdriver ├── controller.bal ├── gen2019empty.bal ├── gen_fake_parliamentary.bal ├── genfakeempty.bal ├── main.bal ├── readjson.bal ├── sendparliamentaryresults.bal └── sendresults.bal /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/persist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/.github/workflows/persist.yml -------------------------------------------------------------------------------- /.github/workflows/platformer-958eb0e3-ae52-475c-983e-0341ab80734c.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/.github/workflows/platformer-958eb0e3-ae52-475c-983e-0341ab80734c.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/README.md -------------------------------------------------------------------------------- /distributor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/.gitignore -------------------------------------------------------------------------------- /distributor/Ballerina.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/Ballerina.toml -------------------------------------------------------------------------------- /distributor/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/Dockerfile -------------------------------------------------------------------------------- /distributor/lib/mysql-connector-java-5.1.40.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/lib/mysql-connector-java-5.1.40.jar -------------------------------------------------------------------------------- /distributor/src/distributor/Module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/Module.md -------------------------------------------------------------------------------- /distributor/src/distributor/constants.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/constants.bal -------------------------------------------------------------------------------- /distributor/src/distributor/filters.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/filters.bal -------------------------------------------------------------------------------- /distributor/src/distributor/genhtml.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/genhtml.bal -------------------------------------------------------------------------------- /distributor/src/distributor/listeners.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/listeners.bal -------------------------------------------------------------------------------- /distributor/src/distributor/messenger.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/messenger.bal -------------------------------------------------------------------------------- /distributor/src/distributor/results.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/results.bal -------------------------------------------------------------------------------- /distributor/src/distributor/save.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/save.bal -------------------------------------------------------------------------------- /distributor/src/distributor/tests/main_test.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/tests/main_test.bal -------------------------------------------------------------------------------- /distributor/src/distributor/tests/resources/contact1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/tests/resources/contact1.json -------------------------------------------------------------------------------- /distributor/src/distributor/tests/resources/contact2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/tests/resources/contact2.json -------------------------------------------------------------------------------- /distributor/src/distributor/tests/resources/contact3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/tests/resources/contact3.json -------------------------------------------------------------------------------- /distributor/src/distributor/tests/sms_publisher_test.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/tests/sms_publisher_test.bal -------------------------------------------------------------------------------- /distributor/src/distributor/types.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/types.bal -------------------------------------------------------------------------------- /distributor/src/distributor/website.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/src/distributor/website.bal -------------------------------------------------------------------------------- /distributor/web/active-2020-08-06-I: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /distributor/web/info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/distributor/web/info.txt -------------------------------------------------------------------------------- /images/high_level_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/images/high_level_architecture.png -------------------------------------------------------------------------------- /images/site_results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/images/site_results.png -------------------------------------------------------------------------------- /images/site_test_driver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/images/site_test_driver.png -------------------------------------------------------------------------------- /subscriber/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/.gitignore -------------------------------------------------------------------------------- /subscriber/Ballerina.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | org-name="eclk" 3 | version="0.2.0" 4 | 5 | [dependencies] 6 | -------------------------------------------------------------------------------- /subscriber/src/subscriber/Module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/Module.md -------------------------------------------------------------------------------- /subscriber/src/subscriber/constants.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/constants.bal -------------------------------------------------------------------------------- /subscriber/src/subscriber/genhtml.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/genhtml.bal -------------------------------------------------------------------------------- /subscriber/src/subscriber/save.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/save.bal -------------------------------------------------------------------------------- /subscriber/src/subscriber/subscriber.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/subscriber.bal -------------------------------------------------------------------------------- /subscriber/src/subscriber/tests/main_test.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/subscriber/src/subscriber/tests/main_test.bal -------------------------------------------------------------------------------- /testdriver/.gitignore: -------------------------------------------------------------------------------- 1 | target -------------------------------------------------------------------------------- /testdriver/Ballerina.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | org-name="eclk" 3 | version="0.2.0" 4 | 5 | [dependencies] 6 | -------------------------------------------------------------------------------- /testdriver/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/Dockerfile -------------------------------------------------------------------------------- /testdriver/data/elections.lk.presidential.2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/data/elections.lk.presidential.2015.json -------------------------------------------------------------------------------- /testdriver/src/testdriver/controller.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/controller.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/gen2019empty.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/gen2019empty.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/gen_fake_parliamentary.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/gen_fake_parliamentary.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/genfakeempty.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/genfakeempty.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/main.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/main.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/readjson.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/readjson.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/sendparliamentaryresults.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/sendparliamentaryresults.bal -------------------------------------------------------------------------------- /testdriver/src/testdriver/sendresults.bal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ECLK/Results-Dist/HEAD/testdriver/src/testdriver/sendresults.bal --------------------------------------------------------------------------------