openwhisk-cli icon indicating copy to clipboard operation
openwhisk-cli copied to clipboard

wsk trigger get shows underlying activationId

Open upkarlidder opened this issue 6 years ago • 1 comments

wsk trigger get <name> shows an underlying activationId.

wsk trigger get myCloudantTrigger        

{
    "activationId": "289ad83fef834a839ad83fef834a8379",
    "annotations": [
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 90000
            }
        },
        {
...
...

The same activationId also gets logged in the logs which I see with the poll command.

Activation: 'changes' (289ad83fef834a839ad83fef834a8379)
[]

May be related to https://github.com/apache/incubator-openwhisk-cli/issues/134.

Comments from @rabbah on slack

this is bad formatting from the cli as it’s shown - the underlying activation should not be visible to you

there is an API call made via an action that’s invoked on your behalf to retrieve information about the feed

upkarlidder avatar Jan 21 '19 20:01 upkarlidder

Thanks @lidderupk for reporting the issue. The CLI is making a call to the feed action but this should not be shown to the end user. This is a CLI bug.

rabbah avatar Jan 21 '19 20:01 rabbah