Deploy compositions as part of aio app deploy
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start by reading the proposed app.config.yaml runtimeManifest format and the referenced composition JS files. Compare the requested composition fields with the existing action and sequence deployment behavior; done means aio app deploy handles compositions alongside those resources, including the requested web setting and annotations.
Written by the indexing model from the issue text.
Description
Currently, there is no way to deploy a composition using the aio cli. Instead, we need to manually install the openwhisk-composer package, set up environment variables (or a .wskprops file) and deploy manually.
What I'd like to happen is to be able to reference a composition's JS file in the manifest, and have it deployed with the rest of the application.
- Define the composition in a JS file somewhere (e.g. a
compositionsfolder) - Declare the composition in
app.config.yaml- suggested format:
runtimeManifest:
packages:
myPackage:
actions:
...
sequences:
...
compositions:
compositionA:
definition: src/compositions/compositionA.js
web: 'yes'
annotations:
require-adobe-auth: true
Being able to deploy all actions, sequences and compositions via a single command would be highly preferable, compared to the current situation, where a composition has to be deployed separately (and then updated to be web-accessible, etc. if desired)
- Dominant language
- JavaScript
- Stars
- 28
- Forks
- 41
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adobe/aio-cli-plugin-app
-
app:pack aborts when Node writes process warnings to api-mesh stderrPossibly taken @raj-prince587 claimed this 68 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
adobe/aio-cli-plugin-app#930 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
adobe/aio-cli-plugin-app#924 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
adobe/aio-cli-plugin-app#919 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
adobe/aio-cli-plugin-app#881 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
adobe/aio-cli-plugin-app#877 · 1 comment ·
All issues in adobe/aio-cli-plugin-app
Similar issues
-
[scanner] check:spelling skips blog/ — posts and author metadata are never spell-checkedPossibly taken @hivecommons-hive claimed this today. Openagent/scanner bug hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 72/100
cncf/endusers#1452 · 1 comment ·
Maintainers usually reply within 1 day
-
Edit: HTVKey.vnOpenchannels:edit check:passed
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
beginner bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
hiero-ledger/hiero-sdk-js#4517 ·
Maintainers usually reply within 1 day
-
`timer` rule rejects dates the engine acceptsPossibly taken @MFA-G claimed this today. Openbug ready
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · 3 comments ·
Maintainers usually reply within 1 day