apache / apache/openwhisk-package-cloudant

Replace the binary Wsk with REST interface WskRest

Open
#142 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
17
Forks
31
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

Search the non-CLI tests for imports of common.wsk and uses of Wsk, then compare their expectations with common.rest.WskRest. Update the affected tests to use the REST interface and verify any response-shape changes; done means the non-CLI test suite passes without the binary Wsk.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.