apache / openwhisk-wskdeploy

Apache OpenWhisk utility for deploying and managing OpenWhisk projects and packages
https://openwhisk.apache.org/
Apache License 2.0
77 stars 74 forks source link

JSON type can be bound to a package #1150

Open AkimitsuTosha opened 2 years ago

AkimitsuTosha commented 2 years ago

issue

https://github.com/apache/openwhisk-wskdeploy/issues/1149

Test

$ cat manifest.yaml    
project:
  packages:
    package1:
      inputs:
        param1:
          key1: value1
          key2: value2
      actions:
        action1:
          function: ./action1.js
          runtime: nodejs
$ go build -o ./wskdeploy
$ ./wskdeploy --preview
Packages:
Name: package1
    bindings: 
        - param1 : {
  "key1": "value1",
  "key2": "value2"
}
    annotation: 

  * action: action1
    bindings: 
    annotation: 

Triggers:

Rules