8000 V4.0.1 by HzjNeverStop · Pull Request #1212 · sofastack/sofa-boot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

V4.0.1 #1212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Aug 16, 2023
Merged

V4.0.1 #1212

merged 47 commits into from
Aug 16, 2023

Conversation

HzjNeverStop
Copy link
Contributor

No description provided.

crazysaltfish and others added 30 commits February 9, 2023 18:21
* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* Add a function that can remove the corresponding components when modules install failure

* Add test case for removing the components when module install failure

* Add test case for removing the components when module install failure

* Add test case for removing the components when module install failure

* Add a function that can remove the corresponding components when module install failure

* Add a function that can remove the corresponding components when module install failure

* Add a function that can remove the corresponding components when module install failure

* release_3.17.0

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
* 1.componentinfo add more details for components endpoint.2.reference check support skip by interface & uniqueId

* 1.componentinfo add more details for components endpoint.2.reference check support skip by interface & uniqueId

* fix comment

* fix comment

* fix format

* 1.support extension info . 2.fix cr problem

* fix isSkipReferenceHealthCheck

* fix isSkipReferenceHealthCheck

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>
* SofaEventHandlerTest use mockito

* fix format

* remove jmockit dependency

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>
* feat: add flaky test verification

* fix: add dependency setup for basic test

* fix: add dependency install to both repos

* chore: update jdk to 11

* chore: update surefire plugin for flaky test

* fix: bump library version again

* Remove testing CI file

* chore: bump surefire version to 'release'
* refactor aware processor

* remove duplicate define SofaRuntimeAwareProcessor

* fix pmd

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>
* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* add a minor changes to log the missing modules in SpringContextInstallStage

* Add a function that can remove the corresponding components when modules install failure

* Add test case for removing the components when module install failure

* Add test case for removing the components when module install failure

* Add test case for removing the components when module install failure

* Add a function that can remove the corresponding components when module install failure

* Add a function that can remove the corresponding components when module install failure

* Add a function that can remove the corresponding components when module install failure

* Support for customizing single healthCheck and healthIndicator

* Support for customizing single healthCheck and healthIndicator

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
* Add required property for SofaReference,
including annotation/xml/api registration.

If required=false, health check will still pass even if there is no corresponding service.

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
sofastack#1156)

* use FactoryBean.OBJECT_TYPE_ATTRIBUTE to support ReferenceFactoryBean by type inject

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: yuanxuan <yuanxuan@liwa.local>
* use bean classloader or tccl when parse reference interface

* use tccl parse interface type

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>
* update_3.19.0-SNAPSHOT

* fix IsleCheckStartupReporterTest.testStartupReporter test bug

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
* add_annotation_SofaServiceBean

* add test for @SofaServiceBean

* add @SofaServiceBean annotation to create a SOFA service and also created a bean.

* add @SofaServiceBean annotation to create a SOFA service and also created a bean.

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
* raise SofaConfigSourceSupportListener order to "LoggingApplicationListener.DEFAULT_ORDER - 10" to fix toolkit-common-logging config bug

* fix toolkit-common-logging config bug

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
* straight application listener order

* straight application listener order

* straight application listener order

* straight application listener order

* straight application listener order

* upgrade sofa-common-tools to 1.3.11

* upgrade sofa-common-tools to 1.3.11

* upgrade sofa-common-tools to 1.3.11

