adobe / adobe/aio-cli-plugin-app-dev

differences between `remote` actions/sequences and `local` app:dev

オープン
#31 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

## Listing Web and Non-web urls

`Remote`:
- **web**: will show the cdn host
- **non-web**: this shows the `package/action` path for the sequence that is created when an action has `require-adobe-auth:true`
- **non-web**: will always use the adobeioruntime.net host, not the adobeio-static.net cdn host

`Local`:
- **web**: will always show localhost
- **non-web**: this **does not** show the `package/action` path for the sequence that is created when an action has `require-adobe-auth:true`
- **non-web**: since we don't have a cdn for localhost (no point), the host is the same for both web and non-web

## Calling a non-web action/sequence

`Remote`:
- adobeio-static.net cdn: will always return 404
- adobeioruntime.net: will always return 401

`Local`:
- will always return 401

## Calling a web action/sequence: error response object

`Remote`:
- will have both `code` and `error` properties, e.g.
```
{
"code": "7HlbgAP51Dxwagx2jIZYxS4g9a1ZJeW3",
"error": "Response is not valid 'message/http'.",
}
```

`Local`:
- will only have the `error` property, e.g.
```
{
"error": "Response is not valid 'message/http'.",
}
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

app:dev の実装から始め、URL の一覧表示、非 Web 呼び出し、Web アクションのエラーレスポンスについて、列挙されているリモートおよびローカルのケースを再現してください。issue にはファイル、テスト、望ましい動作が記載されていないため、完了を判断する前に、まず意図する結果を明確にする必要があります。

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

評価

技術スタック
javascript
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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