apache / openwhisk-workshop

[DEPRECATED] - OpenWhisk workshop to help developers learn how to build serverless applications using the platform.
Apache License 2.0
36 stars 19 forks source link

Fix exercise 'binding triggers to actions' due api changes #21

Closed jumapico closed 7 years ago

jumapico commented 7 years ago

Fix due changes in the api.

Using client 2017-07-12T20:09:28+00:00:

$ wsk rule update first-trigger-rule rule-trigger first-trigger-action
ok: updated rule first-trigger-rule
$ wsk rule get first-trigger-rule
ok: got rule first-trigger-rule
{
    "namespace": "---",
    "name": "first-trigger-rule",
    "version": "0.0.1",
    "status": "active",
    "trigger": {
        "name": "rule-trigger",
        "path": "---"
    },
    "action": {
        "name": "first-trigger-action",
        "path": "---"
    },
    "publish": false
}
jthomas commented 7 years ago

Thanks for fixing this @jumapico! If you catch anything else, please keep the PRs coming.... 💯.

@csantanapr @rabbah - can you merge please?

jthomas commented 7 years ago

Published to NPM @ 0.1.2