├── .github
└── workflows
│ ├── cloud_code_scan.yml
│ ├── maven.yml
│ └── release.yml
├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── README_ZH.md
├── SECURITY.md
├── codecov.yml
├── pom.xml
├── sofa-boot-project
├── pom.xml
├── sofa-boot-actuator-autoconfigure
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── actuator
│ │ │ │ └── autoconfigure
│ │ │ │ ├── beans
│ │ │ │ └── IsleBeansEndpointAutoConfiguration.java
│ │ │ │ ├── components
│ │ │ │ └── ComponentsEndpointAutoConfiguration.java
│ │ │ │ ├── health
│ │ │ │ ├── HealthProperties.java
│ │ │ │ ├── ManualReadinessCallbackEndpointAutoConfiguration.java
│ │ │ │ ├── ReadinessAutoConfiguration.java
│ │ │ │ ├── ReadinessEndpointAutoConfiguration.java
│ │ │ │ ├── ReadinessIsleAutoConfiguration.java
│ │ │ │ └── ReadinessRuntimeAutoConfiguration.java
│ │ │ │ ├── isle
│ │ │ │ └── IsleEndpointAutoConfiguration.java
│ │ │ │ ├── rpc
│ │ │ │ └── RpcActuatorAutoConfiguration.java
│ │ │ │ ├── startup
│ │ │ │ ├── StartupEndPointAutoConfiguration.java
│ │ │ │ └── StartupProperties.java
│ │ │ │ └── threadpool
│ │ │ │ └── ThreadPoolEndpointAutoConfiguration.java
│ │ └── resources
│ │ │ └── META-INF
│ │ │ └── spring
│ │ │ └── org.springframework.boot.autoconfigure.AutoConfiguration.imports
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ └── actuator
│ │ │ └── autoconfigure
│ │ │ ├── beans
│ │ │ └── BeansEndpointAutoConfigurationTests.java
│ │ │ ├── components
│ │ │ └── ComponentsEndpointAutoConfigurationTests.java
│ │ │ ├── health
│ │ │ ├── ManualReadinessCallbackEndpointAutoConfigurationTests.java
│ │ │ ├── ReadinessAutoConfigurationTests.java
│ │ │ └── ReadinessEndpointAutoConfigurationTests.java
│ │ │ ├── isle
│ │ │ └── IsleEndpointAutoConfigurationTests.java
│ │ │ ├── rpc
│ │ │ └── RpcActuatorAutoConfigurationTests.java
│ │ │ ├── startup
│ │ │ └── StartupEndpointAutoConfigurationTests.java
│ │ │ └── threadpool
│ │ │ └── ThreadPoolEndpointAutoConfigurationTests.java
│ │ └── resources
│ │ └── logback.xml
├── sofa-boot-actuator
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ └── actuator
│ │ │ ├── beans
│ │ │ └── IsleBeansEndpoint.java
│ │ │ ├── components
│ │ │ └── ComponentsEndpoint.java
│ │ │ ├── health
│ │ │ ├── ComponentHealthChecker.java
│ │ │ ├── HealthCheckComparatorSupport.java
│ │ │ ├── HealthCheckException.java
│ │ │ ├── HealthChecker.java
│ │ │ ├── HealthCheckerComparatorProvider.java
│ │ │ ├── HealthCheckerConfig.java
│ │ │ ├── HealthCheckerProcessor.java
│ │ │ ├── HealthIndicatorProcessor.java
│ │ │ ├── ManualReadinessCallbackEndpoint.java
│ │ │ ├── ModuleHealthChecker.java
│ │ │ ├── NonReadinessCheck.java
│ │ │ ├── ReadinessCheckCallback.java
│ │ │ ├── ReadinessCheckCallbackProcessor.java
│ │ │ ├── ReadinessCheckListener.java
│ │ │ ├── ReadinessEndpoint.java
│ │ │ ├── ReadinessEndpointWebExtension.java
│ │ │ └── ReadinessHttpCodeStatusMapper.java
│ │ │ ├── isle
│ │ │ └── IsleEndpoint.java
│ │ │ ├── rpc
│ │ │ ├── HealthCheckProviderConfigDelayRegisterChecker.java
│ │ │ ├── RpcAfterHealthCheckCallback.java
│ │ │ └── SofaRpcEndpoint.java
│ │ │ ├── startup
│ │ │ └── StartupEndpoint.java
│ │ │ └── threadpool
│ │ │ └── ThreadPoolEndpoint.java
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ └── actuator
│ │ │ ├── beans
│ │ │ └── IsleBeanEndpointTests.java
│ │ │ ├── components
│ │ │ └── ComponentsEndpointTests.java
│ │ │ ├── health
│ │ │ ├── ComponentHealthCheckerTests.java
│ │ │ ├── HealthCheckUtilsTests.java
│ │ │ ├── HealthCheckerProcessorTests.java
│ │ │ ├── HealthIndicatorProcessorTests.java
│ │ │ ├── ManualReadinessCallbackEndPointTests.java
│ │ │ ├── ModuleHealthCheckerTests.java
│ │ │ ├── ReadinessCheckCallbackProcessorTest.java
│ │ │ ├── ReadinessCheckListenerTests.java
│ │ │ ├── ReadinessEndpointTests.java
│ │ │ ├── ReadinessEndpointWebExtensionTests.java
│ │ │ └── ReadinessHttpCodeStatusMapperTests.java
│ │ │ ├── isle
│ │ │ └── IsleEndpointTests.java
│ │ │ ├── rpc
│ │ │ ├── HealthCheckProviderConfigDelayRegisterCheckerTest.java
│ │ │ ├── RpcAfterHealthCheckCallbackTests.java
│ │ │ └── SofaRpcEndPointTests.java
│ │ │ ├── sample
│ │ │ ├── SampleService.java
│ │ │ └── SampleServiceImpl.java
│ │ │ ├── startup
│ │ │ └── StartupEndpointTests.java
│ │ │ └── threadpool
│ │ │ └── ThreadPoolEndpointTests.java
│ │ └── resources
│ │ ├── META-INF
│ │ ├── META-INF
│ │ │ └── spring
│ │ │ │ └── test-service.xml
│ │ ├── sofa-module.properties
│ │ └── spring.factories
│ │ ├── application-health.properties
│ │ ├── config
│ │ └── application.properties
│ │ └── logback.xml
├── sofa-boot-autoconfigure
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── autoconfigure
│ │ │ │ ├── ark
│ │ │ │ ├── SofaArkAutoConfiguration.java
│ │ │ │ └── SofaArkProperties.java
│ │ │ │ ├── condition
│ │ │ │ ├── ConditionalOnMasterBiz.java
│ │ │ │ ├── ConditionalOnNotTest.java
│ │ │ │ ├── ConditionalOnSwitch.java
│ │ │ │ ├── OnMasterBizCondition.java
│ │ │ │ ├── OnSwitchCondition.java
│ │ │ │ ├── OnTestCondition.java
│ │ │ │ ├── OnVirtualThreadStartupAvailableCondition.java
│ │ │ │ └── OnVirtualThreadStartupDisableCondition.java
│ │ │ │ ├── detect
│ │ │ │ └── LegacyAutoConfigurationDetectListener.java
│ │ │ │ ├── isle
│ │ │ │ ├── SofaModuleAutoConfiguration.java
│ │ │ │ ├── SofaModuleAvailableCondition.java
│ │ │ │ └── SofaModuleProperties.java
│ │ │ │ ├── rpc
│ │ │ │ ├── ConsulRegistryConfiguration.java
│ │ │ │ ├── KubernetesRegistryConfiguration.java
│ │ │ │ ├── LocalRegistryConfiguration.java
│ │ │ │ ├── MeshRegistryConfiguration.java
│ │ │ │ ├── MulticastRegistryConfiguration.java
│ │ │ │ ├── NacosRegistryConfiguration.java
│ │ │ │ ├── PolarisRegistryConfiguration.java
│ │ │ │ ├── RegistryConfigurations.java
│ │ │ │ ├── RestFilterConfiguration.java
│ │ │ │ ├── SofaBootRpcProperties.java
│ │ │ │ ├── SofaRegistryConfiguration.java
│ │ │ │ ├── SofaRpcAutoConfiguration.java
│ │ │ │ ├── SwaggerConfiguration.java
│ │ │ │ ├── ZookeeperRegistryConfiguration.java
│ │ │ │ └── package-info.java
│ │ │ │ ├── runtime
│ │ │ │ ├── SofaRuntimeAutoConfiguration.java
│ │ │ │ └── SofaRuntimeProperties.java
│ │ │ │ └── tracer
│ │ │ │ ├── SofaTracerAutoConfiguration.java
│ │ │ │ ├── SofaTracerConfigurationListener.java
│ │ │ │ ├── SofaTracerProperties.java
│ │ │ │ ├── datasource
│ │ │ │ └── DataSourceAutoConfiguration.java
│ │ │ │ ├── feign
│ │ │ │ └── FeignClientAutoConfiguration.java
│ │ │ │ ├── flexible
│ │ │ │ └── FlexibleAutoConfiguration.java
│ │ │ │ ├── kafka
│ │ │ │ └── KafkaAutoConfiguration.java
│ │ │ │ ├── mongo
│ │ │ │ └── MongoAutoConfiguration.java
│ │ │ │ ├── rabbitmq
│ │ │ │ └── RabbitMqAutoConfiguration.java
│ │ │ │ ├── redis
│ │ │ │ └── RedisAutoConfiguration.java
│ │ │ │ ├── resttemplate
│ │ │ │ └── RestTemplateAutoConfiguration.java
│ │ │ │ ├── rocketmq
│ │ │ │ └── RocketMqAutoConfiguration.java
│ │ │ │ ├── springmessage
│ │ │ │ └── SpringMessageAutoConfiguration.java
│ │ │ │ ├── springmvc
│ │ │ │ ├── OpenTracingSpringMvcAutoConfiguration.java
│ │ │ │ └── OpenTracingSpringMvcProperties.java
│ │ │ │ └── zipkin
│ │ │ │ ├── ZipkinAutoConfiguration.java
│ │ │ │ └── ZipkinProperties.java
│ │ └── resources
│ │ │ └── META-INF
│ │ │ ├── spring.factories
│ │ │ └── spring
│ │ │ └── org.springframework.boot.autoconfigure.AutoConfiguration.imports
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ └── autoconfigure
│ │ │ ├── ark
│ │ │ └── SofaArkAutoConfigurationTests.java
│ │ │ ├── condition
│ │ │ ├── OnMasterBizConditionTests.java
│ │ │ ├── OnSwitchConditionTests.java
│ │ │ ├── OnTestConditionTests.java
│ │ │ └── OnVirtualThreadStartupConditionTests.java
│ │ │ ├── isle
│ │ │ └── SofaModuleAutoConfigurationTests.java
│ │ │ ├── rpc
│ │ │ └── SofaRpcAutoConfigurationTests.java
│ │ │ ├── runtime
│ │ │ └── SofaRuntimeAutoConfigurationTests.java
│ │ │ └── tracer
│ │ │ ├── SofaTracerAutoConfigurationTests.java
│ │ │ ├── SofaTracerConfigurationListenerTests.java
│ │ │ ├── datasource
│ │ │ └── DataSourceAutoConfigurationTests.java
│ │ │ ├── feign
│ │ │ └── FeignClientAutoConfigurationTests.java
│ │ │ ├── flexible
│ │ │ └── FlexibleAutoConfigurationTests.java
│ │ │ ├── kafka
│ │ │ └── KafkaAutoConfigurationTests.java
│ │ │ ├── mongo
│ │ │ └── MongoAutoConfigurationTests.java
│ │ │ ├── rabbitmq
│ │ │ └── RabbitMqAutoConfigurationTests.java
│ │ │ ├── redis
│ │ │ └── RedisAutoConfigurationTests.java
│ │ │ ├── resttemplate
│ │ │ └── RestTemplateAutoConfigurationTests.java
│ │ │ ├── rocketmq
│ │ │ └── RocketMqAutoConfigurationTests.java
│ │ │ ├── springmessage
│ │ │ └── SpringMessageAutoConfigurationTests.java
│ │ │ ├── springmvc
│ │ │ └── OpenTracingSpringMvcAutoConfigurationTests.java
│ │ │ └── zipkin
│ │ │ └── ZipkinAutoConfigurationTests.java
│ │ └── resources
│ │ └── logback.xml
├── sofa-boot-core
│ ├── ark-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── ark
│ │ │ │ ├── SofaRuntimeActivator.java
│ │ │ │ ├── SofaRuntimeContainer.java
│ │ │ │ ├── handler
│ │ │ │ ├── AfterBizStartupEventHandler.java
│ │ │ │ ├── FinishStartupEventHandler.java
│ │ │ │ ├── SofaBizHealthCheckEventHandler.java
│ │ │ │ └── SofaBizUninstallEventHandler.java
│ │ │ │ └── invoke
│ │ │ │ ├── ArkDynamicServiceProxyManager.java
│ │ │ │ ├── DynamicJvmServiceInvoker.java
│ │ │ │ ├── DynamicJvmServiceProxyFinder.java
│ │ │ │ └── JvmServiceTargetHabitat.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ └── ark
│ │ │ ├── MockBiz.java
│ │ │ ├── MockBizManagerService.java
│ │ │ ├── SofaRuntimeContainerTests.java
│ │ │ ├── handler
│ │ │ ├── AfterBizStartupEventHandlerTests.java
│ │ │ ├── FinishStartupEventHandlerTests.java
│ │ │ ├── SofaBizHealthCheckEventHandlerTests.java
│ │ │ └── SofaBizUninstallEventHandlerTests.java
│ │ │ ├── invoke
│ │ │ ├── ArkDynamicServiceProxyManagerTests.java
│ │ │ ├── DynamicJvmServiceInvokerTests.java
│ │ │ ├── DynamicJvmServiceProxyFinderTests.java
│ │ │ └── JvmServiceTargetHabitatTests.java
│ │ │ └── sample
│ │ │ ├── Pojo.java
│ │ │ ├── SampleService.java
│ │ │ └── SampleServiceImpl.java
│ ├── isle-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── isle
│ │ │ │ ├── ApplicationRuntimeModel.java
│ │ │ │ ├── IsleDeploymentModel.java
│ │ │ │ ├── deployment
│ │ │ │ ├── AbstractDeploymentDescriptor.java
│ │ │ │ ├── DefaultModuleDeploymentValidator.java
│ │ │ │ ├── DependencyTree.java
│ │ │ │ ├── DeployRegistry.java
│ │ │ │ ├── DeploymentDescriptor.java
│ │ │ │ ├── DeploymentDescriptorConfiguration.java
│ │ │ │ ├── DeploymentDescriptorFactory.java
│ │ │ │ ├── DeploymentException.java
│ │ │ │ ├── FileDeploymentDescriptor.java
│ │ │ │ ├── JarDeploymentDescriptor.java
│ │ │ │ └── ModuleDeploymentValidator.java
│ │ │ │ ├── loader
│ │ │ │ ├── DynamicSpringContextLoader.java
│ │ │ │ └── SpringContextLoader.java
│ │ │ │ ├── profile
│ │ │ │ ├── DefaultSofaModuleProfileChecker.java
│ │ │ │ └── SofaModuleProfileChecker.java
│ │ │ │ ├── spring
│ │ │ │ └── SofaModuleContextLifecycle.java
│ │ │ │ └── stage
│ │ │ │ ├── AbstractPipelineStage.java
│ │ │ │ ├── DefaultPipelineContext.java
│ │ │ │ ├── ModelCreatingStage.java
│ │ │ │ ├── ModuleLogOutputStage.java
│ │ │ │ ├── PipelineContext.java
│ │ │ │ ├── PipelineStage.java
│ │ │ │ └── SpringContextInstallStage.java
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── isle
│ │ │ │ ├── ApplicationRuntimeModelTests.java
│ │ │ │ ├── MockDeploymentDescriptor.java
│ │ │ │ ├── SampleDeploymentDescriptor.java
│ │ │ │ ├── deployment
│ │ │ │ ├── AbstractDeploymentDescriptorTests.java
│ │ │ │ ├── DefaultModuleDeploymentValidatorTests.java
│ │ │ │ ├── DependencyTreeEntryTests.java
│ │ │ │ ├── DependencyTreeTests.java
│ │ │ │ ├── DeployRegistryTests.java
│ │ │ │ ├── DeploymentDescriptorConfigurationTests.java
│ │ │ │ ├── FileDeploymentDescriptorTests.java
│ │ │ │ └── JarDeploymentDescriptorTests.java
│ │ │ │ ├── loader
│ │ │ │ └── DynamicSpringContextLoaderTests.java
│ │ │ │ ├── profile
│ │ │ │ └── DefaultSofaModuleProfileCheckerTests.java
│ │ │ │ ├── service
│ │ │ │ ├── Child1.java
│ │ │ │ ├── Child2.java
│ │ │ │ ├── Child3.java
│ │ │ │ ├── GrandChild1.java
│ │ │ │ ├── GrandChild2.java
│ │ │ │ ├── GrandChild3.java
│ │ │ │ ├── IService.java
│ │ │ │ └── ServiceImpl.java
│ │ │ │ ├── spring
│ │ │ │ └── SofaModuleContextLifecycleTests.java
│ │ │ │ └── stage
│ │ │ │ ├── DefaultPipelineContextTests.java
│ │ │ │ ├── ModelCreatingStageTests.java
│ │ │ │ ├── ModuleLogOutputStageTests.java
│ │ │ │ └── SpringContextInstallStageTests.java
│ │ │ └── resources
│ │ │ ├── META-INF
│ │ │ └── spring
│ │ │ │ ├── spring1.xml
│ │ │ │ └── spring2.xml
│ │ │ ├── logback.xml
│ │ │ ├── module.jar
│ │ │ ├── test-module.properties
│ │ │ └── white space
│ │ │ ├── META-INF
│ │ │ └── spring
│ │ │ │ └── beans.xml
│ │ │ └── sofa-module.properties
│ ├── pom.xml
│ ├── rpc-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── alipay
│ │ │ │ │ └── sofa
│ │ │ │ │ └── rpc
│ │ │ │ │ └── boot
│ │ │ │ │ ├── common
│ │ │ │ │ ├── NetworkAddressUtil.java
│ │ │ │ │ ├── RegistryParseUtil.java
│ │ │ │ │ ├── RpcThreadPoolMonitor.java
│ │ │ │ │ ├── SofaBootRpcParserUtil.java
│ │ │ │ │ ├── SofaBootRpcRuntimeException.java
│ │ │ │ │ └── SofaBootRpcSpringUtil.java
│ │ │ │ │ ├── config
│ │ │ │ │ ├── ConsulConfigurator.java
│ │ │ │ │ ├── FaultToleranceConfigurator.java
│ │ │ │ │ ├── KubernetesConfigurator.java
│ │ │ │ │ ├── LocalFileConfigurator.java
│ │ │ │ │ ├── MeshConfigurator.java
│ │ │ │ │ ├── MulticastConfigurator.java
│ │ │ │ │ ├── NacosConfigurator.java
│ │ │ │ │ ├── PolarisRegistryConfigurator.java
│ │ │ │ │ ├── RegistryConfigureProcessor.java
│ │ │ │ │ ├── SofaBootRpcConfigConstants.java
│ │ │ │ │ ├── SofaBootRpcConfigKeys.java
│ │ │ │ │ ├── SofaRegistryConfigurator.java
│ │ │ │ │ └── ZookeeperConfigurator.java
│ │ │ │ │ ├── container
│ │ │ │ │ ├── ConsumerConfigContainer.java
│ │ │ │ │ ├── ProviderConfigContainer.java
│ │ │ │ │ ├── ProviderConfigDelayRegisterChecker.java
│ │ │ │ │ ├── RegistryConfigContainer.java
│ │ │ │ │ ├── RpcFilterContainer.java
│ │ │ │ │ ├── ServerConfigContainer.java
│ │ │ │ │ └── package-info.java
│ │ │ │ │ ├── context
│ │ │ │ │ ├── RpcEnvironmentApplicationListener.java
│ │ │ │ │ ├── RpcStartApplicationListener.java
│ │ │ │ │ ├── RpcStopApplicationListener.java
│ │ │ │ │ ├── SofaBootRpcStartListener.java
│ │ │ │ │ └── event
│ │ │ │ │ │ ├── SofaBootRpcStartAfterEvent.java
│ │ │ │ │ │ └── SofaBootRpcStartEvent.java
│ │ │ │ │ ├── log
│ │ │ │ │ ├── LoggerConstant.java
│ │ │ │ │ └── SofaBootRpcLoggerFactory.java
│ │ │ │ │ ├── runtime
│ │ │ │ │ ├── adapter
│ │ │ │ │ │ ├── BoltBindingAdapter.java
│ │ │ │ │ │ ├── DubboBindingAdapter.java
│ │ │ │ │ │ ├── H2cBindingAdapter.java
│ │ │ │ │ │ ├── HttpBindingAdapter.java
│ │ │ │ │ │ ├── RestBindingAdapter.java
│ │ │ │ │ │ ├── RpcBindingAdapter.java
│ │ │ │ │ │ ├── TripleBindingAdapter.java
│ │ │ │ │ │ ├── helper
│ │ │ │ │ │ │ ├── ConsumerConfigHelper.java
│ │ │ │ │ │ │ └── ProviderConfigHelper.java
│ │ │ │ │ │ └── processor
│ │ │ │ │ │ │ ├── ConsumerConfigProcessor.java
│ │ │ │ │ │ │ ├── ConsumerMockProcessor.java
│ │ │ │ │ │ │ ├── DynamicConfigProcessor.java
│ │ │ │ │ │ │ ├── ProcessorContainer.java
│ │ │ │ │ │ │ ├── ProviderConfigProcessor.java
│ │ │ │ │ │ │ └── ProviderRegisterProcessor.java
│ │ │ │ │ ├── binding
│ │ │ │ │ │ ├── BoltBinding.java
│ │ │ │ │ │ ├── DubboBinding.java
│ │ │ │ │ │ ├── H2cBinding.java
│ │ │ │ │ │ ├── HttpBinding.java
│ │ │ │ │ │ ├── RestBinding.java
│ │ │ │ │ │ ├── RpcBinding.java
│ │ │ │ │ │ ├── RpcBindingMethodInfo.java
│ │ │ │ │ │ ├── RpcBindingType.java
│ │ │ │ │ │ ├── RpcBindingXmlConstants.java
│ │ │ │ │ │ └── TripleBinding.java
│ │ │ │ │ ├── converter
│ │ │ │ │ │ ├── BoltBindingConverter.java
│ │ │ │ │ │ ├── DubboBindingConverter.java
│ │ │ │ │ │ ├── H2cBindingConverter.java
│ │ │ │ │ │ ├── HttpBindingConverter.java
│ │ │ │ │ │ ├── RestBindingConverter.java
│ │ │ │ │ │ ├── RpcBindingConverter.java
│ │ │ │ │ │ └── TripleBindingConverter.java
│ │ │ │ │ ├── param
│ │ │ │ │ │ ├── BoltBindingParam.java
│ │ │ │ │ │ ├── DubboBindingParam.java
│ │ │ │ │ │ ├── H2cBindingParam.java
│ │ │ │ │ │ ├── HttpBindingParam.java
│ │ │ │ │ │ ├── RestBindingParam.java
│ │ │ │ │ │ ├── RpcBindingParam.java
│ │ │ │ │ │ └── TripleBindingParam.java
│ │ │ │ │ └── parser
│ │ │ │ │ │ └── GlobalFilterParser.java
│ │ │ │ │ └── swagger
│ │ │ │ │ ├── BoltSwaggerServiceApplicationListener.java
│ │ │ │ │ ├── SwaggerService.java
│ │ │ │ │ ├── SwaggerServiceApplicationListener.java
│ │ │ │ │ └── SwaggerServiceImpl.java
│ │ │ └── resources
│ │ │ │ ├── META-INF
│ │ │ │ └── spring.factories
│ │ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── rpc
│ │ │ │ └── boot
│ │ │ │ └── log
│ │ │ │ ├── log4j
│ │ │ │ └── log-conf.xml
│ │ │ │ ├── log4j2
│ │ │ │ └── log-conf.xml
│ │ │ │ └── logback
│ │ │ │ └── log-conf.xml
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── rpc
│ │ │ │ └── boot
│ │ │ │ └── test
│ │ │ │ ├── adapter
│ │ │ │ ├── BindingAdapterFactoryTests.java
│ │ │ │ ├── XBindingAdapter.java
│ │ │ │ ├── XBindingAdapter2.java
│ │ │ │ └── XBindingAdapter3.java
│ │ │ │ ├── common
│ │ │ │ └── ThreadPoolMonitorTests.java
│ │ │ │ ├── config
│ │ │ │ ├── ConsulConfiguratorTests.java
│ │ │ │ ├── DefaultTracingTests.java
│ │ │ │ ├── KubernetesConfiguratorTest.java
│ │ │ │ ├── LocalFileConfigTests.java
│ │ │ │ ├── MeshConfiguratorTests.java
│ │ │ │ ├── NacosConfiguratorTests.java
│ │ │ │ ├── PolarisRegistryConfiguratorTests.java
│ │ │ │ ├── SofaRegistryConfiguratorTests.java
│ │ │ │ └── ZookeeperConfiguratorTests.java
│ │ │ │ ├── container
│ │ │ │ ├── MulticastConfiguratorTests.java
│ │ │ │ ├── RegistryConfigContainerTests.java
│ │ │ │ └── ServerConfigContainerTests.java
│ │ │ │ ├── converter
│ │ │ │ ├── RpcBindingConverterTests.java
│ │ │ │ ├── TestBindingConverter.java
│ │ │ │ ├── TestBindingConverter2.java
│ │ │ │ └── TestBindingConverter3.java
│ │ │ │ └── runtime
│ │ │ │ └── adapter
│ │ │ │ └── processor
│ │ │ │ ├── ConsumerMockProcessorTests.java
│ │ │ │ ├── DynamicConfigProcessorTests.java
│ │ │ │ └── ProviderRegisterProcessorTests.java
│ │ │ └── resources
│ │ │ ├── META-INF
│ │ │ └── spring.factories
│ │ │ └── logback.xml
│ ├── runtime-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── alipay
│ │ │ │ │ └── sofa
│ │ │ │ │ ├── common
│ │ │ │ │ └── xmap
│ │ │ │ │ │ ├── Context.java
│ │ │ │ │ │ ├── DOMHelper.java
│ │ │ │ │ │ ├── DOMSerializer.java
│ │ │ │ │ │ ├── Path.java
│ │ │ │ │ │ ├── PrimitiveArrays.java
│ │ │ │ │ │ ├── Resource.java
│ │ │ │ │ │ ├── XAnnotatedContent.java
│ │ │ │ │ │ ├── XAnnotatedList.java
│ │ │ │ │ │ ├── XAnnotatedMap.java
│ │ │ │ │ │ ├── XAnnotatedMember.java
│ │ │ │ │ │ ├── XAnnotatedObject.java
│ │ │ │ │ │ ├── XAnnotatedParent.java
│ │ │ │ │ │ ├── XFieldGetter.java
│ │ │ │ │ │ ├── XFieldSetter.java
│ │ │ │ │ │ ├── XGetter.java
│ │ │ │ │ │ ├── XMap.java
│ │ │ │ │ │ ├── XMethodGetter.java
│ │ │ │ │ │ ├── XMethodSetter.java
│ │ │ │ │ │ ├── XSetter.java
│ │ │ │ │ │ ├── XValueFactory.java
│ │ │ │ │ │ ├── annotation
│ │ │ │ │ │ ├── XContent.java
│ │ │ │ │ │ ├── XMemberAnnotation.java
│ │ │ │ │ │ ├── XNode.java
│ │ │ │ │ │ ├── XNodeList.java
│ │ │ │ │ │ ├── XNodeMap.java
│ │ │ │ │ │ ├── XObject.java
│ │ │ │ │ │ ├── XParent.java
│ │ │ │ │ │ └── spring
│ │ │ │ │ │ │ ├── XAnnotatedListSpring.java
│ │ │ │ │ │ │ ├── XAnnotatedMapSpring.java
│ │ │ │ │ │ │ ├── XAnnotatedSpring.java
│ │ │ │ │ │ │ ├── XAnnotatedSpringObject.java
│ │ │ │ │ │ │ ├── XMapSpring.java
│ │ │ │ │ │ │ └── XMapSpringUtil.java
│ │ │ │ │ │ └── spring
│ │ │ │ │ │ ├── XNodeListSpring.java
│ │ │ │ │ │ ├── XNodeMapSpring.java
│ │ │ │ │ │ └── XNodeSpring.java
│ │ │ │ │ ├── runtime
│ │ │ │ │ ├── api
│ │ │ │ │ │ ├── ServiceRuntimeException.java
│ │ │ │ │ │ ├── ServiceValidationException.java
│ │ │ │ │ │ ├── annotation
│ │ │ │ │ │ │ ├── SofaAsyncInit.java
│ │ │ │ │ │ │ ├── SofaClientFactory.java
│ │ │ │ │ │ │ ├── SofaMethod.java
│ │ │ │ │ │ │ ├── SofaParameter.java
│ │ │ │ │ │ │ ├── SofaReference.java
│ │ │ │ │ │ │ ├── SofaReferenceBinding.java
│ │ │ │ │ │ │ ├── SofaService.java
│ │ │ │ │ │ │ ├── SofaServiceBean.java
│ │ │ │ │ │ │ ├── SofaServiceBinding.java
│ │ │ │ │ │ │ └── SofaServices.java
│ │ │ │ │ │ ├── aware
│ │ │ │ │ │ │ ├── ClientFactoryAware.java
│ │ │ │ │ │ │ └── ExtensionClientAware.java
│ │ │ │ │ │ ├── binding
│ │ │ │ │ │ │ └── BindingType.java
│ │ │ │ │ │ ├── client
│ │ │ │ │ │ │ ├── ClientFactory.java
│ │ │ │ │ │ │ ├── ExtensionClient.java
│ │ │ │ │ │ │ ├── ReferenceClient.java
│ │ │ │ │ │ │ ├── ServiceClient.java
│ │ │ │ │ │ │ └── param
│ │ │ │ │ │ │ │ ├── BindingParam.java
│ │ │ │ │ │ │ │ ├── ExtensionParam.java
│ │ │ │ │ │ │ │ ├── ExtensionPointParam.java
│ │ │ │ │ │ │ │ ├── ReferenceParam.java
│ │ │ │ │ │ │ │ └── ServiceParam.java
│ │ │ │ │ │ └── component
│ │ │ │ │ │ │ ├── ComponentLifeCycle.java
│ │ │ │ │ │ │ ├── ComponentName.java
│ │ │ │ │ │ │ └── Property.java
│ │ │ │ │ ├── async
│ │ │ │ │ │ ├── AsyncInitMethodManager.java
│ │ │ │ │ │ └── AsyncInitializeBeanMethodInvoker.java
│ │ │ │ │ ├── context
│ │ │ │ │ │ ├── ComponentContextRefreshInterceptor.java
│ │ │ │ │ │ ├── SpringContextComponent.java
│ │ │ │ │ │ └── SpringContextImplementation.java
│ │ │ │ │ ├── ext
│ │ │ │ │ │ ├── client
│ │ │ │ │ │ │ └── ExtensionClientImpl.java
│ │ │ │ │ │ ├── component
│ │ │ │ │ │ │ ├── ExtensionComponent.java
│ │ │ │ │ │ │ ├── ExtensionImpl.java
│ │ │ │ │ │ │ ├── ExtensionInternal.java
│ │ │ │ │ │ │ ├── ExtensionPointComponent.java
│ │ │ │ │ │ │ ├── ExtensionPointImpl.java
│ │ │ │ │ │ │ ├── ExtensionPointInternal.java
│ │ │ │ │ │ │ └── XMapContext.java
│ │ │ │ │ │ └── spring
│ │ │ │ │ │ │ ├── AbstractExtFactoryBean.java
│ │ │ │ │ │ │ ├── ClassLoaderWrapper.java
│ │ │ │ │ │ │ ├── ExtensionBuilder.java
│ │ │ │ │ │ │ ├── ExtensionFactoryBean.java
│ │ │ │ │ │ │ ├── ExtensionPointBuilder.java
│ │ │ │ │ │ │ ├── ExtensionPointFactoryBean.java
│ │ │ │ │ │ │ ├── SpringExtensionImpl.java
│ │ │ │ │ │ │ ├── SpringExtensionPointImpl.java
│ │ │ │ │ │ │ ├── SpringImplementationImpl.java
│ │ │ │ │ │ │ └── parser
│ │ │ │ │ │ │ ├── AbstractExtBeanDefinitionParser.java
│ │ │ │ │ │ │ ├── AbstractExtPointBeanDefinitionParser.java
│ │ │ │ │ │ │ ├── AbstractSingleExtPointBeanDefinitionParser.java
│ │ │ │ │ │ │ ├── ExtensionBeanDefinitionParser.java
│ │ │ │ │ │ │ └── ExtensionPointBeanDefinitionParser.java
│ │ │ │ │ ├── filter
│ │ │ │ │ │ ├── JvmFilter.java
│ │ │ │ │ │ ├── JvmFilterContext.java
│ │ │ │ │ │ └── JvmFilterHolder.java
│ │ │ │ │ ├── impl
│ │ │ │ │ │ ├── ClientFactoryImpl.java
│ │ │ │ │ │ ├── ComponentManagerImpl.java
│ │ │ │ │ │ └── StandardSofaRuntimeManager.java
│ │ │ │ │ ├── model
│ │ │ │ │ │ ├── ComponentStatus.java
│ │ │ │ │ │ ├── ComponentType.java
│ │ │ │ │ │ └── InterfaceMode.java
│ │ │ │ │ ├── proxy
│ │ │ │ │ │ ├── ProxyBeanFactoryPostProcessor.java
│ │ │ │ │ │ └── SofaProxyFactoryBean.java
│ │ │ │ │ ├── service
│ │ │ │ │ │ ├── binding
│ │ │ │ │ │ │ ├── JvmBinding.java
│ │ │ │ │ │ │ ├── JvmBindingAdapter.java
│ │ │ │ │ │ │ ├── JvmBindingConverter.java
│ │ │ │ │ │ │ ├── JvmBindingInterface.java
│ │ │ │ │ │ │ ├── JvmBindingParam.java
│ │ │ │ │ │ │ ├── JvmServiceInvoker.java
│ │ │ │ │ │ │ └── JvmServiceSupport.java
│ │ │ │ │ │ ├── client
│ │ │ │ │ │ │ ├── ReferenceClientImpl.java
│ │ │ │ │ │ │ └── ServiceClientImpl.java
│ │ │ │ │ │ ├── component
│ │ │ │ │ │ │ ├── AbstractContract.java
│ │ │ │ │ │ │ ├── Reference.java
│ │ │ │ │ │ │ ├── ReferenceComponent.java
│ │ │ │ │ │ │ ├── Service.java
│ │ │ │ │ │ │ ├── ServiceComponent.java
│ │ │ │ │ │ │ └── impl
│ │ │ │ │ │ │ │ ├── ReferenceImpl.java
│ │ │ │ │ │ │ │ └── ServiceImpl.java
│ │ │ │ │ │ ├── helper
│ │ │ │ │ │ │ └── ReferenceRegisterHelper.java
│ │ │ │ │ │ └── impl
│ │ │ │ │ │ │ ├── BindingAdapterFactoryImpl.java
│ │ │ │ │ │ │ └── BindingConverterFactoryImpl.java
│ │ │ │ │ ├── spi
│ │ │ │ │ │ ├── binding
│ │ │ │ │ │ │ ├── AbstractBinding.java
│ │ │ │ │ │ │ ├── Binding.java
│ │ │ │ │ │ │ ├── BindingAdapter.java
│ │ │ │ │ │ │ ├── BindingAdapterFactory.java
│ │ │ │ │ │ │ └── Contract.java
│ │ │ │ │ │ ├── client
│ │ │ │ │ │ │ └── ClientFactoryInternal.java
│ │ │ │ │ │ ├── component
│ │ │ │ │ │ │ ├── AbstractComponent.java
│ │ │ │ │ │ │ ├── Component.java
│ │ │ │ │ │ │ ├── ComponentDefinitionInfo.java
│ │ │ │ │ │ │ ├── ComponentInfo.java
│ │ │ │ │ │ │ ├── ComponentManager.java
│ │ │ │ │ │ │ ├── ComponentNameFactory.java
│ │ │ │ │ │ │ ├── DefaultImplementation.java
│ │ │ │ │ │ │ ├── Implementation.java
│ │ │ │ │ │ │ ├── SofaRuntimeContext.java
│ │ │ │ │ │ │ └── SofaRuntimeManager.java
│ │ │ │ │ │ ├── health
│ │ │ │ │ │ │ └── HealthResult.java
│ │ │ │ │ │ ├── service
│ │ │ │ │ │ │ ├── BindingConverter.java
│ │ │ │ │ │ │ ├── BindingConverterContext.java
│ │ │ │ │ │ │ ├── BindingConverterFactory.java
│ │ │ │ │ │ │ ├── DefaultDynamicServiceProxyManager.java
│ │ │ │ │ │ │ ├── DynamicServiceProxyManager.java
│ │ │ │ │ │ │ └── ServiceProxy.java
│ │ │ │ │ │ └── spring
│ │ │ │ │ │ │ ├── RuntimeShutdownAware.java
│ │ │ │ │ │ │ └── SofaRuntimeContextAware.java
│ │ │ │ │ ├── spring
│ │ │ │ │ │ ├── AsyncInitBeanFactoryPostProcessor.java
│ │ │ │ │ │ ├── AsyncProxyBeanPostProcessor.java
│ │ │ │ │ │ ├── ClientFactoryAnnotationBeanPostProcessor.java
│ │ │ │ │ │ ├── ReferenceAnnotationBeanPostProcessor.java
│ │ │ │ │ │ ├── RuntimeContextBeanFactoryPostProcessor.java
│ │ │ │ │ │ ├── ServiceBeanFactoryPostProcessor.java
│ │ │ │ │ │ ├── SofaRuntimeAwareProcessor.java
│ │ │ │ │ │ ├── bean
│ │ │ │ │ │ │ ├── LocalVariableTableParameterNameDiscoverer.java
│ │ │ │ │ │ │ ├── SofaBeanNameGenerator.java
│ │ │ │ │ │ │ └── SofaParameterNameDiscoverer.java
│ │ │ │ │ │ ├── factory
│ │ │ │ │ │ │ ├── AbstractContractFactoryBean.java
│ │ │ │ │ │ │ ├── ReferenceFactoryBean.java
│ │ │ │ │ │ │ └── ServiceFactoryBean.java
│ │ │ │ │ │ └── parser
│ │ │ │ │ │ │ ├── AbstractContractDefinitionParser.java
│ │ │ │ │ │ │ ├── AsyncInitBeanDefinitionDecorator.java
│ │ │ │ │ │ │ ├── ReferenceDefinitionParser.java
│ │ │ │ │ │ │ └── ServiceDefinitionParser.java
│ │ │ │ │ └── startup
│ │ │ │ │ │ └── ComponentBeanStatCustomizer.java
│ │ │ │ │ └── service
│ │ │ │ │ └── api
│ │ │ │ │ └── component
│ │ │ │ │ ├── Extensible.java
│ │ │ │ │ ├── Extension.java
│ │ │ │ │ └── ExtensionPoint.java
│ │ │ └── resources
│ │ │ │ └── META-INF
│ │ │ │ └── spring.factories
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── runtime
│ │ │ │ ├── annotation
│ │ │ │ ├── AnnotationPlaceHolderTests.java
│ │ │ │ └── AnnotationSampleServiceImpl.java
│ │ │ │ ├── async
│ │ │ │ ├── AsyncInitMethodManagerTests.java
│ │ │ │ ├── AsyncInitializeBeanMethodInvokerTests.java
│ │ │ │ └── AsyncSampleServiceImpl.java
│ │ │ │ ├── context
│ │ │ │ ├── ComponentContextRefreshInterceptorTests.java
│ │ │ │ ├── SpringContextComponentTests.java
│ │ │ │ └── SpringContextImplementationTests.java
│ │ │ │ ├── ext
│ │ │ │ ├── client
│ │ │ │ │ └── ExtensionClientImplTests.java
│ │ │ │ ├── component
│ │ │ │ │ ├── ExtensionComponentTests.java
│ │ │ │ │ ├── ExtensionImplTests.java
│ │ │ │ │ ├── ExtensionPointComponentTests.java
│ │ │ │ │ └── ExtensionPointImplTests.java
│ │ │ │ └── spring
│ │ │ │ │ └── SpringImplementationImplTests.java
│ │ │ │ ├── filter
│ │ │ │ ├── JvmFilterContextTests.java
│ │ │ │ └── JvmFilterHolderTests.java
│ │ │ │ ├── impl
│ │ │ │ ├── ClientFactoryImplTests.java
│ │ │ │ ├── ComponentManagerImplTests.java
│ │ │ │ └── StandardSofaRuntimeManagerTests.java
│ │ │ │ ├── proxy
│ │ │ │ └── SofaProxyFactoryBeanTests.java
│ │ │ │ ├── sample
│ │ │ │ ├── DemoComponent.java
│ │ │ │ └── SampleService.java
│ │ │ │ ├── service
│ │ │ │ ├── binding
│ │ │ │ │ └── JvmServiceInvokerTests.java
│ │ │ │ ├── component
│ │ │ │ │ ├── ReferenceComponentTests.java
│ │ │ │ │ └── ServiceComponentTests.java
│ │ │ │ └── impl
│ │ │ │ │ ├── BindingAdapterFactoryImplTests.java
│ │ │ │ │ └── BindingConverterFactoryImplTests.java
│ │ │ │ ├── spi
│ │ │ │ └── component
│ │ │ │ │ ├── AbstractComponentTests.java
│ │ │ │ │ └── ComponentToStringTests.java
│ │ │ │ ├── spring
│ │ │ │ ├── AsyncInitBeanFactoryPostProcessorTests.java
│ │ │ │ ├── AsyncProxyBeanPostProcessorTests.java
│ │ │ │ ├── ClientFactoryAnnotationBeanPostProcessorTests.java
│ │ │ │ ├── RuntimeContextBeanFactoryPostProcessorTests.java
│ │ │ │ ├── SofaRuntimeAwareProcessorTests.java
│ │ │ │ ├── SofaRuntimeManagerTestBase.java
│ │ │ │ └── bean
│ │ │ │ │ └── SofaParameterNameDiscovererTests.java
│ │ │ │ └── startup
│ │ │ │ └── ComponentBeanStatCustomizerTests.java
│ │ │ └── resources
│ │ │ ├── config
│ │ │ └── application-annotation.properties
│ │ │ └── logback.xml
│ ├── test-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── alipay
│ │ │ │ │ └── sofa
│ │ │ │ │ └── test
│ │ │ │ │ └── mock
│ │ │ │ │ └── injector
│ │ │ │ │ ├── InjectorMockTestExecutionListener.java
│ │ │ │ │ ├── annotation
│ │ │ │ │ ├── MockBeanInjector.java
│ │ │ │ │ └── SpyBeanInjector.java
│ │ │ │ │ ├── definition
│ │ │ │ │ ├── Definition.java
│ │ │ │ │ ├── MockDefinition.java
│ │ │ │ │ ├── QualifierDefinition.java
│ │ │ │ │ └── SpyDefinition.java
│ │ │ │ │ ├── parser
│ │ │ │ │ └── DefinitionParser.java
│ │ │ │ │ └── resolver
│ │ │ │ │ ├── BeanInjectorResolver.java
│ │ │ │ │ └── BeanInjectorStub.java
│ │ │ └── resources
│ │ │ │ └── META-INF
│ │ │ │ └── spring.factories
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── test
│ │ │ └── mock
│ │ │ └── injector
│ │ │ ├── InjectorMockApplicationContextCacheTests.java
│ │ │ ├── InjectorMockTestExecutionListenerTests.java
│ │ │ ├── definition
│ │ │ ├── MockDefinitionTests.java
│ │ │ ├── QualifierDefinitionTests.java
│ │ │ └── SpyDefinitionTests.java
│ │ │ ├── example
│ │ │ ├── ExampleExtraInterface.java
│ │ │ ├── ExampleService.java
│ │ │ ├── ExampleServiceCaller.java
│ │ │ └── RealExampleService.java
│ │ │ ├── parser
│ │ │ └── DefinitionParserTests.java
│ │ │ └── resolver
│ │ │ ├── BeanInjectorResolverTests.java
│ │ │ └── BeanInjectorStubTests.java
│ └── tracer-sofa-boot
│ │ ├── pom.xml
│ │ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── tracer
│ │ │ │ ├── datasource
│ │ │ │ └── DataSourceBeanPostProcessor.java
│ │ │ │ ├── feign
│ │ │ │ └── FeignContextBeanPostProcessor.java
│ │ │ │ ├── flexible
│ │ │ │ ├── MethodInvocationProcessor.java
│ │ │ │ ├── SofaTracerAdvisingBeanPostProcessor.java
│ │ │ │ ├── SofaTracerIntroductionInterceptor.java
│ │ │ │ ├── SofaTracerMethodInvocationProcessor.java
│ │ │ │ ├── TracerAnnotationClassAdvisor.java
│ │ │ │ └── TracerAnnotationClassPointcut.java
│ │ │ │ ├── kafka
│ │ │ │ ├── KafkaConsumerFactoryBeanPostProcessor.java
│ │ │ │ └── KafkaProducerBeanFactoryPostProcessor.java
│ │ │ │ ├── mongodb
│ │ │ │ └── SofaTracerCommandListenerCustomizer.java
│ │ │ │ ├── rabbitmq
│ │ │ │ └── RabbitMqBeanPostProcessor.java
│ │ │ │ ├── resttemplate
│ │ │ │ ├── RestTemplateBeanPostProcessor.java
│ │ │ │ └── RestTemplateEnhance.java
│ │ │ │ ├── rocketmq
│ │ │ │ ├── RocketMqConsumerPostProcessor.java
│ │ │ │ └── RocketMqProducerPostProcessor.java
│ │ │ │ └── springmessage
│ │ │ │ └── SpringMessageTracerBeanPostProcessor.java
│ │ └── resources
│ │ │ └── META-INF
│ │ │ └── spring.factories
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── boot
│ │ └── tracer
│ │ ├── datasource
│ │ ├── DataSourceBeanPostProcessorTests.java
│ │ └── EmptyDataSource.java
│ │ ├── feign
│ │ └── FeignContextBeanPostProcessorTests.java
│ │ ├── flexible
│ │ ├── SofaTracerAdvisingBeanPostProcessorTests.java
│ │ ├── SofaTracerIntroductionInterceptorTests.java
│ │ ├── SofaTracerMethodInvocationProcessorTests.java
│ │ ├── TracerAnnotationClassAdvisorTests.java
│ │ └── TracerAnnotationClassPointcutTests.java
│ │ ├── kafka
│ │ ├── KafkaConsumerFactoryBeanPostProcessorTests.java
│ │ └── KafkaProducerBeanFactoryPostProcessorTests.java
│ │ ├── mongodb
│ │ └── SofaTracerCommandListenerCustomizerTests.java
│ │ ├── rabbitmq
│ │ └── RabbitMqBeanPostProcessorTests.java
│ │ ├── resttemplate
│ │ └── RestTemplateBeanPostProcessorTests.java
│ │ ├── rocketmq
│ │ ├── RocketMqConsumerPostProcessorTests.java
│ │ └── RocketMqProducerPostProcessorTests.java
│ │ └── springmessage
│ │ └── SpringMessageTracerBeanPostProcessorTests.java
├── sofa-boot-parent
│ └── pom.xml
├── sofa-boot-starters
│ ├── actuator-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── ark-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── isle-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── pom.xml
│ ├── rpc-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── runtime-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ ├── test-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── MANIFEST.MF
│ └── tracer-sofa-boot-starter
│ │ ├── pom.xml
│ │ └── src
│ │ └── main
│ │ └── resources
│ │ └── META-INF
│ │ └── MANIFEST.MF
├── sofa-boot-tools
│ ├── pom.xml
│ └── sofa-boot-gradle-plugin
│ │ ├── build.gradle
│ │ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ ├── pom.xml
│ │ ├── settings.gradle
│ │ └── src
│ │ ├── main
│ │ └── java
│ │ │ ├── com
│ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── gradle
│ │ │ │ └── plugin
│ │ │ │ └── Marker.java
│ │ │ └── org
│ │ │ └── springframework
│ │ │ └── boot
│ │ │ └── gradle
│ │ │ └── plugin
│ │ │ ├── SofaBootPlugin.java
│ │ │ └── SofaDependencyManagementPluginAction.java
│ │ └── test
│ │ ├── java
│ │ ├── com
│ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── gradle
│ │ │ │ └── plugin
│ │ │ │ └── DependencyManagementPluginActionIntegrationTests.java
│ │ └── org
│ │ │ └── springframework
│ │ │ └── boot
│ │ │ └── gradle
│ │ │ ├── junit
│ │ │ └── GradleCompatibilitySuite.java
│ │ │ └── testkit
│ │ │ ├── Dsl.java
│ │ │ └── GradleBuild.java
│ │ └── resources
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── boot
│ │ └── gradle
│ │ └── plugin
│ │ └── DependencyManagementPluginActionIntegrationTests.gradle
├── sofa-boot
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ ├── Initializer
│ │ │ │ ├── AutoModuleExportApplicationContextInitializer.java
│ │ │ │ └── SwitchableApplicationContextInitializer.java
│ │ │ │ ├── annotation
│ │ │ │ ├── AnnotationWrapper.java
│ │ │ │ ├── DefaultPlaceHolderBinder.java
│ │ │ │ ├── PlaceHolderAnnotationInvocationHandler.java
│ │ │ │ ├── PlaceHolderBinder.java
│ │ │ │ └── WrapperAnnotation.java
│ │ │ │ ├── aop
│ │ │ │ └── framework
│ │ │ │ │ └── autoproxy
│ │ │ │ │ └── ExcludeBeanNameAutoProxyCreator.java
│ │ │ │ ├── compatibility
│ │ │ │ ├── AbstractJarVersionVerifier.java
│ │ │ │ ├── AbstractSwitchableCompatibilityVerifier.java
│ │ │ │ ├── CompatibilityNotMetException.java
│ │ │ │ ├── CompatibilityPredicate.java
│ │ │ │ ├── CompatibilityVerifier.java
│ │ │ │ ├── CompatibilityVerifierApplicationContextInitializer.java
│ │ │ │ ├── CompositeCompatibilityVerifier.java
│ │ │ │ └── VerificationResult.java
│ │ │ │ ├── constant
│ │ │ │ ├── ApplicationListenerOrderConstants.java
│ │ │ │ └── SofaBootConstants.java
│ │ │ │ ├── context
│ │ │ │ ├── ContextRefreshInterceptor.java
│ │ │ │ ├── SofaDefaultListableBeanFactory.java
│ │ │ │ ├── SofaGenericApplicationContext.java
│ │ │ │ ├── SofaSpringContextSupport.java
│ │ │ │ └── processor
│ │ │ │ │ ├── SingletonSofaPostProcessor.java
│ │ │ │ │ ├── SofaPostProcessorShareFilter.java
│ │ │ │ │ ├── SofaPostProcessorShareManager.java
│ │ │ │ │ └── UnshareSofaPostProcessor.java
│ │ │ │ ├── env
│ │ │ │ ├── ScenesEnvironmentPostProcessor.java
│ │ │ │ └── SofaBootEnvironmentPostProcessor.java
│ │ │ │ ├── listener
│ │ │ │ ├── SofaConfigSourceSupportListener.java
│ │ │ │ ├── SpringCloudConfigListener.java
│ │ │ │ └── SwitchableApplicationListener.java
│ │ │ │ ├── log
│ │ │ │ ├── ErrorCode.java
│ │ │ │ └── SofaBootLoggerFactory.java
│ │ │ │ ├── logging
│ │ │ │ └── LogEnvironmentPostProcessor.java
│ │ │ │ ├── spring
│ │ │ │ ├── namespace
│ │ │ │ │ ├── handler
│ │ │ │ │ │ └── SofaBootNamespaceHandler.java
│ │ │ │ │ └── spi
│ │ │ │ │ │ └── SofaBootTagNameSupport.java
│ │ │ │ └── parameter
│ │ │ │ │ └── LocalVariableTableParameterNameDiscoverer.java
│ │ │ │ ├── startup
│ │ │ │ ├── BaseStat.java
│ │ │ │ ├── BeanStat.java
│ │ │ │ ├── BeanStatCustomizer.java
│ │ │ │ ├── BootStageConstants.java
│ │ │ │ ├── ChildrenStat.java
│ │ │ │ ├── ModuleStat.java
│ │ │ │ ├── StartupReporter.java
│ │ │ │ ├── StartupReporterAware.java
│ │ │ │ ├── StartupReporterBeanPostProcessor.java
│ │ │ │ ├── StartupSmartLifecycle.java
│ │ │ │ ├── StartupSpringApplication.java
│ │ │ │ └── StartupSpringApplicationRunListener.java
│ │ │ │ └── util
│ │ │ │ ├── BeanDefinitionUtil.java
│ │ │ │ ├── ClassLoaderContextUtils.java
│ │ │ │ ├── LogOutPutUtils.java
│ │ │ │ ├── ModuleUtil.java
│ │ │ │ ├── SmartAnnotationUtils.java
│ │ │ │ ├── SofaBootEnvUtils.java
│ │ │ │ └── UnsafeUtil.java
│ │ └── resources
│ │ │ ├── META-INF
│ │ │ ├── spring.factories
│ │ │ ├── spring.handlers
│ │ │ └── spring.schemas
│ │ │ ├── banner.txt
│ │ │ ├── com
│ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── boot
│ │ │ │ └── spring
│ │ │ │ └── namespace
│ │ │ │ └── schema
│ │ │ │ ├── rpc.xsd
│ │ │ │ └── sofaboot.xsd
│ │ │ └── sofa-boot
│ │ │ ├── log-codes.properties
│ │ │ └── log
│ │ │ ├── log4j2
│ │ │ ├── config.properties
│ │ │ └── log-conf.xml
│ │ │ └── logback
│ │ │ ├── config.properties
│ │ │ └── log-conf.xml
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── boot
│ │ │ ├── annotation
│ │ │ └── PlaceHolderAnnotationTests.java
│ │ │ ├── aop
│ │ │ └── framework
│ │ │ │ └── autoproxy
│ │ │ │ └── ExcludeBeanNameAutoProxyCreatorTests.java
│ │ │ ├── compatibility
│ │ │ ├── AbstractJarVersionVerifierTests.java
│ │ │ ├── AbstractSwitchableCompatibilityVerifierTests.java
│ │ │ ├── CompatibilityVerifierApplicationContextInitializerTests.java
│ │ │ ├── CompositeCompatibilityVerifierTests.java
│ │ │ ├── TestCompatibilityVerifier.java
│ │ │ └── VerificationResultTests.java
│ │ │ ├── context
│ │ │ ├── SofaGenericApplicationContextTests.java
│ │ │ ├── SofaSpringContextSupportTests.java
│ │ │ └── processor
│ │ │ │ └── SofaPostProcessorShareManagerTests.java
│ │ │ ├── env
│ │ │ ├── ScenesEnvironmentPostProcessorTests.java
│ │ │ └── SofaBootEnvironmentPostProcessorTests.java
│ │ │ ├── initializer
│ │ │ ├── AutoModuleExportApplicationContextInitializerTests.java
│ │ │ └── SampleSwitchSpringContextInitializerTests.java
│ │ │ ├── lisener
│ │ │ ├── SofaConfigSourceSupportListenerTests.java
│ │ │ └── SwitchableApplicationListenerTests.java
│ │ │ ├── log
│ │ │ ├── ErrorCodeTests.java
│ │ │ └── SofaBootLoggerFactoryTests.java
│ │ │ ├── logging
│ │ │ └── LogEnvironmentPreparingListenerTests.java
│ │ │ ├── spring
│ │ │ └── namespace
│ │ │ │ ├── SofaBootNamespaceHandlerTests.java
│ │ │ │ ├── TestBeanDefinitionDecorator.java
│ │ │ │ ├── TestBeanDefinitionParser.java
│ │ │ │ └── TestNormalBean.java
│ │ │ ├── startup
│ │ │ ├── StartupReporterBeanPostProcessorTests.java
│ │ │ └── StartupReporterTests.java
│ │ │ └── util
│ │ │ ├── BeanDefinitionUtilTests.java
│ │ │ ├── ClassLoaderContextUtilsTests.java
│ │ │ ├── LogOutPutUtilsTests.java
│ │ │ ├── ModuleUtilTests.java
│ │ │ ├── SmartAnnotationUtilsTests.java
│ │ │ └── SofaBootEnvUtilsTests.java
│ │ └── resources
│ │ ├── META-INF
│ │ └── spring.factories
│ │ ├── logback.xml
│ │ └── sofa-boot
│ │ └── scenes
│ │ ├── function.properties
│ │ └── function.yml
└── sofaboot-dependencies
│ └── pom.xml
├── sofa-boot-tests
├── pom.xml
├── sofa-boot-jacoco-report
│ └── pom.xml
└── sofa-boot-smoke-tests
│ ├── pom.xml
│ ├── sofa-boot-smoke-tests-actuator
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── actuator
│ │ │ │ ├── ActuatorSofaBootApplication.java
│ │ │ │ └── sample
│ │ │ │ ├── beans
│ │ │ │ ├── ChildBean.java
│ │ │ │ ├── DefaultSampleService.java
│ │ │ │ ├── DefaultTestService.java
│ │ │ │ ├── ExtensionBean.java
│ │ │ │ ├── ExtensionDescriptor.java
│ │ │ │ ├── InitCostBean.java
│ │ │ │ ├── ParentBean.java
│ │ │ │ ├── SampleService.java
│ │ │ │ └── TestService.java
│ │ │ │ ├── readiness
│ │ │ │ ├── SampleHealthChecker.java
│ │ │ │ ├── SampleHealthIndicate.java
│ │ │ │ └── SampleReadinessCheckCallback.java
│ │ │ │ └── spring
│ │ │ │ └── StartupInitializer.java
│ │ └── resources
│ │ │ ├── META-INF
│ │ │ ├── spring.factories
│ │ │ └── spring
│ │ │ │ └── test-service.xml
│ │ │ ├── config
│ │ │ └── application.properties
│ │ │ ├── logback.xml
│ │ │ └── sofa-module.properties
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── smoke
│ │ └── tests
│ │ └── actuator
│ │ ├── beans
│ │ └── IsleBeanEndpointWebTests.java
│ │ ├── components
│ │ └── ComponentsEndpointWebTests.java
│ │ ├── health
│ │ ├── ManualEndPointWebTests.java
│ │ ├── ParallelReadinessHealthCheckTests.java
│ │ ├── ReadienssHttpCodeStatusMapperTests.java
│ │ ├── ReadinessEndpointWebTests.java
│ │ ├── ReadinessHealthCheckTestBase.java
│ │ ├── SerialReadinessHealthCheckTests.java
│ │ └── VirtualParallelReadinessHealthCheckTests.java
│ │ ├── rpc
│ │ └── RpcEndpointWebTests.java
│ │ ├── startup
│ │ ├── DefaultStageStartupReporterTests.java
│ │ ├── HealthStageStartupReporterTests.java
│ │ ├── InitializerStartupReporterTests.java
│ │ ├── IsleStageStartupReporterTests.java
│ │ └── StartupSpringBootContextLoader.java
│ │ └── threadpool
│ │ └── ThreadPoolEndpointWebTests.java
│ ├── sofa-boot-smoke-tests-ark
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── ark
│ │ │ │ └── ArkSofaBootApplication.java
│ │ └── resources
│ │ │ ├── config
│ │ │ └── application.properties
│ │ │ ├── logback.xml
│ │ │ └── sofa-boot-ark-plugin.jar
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── smoke
│ │ └── tests
│ │ └── ark
│ │ ├── ArkHandlerTests.java
│ │ └── ArkTestBase.java
│ ├── sofa-boot-smoke-tests-boot
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── boot
│ │ │ │ ├── BootSofaBootApplication.java
│ │ │ │ └── SampleSpringContextInitializer.java
│ │ └── resources
│ │ │ ├── META-INF
│ │ │ └── spring.factories
│ │ │ ├── config
│ │ │ ├── application-dev.properties
│ │ │ └── application.properties
│ │ │ ├── logback.xml
│ │ │ └── sofa-boot
│ │ │ └── scenes
│ │ │ ├── function.properties
│ │ │ └── function.yml
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── smoke
│ │ │ └── tests
│ │ │ └── boot
│ │ │ ├── LegacyAutoConfigurationDetectListenerTests.java
│ │ │ ├── SofaConditionOnSwitchTests.java
│ │ │ ├── SpringCloudEnvTests.java
│ │ │ └── StartupApplicationStartupTests.java
│ │ └── resources
│ │ └── META-INF
│ │ ├── spring.factories
│ │ └── spring
│ │ └── org.springframework.boot.autoconfigure.AutoConfiguration.imports
│ ├── sofa-boot-smoke-tests-isle
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── isle
│ │ │ │ ├── ExceptionBean.java
│ │ │ │ ├── IsleSofaBootApplication.java
│ │ │ │ └── SampleBean.java
│ │ └── resources
│ │ │ ├── child-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── config
│ │ │ └── application.properties
│ │ │ ├── dev-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── duplicate-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── fail-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── logback.xml
│ │ │ ├── miss-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── nospring-module
│ │ │ └── sofa-module.properties
│ │ │ ├── nospringchild-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ ├── sample-module
│ │ │ ├── META-INF
│ │ │ │ └── spring
│ │ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ │ └── test-module
│ │ │ ├── META-INF
│ │ │ └── spring
│ │ │ │ └── service.xml
│ │ │ └── sofa-module.properties
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── smoke
│ │ │ └── tests
│ │ │ └── isle
│ │ │ ├── DefaultSofaModuleProfileCheckerIntegrationTests.java
│ │ │ ├── IsleEndpointWebTests.java
│ │ │ ├── ModelCreatingStageIntegrationTests.java
│ │ │ ├── ParallelSpringContextInstallStageTests.java
│ │ │ ├── ParallelVirtualThreadSpringContextInstallStageTests.java
│ │ │ ├── SerialSpringContextInstallStageTests.java
│ │ │ ├── SpringContextInstallStageIntegrationTestBase.java
│ │ │ ├── model
│ │ │ ├── CustomModelContextCustomizer.java
│ │ │ ├── CustomModelContextCustomizerFactory.java
│ │ │ └── CustomModelCreatingStage.java
│ │ │ └── util
│ │ │ └── AddCustomJar.java
│ │ └── resources
│ │ └── META-INF
│ │ └── spring.factories
│ ├── sofa-boot-smoke-tests-rpc
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── rpc
│ │ │ │ └── boot
│ │ │ │ ├── RpcSofaBootApplication.java
│ │ │ │ └── bean
│ │ │ │ ├── SampleFacade.java
│ │ │ │ ├── SampleFacadeImpl.java
│ │ │ │ ├── SampleService.java
│ │ │ │ ├── annotation
│ │ │ │ ├── AnnotationService.java
│ │ │ │ ├── AnnotationServiceImpl.java
│ │ │ │ ├── AnnotationServicePbImpl.java
│ │ │ │ └── AnnotationServiceTimeoutImpl.java
│ │ │ │ ├── connectionnum
│ │ │ │ ├── ConnectionNumService.java
│ │ │ │ └── ConnectionNumServiceImpl.java
│ │ │ │ ├── delayregister
│ │ │ │ ├── DelayRegisterService.java
│ │ │ │ └── DelayRegisterServiceImpl.java
│ │ │ │ ├── direct
│ │ │ │ ├── DirectService.java
│ │ │ │ └── DirectServiceImpl.java
│ │ │ │ ├── dubbo
│ │ │ │ ├── DubboService.java
│ │ │ │ └── DubboServiceImpl.java
│ │ │ │ ├── filter
│ │ │ │ ├── FilterService.java
│ │ │ │ ├── FilterServiceImpl.java
│ │ │ │ ├── ParameterFilter.java
│ │ │ │ └── TestFilter.java
│ │ │ │ ├── generic
│ │ │ │ ├── GenericParamModel.java
│ │ │ │ ├── GenericResultModel.java
│ │ │ │ ├── GenericService.java
│ │ │ │ └── GenericServiceImpl.java
│ │ │ │ ├── globalfilter
│ │ │ │ ├── GlobalFilterService.java
│ │ │ │ ├── GlobalFilterServiceImpl.java
│ │ │ │ └── TestGlobalFilter.java
│ │ │ │ ├── invoke
│ │ │ │ ├── CallbackImpl.java
│ │ │ │ ├── HelloCallbackService.java
│ │ │ │ ├── HelloCallbackServiceImpl.java
│ │ │ │ ├── HelloFutureService.java
│ │ │ │ ├── HelloFutureServiceImpl.java
│ │ │ │ ├── HelloSyncService.java
│ │ │ │ └── HelloSyncServiceImpl.java
│ │ │ │ ├── lazy
│ │ │ │ ├── LazyService.java
│ │ │ │ └── LazyServiceImpl.java
│ │ │ │ ├── misc
│ │ │ │ ├── MethodElementInterface.java
│ │ │ │ ├── MethodElementInterfaceImpl.java
│ │ │ │ ├── WhateverClass.java
│ │ │ │ └── WhateverInterface.java
│ │ │ │ ├── registry
│ │ │ │ ├── MultiRegistryService.java
│ │ │ │ └── MultiRegistryServiceImpl.java
│ │ │ │ ├── rest
│ │ │ │ ├── AddService.java
│ │ │ │ ├── RestService.java
│ │ │ │ └── RestServiceImpl.java
│ │ │ │ ├── retry
│ │ │ │ ├── RetriesService.java
│ │ │ │ └── RetriesServiceImpl.java
│ │ │ │ ├── threadpool
│ │ │ │ ├── ThreadPoolService.java
│ │ │ │ ├── ThreadPoolServiceAnnotationImpl.java
│ │ │ │ └── ThreadPoolServiceImpl.java
│ │ │ │ └── triple
│ │ │ │ └── TripleGreeterImpl.java
│ │ ├── proto
│ │ │ └── helloworld.proto
│ │ └── resources
│ │ │ ├── META-INF
│ │ │ └── sofa-rpc
│ │ │ │ └── rpc-config.json
│ │ │ ├── application.properties
│ │ │ ├── application.yml
│ │ │ ├── logback.xml
│ │ │ └── spring
│ │ │ ├── readiness.xml
│ │ │ ├── service_reference.xml
│ │ │ ├── shutdown.xml
│ │ │ ├── test_all.xml
│ │ │ ├── test_only_delay_register.xml
│ │ │ ├── test_only_mesh.xml
│ │ │ ├── test_only_mock.xml
│ │ │ ├── test_only_mock_bean.xml
│ │ │ ├── test_only_one.xml
│ │ │ ├── test_only_parameter.xml
│ │ │ ├── test_only_reference.xml
│ │ │ └── test_only_registry.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── smoke
│ │ └── tests
│ │ └── rpc
│ │ ├── ActivelyDestroyTests.java
│ │ ├── SofaRpcLoggerLevelConfigTests.java
│ │ ├── boot
│ │ └── SofaBootRpcApplicationTests.java
│ │ ├── config
│ │ └── SofaBootRpcPropertiesTests.java
│ │ ├── delayregister
│ │ ├── DelayRegisterFailTests.java
│ │ ├── DelayRegisterSuccessTests.java
│ │ └── DelayRegisterTestsBase.java
│ │ ├── mesh
│ │ └── MeshTests.java
│ │ ├── misc
│ │ ├── ComponentHealthCheckerTests.java
│ │ └── XsdTimeoutTests.java
│ │ ├── mock
│ │ ├── HttpMockServer.java
│ │ ├── MockBeanConfigTests.java
│ │ └── xml
│ │ │ └── XmlConfigTests.java
│ │ ├── parameter
│ │ ├── ParameterAnnotationTests.java
│ │ └── ParameterTests.java
│ │ ├── provider
│ │ ├── BlackListProviderConfigContainerTests.java
│ │ ├── ProviderConfigContainerTestBase.java
│ │ └── WhiteListProviderConfigContainerTests.java
│ │ ├── readiness
│ │ └── ReadinessTests.java
│ │ ├── reference
│ │ └── ReferenceTests.java
│ │ ├── registry
│ │ └── MultiRegistryTests.java
│ │ ├── shutdown
│ │ └── RpcShutdownTests.java
│ │ └── util
│ │ └── TestUtils.java
│ ├── sofa-boot-smoke-tests-runtime
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── runtime
│ │ │ │ ├── RuntimeSofaBootApplication.java
│ │ │ │ ├── aop
│ │ │ │ └── StateAspect.java
│ │ │ │ ├── async
│ │ │ │ ├── TimeWasteBean.java
│ │ │ │ └── TimeWasteBeanChild.java
│ │ │ │ ├── extension
│ │ │ │ ├── bean
│ │ │ │ │ ├── IExtension.java
│ │ │ │ │ ├── IExtensionImpl.java
│ │ │ │ │ ├── SimpleSpringBean.java
│ │ │ │ │ ├── SimpleSpringListBean.java
│ │ │ │ │ ├── SimpleSpringMapBean.java
│ │ │ │ │ └── SimpleSpringMapBeanWithXObject.java
│ │ │ │ └── descriptor
│ │ │ │ │ ├── ClientExtensionDescriptor.java
│ │ │ │ │ ├── ContextExtensionDescriptor.java
│ │ │ │ │ ├── ListExtensionDescriptor.java
│ │ │ │ │ ├── MapExtensionDescriptor.java
│ │ │ │ │ ├── ParentExtensionDescriptor.java
│ │ │ │ │ ├── SimpleExtensionDescriptor.java
│ │ │ │ │ ├── SpringListExtensionDescriptor.java
│ │ │ │ │ ├── SpringMapExtensionDescriptor.java
│ │ │ │ │ ├── SpringSimpleExtensionDescriptor.java
│ │ │ │ │ ├── SubExtensionDescriptor.java
│ │ │ │ │ └── XMapTestDescriptor.java
│ │ │ │ ├── impl
│ │ │ │ ├── ClientFactoryAwareBean.java
│ │ │ │ ├── SampleServiceImpl.java
│ │ │ │ ├── ServiceWithoutInterface.java
│ │ │ │ └── SofaServiceBeanService.java
│ │ │ │ ├── proxy
│ │ │ │ ├── ProxyTestBeanFacade.java
│ │ │ │ ├── ProxyTestBeanFactoryPostProcessor.java
│ │ │ │ ├── ProxyTestBeanImpl.java
│ │ │ │ └── ProxyTestPostProcessor.java
│ │ │ │ └── service
│ │ │ │ ├── SampleNoService.java
│ │ │ │ └── SampleService.java
│ │ └── resources
│ │ │ ├── config
│ │ │ └── application.properties
│ │ │ ├── logback.xml
│ │ │ └── spring
│ │ │ ├── async
│ │ │ └── async-test.xml
│ │ │ ├── extension
│ │ │ ├── extension-xmap.xml
│ │ │ ├── extension.xml
│ │ │ └── test-extension.xml
│ │ │ ├── proxy
│ │ │ └── proxy.xml
│ │ │ ├── reference
│ │ │ └── test-reference.xml
│ │ │ └── service
│ │ │ └── test-service.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── smoke
│ │ └── tests
│ │ └── runtime
│ │ ├── async
│ │ ├── AsyncInitTests.java
│ │ └── AsyncInitVirtualThreadTests.java
│ │ ├── ext
│ │ └── ExtensionTests.java
│ │ ├── filter
│ │ ├── JvmFilterTestConfiguration.java
│ │ └── JvmFilterTests.java
│ │ ├── impl
│ │ ├── ClientFactoryImplTests.java
│ │ └── ComponentManagerTests.java
│ │ ├── proxy
│ │ ├── ProxyBeanFactoryPostProcessorTests.java
│ │ └── TestProxyConfiguration.java
│ │ ├── spi
│ │ └── binding
│ │ │ └── SofaBindingTests.java
│ │ └── spring
│ │ ├── ReferenceRequireTests.java
│ │ ├── RepeatableSofaServiceTests.java
│ │ ├── SofaBeanLazyInitTests.java
│ │ ├── SofaReferenceAnnotationTests.java
│ │ ├── SofaRuntimeAwareProcessorTests.java
│ │ ├── SofaServiceAnnotationTests.java
│ │ ├── SofaServiceBeanAnnotationTests.java
│ │ ├── SofaServicePublishTests.java
│ │ └── factory
│ │ └── SofaFactoryBeanTests.java
│ ├── sofa-boot-smoke-tests-test
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── alipay
│ │ │ │ └── sofa
│ │ │ │ └── smoke
│ │ │ │ └── tests
│ │ │ │ └── test
│ │ │ │ ├── TestSofaBootApplication.java
│ │ │ │ └── mock
│ │ │ │ └── injector
│ │ │ │ ├── ExampleExtraInterface.java
│ │ │ │ ├── ExampleService.java
│ │ │ │ ├── ExampleServiceCaller.java
│ │ │ │ ├── ExampleServiceCallerInterface.java
│ │ │ │ └── RealExampleService.java
│ │ └── resources
│ │ │ ├── config
│ │ │ └── application.properties
│ │ │ └── logback.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── alipay
│ │ └── sofa
│ │ └── smoke
│ │ └── tests
│ │ └── test
│ │ └── mock
│ │ └── injector
│ │ ├── InjectMockToAopProxyBeanTests.java
│ │ ├── InjectMockToFactoryBeanTests.java
│ │ ├── InjectMockToGenericBeanExtensionTests.java
│ │ ├── InjectMockToGenericBeanTestBase.java
│ │ ├── InjectMockToNormalBeanTests.java
│ │ ├── InjectSpyToAopProxyBeanTests.java
│ │ ├── InjectSpyToFactoryBeanTests.java
│ │ ├── InjectSpyToNormalBeanTests.java
│ │ └── InjectSpyWithJdkProxyTests.java
│ └── sofa-boot-smoke-tests-tracer
│ ├── pom.xml
│ └── src
│ ├── main
│ ├── java
│ │ └── com
│ │ │ └── alipay
│ │ │ └── sofa
│ │ │ └── smoke
│ │ │ └── tests
│ │ │ └── tracer
│ │ │ ├── TracerSofaBootApplication.java
│ │ │ └── sample
│ │ │ ├── DataSourceConfiguration.java
│ │ │ ├── RestTemplateConfiguration.java
│ │ │ └── TracerController.java
│ └── resources
│ │ ├── application-async.properties
│ │ ├── application-config.properties
│ │ ├── application-configerror.properties
│ │ ├── application-feign.properties
│ │ ├── application-flexible.properties
│ │ ├── application-init.properties
│ │ ├── application-json.properties
│ │ ├── application-non-json.properties
│ │ ├── application-ribbon.properties
│ │ ├── application-tracer.properties
│ │ ├── application-zipkin.properties
│ │ ├── application.properties
│ │ ├── hikariDataSource.xml
│ │ └── logback.xml
│ └── test
│ └── java
│ └── com
│ └── alipay
│ └── sofa
│ └── smoke
│ └── tests
│ └── tracer
│ ├── TracerDataSourceTests.java
│ └── TracerMvcTests.java
└── tools
├── Formatter.xml
├── HEADER
├── check-style.xml
├── check_format.sh
└── pmd-ruleset.xml
/.github/workflows/cloud_code_scan.yml:
--------------------------------------------------------------------------------
1 | name: Alipay Cloud Devops Codescan
2 | on:
3 | pull_request_target:
4 | jobs:
5 | stc: # Code security scanning
6 | runs-on: ubuntu-latest
7 | steps:
8 | - name: codeScan
9 | uses: layotto/alipay-cloud-devops-codescan@main
10 | with:
11 | parent_uid: ${{ secrets.ALI_PID }}
12 | private_key: ${{ secrets.ALI_PK }}
13 | scan_type: stc
14 | sca: # Open source compliance scanning
15 | runs-on: ubuntu-latest
16 | steps:
17 | - name: codeScan
18 | uses: layotto/alipay-cloud-devops-codescan@main
19 | with:
20 | parent_uid: ${{ secrets.ALI_PID }}
21 | private_key: ${{ secrets.ALI_PK }}
22 | scan_type: sca
23 |
--------------------------------------------------------------------------------
/.github/workflows/maven.yml:
--------------------------------------------------------------------------------
1 | # This workflow will build a Java project with Maven
2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3 |
4 | name: Build And Test
5 |
6 | on:
7 | push:
8 | branches:
9 | - '**'
10 | pull_request:
11 | branches:
12 | - '**'
13 |
14 | jobs:
15 | build:
16 | runs-on: ubuntu-22.04
17 | strategy:
18 | matrix:
19 | jdk: [17, 21]
20 | steps:
21 | - uses: actions/checkout@v4
22 | - name: Set up JDK
23 | uses: actions/setup-java@v4
24 | with:
25 | distribution: 'temurin'
26 | java-version: ${{ matrix.jdk }}
27 | - name: Install Zookeeper
28 | run: echo "Install Zookeeper 3.5.6"
29 | && wget https://archive.apache.org/dist/zookeeper/zookeeper-3.5.6/apache-zookeeper-3.5.6-bin.tar.gz
30 | && tar -zxf apache-zookeeper-3.5.6-bin.tar.gz
31 | && mv apache-zookeeper-3.5.6-bin/conf/zoo_sample.cfg apache-zookeeper-3.5.6-bin/conf/zoo.cfg
32 | && /bin/bash apache-zookeeper-3.5.6-bin/bin/zkServer.sh start
33 | - name: Build with Maven
34 | run: mvn clean install -B -V
35 | && sh ./tools/check_format.sh
36 | - name: Codecov
37 | uses: codecov/codecov-action@v4
38 | with:
39 | token: ${{ secrets.CODECOV_TOKEN }}
40 | fail_ci_if_error: true
41 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | # This workflow will build and release a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3 |
4 | name: Release
5 |
6 | on:
7 | workflow_dispatch:
8 |
9 |
10 | jobs:
11 | release:
12 | runs-on: ubuntu-latest
13 | steps:
14 | - uses: actions/checkout@v4
15 | - name: Set up JDK 17
16 | uses: actions/setup-java@v4
17 | with:
18 | java-version: '17'
19 | distribution: 'temurin'
20 | cache: maven
21 | server-id: ossrh
22 | server-username: MAVEN_USERNAME
23 | server-password: MAVEN_PASSWORD
24 | gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25 | gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
26 | - name: Build with Maven
27 | run: mvn --batch-mode deploy -DskipTests -Prelease
28 | env:
29 | MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
30 | MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
31 | MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
32 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target
2 | bin
3 | bak
4 | .pmd
5 | .project
6 | .settings
7 | .classpath
8 | .idea.xml
9 | .idea
10 | *.class
11 | *.bak
12 | *.iml
13 | *.ipr
14 | *.iws
15 | bak
16 | null/
17 | tree.log
18 | tmp/
19 | velocity.log
20 | .DS_Store
21 | logs
22 | .m2
23 | **/.flattened-pom.xml
24 | *.log
25 |
26 | # gradle related ignore in sub directories
27 | .gradle
28 | build
29 | out
30 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Reporting a Vulnerability
4 |
5 | If you have apprehensions regarding SOFAStack's security or you discover vulnerability or potential threat, don’t hesitate to get in touch with us by dropping a mail at sofastack@antgroup.com.
6 |
7 | In the mail, specify the description of the issue or potential threat. You are also urged to recommend the way to reproduce and replicate the issue. The SOFAStack community will get back to you after assessing and analysing the findings.
8 |
9 | PLEASE PAY ATTENTION to report the security issue on the security email before disclosing it on public domain.
10 |
--------------------------------------------------------------------------------
/codecov.yml:
--------------------------------------------------------------------------------
1 | ignore:
2 | - "pom.xml"
--------------------------------------------------------------------------------
/sofa-boot-project/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 | com.alipay.sofa
8 | sofa-boot-build
9 | ${revision}
10 |
11 |
12 | sofa-boot-project
13 | pom
14 |
15 |
16 | sofa-boot
17 | sofa-boot-autoconfigure
18 | sofa-boot-actuator
19 | sofa-boot-actuator-autoconfigure
20 | sofa-boot-starters
21 | sofa-boot-tools
22 | sofa-boot-core
23 |
24 | sofaboot-dependencies
25 |
26 | sofa-boot-parent
27 |
28 |
29 |
30 | ${basedir}/..
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.boot.actuator.autoconfigure.beans.IsleBeansEndpointAutoConfiguration
2 | com.alipay.sofa.boot.actuator.autoconfigure.components.ComponentsEndpointAutoConfiguration
3 | com.alipay.sofa.boot.actuator.autoconfigure.health.ReadinessAutoConfiguration
4 | com.alipay.sofa.boot.actuator.autoconfigure.health.ReadinessIsleAutoConfiguration
5 | com.alipay.sofa.boot.actuator.autoconfigure.health.ReadinessEndpointAutoConfiguration
6 | com.alipay.sofa.boot.actuator.autoconfigure.health.ReadinessRuntimeAutoConfiguration
7 | com.alipay.sofa.boot.actuator.autoconfigure.health.ManualReadinessCallbackEndpointAutoConfiguration
8 | com.alipay.sofa.boot.actuator.autoconfigure.startup.StartupEndPointAutoConfiguration
9 | com.alipay.sofa.boot.actuator.autoconfigure.rpc.RpcActuatorAutoConfiguration
10 | com.alipay.sofa.boot.actuator.autoconfigure.isle.IsleEndpointAutoConfiguration
11 | com.alipay.sofa.boot.actuator.autoconfigure.threadpool.ThreadPoolEndpointAutoConfiguration
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator-autoconfigure/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/main/java/com/alipay/sofa/boot/actuator/health/HealthCheckException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.actuator.health;
18 |
19 | /**
20 | * Exception thrown to indicate a HealthCheck fail.
21 | *
22 | * @author Alaneuler
23 | * Created on 2020/5/18
24 | */
25 | public class HealthCheckException extends RuntimeException {
26 |
27 | public HealthCheckException(String message) {
28 | super(message);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/main/java/com/alipay/sofa/boot/actuator/health/NonReadinessCheck.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.actuator.health;
18 |
19 | /**
20 | * Mark a Health Indicator which would be not invoked during readiness check.
21 | *
22 | * @author qilong.zql
23 | * @since 3.2.0
24 | */
25 | public interface NonReadinessCheck {
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/java/com/alipay/sofa/boot/actuator/sample/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.actuator.sample;
18 |
19 | /**
20 | * @author huzijie
21 | * @version SampleService.java, v 0.1 2023年04月24日 10:58 AM huzijie Exp $
22 | */
23 | public interface SampleService {
24 |
25 | String hello();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/java/com/alipay/sofa/boot/actuator/sample/SampleServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.actuator.sample;
18 |
19 | /**
20 | * @author huzijie
21 | * @version SampleServiceImpl.java, v 0.1 2023年04月24日 10:59 AM huzijie Exp $
22 | */
23 | public class SampleServiceImpl implements SampleService {
24 | @Override
25 | public String hello() {
26 | return "hello";
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/resources/META-INF/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=testModule
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.context.ApplicationContextInitializer=com.alipay.sofa.smoke.tests.actuator.startup.spring.StartupInitializer
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/resources/application-health.properties:
--------------------------------------------------------------------------------
1 | spring.application.name="HealthCheckInsulatorTest"
2 | com.alipay.sofa.boot.health-check-insulator=true
3 | spring.main.web-application-type=none
4 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=StartupTest
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-actuator/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/rpc/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | /**
18 | * Auto-Configuration for Sofa rpc
19 | */
20 | package com.alipay.sofa.boot.autoconfigure.rpc;
21 |
22 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-autoconfigure/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | # AutoConfigurationImportListener
2 | org.springframework.boot.autoconfigure.AutoConfigurationImportListener=\
3 | com.alipay.sofa.boot.autoconfigure.detect.LegacyAutoConfigurationDetectListener
4 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.boot.autoconfigure.runtime.SofaRuntimeAutoConfiguration
2 | com.alipay.sofa.boot.autoconfigure.isle.SofaModuleAutoConfiguration
3 | com.alipay.sofa.boot.autoconfigure.rpc.SofaRpcAutoConfiguration
4 | com.alipay.sofa.boot.autoconfigure.tracer.SofaTracerAutoConfiguration
5 | com.alipay.sofa.boot.autoconfigure.tracer.datasource.DataSourceAutoConfiguration
6 | com.alipay.sofa.boot.autoconfigure.tracer.zipkin.ZipkinAutoConfiguration
7 | com.alipay.sofa.boot.autoconfigure.tracer.resttemplate.RestTemplateAutoConfiguration
8 | com.alipay.sofa.boot.autoconfigure.tracer.kafka.KafkaAutoConfiguration
9 | com.alipay.sofa.boot.autoconfigure.tracer.rabbitmq.RabbitMqAutoConfiguration
10 | com.alipay.sofa.boot.autoconfigure.tracer.rocketmq.RocketMqAutoConfiguration
11 | com.alipay.sofa.boot.autoconfigure.tracer.springmessage.SpringMessageAutoConfiguration
12 | com.alipay.sofa.boot.autoconfigure.tracer.redis.RedisAutoConfiguration
13 | com.alipay.sofa.boot.autoconfigure.tracer.mongo.MongoAutoConfiguration
14 | com.alipay.sofa.boot.autoconfigure.tracer.flexible.FlexibleAutoConfiguration
15 | com.alipay.sofa.boot.autoconfigure.tracer.springmvc.OpenTracingSpringMvcAutoConfiguration
16 | com.alipay.sofa.boot.autoconfigure.tracer.feign.FeignClientAutoConfiguration
17 | com.alipay.sofa.boot.autoconfigure.ark.SofaArkAutoConfiguration
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-autoconfigure/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/ark-sofa-boot/src/test/java/com/alipay/sofa/boot/ark/sample/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.ark.sample;
18 |
19 | /**
20 | * @author huzijie
21 | * @version SampleService.java, v 0.1 2023年04月06日 2:38 PM huzijie Exp $
22 | */
23 | public interface SampleService {
24 |
25 | String hello();
26 |
27 | Pojo transform(Pojo pojo);
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-core
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | isle-sofa-boot
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/Child1.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/10/14
22 | */
23 | public class Child1 {
24 | public void sleepInit() {
25 | try {
26 | Thread.sleep(10);
27 | } catch (Exception e) {
28 | //
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/Child3.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/10/14
22 | */
23 | public class Child3 {
24 | public void sleepInit() {
25 | try {
26 | Thread.sleep(40);
27 | } catch (Exception e) {
28 | //
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/GrandChild1.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/10/14
22 | */
23 | public class GrandChild1 {
24 | public void sleepInit() {
25 | try {
26 | Thread.sleep(20);
27 | } catch (Exception e) {
28 | //
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/GrandChild2.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/10/14
22 | */
23 | public class GrandChild2 {
24 | public void sleepInit() {
25 | try {
26 | Thread.sleep(20);
27 | } catch (Exception e) {
28 | //
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/GrandChild3.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/10/14
22 | */
23 | public class GrandChild3 {
24 | public void sleepInit() {
25 | try {
26 | Thread.sleep(20);
27 | } catch (Exception e) {
28 | //
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/java/com/alipay/sofa/boot/isle/service/IService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.isle.service;
18 |
19 | /**
20 | * @author guaner.zzx
21 | * Created on 2019/11/27
22 | */
23 | public interface IService {
24 | String say();
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/META-INF/spring/spring1.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sofastack/sofa-boot/8d789d7facf3cc3b12b2a5f2d7c3831f438ba349/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/META-INF/spring/spring1.xml
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/META-INF/spring/spring2.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sofastack/sofa-boot/8d789d7facf3cc3b12b2a5f2d7c3831f438ba349/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/META-INF/spring/spring2.xml
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/module.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sofastack/sofa-boot/8d789d7facf3cc3b12b2a5f2d7c3831f438ba349/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/module.jar
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/test-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/white space/META-INF/spring/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/test/resources/white space/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.white
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/common/SofaBootRpcRuntimeException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.common;
18 |
19 | /**
20 | *
21 | * SOFABoot RPC 运行时异常
22 | *
23 | * @author LiWei
24 | */
25 | public class SofaBootRpcRuntimeException extends RuntimeException {
26 |
27 | public SofaBootRpcRuntimeException(String s) {
28 | super(s);
29 | }
30 |
31 | public SofaBootRpcRuntimeException(String s, Throwable throwable) {
32 | super(s, throwable);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/config/RegistryConfigureProcessor.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.config;
18 |
19 | import com.alipay.sofa.rpc.config.RegistryConfig;
20 |
21 | /**
22 | * @author bystander
23 | * @version $Id: RegistryConfigureProcessor.java, v 0.1 2018年08月09日 12:10 PM bystander Exp $
24 | */
25 | public interface RegistryConfigureProcessor {
26 |
27 | public RegistryConfig buildFromAddress(String address);
28 |
29 | public String registryType();
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/container/ProviderConfigDelayRegisterChecker.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.container;
18 |
19 | /**
20 | * 用于判断是否允许延迟服务发布至注册中心的扩展点
21 | */
22 | public interface ProviderConfigDelayRegisterChecker {
23 |
24 | /**
25 | * 是否允许注册服务到注册中心
26 | *
27 | * @return
28 | */
29 | boolean allowRegister();
30 | }
31 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/container/package-info.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | /**
18 | * Created by liangen on 18/4/14.
19 | */
20 | /**
21 | * @author LiangEn
22 | * @version $Id: PushChannelController.java,v 0.1 18/4/14 LiangEn Exp $
23 | */
24 | package com.alipay.sofa.rpc.boot.container;
25 |
26 | /* 该包只放编程界面解析后的RPC上层组件配置 */
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/log/LoggerConstant.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.log;
18 |
19 | /**
20 | * @author zhaowang
21 | * @version : LoggerConstant.java, v 0.1 2020年09月08日 2:16 下午 zhaowang Exp $
22 | */
23 | public class LoggerConstant {
24 |
25 | public static final String BOLT_THREAD_LOGGER_NAME = "RPC-BOLT-THREADPOOL";
26 | public static final String TRIPLE_THREAD_LOGGER_NAME = "RPC-TRIPLE-THREADPOOL";
27 | public static final String CUSTOM_THREAD_LOGGER_NAME = "RPC-CUSTOM-THREADPOOL";
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/adapter/BoltBindingAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.adapter;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author LiWei
25 | */
26 | public class BoltBindingAdapter extends RpcBindingAdapter {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.BOLT_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/adapter/HttpBindingAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.adapter;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author HuangSheng
25 | */
26 | public class HttpBindingAdapter extends RpcBindingAdapter {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.HTTP_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/adapter/RestBindingAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.adapter;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author LiWei
25 | */
26 | public class RestBindingAdapter extends RpcBindingAdapter {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.REST_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/adapter/processor/ConsumerConfigProcessor.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.adapter.processor;
18 |
19 | import com.alipay.sofa.rpc.config.ConsumerConfig;
20 |
21 | /**
22 | * @author zhaowang
23 | * @version : ConsumerConfigProcessor.java, v 0.1 2020年03月11日 10:34 上午 zhaowang Exp $
24 | */
25 | public interface ConsumerConfigProcessor {
26 |
27 | void processorConsumer(ConsumerConfig consumerConfig);
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/adapter/processor/ProviderConfigProcessor.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.adapter.processor;
18 |
19 | import com.alipay.sofa.rpc.config.ProviderConfig;
20 |
21 | /**
22 | * @author zhaowang
23 | * @version : ProviderConfigProcessor.java, v 0.1 2020年03月11日 10:34 上午 zhaowang Exp $
24 | */
25 | public interface ProviderConfigProcessor {
26 |
27 | void processorProvider(ProviderConfig providerConfig);
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/param/BoltBindingParam.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.param;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author LiWei
25 | */
26 | public class BoltBindingParam extends RpcBindingParam {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.BOLT_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/param/DubboBindingParam.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.param;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author LiWei
25 | */
26 | public class DubboBindingParam extends RpcBindingParam {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.DUBBO_BINDING_TYPE;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/param/H2cBindingParam.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.param;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author zhiyuan.lzy
25 | */
26 | public class H2cBindingParam extends RpcBindingParam {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.H2C_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/param/HttpBindingParam.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.param;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author HuangSheng
25 | */
26 | public class HttpBindingParam extends RpcBindingParam {
27 |
28 | @Override
29 | public BindingType getBindingType() {
30 | return RpcBindingType.HTTP_BINDING_TYPE;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/param/RestBindingParam.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.runtime.param;
18 |
19 | import com.alipay.sofa.rpc.boot.runtime.binding.RpcBindingType;
20 | import com.alipay.sofa.runtime.api.binding.BindingType;
21 |
22 | /**
23 | *
24 | * @author LiWei
25 | */
26 | public class RestBindingParam extends RpcBindingParam {
27 | @Override
28 | public BindingType getBindingType() {
29 | return RpcBindingType.REST_BINDING_TYPE;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/swagger/SwaggerService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.rpc.boot.swagger;
18 |
19 | import javax.ws.rs.GET;
20 | import javax.ws.rs.Path;
21 | import javax.ws.rs.Produces;
22 |
23 | /**
24 | * A swagger service to provide the swagger open API.
25 | *
26 | * @author khotyn
27 | */
28 | @Path("swagger")
29 | public interface SwaggerService {
30 | @GET
31 | @Path("openapi")
32 | @Produces("application/json")
33 | String openapi();
34 | }
35 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.context.ApplicationListener=\
2 | com.alipay.sofa.rpc.boot.context.RpcEnvironmentApplicationListener
3 |
4 | com.alipay.sofa.boot.spring.namespace.spi.SofaBootTagNameSupport=\
5 | com.alipay.sofa.rpc.boot.runtime.parser.GlobalFilterParser
6 |
7 | com.alipay.sofa.runtime.spi.binding.BindingAdapter=\
8 | com.alipay.sofa.rpc.boot.runtime.adapter.BoltBindingAdapter,\
9 | com.alipay.sofa.rpc.boot.runtime.adapter.RestBindingAdapter,\
10 | com.alipay.sofa.rpc.boot.runtime.adapter.DubboBindingAdapter,\
11 | com.alipay.sofa.rpc.boot.runtime.adapter.H2cBindingAdapter,\
12 | com.alipay.sofa.rpc.boot.runtime.adapter.HttpBindingAdapter,\
13 | com.alipay.sofa.rpc.boot.runtime.adapter.TripleBindingAdapter
14 |
15 | com.alipay.sofa.runtime.spi.service.BindingConverter=\
16 | com.alipay.sofa.rpc.boot.runtime.converter.BoltBindingConverter,\
17 | com.alipay.sofa.rpc.boot.runtime.converter.RestBindingConverter,\
18 | com.alipay.sofa.rpc.boot.runtime.converter.DubboBindingConverter,\
19 | com.alipay.sofa.rpc.boot.runtime.converter.H2cBindingConverter,\
20 | com.alipay.sofa.rpc.boot.runtime.converter.HttpBindingConverter,\
21 | com.alipay.sofa.rpc.boot.runtime.converter.TripleBindingConverter
22 |
23 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-core
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | runtime-sofa-boot
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 |
21 | com.alipay.sofa
22 | sofa-boot
23 |
24 |
25 |
26 | xerces
27 | xercesImpl
28 |
29 |
30 |
31 | commons-io
32 | commons-io
33 | test
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/common/xmap/XGetter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.common.xmap;
18 |
19 | /**
20 | *
21 | * @author xi.hux@alipay.com
22 | * @since 2.6.0
23 | */
24 | public interface XGetter {
25 |
26 | /**
27 | * Get type
28 | *
29 | * @return Class
30 | */
31 | Class> getType();
32 |
33 | /**
34 | * Get value
35 | *
36 | * @throws Exception any exception
37 | */
38 | Object getValue(Object instance) throws Exception;
39 | }
40 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/api/annotation/SofaParameter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.runtime.api.annotation;
18 |
19 | /**
20 | * Annotation to configure parameters.
21 | *
22 | * @author ScienJus
23 | */
24 | public @interface SofaParameter {
25 |
26 | /**
27 | * Parameter key.
28 | * @return key
29 | */
30 | String key();
31 |
32 | /**
33 | * Parameter value.
34 | * @return value
35 | */
36 | String value();
37 | }
38 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/model/InterfaceMode.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.runtime.model;
18 |
19 | /**
20 | * Interface mode, include spring xml, Client Api, Annotation.
21 | *
22 | * @author xuanbei 18/2/28
23 | */
24 | public enum InterfaceMode {
25 |
26 | /**
27 | * SPRING XML
28 | */
29 | spring,
30 |
31 | /**
32 | * SPRING ANNOTATION
33 | */
34 | annotation,
35 |
36 | /**
37 | * API
38 | */
39 | api,
40 | }
41 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/service/binding/JvmBindingInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.runtime.service.binding;
18 |
19 | /**
20 | * Interface used to mark class already wrapped by jvm proxy.
21 | *
22 | * @author huzijie
23 | * @version JvmBindingInterface.java, v 0.1 2022年05月26日 3:25 PM huzijie Exp $
24 | */
25 | public interface JvmBindingInterface {
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/spi/spring/RuntimeShutdownAware.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.runtime.spi.spring;
18 |
19 | /**
20 | * Interface to be implemented by any object that wishes to be trigger when sofa runtime shutdown.
21 | *
22 | * @author qilong.zql
23 | * @author xuanbei
24 | * @since 2.5.0
25 | */
26 | public interface RuntimeShutdownAware {
27 |
28 | /**
29 | * Invoked when the sofa runtime shutdown.
30 | */
31 | void shutdown();
32 | }
33 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | # Initializers
2 | com.alipay.sofa.boot.startup.BeanStatCustomizer=\
3 | com.alipay.sofa.runtime.startup.ComponentBeanStatCustomizer
4 |
5 | com.alipay.sofa.boot.spring.namespace.spi.SofaBootTagNameSupport=\
6 | com.alipay.sofa.runtime.spring.parser.ReferenceDefinitionParser,\
7 | com.alipay.sofa.runtime.spring.parser.ServiceDefinitionParser,\
8 | com.alipay.sofa.runtime.spring.parser.AsyncInitBeanDefinitionDecorator,\
9 | com.alipay.sofa.runtime.ext.spring.parser.ExtensionPointBeanDefinitionParser,\
10 | com.alipay.sofa.runtime.ext.spring.parser.ExtensionBeanDefinitionParser
11 |
12 | com.alipay.sofa.runtime.spi.binding.BindingAdapter=\
13 | com.alipay.sofa.runtime.service.binding.JvmBindingAdapter
14 |
15 | com.alipay.sofa.runtime.spi.service.BindingConverter=\
16 | com.alipay.sofa.runtime.service.binding.JvmBindingConverter
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/test/java/com/alipay/sofa/runtime/sample/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.runtime.sample;
18 |
19 | /**
20 | * @author qilong.zql
21 | * @since 3.2.0
22 | */
23 | public interface SampleService {
24 | String service();
25 |
26 | default String test() {
27 | return "test";
28 | }
29 | }
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/test/resources/config/application-annotation.properties:
--------------------------------------------------------------------------------
1 | # For AnnotationPlaceHolderTest
2 | annotation.sample.service.uniqueId=annotation-sample-service-uniqueId
3 | annotation.sample.service.bindingType=bolt
4 | annotation.sample.service.filter-1=service-filter-1
5 |
6 | annotation.sample.ref.uniqueId=sample-reference-uniqueId
7 | annotation.sample.ref.bindingType=bolt
8 | annotation.sample.ref.filter-1=reference-filter-1
9 | annotation.sample.ref.direct-url=127.0.0.1
10 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/test-sofa-boot/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-core
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | test-sofa-boot
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot
22 |
23 |
24 |
25 | org.springframework.boot
26 | spring-boot-starter-test
27 |
28 |
29 |
30 | com.alipay.sofa
31 | isle-sofa-boot
32 | provided
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | # Add TestExecutionListener
2 | org.springframework.test.context.TestExecutionListener=com.alipay.sofa.test.mock.injector.InjectorMockTestExecutionListener
3 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/test-sofa-boot/src/test/java/com/alipay/sofa/test/mock/injector/example/ExampleExtraInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.test.mock.injector.example;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ExampleExtraInterface.java, v 0.1 2023年08月21日 3:18 PM huzijie Exp $
22 | */
23 | public interface ExampleExtraInterface {
24 |
25 | void doExtra();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/test-sofa-boot/src/test/java/com/alipay/sofa/test/mock/injector/example/ExampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.test.mock.injector.example;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ExampleService.java, v 0.1 2023年08月21日 3:14 PM huzijie Exp $
22 | */
23 | public interface ExampleService {
24 |
25 | String greeting();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-core/tracer-sofa-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.context.ApplicationListener=com.alipay.sofa.boot.autoconfigure.tracer.SofaTracerConfigurationListener
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/actuator-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | com.alipay.sofa
7 | sofa-boot-starters
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | actuator-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | sofa-boot-actuator-autoconfigure
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/actuator-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/ark-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | com.alipay.sofa
7 | sofa-boot-starters
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | ark-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | ark-sofa-boot
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/ark-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/isle-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | com.alipay.sofa
7 | sofa-boot-starters
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | isle-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | isle-sofa-boot
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/isle-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/rpc-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-starters
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | rpc-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | rpc-sofa-boot
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/rpc-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/runtime-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | com.alipay.sofa
7 | sofa-boot-starters
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot
22 |
23 |
24 |
25 | com.alipay.sofa
26 | sofa-boot-autoconfigure
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/test-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | com.alipay.sofa
7 | sofa-boot-starters
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | test-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | test-sofa-boot
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/test-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/tracer-sofa-boot-starter/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-starters
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | tracer-sofa-boot-starter
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | tracer-sofa-boot
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-starters/tracer-sofa-boot-starter/src/main/resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Jar-Type: dependencies-starter
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-parent
7 | com.alipay.sofa
8 | ${revision}
9 | ../sofa-boot-parent
10 |
11 | 4.0.0
12 | pom
13 |
14 | sofa-boot-tools
15 |
16 |
17 | sofa-boot-gradle-plugin
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sofastack/sofa-boot/8d789d7facf3cc3b12b2a5f2d7c3831f438ba349/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'sofa-boot-gradle-plugin'
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/src/main/java/com/alipay/sofa/boot/gradle/plugin/Marker.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.gradle.plugin;
18 |
19 | /**
20 | * A marker class for {@link org.springframework.boot.gradle.plugin.SofaBootPlugin}
21 | * to get SOFABoot version.
22 | *
23 | * @author khotyn
24 | */
25 | public class Marker {
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot-tools/sofa-boot-gradle-plugin/src/test/resources/com/alipay/sofa/boot/gradle/plugin/DependencyManagementPluginActionIntegrationTests.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'java'
3 | id 'com.alipay.sofa.boot' version '{version}'
4 | }
5 |
6 | if (project.hasProperty('applyDependencyManagementPlugin')) {
7 | apply plugin: 'io.spring.dependency-management'
8 | dependencyManagement {
9 | resolutionStrategy {
10 | eachDependency {
11 | if (it.requested.group == 'com.alipay.sofa') {
12 | it.useVersion project.bootVersion
13 | }
14 | }
15 | }
16 | }
17 | }
18 |
19 | repositories {
20 | mavenLocal()
21 | }
22 |
23 | task hasDependencyManagement {
24 | doLast {
25 | if (!dependencyManagement.managedVersions) {
26 | throw new GradleException('No managed versions have been configured')
27 | } else {
28 | if (!dependencyManagement.managedVersions["com.alipay.sofa:runtime-sofa-boot-starter"].equals(project.bootVersion)) {
29 | throw new GradleException("runtime-sofa-boot-starter's version is not " + project.bootVersion)
30 | }
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/annotation/WrapperAnnotation.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.annotation;
18 |
19 | /**
20 | * Interface to make class already wrapped by {@link AnnotationWrapper}.
21 | *
22 | * @author qilong.zql
23 | * @since 2.5.2
24 | */
25 | public interface WrapperAnnotation {
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/CompatibilityPredicate.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.compatibility;
18 |
19 | /**
20 | * Interface for Predicate compatibility verify result, for form spring cloud.
21 | *
22 | * @author huzijie
23 | * @version CompatibilityPredicate.java, v 0.1 2023年08月03日 4:35 PM huzijie Exp $
24 | */
25 | public interface CompatibilityPredicate {
26 |
27 | /**
28 | * whether is compatible
29 | * @return compatible result
30 | */
31 | boolean isCompatible();
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/CompatibilityVerifier.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.compatibility;
18 |
19 | /**
20 | * Interface for compatibility verifier, for form spring cloud.
21 | *
22 | * @author huzijie
23 | * @version CompatibilityVerifier.java, v 0.1 2023年08月03日 4:08 PM huzijie Exp $
24 | */
25 | public interface CompatibilityVerifier {
26 |
27 | /**
28 | * verify compatibility
29 | * @return verify result
30 | */
31 | VerificationResult verify();
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/spring/namespace/spi/SofaBootTagNameSupport.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.spring.namespace.spi;
18 |
19 | /**
20 | * Interface to register spi to register bean definition parser.
21 | *
22 | * @author yangguanchao
23 | * @since 2018/04/05
24 | */
25 | @FunctionalInterface
26 | public interface SofaBootTagNameSupport {
27 |
28 | /**
29 | * get supported tag name
30 | * @return tag name
31 | */
32 | String supportTagName();
33 | }
34 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | # EnvironmentPostProcessor
2 | org.springframework.boot.env.EnvironmentPostProcessor=\
3 | com.alipay.sofa.boot.env.SofaBootEnvironmentPostProcessor,\
4 | com.alipay.sofa.boot.logging.LogEnvironmentPostProcessor,\
5 | com.alipay.sofa.boot.env.ScenesEnvironmentPostProcessor
6 |
7 |
8 | # SpringApplicationListener
9 | org.springframework.context.ApplicationListener=com.alipay.sofa.boot.listener.SpringCloudConfigListener,\
10 | com.alipay.sofa.boot.listener.SofaConfigSourceSupportListener
11 |
12 | # Startup Listeners
13 | org.springframework.boot.SpringApplicationRunListener=\
14 | com.alipay.sofa.boot.startup.StartupSpringApplicationRunListener
15 |
16 | # Initializers
17 | org.springframework.context.ApplicationContextInitializer=\
18 | com.alipay.sofa.boot.compatibility.CompatibilityVerifierApplicationContextInitializer,\
19 | com.alipay.sofa.boot.Initializer.AutoModuleExportApplicationContextInitializer
20 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/META-INF/spring.handlers:
--------------------------------------------------------------------------------
1 | http\://sofastack.io/schema/sofaboot=com.alipay.sofa.boot.spring.namespace.handler.SofaBootNamespaceHandler
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/META-INF/spring.schemas:
--------------------------------------------------------------------------------
1 | http\://sofastack.io/schema/sofaboot.xsd=/com/alipay/sofa/boot/spring/namespace/schema/sofaboot.xsd
2 | http\://sofastack.io/schema/rpc.xsd=/com/alipay/sofa/boot/spring/namespace/schema/rpc.xsd
3 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/banner.txt:
--------------------------------------------------------------------------------
1 | ${AnsiColor.BRIGHT_GREEN}
2 | ,---. ,-----. ,------. ,---. ,-----. ,--.
3 | ' .-' ' .-. ' | .---' / O \ | |) /_ ,---. ,---. ,-' '-.
4 | `. `-. | | | | | `--, | .-. | | .-. \ | .-. | | .-. | '-. .-'
5 | .-' | ' '-' ' | |` | | | | | '--' / ' '-' ' ' '-' ' | |
6 | `-----' `-----' `--' `--' `--' `------' `---' `---' `--'
7 |
8 | ${AnsiColor.BRIGHT_RED}
9 | Spring Boot Version: ${spring-boot.version}${spring-boot.formatted-version}
10 | SOFABoot Version: ${sofa-boot.version}${sofa-boot.formatted-version}
11 | Powered By Ant Group
12 | ${AnsiColor.DEFAULT}
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/sofa-boot/log/log4j2/config.properties:
--------------------------------------------------------------------------------
1 | console.prefix=com.alipay.sofa.boot,com.alipay.sofa.runtime,com.alipay.sofa.common.xmap
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/main/resources/sofa-boot/log/logback/config.properties:
--------------------------------------------------------------------------------
1 | console.prefix=com.alipay.sofa.boot,com.alipay.sofa.runtime,com.alipay.sofa.common.xmap
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/test/java/com/alipay/sofa/boot/spring/namespace/TestNormalBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.boot.spring.namespace;
18 |
19 | import com.alipay.sofa.boot.spring.namespace.spi.SofaBootTagNameSupport;
20 |
21 | /**
22 | * @author huzijie
23 | * @version TestNormalBean.java, v 0.1 2023年02月01日 11:53 AM huzijie Exp $
24 | */
25 | public class TestNormalBean implements SofaBootTagNameSupport {
26 |
27 | @Override
28 | public String supportTagName() {
29 | return "test-normal";
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/test/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.boot.spring.namespace.spi.SofaBootTagNameSupport=\
2 | com.alipay.sofa.boot.spring.namespace.TestBeanDefinitionDecorator,\
3 | com.alipay.sofa.boot.spring.namespace.TestBeanDefinitionParser,\
4 | com.alipay.sofa.boot.spring.namespace.TestNormalBean
5 |
6 | com.alipay.sofa.boot.compatibility.CompatibilityVerifier=\
7 | com.alipay.sofa.boot.compatibility.TestCompatibilityVerifier
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/test/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/test/resources/sofa-boot/scenes/function.properties:
--------------------------------------------------------------------------------
1 | sofa.boot.switch.bean.functionBean.enabled=false
2 |
--------------------------------------------------------------------------------
/sofa-boot-project/sofa-boot/src/test/resources/sofa-boot/scenes/function.yml:
--------------------------------------------------------------------------------
1 | sofa:
2 | boot:
3 | switch:
4 | bean:
5 | functionFeature2Bean:
6 | enabled: false
7 | functionFeature3Bean:
8 | enabled: true
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/java/com/alipay/sofa/smoke/tests/actuator/sample/beans/ChildBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.actuator.sample.beans;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ChildBean.java, v 0.1 2021年01月04日 9:14 下午 huzijie Exp $
22 | */
23 | public class ChildBean {
24 |
25 | public static final int CHILD_INIT_TIME = 50;
26 |
27 | public void init() throws InterruptedException {
28 | Thread.sleep(CHILD_INIT_TIME);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/java/com/alipay/sofa/smoke/tests/actuator/sample/beans/DefaultTestService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.actuator.sample.beans;
18 |
19 | /**
20 | * @author huzijie
21 | * @version DefaultTestService.java, v 0.1 2023年01月04日 5:09 PM huzijie Exp $
22 | */
23 | public class DefaultTestService implements TestService {
24 | @Override
25 | public void test() {
26 |
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/java/com/alipay/sofa/smoke/tests/actuator/sample/beans/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.actuator.sample.beans;
18 |
19 | /**
20 | * @author Zhijie
21 | * @since 2020/7/13
22 | */
23 | public interface SampleService {
24 | String service();
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/java/com/alipay/sofa/smoke/tests/actuator/sample/beans/TestService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.actuator.sample.beans;
18 |
19 | /**
20 | * @author huzijie
21 | * @version TestService.java, v 0.1 2021年01月05日 10:30 上午 huzijie Exp $
22 | */
23 | public interface TestService {
24 |
25 | void test();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.context.ApplicationContextInitializer=com.alipay.sofa.smoke.tests.actuator.sample.spring.StartupInitializer
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-actuator
2 | logging.path=./logs
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/src/main/resources/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=testModule
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-smoke-tests
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-smoke-tests-ark
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 |
21 | com.alipay.sofa
22 | ark-sofa-boot-starter
23 |
24 |
25 |
26 | com.alipay.sofa
27 | actuator-sofa-boot-starter
28 |
29 |
30 |
31 | com.alipay.sofa
32 | sofa-ark-container
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-ark
2 | logging.path=./logs
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/src/main/resources/sofa-boot-ark-plugin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sofastack/sofa-boot/8d789d7facf3cc3b12b2a5f2d7c3831f438ba349/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/src/main/resources/sofa-boot-ark-plugin.jar
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-smoke-tests
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-smoke-tests-boot
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 | org.springframework.cloud
25 | spring-cloud-starter-bootstrap
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.context.ApplicationContextInitializer=\
2 | com.alipay.sofa.smoke.tests.boot.SampleSpringContextInitializer
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/config/application-dev.properties:
--------------------------------------------------------------------------------
1 | sofa.boot.switch.bean.functionBean.enabled=true
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one or more
3 | # contributor license agreements. See the NOTICE file distributed with
4 | # this work for additional information regarding copyright ownership.
5 | # The ASF licenses this file to You under the Apache License, Version 2.0
6 | # (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | spring.application.name=smoke-tests-boot
19 | logging.path=./logs
20 | logging.level.com.alipay.test=INFO
21 | logging.level.com.test.demo=WARN
22 |
23 | any.key=any.value
24 |
25 |
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/sofa-boot/scenes/function.properties:
--------------------------------------------------------------------------------
1 | sofa.boot.switch.bean.functionBean.enabled=false
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/main/resources/sofa-boot/scenes/function.yml:
--------------------------------------------------------------------------------
1 | sofa:
2 | boot:
3 | switch:
4 | bean:
5 | functionFeature2Bean:
6 | enabled: false
7 | functionFeature3Bean:
8 | enabled: true
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/test/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
2 | com.alipay.sofa.smoke.tests.boot.LegacyAutoConfigurationDetectListenerTests$LegacyAutoConfiguration,\
3 | com.alipay.sofa.smoke.tests.boot.LegacyAutoConfigurationDetectListenerTests$BothAutoConfiguration
4 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/src/test/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.smoke.tests.boot.LegacyAutoConfigurationDetectListenerTests$BothAutoConfiguration
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-smoke-tests
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-smoke-tests-isle
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | isle-sofa-boot-starter
22 |
23 |
24 |
25 | com.alipay.sofa
26 | actuator-sofa-boot-starter
27 |
28 |
29 |
30 | org.springframework.boot
31 | spring-boot-starter-web
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/java/com/alipay/sofa/smoke/tests/isle/ExceptionBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.isle;
18 |
19 | import org.springframework.beans.factory.InitializingBean;
20 |
21 | /**
22 | * @author huzijie
23 | * @version ExceptionBean.java, v 0.1 2023年02月03日 11:21 AM huzijie Exp $
24 | */
25 | public class ExceptionBean implements InitializingBean {
26 |
27 | @Override
28 | public void afterPropertiesSet() throws Exception {
29 | throw new RuntimeException("Init fail");
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/java/com/alipay/sofa/smoke/tests/isle/SampleBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.isle;
18 |
19 | /**
20 | * @author huzijie
21 | * @version SampleBean.java, v 0.1 2023年02月03日 11:21 AM huzijie Exp $
22 | */
23 | public class SampleBean {
24 | }
25 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/child-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/child-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.child
2 | Spring-Parent=com.alipay.sofa.sample
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-isle
2 | logging.path=./logs
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/dev-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/dev-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.dev
2 | Module-Profile=dev
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/duplicate-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/duplicate-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.sample
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/fail-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/fail-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.fail
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/miss-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/miss-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.miss
2 | Require-Module=com.alipay.sofa.notExist
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/nospring-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.no-spring
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/nospringchild-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/nospringchild-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.no-spring-child
2 | Spring-Parent=com.alipay.sofa.no-spring
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/sample-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/sample-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.sample
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/test-module/META-INF/spring/service.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/main/resources/test-module/sofa-module.properties:
--------------------------------------------------------------------------------
1 | Module-Name=com.alipay.sofa.test
2 | Module-Profile=test
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/test/java/com/alipay/sofa/smoke/tests/isle/util/AddCustomJar.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.isle.util;
18 |
19 | import java.lang.annotation.ElementType;
20 | import java.lang.annotation.Retention;
21 | import java.lang.annotation.RetentionPolicy;
22 | import java.lang.annotation.Target;
23 |
24 | /**
25 | * @author ruoshan
26 | * @since 2.6.0
27 | */
28 | @Retention(RetentionPolicy.RUNTIME)
29 | @Target(ElementType.TYPE)
30 | public @interface AddCustomJar {
31 |
32 | String[] value();
33 |
34 | }
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/src/test/resources/META-INF/spring.factories:
--------------------------------------------------------------------------------
1 | org.springframework.test.context.ContextCustomizerFactory = \
2 | com.alipay.sofa.smoke.tests.isle.model.CustomModelContextCustomizerFactory
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/SampleFacade.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean;
18 |
19 | /**
20 | * rest service interface
21 | * the get, post, delete, put method each deal with the function of query info, add info, delete info and update info
22 | *
23 | * @author LiWei
24 | */
25 | public interface SampleFacade {
26 |
27 | String sayHi(String string);
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/SampleFacadeImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class SampleFacadeImpl implements SampleFacade {
23 | @Override
24 | public String sayHi(String string) {
25 | return "hi " + string + "!";
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean;
18 |
19 | /**
20 | * @author qilong.zql
21 | * @since 3.2.0
22 | */
23 | public interface SampleService {
24 | String echoStr(String name);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/annotation/AnnotationService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.annotation;
18 |
19 | /**
20 | * @author qilong.zql
21 | * @since 3.2.0
22 | */
23 | public interface AnnotationService {
24 | String hello();
25 |
26 | String testTimeout(long millis);
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/connectionnum/ConnectionNumServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.connectionnum;
18 |
19 | public class ConnectionNumServiceImpl implements ConnectionNumService {
20 | @Override
21 | public String sayConnectionNum(String string) {
22 | return string;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/delayregister/DelayRegisterService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.delayregister;
18 |
19 | /**
20 | * @author chengming
21 | * @version DelayRegisterService.java, v 0.1 2024年02月26日 3:37 PM chengming
22 | */
23 | public interface DelayRegisterService {
24 |
25 | String sayHello(String string);
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/delayregister/DelayRegisterServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.delayregister;
18 |
19 | /**
20 | * @author chengming
21 | * @version DelayRegisterServiceImpl.java, v 0.1 2024年02月26日 3:39 PM chengming
22 | */
23 | public class DelayRegisterServiceImpl implements DelayRegisterService {
24 |
25 | @Override
26 | public String sayHello(String string) {
27 | return string;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/direct/DirectService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.direct;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface DirectService {
23 |
24 | String sayDirect(String string);
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/direct/DirectServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.direct;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class DirectServiceImpl implements DirectService {
23 | @Override
24 | public String sayDirect(String string) {
25 | return string;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/dubbo/DubboService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.dubbo;
18 |
19 | /**
20 | * @author liangen
21 | * @version $Id: DubboService.java, v 0.1 2018年04月15日 下午6:27 liangen Exp $
22 | */
23 | public interface DubboService {
24 |
25 | String sayDubbo(String string);
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/dubbo/DubboServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.dubbo;
18 |
19 | /**
20 | * @author liangen
21 | * @version $Id: DubboServiceImpl.java, v 0.1 2018年04月15日 下午6:28 liangen Exp $
22 | */
23 | public class DubboServiceImpl implements DubboService {
24 | @Override
25 | public String sayDubbo(String string) {
26 | return string;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/filter/FilterService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.filter;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface FilterService {
23 |
24 | String sayFilter(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/filter/FilterServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.filter;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class FilterServiceImpl implements FilterService {
23 | @Override
24 | public String sayFilter(String string) {
25 | return string;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/generic/GenericService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.generic;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface GenericService {
23 |
24 | GenericResultModel sayGeneric(GenericParamModel sampleGenericParamModel);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/globalfilter/GlobalFilterService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.globalfilter;
18 |
19 | /**
20 | * rest service interface
21 | * the get, post, delete, put method each deal with the function of query info, add info, delete info and update info
22 | *
23 | * @author LiWei
24 | */
25 | public interface GlobalFilterService {
26 |
27 | String sayGlobalFilter(String string);
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/globalfilter/GlobalFilterServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.globalfilter;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class GlobalFilterServiceImpl implements GlobalFilterService {
23 | @Override
24 | public String sayGlobalFilter(String string) {
25 | return string;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloCallbackService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface HelloCallbackService {
23 |
24 | String sayCallback(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloCallbackServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class HelloCallbackServiceImpl implements HelloCallbackService {
23 | @Override
24 | public String sayCallback(String string) {
25 | return string;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloFutureService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface HelloFutureService {
23 |
24 | String sayFuture(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloFutureServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class HelloFutureServiceImpl implements HelloFutureService {
23 | @Override
24 | public String sayFuture(String string) {
25 | return string;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloSyncService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface HelloSyncService {
23 |
24 | String saySync(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/invoke/HelloSyncServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.invoke;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class HelloSyncServiceImpl implements HelloSyncService {
23 |
24 | @Override
25 | public String saySync(String string) {
26 | return string;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/lazy/LazyService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.lazy;
18 |
19 | /**
20 | * @author LiWei.Liangen
21 | * @version $Id: LazyService.java, v 0.1 2018年04月26日 下午5:57 LiWei.Liangen Exp $
22 | */
23 | public interface LazyService {
24 |
25 | String sayLazy(String string);
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/lazy/LazyServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.lazy;
18 |
19 | /**
20 | * @author LiWei.Liangen
21 | * @version $Id: LazyServiceImpl.java, v 0.1 2018年04月26日 下午5:58 LiWei.Liangen Exp $
22 | */
23 | public class LazyServiceImpl implements LazyService {
24 | @Override
25 | public String sayLazy(String string) {
26 | return string;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/misc/MethodElementInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.misc;
18 |
19 | /**
20 | *
21 | * @author elseifer
22 | * @version $Id: MethodElementInterface.java, v 0.1 2020年09月09日 下午3:29 elseifer Exp $
23 | */
24 | public interface MethodElementInterface {
25 | String service();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/misc/MethodElementInterfaceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.misc;
18 |
19 | /**
20 | *
21 | * @author elseifer
22 | * @version $Id: WhateverClass2.java, v 0.1 2020年09月09日 下午3:26 elseifer Exp $
23 | */
24 | public class MethodElementInterfaceImpl implements MethodElementInterface {
25 | @Override
26 | public String service() {
27 | return "method element";
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/misc/WhateverClass.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.misc;
18 |
19 | /**
20 | * @author guaner.zzx
21 | * Created on 2019/12/18
22 | */
23 | public class WhateverClass implements WhateverInterface {
24 | @Override
25 | public String say() {
26 | return "whatever";
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/misc/WhateverInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.misc;
18 |
19 | /**
20 | * @author guaner.zzx
21 | * Created on 2019/12/18
22 | */
23 | public interface WhateverInterface {
24 | String say();
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/registry/MultiRegistryService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.registry;
18 |
19 | /**
20 | * @author zhiyuan.lzy
21 | */
22 | public interface MultiRegistryService {
23 |
24 | String saySync(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/registry/MultiRegistryServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.registry;
18 |
19 | /**
20 | * @author zhiyuan.lzy
21 | */
22 | public class MultiRegistryServiceImpl implements MultiRegistryService {
23 |
24 | @Override
25 | public String saySync(String string) {
26 | return string;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/rest/RestServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.rest;
18 |
19 | /**
20 | * @author liangen
21 | * @version $Id: RestServiceImpl.java, v 0.1 2018年04月15日 下午5:38 liangen Exp $
22 | */
23 | public class RestServiceImpl implements RestService {
24 | @Override
25 | public String sayRest(String string) {
26 | return "rest";
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/retry/RetriesService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.retry;
18 |
19 | /**
20 | * @author LiWei.Liangen
21 | * @version $Id: RetryService.java, v 0.1 2018年04月26日 下午3:06 LiWei.Liangen Exp $
22 | */
23 | public interface RetriesService {
24 |
25 | String sayRetry(String string) throws InterruptedException;
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/threadpool/ThreadPoolService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.threadpool;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public interface ThreadPoolService {
23 |
24 | String sayThreadPool(String string);
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/java/com/alipay/sofa/smoke/tests/rpc/boot/bean/threadpool/ThreadPoolServiceImpl.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.rpc.boot.bean.threadpool;
18 |
19 | /**
20 | * @author LiWei
21 | */
22 | public class ThreadPoolServiceImpl implements ThreadPoolService {
23 | @Override
24 | public String sayThreadPool(String string) {
25 | return string + "[" + Thread.currentThread().getName() + "]";
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/META-INF/sofa-rpc/rpc-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "default.proxy": "javassist",
3 | "rpc.config.order": 1000,
4 | "consumer.address.wait": 1
5 | }
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-test-rpc
2 | logging.path=./logs
3 | sofa.boot.rpc.registry.address=zookeeper://127.0.0.1:2181
4 | logging.level.root=info
5 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/application.yml:
--------------------------------------------------------------------------------
1 | sofa:
2 | boot:
3 | scenes:
4 | enable: function,cloud
5 |
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/readiness.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/shutdown.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_delay_register.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_mesh.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_mock.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_mock_bean.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_one.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_reference.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_only_registry.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-smoke-tests
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-smoke-tests-runtime
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | runtime-sofa-boot-starter
22 |
23 |
24 | org.aspectj
25 | aspectjweaver
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/async/TimeWasteBeanChild.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.async;
18 |
19 | import com.alipay.sofa.runtime.api.annotation.SofaAsyncInit;
20 |
21 | /**
22 | * @author huzijie
23 | * @version TimeWasteBeanChild.java, v 0.1 2023年02月02日 2:26 PM huzijie Exp $
24 | */
25 | @SofaAsyncInit
26 | class TimeWasteBeanChild extends TimeWasteBean {
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/extension/bean/SimpleSpringBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.extension.bean;
18 |
19 | /**
20 | *
21 | * @author ruoshan
22 | * @since 2.6.0
23 | */
24 | public class SimpleSpringBean {
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/extension/bean/SimpleSpringListBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.extension.bean;
18 |
19 | /**
20 | *
21 | * @author ruoshan
22 | * @since 2.6.0
23 | */
24 | public class SimpleSpringListBean {
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/extension/bean/SimpleSpringMapBean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.extension.bean;
18 |
19 | /**
20 | *
21 | * @author ruoshan
22 | * @since 2.6.0
23 | */
24 | public class SimpleSpringMapBean {
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/extension/bean/SimpleSpringMapBeanWithXObject.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.extension.bean;
18 |
19 | import com.alipay.sofa.common.xmap.annotation.XObject;
20 |
21 | /**
22 | *
23 | * @author ruoshan
24 | * @since 2.6.0
25 | */
26 | @XObject("springMap")
27 | public class SimpleSpringMapBeanWithXObject {
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/impl/ServiceWithoutInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.impl;
18 |
19 | import com.alipay.sofa.runtime.api.annotation.SofaService;
20 |
21 | /**
22 | * @author xuanbei
23 | * @since 2.4.5
24 | */
25 | @SofaService(uniqueId = "serviceWithoutInterface")
26 | public class ServiceWithoutInterface {
27 | public String service() {
28 | return "ServiceWithoutInterface";
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/proxy/ProxyTestBeanFacade.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.proxy;
18 |
19 | /**
20 | *
21 | * @author ruoshan
22 | * @since 2.6.1
23 | */
24 | public interface ProxyTestBeanFacade {
25 |
26 | boolean isPostProcessed();
27 |
28 | void setPostProcessed(boolean postProcessed);
29 | }
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/service/SampleNoService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.service;
18 |
19 | /**
20 | *
21 | * @author huzijie
22 | * @version SampleNoService.java, v 0.1 2022年05月26日 4:24 PM huzijie Exp $
23 | */
24 | public class SampleNoService {
25 | }
26 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/java/com/alipay/sofa/smoke/tests/runtime/service/SampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.runtime.service;
18 |
19 | /**
20 | * @author Alaneuler
21 | * Created on 2020/8/18
22 | */
23 | public interface SampleService {
24 |
25 | String service();
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-runtime
2 | logging.path=./logs
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/resources/spring/extension/extension-xmap.xml:
--------------------------------------------------------------------------------
1 |
2 | xmaptest
3 | test1
4 | test2
5 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/resources/spring/extension/extension.xml:
--------------------------------------------------------------------------------
1 |
2 | SOFABoot Extension Client Test
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/src/main/resources/spring/reference/test-reference.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | sofa-boot-smoke-tests
7 | com.alipay.sofa
8 | ${revision}
9 |
10 | 4.0.0
11 |
12 | sofa-boot-smoke-tests-test
13 |
14 |
15 | ${basedir}/../../..
16 |
17 |
18 |
19 |
20 | com.alipay.sofa
21 | sofa-boot-starter
22 |
23 |
24 | com.alipay.sofa
25 | test-sofa-boot-starter
26 | test
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/src/main/java/com/alipay/sofa/smoke/tests/test/mock/injector/ExampleExtraInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.test.mock.injector;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ExampleExtraInterface.java, v 0.1 2023年08月21日 3:18 PM huzijie Exp $
22 | */
23 | public interface ExampleExtraInterface {
24 |
25 | void doExtra();
26 | }
27 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/src/main/java/com/alipay/sofa/smoke/tests/test/mock/injector/ExampleService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.test.mock.injector;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ExampleService.java, v 0.1 2023年08月21日 3:14 PM huzijie Exp $
22 | */
23 | public interface ExampleService {
24 |
25 | String greeting();
26 |
27 | String hello();
28 | }
29 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/src/main/java/com/alipay/sofa/smoke/tests/test/mock/injector/ExampleServiceCallerInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.alipay.sofa.smoke.tests.test.mock.injector;
18 |
19 | /**
20 | * @author huzijie
21 | * @version ExampleServiceCallerInterface.java, v 0.1 2023年08月21日 3:16 PM huzijie Exp $
22 | */
23 | public interface ExampleServiceCallerInterface {
24 |
25 | String sayGreeting();
26 |
27 | String sayHello();
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/src/main/resources/config/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-test
2 | logging.path=./logs
3 |
4 |
5 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-async.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one or more
3 | # contributor license agreements. See the NOTICE file distributed with
4 | # this work for additional information regarding copyright ownership.
5 | # The ASF licenses this file to You under the Apache License, Version 2.0
6 | # (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | spring.application.name=SpringMvcAsyncServlet
19 |
20 | #default 60s and now reset to 1
21 | com.alipay.sofa.tracer.statLogInterval=1
22 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-config.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=test-app-name
2 | com.alipay.sofa.tracer.disableDigestLog=true
3 | com.alipay.sofa.tracer.disableConfiguration[k1]=v1
4 | com.alipay.sofa.tracer.disableConfiguration[k2]=v2
5 | com.alipay.sofa.tracer.tracerGlobalRollingPolicy='.'yyyy-MM-dd_HH
6 | com.alipay.sofa.tracer.tracerGlobalLogReserveDay=1
7 | com.alipay.sofa.tracer.statLogInterval=1
8 | com.alipay.sofa.tracer.baggageMaxLength=1
9 | logging.path=./logs
10 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-configerror.properties:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.tracer.test.xxx=xxx
2 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-feign.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=feign-client
2 | server.port=8085
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-flexible.properties:
--------------------------------------------------------------------------------
1 | com.alipay.sofa.tracer.reporter-name=com.alipay.sofa.tracer.boot.flexible.TestReporter
2 | spring.application.name=flexibel-app
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-init.properties:
--------------------------------------------------------------------------------
1 | logging.path1=./logs
2 | spring.application.name=test-app-name
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-json.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=SpringMvcJsonOutput
2 |
3 | #默认 60 秒统计日志输出一次,这里设置为 1s,方便测试
4 | com.alipay.sofa.tracer.statLogInterval=1
5 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-non-json.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one or more
3 | # contributor license agreements. See the NOTICE file distributed with
4 | # this work for additional information regarding copyright ownership.
5 | # The ASF licenses this file to You under the Apache License, Version 2.0
6 | # (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | spring.application.name=test-mvc
19 | com.alipay.sofa.tracer.jsonOutput=false
20 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-ribbon.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=ribbon-client
2 | server.port=8890
3 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-tracer.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=test-app-name
2 | # disable
3 | com.alipay.sofa.tracer.disableDigestLog=false
4 | # map
5 | com.alipay.sofa.tracer.disableConfiguration[logType]=true
6 | com.alipay.sofa.tracer.disableConfiguration[component-digest.log]=true
7 | com.alipay.sofa.tracer.disableConfiguration[spring-mvc-digest.log]=true
8 | com.alipay.sofa.tracer.tracerGlobalRollingPolicy=.yyyy-MM-dd
9 | com.alipay.sofa.tracer.tracerGlobalLogReserveDay=8
10 | # stat interval 70s
11 | com.alipay.sofa.tracer.statLogInterval=70
12 | com.alipay.sofa.tracer.baggageMaxLength=2048
13 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application-zipkin.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=zipkin-client
2 | com.alipay.sofa.tracer.springmvc.jsonOutput=false
3 | com.alipay.sofa.tracer.zipkin.enabled=true
4 | com.alipay.sofa.tracer.zipkin.baseUrl=http://localhost:9411
5 | com.alipay.sofa.tracer.zipkin.gzipped=true
6 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/application.properties:
--------------------------------------------------------------------------------
1 | spring.application.name=smoke-tests-tracer
2 | logging.path=./logs
3 |
4 | spring.datasource.url=jdbc:mysql://localhost:3306/sofa
5 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver
6 | spring.datasource.username=xxxx
7 | spring.datasource.password=xxxx
8 | spring.datasource.type=com.zaxxer.hikari.HikariDataSource
9 | spring.datasource.hikari.minimum-idle=3
10 | spring.datasource.hikari.maximum-pool-size=5
11 | spring.datasource.hikari.idle-timeout=30000
12 | spring.datasource.hikari.pool-name=SofaHikariCPDatasource
13 | spring.datasource.hikari.max-lifetime=1800000
14 | spring.datasource.hikari.connection-timeout=30000
15 | spring.datasource.hikari.connection-test-query=SELECT 1
16 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/hikariDataSource.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger{36}.%M - %msg%n
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/tools/HEADER:
--------------------------------------------------------------------------------
1 | Licensed to the Apache Software Foundation (ASF) under one or more
2 | contributor license agreements. See the NOTICE file distributed with
3 | this work for additional information regarding copyright ownership.
4 | The ASF licenses this file to You under the Apache License, Version 2.0
5 | (the "License"); you may not use this file except in compliance with
6 | the License. You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
--------------------------------------------------------------------------------
/tools/check-style.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/tools/check_format.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | BASEDIR=$(dirname $0)
4 |
5 | cd ${BASEDIR}
6 |
7 | # make sure git has no un commit files
8 | if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
9 | echo "Please commit your change before run this shell, un commit files:"
10 | git status --untracked-files=no --porcelain
11 | exit -1
12 | fi
--------------------------------------------------------------------------------