Commit Graph

167 Commits

Author SHA1 Message Date
Robert Lu ae6ebb49d0
Move document-lint from circleci to github-actions (#3345)
Move document-lint from circleci to github-actions.
Adjust document according to markdownlint-cli rules.
2024-02-21 17:05:29 +08:00
Robert Lu 8fef1b5eee
Support jdk17 (#3339)
Adjust the test logic, use jdk17 to build, 8, 11, 17 to run
2024-02-20 18:58:52 +08:00
LearningGp f3fd4e6187 Bump version to 1.8.7 2023-12-28 19:32:10 +08:00
LearningGp 665fb541a7 Bump version to 1.8.7-SNAPSHOT 2023-12-28 17:48:44 +08:00
SaaiVenkat 1dea35095b Fix order dependent tests in SofaRpcFallbackRegistryTest (#3282) 2023-12-27 20:40:27 +08:00
Clara Fang f991f5f8a4 Remove duplicate declaration of quarkus-arc-deployment dependency in sentinel-annotation-quarkus-adapter-deployment/pom.xml (#3101) 2023-12-27 20:40:27 +08:00
Eric Zhao 3781212f51 Fix CI: Update SentinelApacheHttpClientTest (#3133)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2023-12-27 20:40:27 +08:00
温绍锦 e2580a0585 build(deps): Update protobuf & gRPC version of adapter modules to fix macOS aarch64 compile error (#2993) 2023-12-27 20:40:26 +08:00
Eric Zhao dd1ba2725e Bump version to 1.8.6
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-10-25 16:57:18 +08:00
Eric Zhao 84df19b2c5 Bump version to 1.8.6-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-09-15 09:50:36 +08:00
Albumen Kevin bef6574734
Fix Dubbo SPI path in Dubbo 3 adapter and improve test cases (#2822) 2022-08-17 09:52:12 +08:00
Eric Zhao 24ac1be442 Bump version to 1.8.5 and update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-08-08 21:29:40 +08:00
Eric Zhao e0eb63e80e doc: Update docs for Dubbo 2.7.x and 3.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-08-08 10:12:19 +08:00
Eric Zhao 9b7786259e Bump version to 1.8.5-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-08-08 09:52:51 +08:00
Albumen Kevin e5a62cb634
Add adapter for Apache Dubbo 3.x (#2789)
* Add apache dubbo3 support implementation
2022-07-22 17:07:21 +08:00
Eric Zhao 16e1bb8fe8 Bump version to 1.8.4
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-04-12 10:14:53 +08:00
Eric Zhao fcc539d660 build(deps): Update Spring dependencies for adapters (provided or test scope)
* Close all the PR: #2654, #2653, #2652, #2647, #2646, #2634, #2632

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-04-06 11:08:44 +08:00
解玉乾 ab6c9adcec
Fix maxQueueingTimeoutMs checking logic in GatewayRuleManager#isValidRule (#2609) 2022-03-22 09:49:49 +08:00
一个不知名的Java靓仔 0bb7532425
Use unified entrance context name by default in Spring WebFlux adapter (#2610) 2022-03-21 10:42:09 +08:00
icodening 55ce1a2c11
Add support for customizing ConfigurableRequestItemParser for SC gateway and Zuul adapter (#2542)
* Add ConfigurableRequestItemParser and support customize RequestItemParser
* fluent-style API
2022-01-20 10:37:23 +08:00
Eric Zhao 8724a7c0a1 Bump version to 1.8.4-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-01-01 11:00:04 +08:00
Eric Zhao 6135ff290a Bump version to 1.8.3
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-12-31 14:46:52 +08:00
Eric Zhao 51b21921f5 Bump version to 1.8.3-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-12-22 14:48:43 +08:00
dependabot[bot] 0a287fe84f
build(deps): Bump Dubbo dependency to 2.7.13 in sentinel-apache-dubbo-adapter (#2489)
Bumps [dubbo](https://github.com/apache/dubbo) from 2.7.5 to 2.7.13 (provided).
- [Release notes](https://github.com/apache/dubbo/releases)
- [Changelog](https://github.com/apache/dubbo/blob/3.0/CHANGES.md)
- [Commits](https://github.com/apache/dubbo/compare/dubbo-2.7.5...dubbo-2.7.13)

---
updated-dependencies:
- dependency-name: org.apache.dubbo:dubbo
  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-12-13 09:50:31 +08:00
suyh 051d583fd8 Fix the bug that legacy API matchers in ScGatewayApiMatcherManager were not removed (#2436)
* Fix the bug that legacy API matchers in SC gateway adapter GatewayApiMatcherManager were not removed after the API group has been removed
2021-11-29 20:27:59 +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
Guilherme Amaral 00a560bd00
test: Improve exception checking in SentinelAnnotationQuarkusAdapterTest (#2116) 2021-04-09 09:36:16 +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
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
叶枫 a1eed7032f
Remove unused code (#1991)
Remove unused code in DefaultBlockExceptionHandler#handle
2021-02-04 10:13:16 +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
zhangxn 6719ceef65
Add Motan RPC adapter implementation (#1825) 2020-12-05 13:56:36 +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
王振广 9936b4da60
Improve default block fallback logic in Dubbo 2.6.x adapter to avoid serialization problem (#1794)
- convert BlockException to a simple RuntimeException (with necessary message)
2020-10-30 22:15:24 +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
dani3lWong b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once (#1729) 2020-09-14 10:03:58 +08:00
M4Y b50ce662bd
Solve the URI fetching bug in sentinel-zuul-adapter #1109 (#1605)
Use `getRequestURI` instead of `getServletPath` to get URI of current request(Both in prefix and regex matching).
2020-09-14 01:46:07 +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
Jason Joo 656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter (#1681) 2020-08-20 11:25:03 +08:00
Eric Zhao 5905874dd8 Fix NPE bug and improve default fallback in Dubbo 2.7.x adapter
- Fix NPE bug in consumer filter (when non-biz error occurred)
- Improve default fallback in Dubbo 2.7.x adapter: convert the BlockException to a simple RuntimeException (with necessary message)
- Polish code and comments

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 10:22:07 +08:00
liqiangz 113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction (#1678) 2020-08-20 10:09:43 +08:00
cdfive a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException (#1533)
If entry already exists in request just skip creation.
2020-08-19 23:55:11 +08:00
M4Y 197b7db440
Support customized origin parser in Apache Dubbo 2.7.x adapter and unify config (#1617)
* Support customized origin parser in Apache Dubbo 2.7.x adapter
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
2020-08-19 10:31:40 +08:00
Eric Zhao 58ff01e39b
Polish Dubbo 2.6.x adapter and unify callback registry into DubboAdapterGlobalConfig (#1572)
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-19 10:09:24 +08:00
Eric Zhao 86f8bb7b38 Refactor config mechanism for OkHttp adapter and polish related code
- One config per interceptor instead of the global config
- Polish document and demo

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-07-22 11:04:48 +08:00
HupJ ccd029ed0a
doc: Fix mistakes in README.md of sentinel-zuul-adapter (#1593) 2020-07-11 10:58:32 +08:00
于玉桔 38911c5ec1
Adapter: Support Apache HttpClient (#1455)
Introduce support through a customized client builder `SentinelApacheHttpClientBuilder`.
2020-07-09 14:51:39 +08:00