apache / apache/openwhisk-cli

Annotations are missing from get rule

Open
#245 1 comment 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
Go
Stars
109
Forks
98
PR merge metrics
No merged PRs in 30d

Description

CLI does not show annotations on a rule with `rule get` command:

```
wsk rule get lib_rule -v
REQUEST:
[GET] https://openwhisk.ng.bluemix.net/api/v1/namespaces/pdesai@us.ibm.com_dev/rules/lib_rule
RESPONSE:Got response with code 200
Response body size is 438 bytes
Response body received:
{"name":"lib_rule","publish":false,"annotations":[{"key":"managed","value":{"__OW_FILE":"tests/usecases/relationships/manifest.yml","__OW_PROJECT_HASH":"3e519a9c5c23da0f5fa7e428d5d29c5c8a3788ee","__OW_PROJECT_NAME":"LIB"}}],"version":"0.0.1","status":"active","action":{"path":"namespace/lib_package","name":"lib_greeting_1"},"namespace":"namespace","trigger":{"path":"namespace","name":"lib_trigger"}}
ok: got rule lib_rule
{
"namespace": "namespace",
"name": "lib_rule",
"version": "0.0.1",
"status": "active",
"trigger": {
"name": "lib_trigger",
"path": "namespace"
},
"action": {
"name": "lib_greeting_1",
"path": "namespace/lib_package"
},
"publish": false
}
```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.