You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2017/11/15 01:11:41 UTC
[incubator-openwhisk] branch master updated: update kinds (#2853)
This is an automated email from the ASF dual-hosted git repository.
dubeejw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new cfa1918 update kinds (#2853)
cfa1918 is described below
commit cfa1918a3799f0de4ddc58d5cd682bedb3ae3b20
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Tue Nov 14 20:11:38 2017 -0500
update kinds (#2853)
---
core/controller/src/main/resources/apiv1swagger.json | 8 +++-----
tests/src/test/scala/system/rest/JsonSchemaTests.scala | 2 +-
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/core/controller/src/main/resources/apiv1swagger.json b/core/controller/src/main/resources/apiv1swagger.json
index 1630247..3498997 100644
--- a/core/controller/src/main/resources/apiv1swagger.json
+++ b/core/controller/src/main/resources/apiv1swagger.json
@@ -1554,13 +1554,11 @@
"kind": {
"type": "string",
"enum": [
- "nodejs",
"nodejs:6",
- "nodejs:default",
- "python",
- "swift",
+ "python:2",
+ "python:3",
"swift:3",
- "swift:default",
+ "swift:3.1.1",
"java",
"blackbox"
],
diff --git a/tests/src/test/scala/system/rest/JsonSchemaTests.scala b/tests/src/test/scala/system/rest/JsonSchemaTests.scala
index 8c0064f..2c5b47e 100644
--- a/tests/src/test/scala/system/rest/JsonSchemaTests.scala
+++ b/tests/src/test/scala/system/rest/JsonSchemaTests.scala
@@ -51,7 +51,7 @@ class JsonSchemaTests extends FlatSpec with Matchers with JsonSchema with RestUt
| "name":"foo",
| "version":"1.1.1",
| "publish":false,
- | "exec":{ "code": "foo", "kind": "nodejs" },
+ | "exec":{ "code": "foo", "kind": "nodejs:6" },
| "parameters":["key1","value1"],
| "limits":{ "timeout":1000, "memory":200 } }""".stripMargin
assert(check(ACTION, schema))
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].