Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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