Commit Graph

765 Commits

Author SHA1 Message Date
wucheng1997 3e9f42efce
Fix QPS mode of system rule: use passQps instead of successQps and support batchCount (#2455) 2021-11-23 10:16:47 +08:00
Eric Zhao d4ea89e978 dashboard: Add IP validation in MachineRegistryController
* Fixes #2451

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-11-19 16:41:56 +08:00
brotherlu-xcq 0a34fc4d11
dashboard: Fix the logo problem when customizing the context-path of the backend (#2253) 2021-09-15 10:13:36 +08:00
brotherlu-xcq 25651de09a
Add metric exporter extension for exporting Sentinel metrics via JMX (#2275)
* Expose the MetricItem AS MBean
2021-09-15 10:03:09 +08:00
xianwdong 6684739346
doc: Fix Dubbo blog post 404 URL in awesome-sentinel.md (#2369) 2021-09-13 10:12:04 +08:00
winjaychan 27514f0262
Add support for Envoy v3 API in sentinel-cluster-server-envoy-rls token server module (#2336)
* feat(envoy-rls): Update sentinel-cluster-server-envoy-rls to support envoy v2 and v3 api.

* Add envoy v3 api implementation; Make it to be compatible with envoy v2 API.
* Add k8s envoy v3 api demo.
* docs(envoy-rls): update the README.md
2021-08-20 19:28:53 +08:00
brotherlu-xcq 20a0e4d7f0
feat: Fix typos in MetricFetcher of sentinel-dashboard (#2324) 2021-08-14 12:19:40 +08:00
Zhiguo.Chen 436a88562e
Add ACL token support for Consul data-source (#2307)
Co-authored-by: Zhiguo.Chen <chenzhiguo@jd.com>
2021-07-27 18:37:08 +08:00
xiaojun207 38e0306f95
Remove unused code regarding sun.misc.Unsafe in util classes (#2285) 2021-07-09 23:30:54 +08:00
Eric Zhao 4498de480f Bump version to 1.8.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-07-05 19:59:44 +08:00
Eric Zhao 270eab47fe dashboard: Update text of rule pages
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-07-05 19:45:13 +08:00
Jason Joo 0b5f6196e5 Improve performance of TimeUtil adaptively in different load conditions (#1746)
To achieve this by making TimeUtil have multiple running states:

- IDLE: Direct invocation state for idle conditions.
- RUNNING: Legacy mode for busy conditions.
- REQUEST: Temporary state from IDLE to RUNNING.

Through this design, TimeUtil won't cost much in idle systems anymore.

Signed-off-by: Jason Joo <hblzxsj@163.com>
2021-06-29 17:08:14 +08:00
AmitB dfb056fcbd
doc: Add introduction blog post (EN, on Baeldung) to awesome-sentinel.md (#2254)
* Add introduction to Alibaba sentinel blog on Baeldung to blog posts list
2021-06-24 09:50:07 +08:00
brotherlu-xcq 3997f0e0d5
ci: Add GitHub CI trigger on pull_request to master branch (#2248) 2021-06-23 13:45:27 +08:00
wuwen 627b319bb4
dependency: Remove duplicate aspectjrt dependency in annotation-aspectj module (#2234)
* aspectjweaver already contains aspectjrt
2021-06-18 17:52:54 +08:00
wuwen f972b103db
Support private blockHandler/fallback method for @SentinelResource annotation (#2163) 2021-06-07 14:18:39 +08:00
dependabot[bot] 3dc0fce8ef
build(deps): Upgrade Apache HttpClient from 4.5.3 to 4.5.13 in sentinel-dashboard (#2226)
Bumps httpclient from 4.5.3 to 4.5.13.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:15:16 +08:00
wutingjia 9a612508ff Make all backend thread pools daemon (#2181)
* feat:make command center thread daemon
* feat:make all NamedThreadFactory thread daemon
2021-06-04 13:33:46 +08:00
Eric Zhao f342022ee2
doc: Update README.md
- add CI status badge
- remove broken links
2021-06-02 19:15:26 +08:00
Shubham Palriwala 4aaf59056f
ci: Remove travis.yml and relevant status badge in README.md (#2222) 2021-06-02 19:11:00 +08:00
Roger3581321 1a5ae2afac
doc: Fix typo in doc/awesome-sentinel.md (#2214) 2021-05-25 19:01:42 +08:00
SparkLee f395daf037
doc: Fix typo in comments of SphO (#2206) 2021-05-17 09:51:26 +08:00
jiajiangnan 2c12b07534
dashboard: Fix the incorrect function name in ParamFlowRuleEntity (#2173) 2021-04-29 09:47:40 +08:00
张志勇 0d22aca591
Support config from system env in SentinelConfig and polish TransportConfig (#2154)
- An improved method for obtaining IP address and port number from containers
2021-04-27 19:42:22 +08:00
Jerry Chin 36b162cc70 Apply volatile modifier for fields in FlowRuleManager while keep concurrency semantics intact (#2107)
- Revert #1783
2021-04-27 19:38:02 +08:00
brothelul e936d9d379
dashboard: Change favicon.ico to Sentinel logo (#2127) 2021-04-27 19:27:10 +08:00
FAnett1997 26158ad328
doc: Update README.md and add QualityGate code maintainability badge (#2144) 2021-04-22 09:46:36 +08:00
yunan.zhang aef00c48ed
demo: Improve remoteAddress and groupId of sentinel-demo-nacos-datasource (#2134)
* Update NacosConfigSender.java
* Update NacosDataSourceDemo.java
* fix(Nacos Demo): remoteAddress error
2021-04-15 10:00:37 +08:00
Guilherme Amaral 00a560bd00
test: Improve exception checking in SentinelAnnotationQuarkusAdapterTest (#2116) 2021-04-09 09:36:16 +08:00
drgnchan 2f90a87cab
feat: Fix typo in FlowRuleManager and improve code with Map.computeIfAbsent in MetricTimerListener (#2110) 2021-04-07 13:43:27 +08:00
drgnchan 5ac112efaa
dashboard: Remove unused code in dashboard MetricFetcher (#2104) 2021-04-01 09:46:08 +08:00
Eric Zhao 744be07a57 dashboard: Improve param validation in MachineRegistryController
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-03-23 10:46:01 +08:00
cdfive a79ef35847
example: Add separate demo for slot/slot chain SPI (#2085) 2021-03-19 17:24:43 +08:00
liqiangz 3e438b3dba
Support Redis cluster mode in Redis data-source extension (#1751) 2021-03-09 09:59:33 +08:00
brothelul 217cccd704
Add GitHub Actions CI workflow (#1992) 2021-03-09 09:47:53 +08:00
wxq 069f6182ab
dashboard: Improve support for customizing auth-related implementations (#2059)
* refactor(dashboard): use AuthConfiguration to manage the bean of auth
* refactor(dashboard): change AuthorizationInterceptor to an interface
* refactor(dashboard): change LoginAuthenticationFilter to an interface
* refactor(dashboard): use AuthProperties to manage auth config
* test(dashboard): use NoAuthConfigurationTest to create no auth configuration for testing
2021-03-08 18:32:22 +08:00
Yan Haonan 4aaf8e9093
Remove unused HotParameterLeapArray in param flow control module (#2070) 2021-03-08 10:52:25 +08:00
Yanming Zhou df871b0350
Simplify enums: reuse enum name and remove unnecessary code (#2032) 2021-03-04 11:56:02 +08:00
张春阳 3755d53498
doc: Fix incorrect comment of rollingCounterInSecond in StatisticNode (#2064) 2021-03-03 14:12:57 +08:00
wxq 16990a8595
doc: Add Sentinel website in README.md (#2054) 2021-02-27 13:37:10 +08:00
wxq d67d842da4
dashboard: Use delimiter '@' only in maven-resources-plugin config of dashboard pom (#2046)
`${user.home}` should be resolve in dashboard runtime, not in maven package goal
2021-02-25 09:23:04 +08:00
brothelul 09fa9c896e
dependency: Upgrade Netty to 4.1.48.Final in sentinel-cluster pom (#2015) 2021-02-23 19:05:29 +08:00
shenbaoyong 8025ef5934
Add sentinel-transport-spring-mvc module (#1957) 2021-02-23 17:11:37 +08:00
Slideee 77caaffd31
dependency: Bump spring-core version to 5.1.18.RELEASE in sentinel-zuul2-adapter pom (#2028) 2021-02-17 09:47:27 +08:00
ss-superman dfce6ebba4
Remove redundant code in SentinelResourceAspect (#2016) 2021-02-07 15:24:19 +08:00
Eric Zhao fca70646ad Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 16:45:40 +08:00
Eric Zhao ae214b5244 Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 15:30:44 +08:00
Eric Zhao 33570dad40 Polish SpiLoader and SentinelConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 14:36:11 +08:00
Eric Zhao fefd8c4826 Use JDK 1.8 native LongAdder instead and remove legacy LongAdder
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 10:21:40 +08:00
Eric Zhao be2715d814 Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 10:21:40 +08:00