Commit Graph

139 Commits

Author SHA1 Message Date
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 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
cdfive 62efb78d4e
Refactor SpiLoader and enhance SPI mechanism (#1383)
* Add `@Spi` annotation as the general annotation for SPI definition.
* Add isDefault in @Spi, add loadDefaultInstance and improve loadFirstInstanceOrDefault method, improve test cases
* Add SpiLoaderException class for thrown when something goes wrong while loading Provider
* Rearrange packages of base SPI mechanism

NOTE: this PR contains breaking changes regarding API.
2021-01-27 09:45:56 +08:00
brothelul 70b457bdc8
Fix potential NPE bug when updating ParamFlowRule before the resource has been requested once (#1901) 2020-12-18 11:20:38 +08:00
odidev 8c4f251922
CI: Polish dependencies for ARM64 and add ARM64 job to Travis CI (#1765)
1. Added ARM64 architecture in .travis.yml
2. Updated 'embedded-consul' version to 2.2.0, 'consul-api' version to 1.4.5 for ARM64 support.
3. Updated grpc.version for 'io.grpc:protoc-gen-grpc-java' to 1.30.2, for ARM64 support.

Signed-off-by: odidev <odidev@puresoftware.com>
2020-11-09 14:40:58 +08:00
nickChenyx cc2d1a69a9
Optimize logging statements using placeholder (#1736)
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735)
2020-09-17 20:42:01 +08:00
Eric Zhao e58267012d Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-21 14:36:49 +08:00
Eric Zhao d17bf8c7cc Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 19:47:20 +08:00
Eric Zhao bcbc19c772 Polish code and README.md of sentinel-datasource-eureka
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-19 10:46:43 +08:00
Eric Zhao a18ef7cbfa Remove deprecated passCheck() in Rule and polish interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-05 10:42:15 +08:00
Bo 57f9bc7a6a
Upgrade nacos-client version to 1.3.0 in sentinel-datasource-nacos (#1576) 2020-07-01 09:53:49 +08:00
pleasecheckhere2016 7e354016c7
Add Eureka data-source extension (#1502) 2020-06-29 15:44:26 +08:00
Eric Zhao ba3469b0ac Polish document and code of Sentinel annotation CDI extension
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-06-15 20:12:37 +08:00
seasidesky 7b53b61373
Add annotation extension for Java EE CDI (#1541) 2020-06-13 14:06:14 +08:00
于玉桔 6b86721b36
Support setting class-level defaultFallback for annotation extension (#1493) 2020-05-29 13:49:00 +08:00
zechao zheng 0d7da77d03
Add support for extracting param from complex object (#1491)
* This could enable specified parameter flow control for customized objects.
2020-05-26 19:38:00 +08:00
wavesZh 096a9ebf7d
Improve deprecated ParameterMetric purge mechanism (#1372)
* Clear useless data in ParameterMetric for all removed rules
2020-05-07 20:04:12 +08:00
Eric Zhao 7f3165740a Refactor the mechanism of recording error in Entry and StatisticSlot
* Also polish related complete callbacks

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-04-28 10:11:17 +08:00
Eric Zhao a0196b6b00 Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-04-13 20:19:22 +08:00
Eric Zhao 6a7ec708bc Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-04-08 09:42:02 +08:00
cdfive be4d058bf8
refactor: Make the ProcessorSlot itself as SPI and deprecate legacy slot chain builder (#411)
* Make slots loaded by SPI, mark all slots with @SpiOrder from -10000 to -1000, improve comment
* Reserve gateway and param slot chain builder (just extends DefaultSlotChainBuilder) and mark them as @Deprecated
2020-03-26 12:38:01 +08:00
Jason Joo df683b8716
Regroup packages related to logging into a separate module and polish document (#1355) 2020-03-23 18:02:15 +08:00
tao.zhang 1eee2c80b4
Introduce logging extension: slf4j (#1344) 2020-03-23 14:30:49 +08:00
Eric Zhao eed77cafc2
Polish placeholders in logging content to slf4j convention (#1342)
* Polish placeholders in logging content to "{}"

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-03-17 11:11:54 +08:00
echooymxq b136848873 Adjust the order of slots in HotParamSlotChainBuilder (#1246) 2020-01-15 10:42:58 +08:00
Eric Zhao 87142ce512 Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-25 11:19:07 +08:00
Eric Zhao 9c909e3631 Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-24 20:05:23 +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
Eric Zhao 800f6b9d65 Update adapter modules to update corresponding resource classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
ballenwen f6dff5a859 Fix typo in the README.md of sentinel-annotation-aspectj (#1136) 2019-11-02 01:16:37 +08:00
format 6cf0945b86 Upgrade nacos-client to 1.1.4 in sentinel-datasource-nacos module (#1129) 2019-10-31 09:31:29 +08:00
Neptune b1c8c43bbe Upgrade Apollo client version to 1.5.0 in sentinel-datasource-apollo module (#1098) 2019-10-21 10:00:06 +08:00
Eric Zhao 94026399bf Improve code and document of sentinel-datasource-etcd module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-10 11:42:24 +08:00
Lin.Liang aeae6cfe37 Add Etcd data-source extension (#1018) 2019-10-10 11:19:27 +08:00
Neptune 582f32c35b Update Apollo client dependency to 1.4.0 in sentinel-datasource-apollo module (#1061) 2019-09-21 22:25:49 +08:00
tao.zhang 77932701b6 Add volatile for the stop flag of watcher in ConsulDataSource (#1054) 2019-09-20 15:30:03 +08:00
huangxfchn 4916ec35ee Improve annotation aspect to support throwing original exception in fallback and blockHandler (#986)
- extract the original exception from InvocationTargetException
2019-08-28 22:42:02 +08:00
Eric Zhao 976ddf8c48 Refine the document and javadoc for Spring Cloud Config data-source module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-20 10:04:58 +08:00
Lin.Liang 30158bcac0 Add Spring Cloud Config data source extension (#899) 2019-08-20 09:39:27 +08:00
Eric Zhao 2682bd1aae Improve ConsulDataSource and add README.md for the module
- Change the unit of waitTimeout from ms to s (the previous implementation lay suffer the bug that ms/1000=0 when ms<=1000)
- Improve the error handling when parsing the value
- Add README.md

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-14 20:34:34 +08:00
tao.zhang ec30e897dc Add Consul DataSource integration module (#979) 2019-08-14 10:38:57 +08:00
0704681032 ebcf89024c Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect (#964) 2019-08-05 13:39:50 +08:00
Lin.Liang ba146765e3 Reuse connections of the same address in ZooKeeper data-source (#788)
* Fix the problem that too many connections (zkClient) are established
2019-06-27 13:39:56 +08:00
Eric Zhao 58a83b42aa Update ZooKeeper client in data-source module to 3.4.14 to fix vulnerability
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-19 10:09:20 +08:00
Eric Zhao d59beaec66
Fix the bug that numeric overflow might occur when refilling tokens in ParamFlowChecker (#838)
- use AtomicLong to replace AtomicInteger

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-18 13:39:37 +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