Commit Graph

42 Commits

Author SHA1 Message Date
Shuyang Wu
4722198548
feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
nic-chen
a5fc25c2a9
feat: Support admin API authentication with SSL certificates (#1747) 2020-07-21 11:41:11 +08:00
YuanSheng Wang
cff822b7ae
* CI: Github action run non-OSX test case, Travis-CI runs the OSX test case(allow failure). (#1860)
* test: reformat by `reindex`.
* CI: dry-run the OSX CI in Github Action.
2020-07-17 15:27:08 +08:00
Raisinata
0e517a25d6
feature: using GitHub action for CI (#1793) 2020-07-09 12:15:17 +08:00
Shenal Silva
ef89dceda6
feature: support etcd auth (#1769)
Fix #1713 , #1770
2020-06-26 17:25:58 +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
c086d3f780
CI(OSX): run part test cases. (#1314) 2020-03-23 00:03:40 +08:00
YuanSheng Wang
d347cae48e
travis(osx): install the redis by brew. (#1270) 2020-03-15 20:21:48 +08:00
YuanSheng Wang
81d778bd79
travis: only the osx system allows failure. (#1216) 2020-03-13 10:15:58 +08:00
YuanSheng Wang
b835bb79f1
travis: supports installing APISIX using the current branch and running (#1212)
* travis: supports installing APISIX using the current branch and running
    test cases separately in CI.

* bugfix: install apisix from local folder.

* travis: install `master` version apisix by luarocks and run e2e test.
2020-03-07 14:59:18 +08:00
wonglend
5b1a47a38e
feature: Support password auth for plugin limit-count-redis (#1150) 2020-02-24 10:54:48 +08:00
YuanSheng Wang
5f2210b421
travis: run a APISIX instance which intalled by luarocks. (#1063) 2020-01-22 16:19:01 +08:00
YuanSheng Wang
4ee11806de
travis: supported to run APISIX with Tengine. (#683) 2019-11-02 09:05:38 +08:00
YuanSheng Wang
be9108e2e9
travis: only start the redis server for linux os. (#782)
* travis: only start the redis server for linux os.

* ASF: ignore folder `grpcurl`.
2019-11-01 22:35:36 +08:00
Manjusaka
50ebc7ed92 travis: allow failure when exec CI process in MacOS (#779) 2019-11-01 13:18:31 +08:00
YuanSheng Wang
d8b0c2d04c change: removed router r3. (#725) 2019-10-23 12:59:22 +08:00
YuanSheng Wang
d06fbfa13c change: used lua-resty-jsonschema instead of lua-rapidjson. (#703) 2019-10-23 12:58:10 +08:00
YuanSheng Wang
6b875cec33
feature(limit-count): supported global limit count with redis server. (#624) 2019-10-08 13:15:48 +08:00
Yuansheng
4d74c4edd9 travis: cached build result of grpc_server_example. 2019-08-30 11:01:41 +08:00
YuanSheng Wang
2f896f3d3e
optimze(plugin): set right default size. (#361)
* optimize(plugin): set right default size.
* travis: print the OS name.
2019-08-04 01:49:49 +08:00
Yuansheng
7deeafa356 test: use smaller connection and change to short connection. 2019-08-02 21:51:58 +08:00
Yuansheng
6e5af6a510 luarocks: update lua-resty-libr3 to version 1.0. 2019-08-02 21:51:58 +08:00
YuanSheng Wang
ccd179a936
travis: used different compiler to run test. (#235)
* travis: specified language.
* test: added test cases for `core.table`.
2019-07-12 11:11:24 +08:00
Yuansheng
9ab303b7fb travis: only run when merge to master branch. 2019-07-12 10:40:45 +08:00
周晶
947a3f5436 update travis runner script (#227) 2019-07-10 22:23:27 +08:00
周晶
374aba472b feature: update Makefile and travis CI for osx installation about using luajit building deps. (#217) 2019-07-10 11:32:16 +08:00
Yuansheng
1e8459c21c bugfix: compiled module 'rapidjson' with the luajit of openresty.
Fix #206.
2019-07-07 08:31:02 +08:00
YuanSheng Wang
764280f5ff
CLI: added default value for node ssl listen and allowed to run without http_stub_status_module. (#203)
* CLI: added default value for `node ssl listen` and allowed to run
  without `http_stub_status_module`.

* travis: fixed the wrong argument when calling CLI.
removed the `sudo` when run the CLI tool.
added logs folder to `apisix` project.
2019-07-05 11:16:24 +08:00
YuanSheng Wang
2a9ab09401
feature: supported to use a separate port for admin dashboard. (#194)
* feature: supported to use a separate port for admin dashboard, and disabled admin port by default.
* travis: run a mini test case for CLI.
2019-07-03 21:03:17 +08:00
WenMing
f62a2be238
feature: added luacov and coveralls. (#192) 2019-07-03 15:44:24 +08:00
YuanSheng Wang
cf76ed5e4c
bumped version to v0.5 . (#183)
* bumped version to v0.5 .
* bugfix: added dependencies lua path.
* travis: used the CLI of self.
2019-07-02 14:14:57 +08:00
Yuansheng
9309abaed7 feature: support to fetch the ssl schema. 2019-06-24 18:49:30 -04:00
Yuansheng
505220b843 travis: used the debug version of openresty. 2019-06-24 18:49:30 -04:00
YuanSheng Wang
3eb2f3ea95
travis: skipped the test case when install test::nginx library. (#117)
* travis: skipped the test case when install `test::nginx` library.

* travis: removed the cache dir.
2019-06-17 15:15:22 +08:00
YuanSheng Wang
a4634da49e
feature: used json schema to check the configuration of limit-count plugin. (#116)
* feature: used json schema to check the configuration of
	`limit-count` plugin.
* travis: if there was any errors, exist directly.
2019-06-17 15:05:19 +08:00
YuanSheng Wang
31cfc145bd
test: grep all of the error log and check it. (#109)
* travis: init the etcd server at first.
* test: grep all of the error log and check it.
2019-06-16 09:36:22 +08:00
YuanSheng Wang
fee7ec58ef
optmize: reused a Lua table of plugins. feature: supported to check the Lua source by command make check. (#108)
* optmize: reused a Lua table of plugins.
* feature: supported to check the Lua source by command `make check`.
* bug: reinitialize the prometheus variable each time.
2019-06-16 07:32:25 +08:00
WenMing
9b901727af
CI: added luacheck in CI. (#68) 2019-06-11 09:38:00 +08:00
WenMing
1737fb702e
feature: added rapidjson for schema validation. (#67) 2019-06-10 23:41:43 +08:00
Yuansheng
d5fa0598fa feature: generated an uuid for each apisix instance, and this uuid will
be reported to heartbeat service center.
2019-06-10 17:25:49 +08:00
WenMing
3ddb972d37
bugfix: add err handle for obj cache. (#56) 2019-06-10 11:42:14 +08:00
WenMing
32da09c913
test: add travis CI. (#43) 2019-06-03 16:24:38 +08:00