Eric Zhao
a5d6773cbc
dashboard: Improve error handling in FlowController and update sample WebConfig
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-23 17:34:25 +08:00
zhenxianyimeng
50f3080add
Fix content-type parsing bug in transport module and support UTF-8 encoding in SentinelApiClient ( #1207 )
...
* Fix content-type parsing bug in `sentinel-transport-simple-http` module
* Change the charset of UrlEncodedFormEntity to UTF-8 in SentinelApiClient of the dashboard to support non-ASCII characters
2019-12-19 20:50:20 +08:00
Eric Zhao
49861f4ad5
dashboard: Improve authentication and authorization filter
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-02 17:04:06 +08:00
Roshi
e8a01e2e17
dashboard: Improve the ACL checking mechanism ( #1042 )
...
* Add `@AuthAction` annotation support
2019-12-02 15:57:07 +08:00
agensi
c03de043af
dashboard: fix "notZero" param typo of "clusterNode" command in SentinelApiClient ( #1155 )
2019-11-13 18:53:07 +08:00
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-12 11:08:14 +08:00
Eric Zhao
8cdf1de854
Bump version to 1.7.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 21:12:58 +08:00
李火亮
7c2c137f6f
Improve empty parentId handling logic in FetchJsonTreeCommandHandler ( #1140 )
...
- Treat as root node when parentId is empty string in FetchJsonTreeCommandHandler
2019-11-06 13:25:24 +08:00
Eric Zhao
6f5ede80ae
dashboard: fix vulnerability of bypassing AuthFilter ACL control
...
- credit to anonymous reporter :)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-09-11 22:29:01 +08:00
于玉桔
4c0e35fddd
dashboard: Add version info in the left top of dashboard
2019-08-29 20:34:15 +08:00
于玉桔
820ff9233a
dashboard: Support configuration for disabling login ( #997 )
2019-08-26 10:54:27 +08:00
Eric Zhao
a0f13bad38
dashboard: update dependencies in package.json to fix frontend vulnerabilities
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-03 15:41:11 +08:00
Lin.Liang
88b5631d1f
dashboard: fix AuthorityRuleEntity and ParamFlowRuleEntity fastjson serialize problem ( #889 )
...
* Add @JsonIgnore annotation
2019-07-31 23:05:08 +08:00
Eric Zhao
e50be35a9d
dashboard: code and frontend style refinement for #927 and #869
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-23 23:16:51 +08:00
田阳
5e85965754
dashboard: fix the problem that dashboard could not correctly display the SystemRule in CPU usage strategy ( #927 )
2019-07-23 22:21:54 +08:00
Eric Zhao
4a9543fd1f
dashboard: improvements for gateway flow control pages
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-10 10:14:11 +08:00
cdfive
856ff312e9
dashboard: add support for managing gateway flow rules ( #699 )
2019-07-10 09:37:00 +08:00
Eric Zhao
66b9198fc3
dashboard: update dependencies in package.json to fix vulnerabilities
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-19 10:34:22 +08:00
Eric Zhao
eb7508ca80
Improve the edit dialog for FlowRule and ParamFlowRule in Sentinel dashboard ( #845 )
...
* dashboard: update edit dialog for FlowRule and ParamFlowRule
- Add duration configuration support for ParamFlowRule
- Some other enhancements
* Code polish: move implementation of toRule() to AbstractRuleEntity
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-18 00:18:07 +08:00
Eric Zhao
281d3420ca
dashboard: code refinement for version and auth API
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-11 15:55:11 +08:00
HiSEN
72276a3951
dashboard: Add HTTP API to get the version the of the dashboard ( #800 )
2019-06-11 15:41:07 +08:00
Eric Zhao
4182c013c8
dashboard: Filter internal virtual resources in MetricFetcher
...
- also fix pom.xml to suppress warnings
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-25 15:09:10 +08:00
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-25 15:07:19 +08:00
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-23 09:49:15 +08:00
threedr3am
83ab401ab4
dashboard: fix wrong bean name of FlowRuleZookeeperProvider sample ( #765 )
2019-05-16 13:34:35 +08:00
haofangyuan
55838d9fb0
dashboard: Fix empty rule pushing bug of FlowRuleZookeeperPublisher sample ( #732 )
2019-05-05 15:08:07 +08:00
kexianjun
1d1878c1dd
dashboard: Add ZooKeeper flow rule dynamic publisher sample ( #714 )
2019-04-29 13:48:29 +08:00
Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-25 09:38:59 +08:00
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 20:42:32 +08:00
kexianjun
4819675f84
dashboard: fix typo in SystemController ( #700 )
2019-04-24 09:23:49 +08:00
Eric Zhao
af126b0c8d
dashboard: improve login page and update related document
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-20 22:11:20 +08:00
cdfive
4acb907050
dashboard: Add a simple login page to support basic auth ( #659 )
...
- Add `AuthController` and `SimpleWebAuthServiceImpl`
- Update `AuthFilter`
- Add a simple login page and frontend interceptor to support auth check and session storage
2019-04-20 21:23:03 +08:00
Jason Joo
359e65932c
dashboard: refinement and support HTTP POST request for update operations in SentinelApiClient ( #620 )
...
* Restructure: SentinelApiClient to support posting and refine it to make it simple
* Enhancement: SentinelVersion parsing logic
* Bug fix: comparison bug of SentinelVersion
2019-04-12 13:49:54 +08:00
luoxiangnan
4b0960c942
dashboard: fix CountDownLatch wait timeout in MetricFetcher when machine is dead ( #645 )
2019-04-03 11:46:34 +08:00
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 18:00:06 +08:00
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 15:23:11 +08:00
Eric Zhao
16d92b8821
dashboard: code rearrangement and javadoc refinement
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-26 14:44:41 +08:00
Eric Zhao
1d0b5fae6a
dashboard: use default console log format of Spring Boot
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-26 11:52:16 +08:00
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
2019-03-15 09:24:39 +08:00
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 16:50:53 +08:00
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 15:33:57 +08:00
Eric Zhao
18cd27100a
dashboard: update frontend npm dependencies
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 15:02:10 +08:00
Eric Zhao
ae774dba61
dashboard: update machine list page
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 12:51:24 +08:00
Carpenter Lee
3c52bbc3c8
dashboard: Add interface of authentication/authorization and provide a default stub implementation ( #503 )
...
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
2019-03-14 10:03:03 +08:00
Jason Joo
c7f3fd874c
dashboard: fix a request mapping issue of removing machines api ( #559 )
2019-03-08 16:46:07 +08:00
Eric Zhao
226589f773
dashboard: update InMemoryMetricsRepositoryTest
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-06 09:51:36 +08:00
Eric Zhao
b7956c6bb4
dashboard: code and document refinement
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-04 19:46:53 +08:00
Jason Joo
737747a412
dashboard: support automatic/manual removal of unhealthy machines and disconnected applications ( #168 )
...
* Support removing unhealthy machine manually
* Auto removal support for dead machine
* Auto hidden for app if one have no healthy machine after some time(configurable)
* Auto removal for app if hidden status lasts(configurable).
2019-03-04 17:48:33 +08:00
hantianwei
b54461b058
dashboard: add Apollo flow rule publisher sample in Sentinel dashboard ( #535 )
2019-03-04 09:30:02 +08:00
MickMo
3e4fc7a952
Remove G2 lib tracking in frontend of Sentinel dashboard ( #527 )
...
By upgrading G2 lib to version 3.4.10
2019-03-01 15:28:37 +08:00
Eric Zhao
13de41ba6f
Update test cases in Sentinel dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-01 10:08:34 +08:00
Eric Zhao
01533543ef
dashboard: improve management for foreign-app token server in cluster page
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-01 09:43:57 +08:00
nick.tan
b309dbe835
Fix concurrent error in InMemoryMetricsRepository of the dashboard ( #488 )
...
- fix ConcurrentModificationException of listResourcesOfApp method
2019-02-22 17:20:10 +08:00
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-21 19:41:50 +08:00
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-20 14:15:33 +08:00
Eric Zhao
83f6de90b0
dashboard: update WebConfig and improve token server list page
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-21 19:18:20 +08:00
Carpenter Lee
88fd74cdf4
Rename dashboard package name from com.taobao to com.alibaba ( #435 )
...
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
2019-01-21 13:02:52 +08:00
cdfive
303ae86e27
dashboard: when click the first-level menu of sidebar, don't jump to the home page ( #422 )
2019-01-15 22:52:41 +08:00
Eric Zhao
e42551a877
dashboard: frontend refinement of monitoring page and flow rule dialog description
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-10 10:34:14 +08:00
Arlmls
6dfe8e3098
dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page ( #398 )
2019-01-09 17:16:32 +08:00
Eric Zhao
6c70c94e44
dashboard: structure rearrangement and polish related code
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-08 09:45:16 +08:00
Zhe Jiang
8970f5380c
dashboard: add healthCount/total information in sidebar of Sentinel dashboard ( #376 )
2019-01-07 16:40:35 +08:00
cdfive
5a691140b0
dashboard: make fallbackToLocalWhenFail be configurable in dashboard and fix edit rule issue when cancel ( #370 )
...
- Make fallbackToLocalWhenFail of cluster rules configurable in dashboard
- Fix edit rule when hit cancel button (object share problem solved by deep copy)
- Add metric table td header's title for friendly prompt info
2019-01-07 16:17:19 +08:00
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 19:08:07 +08:00
Eric Zhao
225d81ed93
Bump version to 1.4.1
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:59:50 +08:00
Eric Zhao
bf34f8b3be
Polish Sentinel dashboard frontend for cluster flow control enhancement
...
- Add cluster server list and assign page and client list page (for a specific app)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:56:57 +08:00
Eric Zhao
8d413e1645
Polish Sentinel dashboard backend for cluster flow control enhancement
...
- Add cluster token server management controller and service for app
- Other enhancements and fixes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:56:57 +08:00
Eric Zhao
832d6e425d
Update document to meet Markdown lint
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-29 15:23:27 +08:00
leitao
feb44e74d4
do not remove the first node( #339 ) ( #355 )
...
Do not remove the first node
2018-12-29 14:29:17 +08:00
Forever杨
f4d1ac91cc
Fix wrong empty check in FlowRuleApiPublisher of Sentinel dashboard ( #353 )
...
- the wrong `isEmpty` check causes the rule cannot be deleted
2018-12-28 15:16:21 +08:00
leitao
8d5834d2d3
Translate some javadoc to English in MetricFetcher ( #338 )
2018-12-26 16:13:05 +08:00
Eric Zhao
c7c59e9de7
Move local frontend lib assets from dist to lib directory
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-19 16:42:40 +08:00
Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-17 10:23:19 +08:00
Eric Zhao
c7b5653249
Bump version to 1.4.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:59:27 +08:00
Eric Zhao
f49870402d
Move CDN resources to local in Sentinel Dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:41:12 +08:00
Eric Zhao
0059b1a42d
Add frontend service and pages for Sentinel cluster flow control in dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:33:57 +08:00
Eric Zhao
8961927a12
Add dashboard logic for Sentinel cluster flow control
...
- Update SentinelApiClient to support new-added command APIs
- Add controller for cluster config
- Add flow controller v2 for global rule pulling / pushing
- Extract dynamic rule provider and publisher interface for customized extensions
- Add basic cluster config service
- Add basic Nacos integration (in test as an example)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:33:57 +08:00
cdfive
0bc07f314e
Optimize the click sensitivity of dashboard's sidebar menu ( #268 )
...
- Use AngularJS binding model directly rather than jQuery DOM-based operation
2018-11-29 10:37:09 +08:00
cdfive
4f854c9eae
Fix padding issue of charts in monitoring page of Sentinel dashboard ( #262 )
...
- Increase padding-left value of G2.chart in sentinel-dashboard
2018-11-26 17:42:17 +08:00
Eric Zhao
257dde1d5e
Some improvements for Sentinel dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-08 17:11:54 +08:00
Eric Zhao
3b6095899a
Some improvements on Sentinel Dashboard
...
- Fixes #231 : when resource name is too long in resource page, the name will jump out and cover other layout
- Hide `origin` input view in degrade rule dialog
- Refine style and color of buttons in dialogs
- Add support for exception count in degrade rule
- Other improvements
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-05 14:50:16 +08:00
xcaspar
ef96b15f22
Improve log info and condition about fetching metrics ( #219 )
...
- Receiving "No metrics" response won't cause error log
- Improve log about fetching metrics
2018-11-01 14:16:11 +08:00
Eric Zhao
bffa4ff777
Bump version to 1.4.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 16:06:32 +08:00
Eric Zhao
f4b5fae130
Bump version to 1.3.0-GA and update dependencies
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 15:01:51 +08:00
Eric Zhao
eace8ab2ff
Add support for adding param rule / authority rule in resource page of dashboard
...
- Decouple rule checking from controller (now in service)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 14:52:14 +08:00
Carpenter Lee
bd0de9464c
Avoid ConcurrentModificationException when getting machine map in AppInfo ( #205 )
...
- Avoid ConcurrentModificationException when `getMachines()` by deep clone the machine map
- Enhance the code to avoid potential ConcurrentModificationException
- Add test cases
2018-10-29 20:19:29 +08:00
Eric Zhao
0c15dd9fe3
Fixes #198 : Enhance rule checking in rule managers and Sentinel Dashboard ( #202 )
...
- Enhance rule checking in rule managers and Sentinel Dashboard frontend
- Enhance error information when reporting invalid fields in rule dialog
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-29 13:35:06 +08:00
Eric Zhao
531578ce54
Bump version to 1.3.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-24 15:52:11 +08:00
Eric Zhao
0855809149
Add support for authority rule configuration in Sentinel Dashboard ( #189 )
...
- Update dashboard API client to support authority rule commands
- Add REST API and frontend page for authority rules
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-23 09:20:17 +08:00
Carpenter Lee
aaf88b8a0a
Rename ParamFlowRule.blockGrade to grade
2018-10-16 20:34:40 +08:00
jasonjoo2010
a757950b9a
Fix the wrong coordinate scaling of QPS chart (passed/blocked) in dashboard ( #172 )
...
Fixes #22 (by @jasonjoo2010)
2018-10-16 09:58:25 +08:00
Eric Zhao
b06bb02b2c
Add rule configuration support for parameter flow control in Sentinel Dashboard ( #176 )
...
- Update dashboard API client to support authority and parameter flow commands
- Add REST API controller for parameter flow rules in dashboard
- Add pages for configuring parameter flow rules
- Update dependencies: upgrade Spring Boot to 2.x and remove unused dependencies
- Other refinements
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-12 16:15:13 +08:00
李豪
03922dbf6c
Enhancement/normalize metric field ( #170 )
...
normalize metric fields and methods:
- rename exception to exceptionQps;
- remove ed postfix of all fields and methods about metrics;
2018-10-11 09:28:43 +08:00
Eric Zhao
94dc7966ae
Bump version to 0.2.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-28 17:18:41 +08:00
Eric Zhao
1063974ceb
Bump version to 0.2.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-27 17:59:23 +08:00
Eric Zhao
cf1cf8a59f
Update dependencies
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-26 15:03:19 +08:00
Eric Zhao
9e012d2e20
Refactor version representation and add client version to heartbeat
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-25 16:52:28 +08:00
Eric Zhao
02cf5e5639
Add MetricsRepository interface and reuse original in-memory implementation ( #126 )
...
- Abstract a universal `MetricsRepository` interface so that users can implement their own metrics persistence.
- Reuse original in-memory implementation (`InMemoryMetricsRepository`) as the default repository.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-06 18:59:31 +08:00
Eric Zhao
9a27f395e6
Some structure refactor for Sentinel Dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-04 19:09:19 +08:00
Eric Zhao
f70ab5ab05
Fixes #117 : Update document of Sentinel Dashboard
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-03 09:33:03 +08:00