gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

[management][gateway] Bad synchronization between gateway and management #4150

Open Madieso opened 3 years ago

Madieso commented 3 years ago

Expected Behavior

When an API is deleted in Api Management the context path of this API souldn't not be reachable

Current Behavior

API is deleted in Api Management but his context path is reachable

Steps to Reproduce (for bugs)

From REST call as a client:

  1. depreciate API plans
  2. stop API
  3. delete API
  4. curl API context path

Context

This case happens only when we delete an API. API creation is instantaneous. Gateway and Management configuration are default configurations

Your Environment

V 1.30.11

Madieso commented 3 years ago

After more tests, it works for this chain of REST calls:

  1. delete plans
  2. deploy api
  3. delete api
  4. curl API context path

So Gateway keeps API alive if we depreciate a plan even if API is deleted (until we restart Gateway docker image). Is it planned or is it an anomaly?