Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Deploy compositions as part of aio app deploy

オープン
#890 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
cli, cloud

調査の方向性

まず、提案されている app.config.yaml の runtimeManifest 形式と、参照されている composition の JS ファイルを読みます。要求された composition フィールドを、既存の action および sequence のデプロイ動作と比較します。aio app deploy が要求された web 設定とアノテーションを含め、これらのリソースとともに compositions を処理できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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 compositions folder)
  • 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)

主要言語
JavaScript
スター
28
フォーク
41
平均マージ
19分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adobe/aio-cli-plugin-app のほかの issue

adobe/aio-cli-plugin-app の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。