adobe / adobe/aio-cli-plugin-app-dev
differences between `remote` actions/sequences and `local` app:dev
- Ngôn ngữ chính
- JavaScript
- Star
- 2
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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'.",
}
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ phần triển khai app:dev và tái hiện các trường hợp từ xa và cục bộ được liệt kê đối với việc liệt kê URL, các lệnh gọi không phải web và các phản hồi lỗi của hành động web. Issue không nêu tên tệp, test hoặc hành vi mong muốn, vì vậy trước tiên cần làm rõ kết quả dự kiến rồi mới có thể đánh giá việc hoàn thành.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100