houshengbo opened a new pull request #2589: Add the fundamental framework of 
REST invocation for test cases to re?
URL: https://github.com/apache/incubator-openwhisk/pull/2589
 
 
   ?place wsk binary
   
   Almost all the test cases in OpenWhisk are currently running based
   on the wsk CLI binary. In order to separate the CLI out of OpenWhisk
   core repository, we need to call REST API of OpenWhisk to access
   OpenWhisk services instead of calling the wsk CLI binary command.
   
   This PR adds the basic REST implementation for all the test cases
   to use. One basic principle is to keep the changes to the existing
   test cases as few as possible, so we add WskRest.scala as an equivalent
   class to Wsk.scala and WskRestTestHelpers.scala as an equivalent file
   to WskTestHelpers.scala for REST.
   
   All the replacement of binary with REST will happen in an increamental 
fashion.
   This PR only changes one existing test case in WskActionTests.scala, and
   reimplements it in WskRestActionTests.scala. All the other test cases can 
follow
   the same way to change the test cases one by one. New changes may be 
necessary
   to the basic REST implementation as well in future to accommodate the test 
cases.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to