diff --git a/ballerina/README.md b/ballerina/README.md index 1582762..86f691f 100644 --- a/ballerina/README.md +++ b/ballerina/README.md @@ -1,5 +1,7 @@ # Ballerina Platform - -The Ballerian platform uses Ballerian 0.991.0 and latest available. +The Ballerian platform uses Ballerian 1.0.3 and latest available. https://ballerina.io/ + +# Test +curl http://127.0.0.1:8888/hello/sayHello \ No newline at end of file diff --git a/ballerina/install b/ballerina/install index 434560b..683cae2 100755 --- a/ballerina/install +++ b/ballerina/install @@ -10,7 +10,7 @@ source ${SOURCE_DIR}/base/rc/config apt-get update apt-get install -y --no-install-recommends -curl -R -O https://product-dist.ballerina.io/downloads/0.991.0/ballerina-linux-installer-x64-0.991.0.deb -dpkg -i ballerina-linux-installer-x64-0.991.0.deb +curl -R -O https://product-dist.ballerina.io/downloads/1.0.3/ballerina-linux-installer-x64-1.0.3.deb +dpkg -i ballerina-linux-installer-x64-1.0.3.deb apt-get autoremove -y -rm -f ballerina-linux-installer-x64-0.991.0.deb +rm -f ballerina-linux-installer-x64-1.0.3.deb \ No newline at end of file diff --git a/examples/ballerina/hello_service.bal b/examples/ballerina/hello_service.bal index 17c1223..e2e37e6 100644 --- a/examples/ballerina/hello_service.bal +++ b/examples/ballerina/hello_service.bal @@ -7,7 +7,7 @@ import ballerina/http; // A service is a network-accessible entry point. This service // is accessed at '/hello', and bound to a listener on port default 8888. -int port = config:getAsInt("PORT", defaultValue = 8888); +int port = config:getAsInt("PORT", 8888); service hello on new http:Listener(port) {