api-gateway
An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.
Here are 1,249 public repositories matching this topic...
-
Updated
Oct 27, 2020 - Python
-
Updated
Oct 7, 2020 - Go
**Do you want to request a feature or report a bug?
Feature?
What is the current behavior?
Session object ACLs require both the key and the api_id field of the ACL definition to match.
If they mismatch the API does not throw an error.
What is the expected behavior?
The Gateway API should report the discrepancy to stop the token from being generated.
Expected Behavior / New Feature
Support sticky sessions for ServiceDiscoveryProviders
Actual Behavior / Motivation for New Feature
When using websockets with ocelot in a distributed system, problem can arise since ocelot, as far as i know, doesn't support sticky sessions when working with service discovery providers.
The functionality could be great if it could work with both consul
-
Updated
Oct 29, 2020 - Python
-
Updated
Jul 18, 2019
-
Updated
Oct 27, 2020 - JavaScript
Here is a FAQ(How APISIX use etcd to update the configuration in milliseconds) in Chinese.
APISIX利用etcd如何实现毫秒级别的配置同步
etcd提供接口wait、waitdir接口用于监听指定关键字、目录是否发生变更,如果发生变更,返回更新的数据。
以waitdir接口为例:
syntax: res, err = cli:waitdir(dir:string [, modified_index:uint [, timeout:uint] ])
其中timeout参数表示调用进程和etcd长连接的时间,值为0时表示无长连接。
APISIX关于etcd长连接时间的配置如下:
etcd:
host:
-
Updated
Mar 16, 2020 - JavaScript
-
Updated
Oct 5, 2020 - Go
-
Updated
May 9, 2020 - Python
-
Updated
Oct 28, 2020 - Python
-
Updated
Oct 29, 2020 - Java
-
Updated
Sep 1, 2020 - Go
1.目前针对 http服务,采用 ip + 端口,的探活机制
2. 业务接入网关把ip与端口上传到soul-admin
If not for some particular exceptions, the status code returned from our WebAPI on error is always 500, regardless of the kind of error.
If an object already exists, for example, it should be returned as 409. If the object does not pass the schema validation, it should be a 415.
Go through the whole WebAPI and verify that the status codes are being returned correctly.
Hint: Error cl
-
Updated
Jul 8, 2020 - JavaScript
-
Updated
Sep 2, 2020 - Go
-
Updated
Sep 28, 2020 - Go
-
Updated
Oct 28, 2020 - Ruby
As seen in code coverage: https://codecov.io/gh/serverless-nextjs/serverless-next.js/tree/master/packages/serverless-components/domain, domain component has 0% coverage.
Adding tests for this should get us from 79% to ~90% overall coverage.
@SarKurd I remember you wanted to add tests for this. Let me know if you are still interested to add tests or someone else can also take it up
-
Updated
Oct 28, 2020 - Java
-
Updated
Oct 14, 2020 - Java
-
Updated
Jun 24, 2020 - PHP
sls invoke is useful for testing our API one request at a time.
It would be nice to spin up a local version of the API on localhost to enable us to develop our frontend apps against it, and to more easily run integration and E2E tests.
-
Updated
Oct 19, 2020 - PHP
-
Updated
Oct 20, 2020 - TypeScript
-
Updated
Jul 8, 2020 - JavaScript
- Wikipedia
- Wikipedia



Next line returns 200 as status https://github.com/Kong/kong/blob/c817fada7a514d84f6e0aab7461605c71bf3a841/kong/plugins/cors/handler.lua#L13
Internet says it should return 204:
Internet changed its mind since 2018 https://