openwhisk-package-cloudant
openwhisk-package-cloudant copied to clipboard
Replace the binary Wsk with REST interface WskRest
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.
There are 9 test cases: CloudantHealthFeedTests CloudantAccountActionsTests.scala CloudantBindingTests.scala CloudantDatabaseActionsTests.scala CloudantFeedTests.scala CloudantFeedWebTests.scala CloudantMultiWorkersTests.scala CloudantTriggerPersistencyTest.scala CloudantRedundancyTests