WenMing
c0c5c08644
feature: added admin API to get schema for FE. ( #148 )
...
* feature: added admin API to get schema for FE.
* added test cases.
* bugfix
2019-06-21 21:25:24 +08:00
YuanSheng Wang
ca1f5e7b0d
feature: added remote_addr
attribute to route. ( #142 )
...
* feature: added `remote_addr` attribute to route.
2019-06-21 06:39:47 +08:00
Yuansheng
678e4228a0
feature: supported for using wildcard pattern to match host.
2019-06-20 10:00:07 -04:00
WenMing
6af8957f87
feature: added admin api for consumer. ( #135 )
2019-06-19 19:14:58 +08:00
YuanSheng Wang
36338bc95b
feature: merged the configuration between route and service. ( #133 )
...
* feature: merged the configuration between route and service.
2019-06-19 15:51:28 +08:00
YuanSheng Wang
2647bdddcb
test: removed useless option. ( #132 )
2019-06-19 15:48:16 +08:00
Yuansheng
c3f3ddb4d4
bugfix: checked if the service or upstream were referenced when user
...
submit a delete operation.
2019-06-18 17:06:49 +08:00
YuanSheng Wang
43cbd138e7
change: merged the similar code, and not allowed to specify id when use POST method. ( #128 )
...
* change: merged the similar code, and not allowed to specify id when use
POST method.
2019-06-18 16:15:55 +08:00
YuanSheng Wang
c02d44f8e7
feature: added test cases about round-robin load balance algorithms. ( #123 )
...
* feature: added test cases about round-robin load balance algorithms.
* feature: added test cases about consistent hash algorithms.
2019-06-17 23:17:41 +08:00
YuanSheng Wang
3ca005eb7a
feature: checked the upstream id in route or service. ( #114 )
...
* feature: checked the upstream id in route or service.
2019-06-17 11:45:04 +08:00
Yuansheng
33e78fd43b
feature: used schema to check the upstream configuration.
...
Fix #102 .
2019-06-17 09:57:05 +08:00
Yuansheng
1921ea8ba5
feature: use schema check for service configuration.
...
Fix #111 .
2019-06-17 09:08:16 +08:00
Yuansheng
180cca723b
feature: the minimum is 1 if the route id is integer.
2019-06-15 08:32:28 +08:00
Yuansheng
7a60149b6d
feature: checked the id of route.
2019-06-15 07:17:34 +08:00
Yuansheng
a07894e7ac
bugfix: checked the service id if it is valid.
2019-06-14 22:55:57 +08:00
Yuansheng
5db79419db
test: added more test cases about the schema of route.
2019-06-14 22:05:53 +08:00
YuanSheng Wang
f560316803
test: check the service config with json schema
after fetched it form etcd. ( #96 )
...
* test: check the service config with `json schema` after fetched it form etcd.
* test: sleep one more seconds waiting for the etcd sync.
2019-06-14 17:08:44 +08:00
WenMing
c6e69cbcc9
feature: changed plugin_config to plugins. ( #84 )
2019-06-13 17:25:39 +08:00
YuanSheng Wang
8cfd7d4180
feature: implemented routes API for admin user, allowed user to manage route. ( #79 )
...
* feature: supported to generate admin API basic configurations when the admin API is enabled.
* feature: supported to manage route API for admin user, it contains: PUT, GET, DELETE and POST.
* feature: used json schema to check if the request configuration is valid.
2019-06-13 12:01:36 +08:00