openwhisk-package-cloudant icon indicating copy to clipboard operation
openwhisk-package-cloudant copied to clipboard

Replace the binary Wsk with REST interface WskRest

Open houshengbo opened this issue 8 years ago • 1 comments

All the non-CLI related tests should sunset the wsk, and re-implement them with wskrest.

import common.wsk 
val wsk = new Wsk

need to be changed to

import common.rest.WskRest
val wsk = new WskRest

plus there may be changes to the rest of the tests as well, since the response result may have been changed.

houshengbo avatar Nov 10 '17 15:11 houshengbo

There are 9 test cases: CloudantHealthFeedTests CloudantAccountActionsTests.scala CloudantBindingTests.scala CloudantDatabaseActionsTests.scala CloudantFeedTests.scala CloudantFeedWebTests.scala CloudantMultiWorkersTests.scala CloudantTriggerPersistencyTest.scala CloudantRedundancyTests

houshengbo avatar Nov 10 '17 19:11 houshengbo