adobe / adobe/aio-cli-plugin-runtime
creating apis does not work via cli command
- Lingua principale
- JavaScript
- Stelle
- 21
- Fork
- 33
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`aio rt:api:create /base-1 /relative-1 get generic --response-type http`
Even after waiting 5 mins, the URL results in a 404.
The URL should be in the form https://adobeioruntime.net/apis/YOUR_NAMESPACE/base-1/relative-1
Deploying the same api via `app.config.yaml` works:
```yaml
application:
actions: actions
web: web-src
runtimeManifest:
packages:
test-app:
license: Apache-2.0
actions:
generic:
function: actions/generic/index.js
web: 'yes'
runtime: nodejs:18
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: false
final: true
apis:
my-api-name:
base-1:
relative-1:
generic:
method: get
response: http
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riprodurre `aio rt:api:create /base-1 /relative-1 get generic --response-type http` e confrontarne il risultato con il deployment funzionante di `app.config.yaml`. Tracciare l’entry point per la creazione dell’API della CLI per determinare perché l’URL previsto `/apis/YOUR_NAMESPACE/base-1/relative-1` restituisce 404; l’attività è completata quando l’URL creata dalla CLI viene risolta correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100