Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ballerina upgrade to 1.0.3 #104

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
6 changes: 4 additions & 2 deletions ballerina/README.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions ballerina/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/ballerina/hello_service.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down