adobe / adobe/aio-cli-plugin-cloudmanager
Offer an option to request the RAW Cloudmanager API feedback in AIO-CLI-PLUGIN-CLOUDMANAGER
- 主要言語
- JavaScript
- スター
- 50
- フォーク
- 36
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Is your feature request related to a problem? Please describe.**
The AIO-CM-CLI only offers to request the "structured response" out of the Cloudmanager-API.
However, in many cases it would be good to get the "RAW Cloudmanager-API" response, as available in
https://developer.adobe.com/experience-cloud/cloud-manager/reference/playground/.
One Example where this is helpful:
* Git repo that was attached to the pipeline when it was started.
* The RAW output provides the "Commit-ID" of the pipeline.
**Describe the solution you'd like**
Expected state: aio-cli allows access to raw JSON returned by Cloud Manager API.
There are probably other use cases, so I'd love to see a generic "--raw" (or similar) parameter which would reveal raw JSON that CM API returned.
**Describe alternatives you've considered**
Using the API directly - but the AIO-CLI is there for "convenience" - and is often used and generally super useful, but not in cases where "raw output" is required.
コントリビューションガイド
調査の方向性
まず、AIO-CM-CLI コマンドの実装と、Cloud Manager API のレスポンスをフォーマットするコードを見つけます。現在、構造化レスポンスがどのように要求されているかを確認し、次に汎用の raw オプションを適用できる場所を特定します。CLI が Cloud Manager API から返された raw JSON を、パイプラインの Commit-ID などのフィールドを含めて公開できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- api, cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100