---------

Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
HzjNeverStop and others added 7 commits June 21, 2023 15:26
Co-authored-by: 寻芳 <dengjialin.djl@antgroup.com>
* Update 4.0.0 (sofastack#1056)

* revert (sofastack#1057)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add sofa-boot module unit tests (sofastack#1058)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add autoconfiguration module unit tests (sofastack#1059)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* rpc auto configuration refactor (sofastack#1060)

* add runtime module unit tests (sofastack#1062)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* rpc auto configuration test case (sofastack#1063)

* add isle unite tests (sofastack#1064)

* add isle module unit tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* fix unit tests (sofastack#1066)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* remore feign configuration (sofastack#1068)

* fix_uts

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix rpc swagger export (sofastack#1069)

* fix_rpc_swagger

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* rpc smoke tests (sofastack#1070)

* rpc smoke test

* fix merged pom.xml

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>

* Fix rpc properties (sofastack#1072)

* add_model_ignore

* update

* merge rpc change

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add default endpoints (sofastack#1073)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update test maven config (sofastack#1074)

* update test module maven config

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update codes (sofastack#1075)

* spring laoder add protected method

* update autoconfigurations

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* rpc smoke tests modify (sofastack#1076)

Co-authored-by: yuanxuan <wt150181@antgroup.com>

* add cpu core constants (sofastack#1077)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update dependencies (sofastack#1079)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix junit4 tests (sofastack#1080)

* update dependencies

* update dependecies

* fix junit4 tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix junit4 tests (sofastack#1081)

* Fix all tests (sofastack#1082)

* 4.0.0 (sofastack#1083)

* update sofaboot switch (sofastack#1084)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* fix rpc unit tests (sofastack#1085)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* fix gradle tool (sofastack#1086)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update log (sofastack#1088)

* update sofa common tools log init

* add config to disable sofa thread pool monitor

* update isle module

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add snapshot yaml (sofastack#1089)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* fix_rpc_configuration_test

* update github workflow

* fix smoke runtime unit tests

* fix rpc unit test

* add isle integration tests (sofastack#1091)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add runtime tets (sofastack#1092)

* add sofaboot and sofaruntime tests

* add rumtime and tracer tests

* fix unit tests

* fix unit tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* bean on switch smoke test (sofastack#1093)

* bean on switch smoke test

* fix format

* fix format

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>

* add test module (sofastack#1094)

* add test module
add log util

* format

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add test module (sofastack#1096)

* add test module
add log util

* format

* add actuator log test

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* fix_readiness_thredpool_configuration (sofastack#1098)

* fix_readiness_thredpool_configuration

* fix readienss ut

* fix readienss ut

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update local env (sofastack#1099)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* support duplicate isle module (sofastack#1100)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix error properties (sofastack#1101)

* support duplicate isle module

* fix tracer properties value

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update maven dependncies (sofastack#1102)

* support duplicate isle module

* update maven plugin dependencies

* update maven plugin dependencies

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add sofaboot swtich (sofastack#1104)

* update switch feature

* update switch feature

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* remove health indicator (sofastack#1105)

* use BufferedApplicationStartup static startup (sofastack#1107)

* use BufferedApplicationStartup static startup

* use BufferedApplicationStartup static startup

* format

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* support healthcheck startup (sofastack#1108)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update tracer 4.0.0 (sofastack#1109)

* update tracer logs

* suit sofa tracer 4.0
add sofa tracer datasource integration tests

* add tracer integration tests

* format

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add FeignClientAutoConfigurationTests

* reactor switch on scenes (sofastack#1106)

* reactor switch on scenes

* reactor switch on scenes format

* reactor switch on scenes format

* fix cr problem

* add ScenesEnvironmentPostProcessorTests

* add ScenesEnvironmentPostProcessorTests

---------

Co-authored-by: yuanxuan <wt150181@antgroup.com>

* update readme.md (sofastack#1110)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix components end point (sofastack#1078) (sofastack#1111)

* Fix components end point (sofastack#1078)

(cherry picked from commit 9930d16)

* ensure application context active when custom startup stat

---------

Co-authored-by: Dando <jialindeng7@163.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>

* add scenes log (sofastack#1112)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* 1. update springboot 3.0.4 (sofastack#1113)

* 1. update springboot 3.0.4
2. addPostProcessors avoid duplicate

* add mysql-connector-java

* fix throw exception in SofaGenericApplicaitonContext

* fix ut

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* support custom readiness actuator http response code (sofastack#1114)

* support custom readiness actuator http response code

* rename SofaHttpCodeStatusMapper to ReadinessHttpCodeStatusMapper

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Support startup parent self time (sofastack#1115)

* update startup bean stats

* support show bean real cost

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update swagger and swagger2 version (sofastack#1118)

* update swagger and swagger2 version

* fix swagger autoconfig uts

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add rpc act
6DB6
uator configuration (sofastack#1119)

* add com.alipay.sofa.boot.actuator.autoconfigure.rpc.RpcActuatorAutoConfiguration

* support use sofa.boot.rpc.enableAutoPublish=true to auto publush rpc services

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix rpc grpc tests (sofastack#1122)

* enable rpc grpc tests

* fix ut: testConnectionNum

* update maven dependencies

* update protobuf dependencies

* update depdencies

* update depdencies

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update maven staging plugin to 1.6.13

* upgrade javassit version to 3.29.2-GA ,rpc smoke tests use javassist (sofastack#1125)

Co-authored-by: yuanxuan <wt150181@antgroup.com>

* 4.0.0 (sofastack#1126)

* rename thread pool monitor config

* rename thread pool monitor config

* rename thread pool monitor config

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update springboot 3.0.5 (sofastack#1131)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update dubbo 3.1.8 and curator 4.3.0 (sofastack#1128)

* rename thread pool monitor config

* rename thread pool monitor config

* rename thread pool monitor config

* update dubbo 3.1.8
update maven-surefire-plugin 3.0.0

* update dubbo 3.1.8
update curator 5.4.0

* fix xml

* update  curator 4.3.0

* fix dubbo ut

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update guice 5.1.0 (sofastack#1139)

* update guice 5.1.0

* skip tests module when deploy

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add unit tests for util (sofastack#1140)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* remove guice-multibindings (sofastack#1142)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add sofa boot ut (sofastack#1141)

* add unit tests for util

* add uts for sofa-boot class

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add uts (sofastack#1143)

* add unit tests for util

* add uts for sofa-boot class

* remove guice-multibindings

* add ut for acutator autoconfigure

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add sofa boot autoconfiguration uts (sofastack#1144)


* add sofa-boot autoconfigure unit tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update jacoco plugin 0.8.9 (sofastack#1145)

* update jacoco maven plugin 0.8.9

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update codecov-action@v3 (sofastack#1146)

* update codecov-action@v3

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add jacoco module (sofastack#1148)

* add sofa-boot-jacoco-report module

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add codecov configs (sofastack#1151)

* add fail_ci_if_error true

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add ark tests (sofastack#1152)

* add unit tests for ark-sofa-boot

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Fix rpc tests report (sofastack#1153)

* add rpc report

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add isle module uts (sofastack#1154)

* add unit tests for isle module

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add unit tests for runtime (sofastack#1157)

* add unit tests for runtime

* add unit tests for runtime

* add unit tests for runtime

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add runtime unittests (sofastack#1158)

* add unit tests for runtime

* add unit tests for runtime

* add unit tests for runtime

* add unit tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add legacy configurations detect (sofastack#1161)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Cherry pick from 3.18.0 (sofastack#1164)

* cherry pick Feature same module inject (sofastack#1116)

* cherry pick 081a24c

* cherry pick refactor aware processor (sofastack#1130)

* cherry pick support repeatable @SofaServices annotation (sofastack#1132)

* cherry pick modify RuntimeContextBeanFactoryPostProcessor field modifier protected (sofastack#1134)

* cherry pick from Support sofareference required optional (sofastack#1135)

* cherry pick add startup log in sofa runtime log (sofastack#1159)

* use FactoryBean.OBJECT_TYPE_ATTRIBUTE to support ReferenceFactoryBean… (sofastack#1156)

* use FactoryBean.OBJECT_TYPE_ATTRIBUTE to support ReferenceFactoryBean by type inject

---------

Co-authored-by: wutao <taobaorun@gmail.com>
Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: Dando <jialindeng7@163.com>

* optimize RuntimeContextBeanFactoryPostProcessor (sofastack#1165)

* optimize RuntimeContextBeanFactoryPostProcessor

* optimize RuntimeContextBeanFactoryPostProcessor

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* optimize springcloud bootstrap log properties (sofastack#1166)

* optimize springcloud bootstrap log properties

* update ut

* remove unused import

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add spring.boot.version properties (sofastack#1168)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add ark tests (sofastack#1167)

* remove guice-multibindings

* add unit tests for ark-sofa-boot

* add ark smoke tests

* add sofa ark smoke tests

* update ark smoke tests

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* add sofarpc endpoint (sofastack#1169)

* add sofarpc endpoint

* format

* fix actuator ut

* fix actuator ut

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add isle enable condition (sofastack#1171)

* rename EndPoint to Endpoint

* add SofaModuleAvailableCondition

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* ComponentsDescriptor implements OperationResponseBody

* use spring.factories instead of jdk spi (sofastack#1175)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Merge v3.19.0 (sofastack#1182)

* avoid npe (sofastack#1177)

Co-authored-by: 致节 <hzj266771@antgroup.com>
(cherry picked from commit 7e5fd1e)

* Add annotation sofa service bean (sofastack#1176)
(cherry picked from commit 123b3eb)

* straight application listener order (sofastack#1179)
(cherry picked from commit bb45ec7)

---------

Co-authored-by: Dando <jialindeng7@163.com>

* update springboot 3.0.7 (sofastack#1183)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* update listener order (sofastack#1184)

Co-authored-by: 致节 <hzj266771@antgroup.com>

* 1. distinct requrie modules (sofastack#1185)

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Revert extenstion package (sofastack#1186)

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

* revert extension package

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Add legacy rpc property (sofastack#1189)

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

* revert extension package

* support legacy proeprty for sofarpc

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Release dependencies (sofastack#1190)

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

* revert extension package

* support legacy proeprty for sofarpc

* release jars

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Cherry pick 3.21.1 (sofastack#1195)

* 1. distinct requrie modules
2. split loadPropertiesFormUrlResource method
3. remove require modules if module is none spring powered

* revert extension package

* support legacy proeprty for sofarpc

* 1. update version 3.18.1 (sofastack#1192)

* 1. update version 3.18.1
2. fix @SofaService Annotation parse

* format

* format

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* format

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Update springboot version (sofastack#1196)


* update_springboot 3.0.7

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

* Release 4.0.0 (sofastack#1198)

* release 4.0.0

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>

---------

Co-authored-by: 致节 <hzj266771@antgroup.com>
Co-authored-by: wutao <taobaorun@gmail.com>
Co-authored-by: yuanxuan <wt150181@antgroup.com>
Co-authored-by: Da
9E12
ndo <jialindeng7@163.com>
2. add static update methods in SofaRuntimeContainer
@codecov
Copy link
codecov bot commented Aug 2, 2023

Codecov Report

Merging #1212 (d6a6563) into 4.0.x (eb869a4) will decrease coverage by 0.34%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##              4.0.x    #1212      +/-   ##
============================================
- Coverage     84.51%   84.18%   -0.34%     
- Complexity     2711     2727      +16     
============================================
  Files           308      308              
  Lines          8837     8880      +43     
  Branches       1049     1051       +2     
============================================
+ Hits           7469     7476       +7     
- Misses          898      932      +34     
- Partials        470      472       +2     
Files Changed Coverage Δ
...untime/spring/ServiceBeanFactoryPostProcessor.java 74.31% <50.00%> (-0.69%) ⬇️
...sofa/boot/ark/invoke/DynamicJvmServiceInvoker.java 62.19% <75.00%> (-8.64%) ⬇️
...com/alipay/sofa/boot/ark/SofaRuntimeContainer.java 61.01% <83.33%> (-38.99%) ⬇️
...ntime/spring/bean/SofaParameterNameDiscoverer.java 84.00% <100.00%> (-0.62%) ⬇️
...ay/sofa/boot/context/SofaSpringContextSupport.java 86.66% <100.00%> (ø)

... and 1 file with indirect coverage changes

F438

@sofastack-cla sofastack-cla bot added size/L and removed size/M labels Aug 14, 2023
Copy link
Contributor
@crazysaltfish crazysaltfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HzjNeverStop HzjNeverStop merged commit 70b3a45 into sofastack:4.0.x Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0