Eric Zhao
d05a603873
Update fastjson dependency version to 1.2.56
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
1ffce6b579
Fix test dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Jason Joo
5d3ccb0863
Solve the issue that sleeping-based tests are not stable and optimize slow tests ( #546 )
5 jaren geleden
Eric Zhao
226589f773
dashboard: update InMemoryMetricsRepositoryTest
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
ATAXGT
10d7c903cf
Optimize circuit breaking state transformation using CAS in DegradeRule ( #538 )
close → open: use `compareAndSet` to update for `cut` attribute (changed to an `AtomicBoolean`)
5 jaren geleden
Eric Zhao
b7956c6bb4
dashboard: code and document refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
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).
5 jaren geleden
cdfive
61fede3827
Add a CommandCenterProvider to resolve and cache the CommandCenter instance ( #409 )
5 jaren geleden
hantianwei
b54461b058
dashboard: add Apollo flow rule publisher sample in Sentinel dashboard ( #535 )
5 jaren geleden
MickMo
3e4fc7a952
Remove G2 lib tracking in frontend of Sentinel dashboard ( #527 )
By upgrading G2 lib to version 3.4.10
5 jaren geleden
Eric Zhao
ed5ecd8580
Update command handler demo and code refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
逅弈
59d923ebc1
Add an ApiCommandHandler to list all available commands and description ( #491 )
* Add a ApiCommandHandler which fetch all registered CommandHandlers so that user can get all available CommandHandlers by request /api
* Add a customized CommandHandler demo
5 jaren geleden
Eric Zhao
13de41ba6f
Update test cases in Sentinel dashboard
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
59c721691b
Improve demo for Sentinel cluster flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
094ba3bfba
Carry appName in FetchClusterServerInfo command
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
01533543ef
dashboard: improve management for foreign-app token server in cluster page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
qinggeng
ec0883d22e
Add AuthInfo parameter in the constructor of ZooKeeperDataSource to support ACL ( #508 )
5 jaren geleden
Carpenter Lee
5d2170282f
Add Sph.entryWithPriority() method to receive args
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 jaren geleden
nick.tan
b309dbe835
Fix concurrent error in InMemoryMetricsRepository of the dashboard ( #488 )
- fix ConcurrentModificationException of listResourcesOfApp method
5 jaren geleden
mjaow
291742c171
Change default value of avgUsedTokens to zero to be more meaningful in DefaultController ( #460 )
5 jaren geleden
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Zhiyu Xing
f66e90d74e
Fix incorrect resource name print in log in README.md ( #506 )
5 jaren geleden
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
f7c08df5c1
Fix bug of calculating param size and amount in ParamFlowRequestDataWriter of Sentinel cluster ( #495 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
020a63fdb5
Bug fix: NPE when adding event count in ParamMapBucket ( #494 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
ee4a0d43a1
Improve and fix bugs for ConnectionManager and add test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
cd02fad290
Fix NPE bug when creating connection group in ConnectionManager
- The NPE will occur when multiple threads are trying to create the connection group for the same namespace
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
412e1ece47
Carry the triggered rule in subclasses of BlockException ( #469 )
* Extract getRule in BlockException and refine override methods in subclasses
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
yanlinly
1368154000
Update Nacos SDK version to 0.8 and update Nacos namespace demo ( #474 )
5 jaren geleden
Eric Zhao
f27d7a4b24
Improve ClusterServerConfigManager in sentinel-cluster-server-default and add basic test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
mjaow
5c0fd5651a
Add volatile in double-checked locking field in ClusterBuilderSlot ( #466 )
5 jaren geleden
Eric Zhao
bac35ac100
Add back thread count metric type support for parameter flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
35537a691e
Refinement for test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
cdfive
22e8d85a8f
Add some unit test for StatisticNode, ClusterNode and DefaultNodeBuilder class ( #423 )
5 jaren geleden
Andres Almiray
e893dd8c64
Make build faster by reducing fixed waiting time in tests ( #449 )
- Apply awaitility to core tests
- Cache maven local repo in Travis
5 jaren geleden
Eric Zhao
9e1b5a900b
Update dependency version of fastjson and jacoco-maven-plugin
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
cd334406af
Code and javadoc refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
luoxiangnan
f306a03090
HashMap init optimize when adding new ClusterNode to cluster node map ( #465 )
- reuse old map size to avoid rearrange and rehash the map
5 jaren geleden
mjaow
2cf6e29e72
Fix zero-count divide overflow bug in RateLimiterController ( #461 )
5 jaren geleden
mjaow
223ad252df
Remove duplicate comment in WarmUpController ( #464 )
5 jaren geleden
mjaow
30907e4c9d
Fix error value type and rename variable in EntranceNode class ( #457 )
5 jaren geleden
Eric Zhao
3109ac4bef
Remove slf4j dependency in sentinel-annotation-aspectj
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
ba4fdcc638
Fixes #453 : Support tracing exception count for specific entry or context in Tracer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
8e72211db9
Add catch throwable logic in ClusterStateManager to detect fatal error when loading SPI
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
Eric Zhao
83f6de90b0
dashboard: update WebConfig and improve token server list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden
giegie
6d61fd0538
Add logback dependency in sentinel-demo-nacos-datasource to avoid log ClassNotFoundException thrown by Nacos client ( #438 )
5 jaren geleden
Carpenter Lee
88fd74cdf4
Rename dashboard package name from com.taobao to com.alibaba ( #435 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 jaren geleden
huaifeng
70a3144cee
Upgrade Dubbo version in sentinel-demo-dubbo ( #436 )
5 jaren geleden
wangjunwei87
d8a522590c
doc: fix typo in README of Sentinel Dubbo Demo ( #425 )
5 jaren geleden
Eric Zhao
0969113710
Improve cluster embedded demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 jaren geleden