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

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

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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'.",
}
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dall’implementazione di app:dev e riproduci i casi remoti e locali elencati per l’elenco degli URL, le chiamate non web e le risposte di errore delle azioni web. L’issue non indica file, test o un comportamento desiderato, quindi il risultato previsto deve prima essere chiarito prima di poter valutare il completamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.