Commit Graph

169 Commits

Author SHA1 Message Date
yongboy
8b7d9376cf
feat: add consul kv discovery module (#3615)
Co-authored-by: nieyong <nieyong@staff.weibo.com>
2021-02-23 21:04:22 +08:00
罗泽轩
86841f91d1
feat: release 2.3 (#3466) 2021-02-09 20:07:59 +08:00
罗泽轩
563b259a5a
feat: switch resolver to lua-resty-dns-client (#3442)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-02 09:07:40 +08:00
Alex Zhang
5399a31b24
feat: support to communicate with etcd by TLS in command line (#3415)
* feat: support to communicate with etcd by TLS in command line

* fix: add openssl dev
2021-02-01 10:51:34 +08:00
罗泽轩
1e654fae52
feat: switch back to nginx-lua-prometheus (#3451)
Fix #3238

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-29 16:36:47 +08:00
Shuyang Wu
6415b29559
feat: customed config.yaml when apisix start (#2101)
fix #2034
2021-01-29 11:19:46 +08:00
罗泽轩
d698220341
fix: ignore the case of configured host (#3377)
Fix #3357.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-22 10:18:50 +08:00
Yuelin Zheng
5e00a731ef
chore: update lua-resty-expr to v1.1.0 (#3386) 2021-01-21 19:20:35 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
罗泽轩
f349cc0dd4
feat: load balance by least connections (#3304)
Fix #3086

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:25:58 +08:00
罗泽轩
ebd158a858
feat: release version 2.2 (#3168)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-08 18:20:48 +08:00
Peter Zhu
7b5d2eae26
feat: use luasocket instead of curl in etcd.lua (#2965)
fix: #2818
fix: #2718
2021-01-07 09:14:17 +08:00
罗泽轩
81c1c7c077
change: don't treat route segment with ':' as parameter by default (#3154)
Fix #3134
2020-12-30 22:13:05 +08:00
罗泽轩
31b49ad0e1
fix: upgrade lua-resty-ngxvar to solve the upstream_xxx_time problem (#3065)
Fix #2954
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-20 20:09:46 +08:00
罗泽轩
fd2db606a9
feat: rewrite handwriting validation with jsonschema (#3021)
Fix #2967. Some plugins can't be rewritten, so I have to keep them.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:55:23 +08:00
罗泽轩
d16ac7a021
feat: share etcd client (#2932)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-15 20:18:25 +08:00
罗泽轩
93e2f1647a
feat: route accroding to the graphql attributes (#2964)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:51:00 +08:00
罗泽轩
6cd780cb93
feat: install lua-resty-hmac-ffi (#2981)
Fix #2256
2020-12-07 21:56:40 +08:00
roketyyang
c41aa8534a
feat: update lua-resty-radixtree to 2.5 (#2971)
Co-authored-by: roketyyang <roketyyang@tencent.com>
2020-12-05 21:32:58 +08:00
罗泽轩
bbbd10e1b3
feat: validate the operator in vars (#2911)
Fix #2878
2020-12-02 15:37:07 +08:00
Wen Ming
91b7313e05
release: release 2.1 version. (#2887) 2020-12-01 11:52:49 +08:00
罗泽轩
1c211ff7b1
fix: validate plugin configuration in the DP (#2856)
Fix #2834
2020-11-28 13:29:00 +08:00
罗泽轩
8c9a0c39a3
fix: upgrade lua-resty-etcd to 1.4.2 (#2701) 2020-11-12 08:54:13 +08:00
Alex Zhang
5191374545
feat: support TLS connection with etcd. (#2548)
Support the TLS connection when communicating with etcd cluster. We added a configuration item to custom the certificate verification. Whether to setup TLS connection or not depends on the endpoints' scheme, for instance, when endpoints are:

```
etcd:
  host:
    - "https://127.0.0.1:2379"
    - "https://127.0.0.1:3379"
```

APISIX will originate TLS connection automatically, and the Server Name Indication extention will be set by the endpoint host (`127.0.0.1` in above case). Note by default APISIX will verify the certificate, close the verification in configuration explicitly if you want to bypass it.

```
etcd:
  tls:
    verfiy: false
```
2020-11-03 13:53:39 +08:00
YuanSheng Wang
b23475fcba
feat: upgrade skywalking plugin to support skywalking 8.0 . (#2389) 2020-10-29 15:29:52 +08:00
tzssangglass
9b63fd5710
feature: prometheus plugin apisix_http_status metric route tag Improve recognition (#2497)
fix #1574
2020-10-28 13:22:25 +08:00
Wen Ming
443e7b43ba
release: release 2.0 version. (#2283) 2020-10-27 10:11:04 +08:00
YuanSheng Wang
c65f5c9465
feature: plugin limit-count support to use redis cluster (#2406)
fix #638

Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-17 08:21:47 +08:00
Shuyang Wu
9d1a210413
chore: bump lua-resty-etcd to version 1.2 (#2242)
fix #2238
2020-09-17 13:15:52 +08:00
Alex Zhang
e93cdbd48a
change: check etcd cluster version when init_etcd (#2233) 2020-09-16 17:46:53 +08:00
Shuyang Wu
4722198548
feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
YuanSheng Wang
c2a7359b27
update radixtree to version 2.2 . (#2061)
fix #2058

* fixed test
2020-08-16 16:32:29 +08:00
YuanSheng Wang
05f30e1e15
bugfix: support parameter way to match request in route. (#2012)
fix #2008
2020-08-07 08:13:58 +08:00
jie
b4890bf607
doc: remove all ‘incubator’ in doc (#2014) 2020-08-07 07:57:09 +08:00
Wen Ming
87c252cceb
rocks: use tag instead of branch. (#2003)
fix #1872, which not using the right way to install from luarocks.
2020-08-06 10:28:24 +08:00
Janko
5833e4f3d7
release: released 1.5.0 version. (#1965) 2020-08-06 09:33:34 +08:00
YuanSheng Wang
bb062785d5
update lua-tinyyaml to 1.0 . (#1981)
fix #1382
2020-08-04 09:32:09 +08:00
nic-chen
c1ee898a1a
release: released 1.4.1 version (#1872) 2020-07-20 18:13:31 +08:00
Wen Ming
0bcd397a90
rocks: fixed wrong source of 1.4. (#1783) 2020-07-01 17:04:10 +08:00
Nirojan Selvanathan
d787cbd55e
release: released 1.4-0 version (#1742) 2020-06-30 13:34:00 +08:00
YuanSheng Wang
9533c8a902
update lua-resty-raditree to ver 2.0 . (#1748) 2020-06-22 13:04:48 +08:00
YuanSheng Wang
e38d0a9dc8
change: update resty-radixtree to version 1.9 . (#1730) 2020-06-19 12:24:52 +08:00
YuanSheng Wang
7d78a7ee46
update resty-etcd to version 1.0 . (#1725) 2020-06-18 09:25:24 +08:00
dabue
f16e25d484
bugfix: change the version of skywalking to 1.0-0 (#1624) 2020-05-28 23:36:10 +08:00
Wen Ming
398941b72f
feature: add skywalking plugin. (#1241) 2020-05-27 17:55:47 +08:00
YuanSheng Wang
cdf4acbaea
change: updated prometheus to version 1.1 . (#1607) 2020-05-26 12:40:34 +08:00
Wen Ming
dab6fd1804
release: released 1.3 version. (#1558) 2020-05-25 09:50:29 +08:00
Ayeshmantha Perera
33b437df4e
feature: implemented plugin sys logger. (#1414) 2020-05-06 10:49:18 +08:00
Wen Ming
0e828f444b
rocks: used tag instead of branch. (#1503) 2020-04-26 11:05:09 +08:00
Wen Ming
9a2ab9d0eb
release: released 1.2 version. (#1436) 2020-04-21 09:14:01 +08:00
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps folder, that is a bug for older luarocks (#1471)
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.

We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
YuanSheng Wang
4a50ad4dfa
update lua-resty-healthcheck to version 2.2.0 . (#1417) 2020-04-08 15:52:28 +08:00
Ayeshmantha Perera
8adafa3ee2
feature: add Kafka Logger plugin. (#1312) 2020-03-25 08:26:45 +08:00
Nirojan Selvanathan
19ab03e7c4
change: update jsonschema to version 0.8 (#1303) 2020-03-19 19:13:15 +08:00
YuanSheng Wang
9837b80ac5
update resty-etcd to version 0.9 . (#1278) 2020-03-16 08:46:30 +08:00
YuanSheng Wang
12bf2b4226
update resty-radixtree to version v1.8. (#1271) 2020-03-15 10:15:10 +08:00
YuanSheng Wang
834e9e1873
bugfix: the plugin basic-auth needs required field (#1251)
Fix #1244
2020-03-13 20:05:44 +08:00
Ayeshmantha Perera
e419fdbb52
feature:update lua resty ipmatcher. (#1237) 2020-03-13 08:32:51 +08:00
nic-chen
d43ad8bbf4
update check-version tool for releasing. and add 1.1 rockspec (#1156) 2020-02-25 10:17:10 +08:00
YuanSheng Wang
6b5a606fe6
change: updated jsonschema to v0.6 . (#1140) 2020-02-19 09:14:32 +08:00
YuanSheng Wang
63a7afc695 release new version 1.0 (#1061) 2020-01-15 11:56:50 +08:00
YuanSheng Wang
5992ae7c06 change: updated lua-resty-ipmatcher version to v0.4 . (#1019) 2020-01-06 11:46:36 +08:00
YuanSheng Wang
f22f494362 optimize: updated the error message after updated new jsonschema. (#1011) 2020-01-02 21:56:42 +08:00
YuanSheng Wang
c74e6c2d3a feature: supported priority for route. (#998) 2019-12-29 17:11:38 +08:00
Janko
b40d3bc8f8 change: upgrade ngx_var module 0.4 to 0.5. (#1005) 2019-12-27 16:53:45 +08:00
Janko
bb0491453c change: upgrade etcd to version 0.8 and modify the connection keys. (#980) 2019-12-19 16:49:55 +08:00
YuanSheng Wang
6eca35e1e2 feature: support for adding the specified request header for upstream health check.(#818) 2019-12-04 13:57:38 +08:00
YuanSheng Wang
670655d62d change: used lua-resty-prometheus which the API is simpler. (#806) 2019-11-25 16:53:08 +08:00
WenMing
03b2ffa1c1
release: the first Apache release of APISIX. (#896) 2019-11-25 13:09:32 +08:00
YuanSheng Wang
c712a23c1b updated lua-resty-radixtree to 1.6-1 . (#837) 2019-11-12 17:54:24 +08:00
罗泽轩
5e85e93eac change: don't strip square brackets from the IPv6 (#822)
* change: don't strip square brackets from the IPv6

The OpenResty APIs require the IPv6 literal wrapped inside a square brackets.
Also add tests for IPv6 upstream and update lua-resty-ipmatcher to 0.3.

Fix #816.
2019-11-11 09:49:22 +08:00
WenMing
31a545a725
version: updated version to 0.9-rc1. (#827) 2019-11-09 23:18:12 +08:00
YuanSheng Wang
7c51f6da00 updated jsonschema to v0.4. (#805)
* updated jsonschema to v0.4.

* test: fixed typo.
2019-11-05 10:33:36 +08:00
YuanSheng Wang
ad376f83f8
change: updated resty-radixtree to v1.5. (#768)
* feature: supported userdefine lua function in router `radixtree_uri`.
* feature: supported userdefine lua function in router `radixtree_host_uri`.
2019-11-01 09:49:09 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Lien
7716416f6d doc: change all iresty/apisix link in documents into apache/incubator-apisix (#754) 2019-10-30 10:45:09 +08:00
YuanSheng Wang
f0a7cea173
change: updated jsonschema to v0.3. (#736) 2019-10-24 17:27:52 +08:00
YuanSheng Wang
d06fbfa13c change: used lua-resty-jsonschema instead of lua-rapidjson. (#703) 2019-10-23 12:58:10 +08:00
coolsoul
ada43bed3a luarocks: change the name of dev rockspec (#696) 2019-10-22 13:29:20 +08:00
YuanSheng Wang
b97433840a
change: updated resty-radixtree to ver 1.4. (#660)
* change: updated resty-radixtree to ver 1.4.
* bugfix(makefile): no lua file to be copied.
2019-10-10 15:19:48 +08:00
YuanSheng Wang
066e48696c
change: update lua-resty-radixtree to v1.3. (#627) 2019-09-29 20:41:28 +08:00
YuanSheng Wang
3591f7423a
luarocks: updated dependencies of version 0.8. (#626) 2019-09-29 16:35:47 +08:00
YuanSheng Wang
27a1c3e030
luarocks: release new version. (#625) 2019-09-29 14:59:05 +08:00
YuanSheng Wang
3f700c5dc1
doc(admin api): route. (#593)
feature: supported new fields hosts, remote_addrs and vars for router.

fix: #592
2019-09-26 17:47:08 +08:00
YuanSheng Wang
f5a5dd50f0
change: updated lua-resty-radixtree to v1.1. (#591) 2019-09-25 16:29:49 +08:00
YuanSheng Wang
79b6f1a884
change: updated lua-resty-radixtree and lua-resty-etcd. (#574)
* change: updated lua-resty-radixtree to v1.0.

* change: updated lua-resty-etcd to v0.7.
2019-09-23 20:28:26 +08:00
Yuansheng
097bcde2fe change: used resty-matcher to match ip address, which support IPv6. 2019-09-23 12:24:12 +08:00
Yuansheng
ec33865532 luarocks: fetched source code from branch v0.7. 2019-09-17 22:18:08 +08:00
Yuansheng
ecd77c770c change: used luarocks to install base prometheus code. 2019-09-17 11:19:02 +08:00
YuanSheng Wang
509f055a5a
change: installed tinyyaml by luarocks. (#527)
* change: installed tinyyaml by luarocks.
2019-09-17 10:43:18 +08:00
Yuansheng
8ff48f853b change: upgraded lua-resty-radixtree to v0.9. 2019-09-14 21:20:48 +08:00
YuanSheng Wang
4aaaf3ee5a
feature: support dynamic stream(TCP/UDP) proxy in apisix. (#501)
* feature: support stream in apisix.
* doc: added new feature in README.
* CLI and added more doc.
2019-09-12 13:27:18 +08:00
YuanSheng Wang
d8d7f018dc
feature: support to load routes from local yaml file. (#464)
* feature: support to load routes from local yaml file.
2019-09-09 17:42:20 +08:00
Yuansheng
6e69bd7ac1 luarocks: upgrade resty-radixtree to v0.8. 2019-09-09 16:45:35 +08:00
Yuansheng
3760e83f2e luarocks: use branch 0.7 to fetch source code. 2019-09-06 21:09:08 +08:00
Yuansheng
491f636575 luarocks: released new version 0.7. 2019-09-06 12:15:40 +08:00
YuanSheng Wang
af3454c6ee
change: updated component lua-resty-radixtree to v0.7 and updated test (#470)
* change: updated component `lua-resty-radixtree` to v0.7 and updated test
  cases.
2019-09-05 17:23:06 +08:00
Yuansheng
9ff1d3fd44 feature: supported to filter route by Nginx variable for router radixtree_uri. 2019-09-02 15:31:21 +08:00
WenMing
f7c04747d5
feature: implemented openid-connect plugin. (#447) 2019-08-30 19:49:45 +08:00
Yuansheng
c06ae45770 change: updated lua-resty-radixtree to 0.5. 2019-08-22 10:52:05 +08:00