During automated testing on a db-less Kong instance, we update the Kong configuration using
POST / config. The configuration contains a single service with a single route and a global plugin.
Immediately after the config post request, the test invokes an http call to the registered service path.
POST /config request returns 201, it seems that sometimes the global plugin is not applied on the subsequent http call. If there is a small sleep period (1 sec) between the post config request and the http request, everything just works as expected.
POST /config async? If so, is there a way to update the configuration synchronously?