You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/08/05 15:17:37 UTC
[incubator-openwhisk-runtime-ballerina] branch master updated:
Remove sample files. (#6)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-ballerina.git
The following commit(s) were added to refs/heads/master by this push:
new 4be2426 Remove sample files. (#6)
4be2426 is described below
commit 4be2426b65aa049d168d8870143b05516d346b42
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Sun Aug 5 11:17:35 2018 -0400
Remove sample files. (#6)
---
.gitignore | 3 +++
README.md | 2 +-
ballerina/hello-function.bal | 11 -----------
ballerina/hello-function.balx | Bin 668543 -> 0 bytes
tests/src/test/resources/norun/norun.bal | 3 +--
5 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/.gitignore b/.gitignore
index 1060795..cc37378 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,9 +3,12 @@
.iml
.balx
.ballerina
+*~
ballerina-internal.log
.gradle/
ballerina/proxy/build/
+ballerina/proxy/out/
tests/build
+tests/out/
diff --git a/README.md b/README.md
index d378adb..21896ef 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
# Apache OpenWhisk Runtime for Ballerina
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
-[![Build Status](https://travis-ci.com/apache/incubator-openwhisk-runtime-ballerina.svg?branch=master)](https://travis-ci.com/apache/incubator-openwhisk-runtime-ballerina)
+[![Build Status](https://travis-ci.org/apache/incubator-openwhisk-runtime-ballerina.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-runtime-ballerina)
This repository contains the [Ballerina](https://ballerinalang.org) runtime for the Apache OpenWhisk serverless platform.
diff --git a/ballerina/hello-function.bal b/ballerina/hello-function.bal
deleted file mode 100644
index 6328206..0000000
--- a/ballerina/hello-function.bal
+++ /dev/null
@@ -1,11 +0,0 @@
-import ballerina/io;
-
-function main(string... args) {
- io:println("started");
-}
-
-function run(json jsonInput) returns json {
- io:println(jsonInput);
- json output = { "response": "hello-world"};
- return output;
-}
diff --git a/ballerina/hello-function.balx b/ballerina/hello-function.balx
deleted file mode 100644
index a4a56b1..0000000
Binary files a/ballerina/hello-function.balx and /dev/null differ
diff --git a/tests/src/test/resources/norun/norun.bal b/tests/src/test/resources/norun/norun.bal
index d10f024..a123813 100644
--- a/tests/src/test/resources/norun/norun.bal
+++ b/tests/src/test/resources/norun/norun.bal
@@ -5,6 +5,5 @@ function main(string... args) {
}
function example(json jsonInput) returns json {
- json result = {"string":"hello"};
- return result;
+ return jsonInput;
}