[Bug] Subscriptions Created via the Gateway Controller Management API Are Revoked After Gateway Redeployment
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Start by reproducing the steps: create a subscription through POST /api/management/v1/subscriptions, confirm it appears in GET /rest-apis/subscriptions, then restart the Gateway Controller. The issue names no source files, so you will need to find where subscriptions are stored and whether that store is reloaded on startup. Done when subscriptions created through the management API still return 200 OK after a restart and GET /rest-apis/subscriptions lists them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Please select the area the issue is related to
Gateway
Please select the aspect the issue is related to
Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)
Description
When testing application-based subscriptions through the Gateway Controller Management REST API, we observed that the created subscriptions are lost whenever the Gateway cluster is redeployed.
For example, we create a subscription using the following API:
The subscription is successfully created and available while the Gateway cluster is running. However, after redeploying the Gateway cluster, the previously created subscriptions are no longer available.
Steps to Reproduce
- Start a Gateway connected to the Platform API with the API Portal enabled.
- Deploy a sample API.
- Create an application-based subscription using the Gateway Controller Management REST API:
curl --location 'https://localhost:9090/api/management/v1/subscriptions' \
--header 'Authorization: Basic base64_admin_pass' \
--header 'Content-Type: application/json' \
--data '{
"apiId": "",
"subscriptionPlanId": "",
"subscriptionToken": "",
"applicationId": ""
}'
-
Verify that:
GET /rest-apis/subscriptionsreturns the newly created subscription.- Requests to the subscribed API are successful and return HTTP
200 OK.
-
Restart the Gateway Controller
-
After the restart, verify that:
- Requests to the previously subscribed API return HTTP
403 Forbidden. GET /rest-apis/subscriptionsreturns zero subscriptions.
Severity Level of the Issue
Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)
Environment Details (with versions)
No response
- Lingua principale
- Go
- Stelle
- 85
- Fork
- 142
- Merge medio
- 1g 7h
- PR unite (30g)
- 255
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
wso2/api-platform#4468 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/api-platform#4465 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsForse già presa @Maheesh09 l’ha presa 1 giorno fa. ApertaArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wso2/api-platform#4437 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
wso2/api-platform#4369 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsApertaArea/Policies Aspect/Other Severity/Trivial Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
wso2/api-platform#4355 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di wso2/api-platform
Issue simili
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentForse già presa @cvas22 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
influxdata/telegraf#20264 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameApertaaccepted bug wg/enterprise-environment
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/semantic-router#7483 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
stacklok/toolhive-catalog#2076 ·
I maintainer di solito rispondono entro 1 giorno
-
vulncheck or vulndb
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
golang/go#83428 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gke-labs/kube-agents#7441 ·
I maintainer di solito rispondono entro 1 giorno