mdeuser commented on a change in pull request #2458: wsk CLI should tolerate
APIs that do not yet have a mapped action
URL:
https://github.com/apache/incubator-openwhisk/pull/2458#discussion_r126016102
##########
File path: tests/src/test/scala/whisk/core/cli/test/ApiGwTests.scala
##########
@@ -1212,4 +1212,29 @@ class ApiGwTests
var rr = apiDelete(basepathOrApiName = nonexistentApi,
expectedExitCode = ANY_ERROR_EXIT)
rr.stderr should include (s"API '${nonexistentApi}' does not exist")
}
+
+ it should "successfully list an API whose endpoints are not mapped to
actions" in {
+ val testName = "CLI_APIGWTEST23"
+ var testapiname = "A descriptive name"
Review comment:
Weehaw. Perhaps via a separate issue/pr as this is not the only module not
adhering to that convention. If this is to be a formal requirement, automated
validation will be needed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services