adobe / adobeio-cna-starter-project

DEPRECATED - Please use https://github.com/adobe/aio-cli to manage your future apps!
https://adobe.io
Apache License 2.0
10 stars 8 forks source link

UI build script should cover sequences in the manifest file #19

Closed duynguyen closed 5 years ago

duynguyen commented 5 years ago

Expected Behaviour

Action sequence should be covered by the UI build script so that it can be called from the UI.

Actual Behaviour

Sequences can not be called from the UI.

Reproduce Scenario (including but not limited to)

Applications that need to invoke a sequence of actions instead of single actions.

Steps to Reproduce

In manifest.yml, add sequences section:

packages:
  __CNA_PACKAGE__:
    license: Apache-2.0
    actions:
      hello:
        function: actions/hello/index.js
        web: yes
        runtime: 'nodejs:10'
      hello2:
        function: actions/hello/index.js
        web: yes
        runtime: 'nodejs:10'
    sequences:
      hello-sequence:
        actions: hello, hello2

Platform and Version

Sample Code that illustrates the problem

Please see Steps to reproduce.

Logs taken while reproducing problem

maximilianvoss commented 5 years ago

The error is not in this project but with aio. The auto-generated manifest file looks good, but the sequences won't be obeyed by aio. Using the wskdeploy with the auto-generated manifest works perfectly fine.

moritzraho commented 5 years ago

@duynguyen adding sequence URLs into the UI config is straight forward to implement, however we should also think about support of sequences in local dev which won't be as trivial.