Getting a Package Should Display Parameters for a Packaged Action
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
When getting a package that contains an action, the parameters for the packaged action are not returned.
Steps to reproduce:
```
wsk package create testPkgAction -a description "some description" -p paramKey paramValue
wsk action create testPkgAction/packagedAction hello.js -a description "another description" -p paramKey paramValue
wsk package get testPkgAction
```
Actual output:
```
wsk package get testPkgAction
ok: got package testPkgAction
{
"namespace": "_",
"name": "testPkgAction",
"version": "0.0.1",
"publish": false,
"annotations": [
{
"key": "description",
"value": "some description"
}
],
"parameters": [
{
"key": "paramKey",
"value": "paramValue"
}
],
"binding": {},
"actions": [
{
"name": "packagedAction",
"version": "0.0.1",
"publish": false,
"annotations": [
{
"key": "description",
"value": "another description"
}
]
}
]
}
```
Expected output:
```
wsk package get /jwdubee@us.ibm.com_dev/testPkgAction
ok: got package testPkgAction
{
"namespace": "_",
"name": "testPkgAction",
"version": "0.0.1",
"publish": false,
"annotations": [
{
"key": "description",
"value": "some description"
}
],
"parameters": [
{
"key": "paramKey",
"value": "paramValue"
}
],
"binding": {},
"actions": [
{
"name": "packagedAction",
"version": "0.0.1",
"publish": false,
"parameters": [
{
"key": "paramKey",
"value": "paramValue"
}
]
"annotations": [
{
"key": "description",
"value": "Another description"
}
]
}
]
}
```
Contributor guide
Assessment
This issue has not been assessed yet.