for release 0.4.0 (#849) master
author邪影oO <ranke@apache.org>
Thu, 18 Nov 2021 08:09:21 +0000 (16:09 +0800)
committerGitHub <noreply@github.com>
Thu, 18 Nov 2021 08:09:21 +0000 (16:09 +0800)
commite2da767d93802f2ba8079f28a71fe5031f19681b
tree3d9e10c169aa5204a69077f3bb084933e47ff90c
parent1bcac959b3f2c669f6b7ca77767050472d4f47f4
for release 0.4.0 (#849)

* set branch protection

* rat exclude ".asf.yaml"

* add master-0.2.0 to branch protection

* Exclude the".flattened-pom.xml" file into the source package (#799)

* Update copyright year (#801)

* fix NPE in ServiceTestUtil.java (#804)

* polish dockerfile for 0.3.0 (#805)

* update dockerfile and enable autotest

* fix test script

* fix zookeeper version

* fix rat

* develop-for-dubbo-3.x branch merge to develop branch (#808)

* [3.0]Add mesh rule route (#789)

* add mesh rule route

* add mesh rule check

* For #756 (#791)

* [ISSUE #760]Application discover support (#807)

* application discover support

* fix checkstyle

* fix ci

* remove useless pom import,modify Chinese comment

* fix UT bug

Co-authored-by: haoyann <1064645534@qq.com>
Co-authored-by: Aaron-boom <55744718+Aaron-boom@users.noreply.github.com>
* Fix generic invoke fail (#810)

* fix generic invoke fail

* fix ci

* Nacos support application discover (#812)

* Fix generic can't invoke repeatedly (#814)

* Reduce nacos mapping service storage (#817)

* optimize some code for RegistryServerSync (#822)

* Fix circular reference (#823)

* Fix service version spell (#824)

* For #756 (#815)

* For #756

* for 830 (#832)

* for 830

* For 830

* For 830

* For 830

* For 830

* For 830

* [Feature] Dubbo Admin provides service mock ability. (#838)

* commit the API

* develop the front page.

* add edit logic

* develop the front page and test.

* ui change

* change the config key and group

* change rule enable to config center.

* update GlobalMockRule update logic.

* remove the GlobalMockRule

* [feature admin mock] move the diver dependency out of the project.

* [feature admin mock] remove the contributor name and date in javadoc.

* [feature admin mock] optimize the delete mock rule step.

* [feature admin mock] fix the dialog cannot be closed when delete successfully.

* [feature admin mock] add the support for h2 database.

* [feature admin mock] rollback to zookeeper registry.

* [feature admin mock] fix properties.

* [feature admin mock] change mock-admin-api maven version.

* [feature admin mock] fix the feedback and add the parameters in docker-compose.

* [feature admin mock] fix the ci problem.

* [feature admin mock] fix the ci problem.

* [feature admin mock] removed unused import.

* [feature admin mock] add license.

* GovernanceConfiguration use dubbo instead DynamicConfiguration (#840)

* GovernanceConfiguration use dubbo instead DynamicConfiguration

* remove useless change

Co-authored-by: wuwen <wuwen.55@aliyun.com>
Co-authored-by: Huang YunKun <htynkn@gmail.com>
Co-authored-by: haoyann <1064645534@qq.com>
Co-authored-by: Aaron-boom <55744718+Aaron-boom@users.noreply.github.com>
Co-authored-by: Wang Chengming <634749869@qq.com>
Co-authored-by: brotherlu-xcq <1285823170@qq.com>
132 files changed:
.asf.yaml [new file with mode: 0644]
NOTICE
README.md
README_ZH.md
docker/0.3.0/Dockerfile
docker/0.3.0/Dockerfile.test [new file with mode: 0644]
docker/0.3.0/docker-compose.test.yml [new file with mode: 0644]
docker/0.3.0/test.sh [new file with mode: 0755]
docker/latest/Dockerfile
docker/stack.yml
dubbo-admin-distribution/src/NOTICE
dubbo-admin-distribution/src/assembly/source-release.xml
dubbo-admin-distribution/src/bin/config/application.properties
dubbo-admin-distribution/src/bin/startup.cmd
dubbo-admin-distribution/src/bin/startup.sh
dubbo-admin-server/pom.xml
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/DubboAdminApplication.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/authentication/InterceptorAuthentication.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/authentication/LoginAuthentication.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/authentication/impl/DefaultPreHandle.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/Constants.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/ServiceTestUtil.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/ServiceTestV3Util.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/SyncUtils.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/YamlParser.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/config/ConfigCenter.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/MeshRouteController.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/MockRuleController.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/ServiceTestController.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/UserController.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/interceptor/AuthInterceptor.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/mapper/MockRuleMapper.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/FullServiceDefinition.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/MethodDefinition.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/MockRule.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/Provider.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/RegistrySource.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/ServiceDefinition.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/domain/TypeDefinition.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/dto/MeshRouteDTO.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/dto/MockRuleDTO.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/dto/ServiceDTO.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/dto/ServiceDetailDTO.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/BaseRule.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/VsDestinationGroup.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/ConnectionPoolSettings.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/DestinationRule.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/DestinationRuleSpec.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/Subset.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/TCPSettings.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/TcpKeepalive.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/TrafficPolicy.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/loadbalance/ConsistentHashLB.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/loadbalance/LoadBalancerSettings.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/destination/loadbalance/SimpleLB.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/DubboMatchRequest.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/DubboRoute.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/DubboRouteDetail.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/VirtualServiceRule.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/VirtualServiceSpec.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/destination/DubboDestination.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/destination/DubboRouteDestination.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/BoolMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/DoubleMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/DoubleRangeMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/DubboAttachmentMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/DubboMethodArg.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/DubboMethodMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/ListBoolMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/ListDoubleMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/ListStringMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/model/store/mesh/virtualservice/match/StringMatch.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/provider/MockServiceProvider.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/GovernanceConfiguration.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/ApolloConfiguration.java [deleted file]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/ConsulConfiguration.java [deleted file]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/MultiDynamicConfiguration.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java [deleted file]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NoOpConfiguration.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/ZookeeperConfiguration.java [deleted file]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/AddressChangeListener.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/AdminMappingListener.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/AdminServiceInstancesChangedListener.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/ServiceMapping.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/impl/NacosServiceMapping.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/impl/NoOpServiceMapping.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/mapping/impl/ZookeeperServiceMapping.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/MeshRouteService.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/MockRuleService.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/ProviderService.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/RegistryCache.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/RegistryServerSync.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/AbstractService.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/ConsumerServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/GenericServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/InstanceRegistryCache.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/InstanceRegistryQueryHelper.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/InterfaceRegistryCache.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/ManagementServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/MeshRouteServiceImpl.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/MockRuleServiceImpl.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/OverrideServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/ProviderServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/service/impl/RouteServiceImpl.java
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/utils/JwtTokenUtil.java [new file with mode: 0644]
dubbo-admin-server/src/main/java/org/apache/dubbo/admin/utils/SpringBeanUtils.java [new file with mode: 0644]
dubbo-admin-server/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.admin.authentication.InterceptorAuthentication [new file with mode: 0644]
dubbo-admin-server/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.admin.registry.config.GovernanceConfiguration
dubbo-admin-server/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.admin.registry.mapping.ServiceMapping [new file with mode: 0644]
dubbo-admin-server/src/main/resources/application.properties
dubbo-admin-server/src/main/resources/schema.sql [new file with mode: 0644]
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/AbstractSpringIntegrationTest.java
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/controller/ManagementControllerTest.java
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/controller/MeshRouteControllerTest.java [new file with mode: 0644]
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/registry/config/impl/ZookeeperConfigurationTest.java
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/service/RegistryServerSyncTest.java
dubbo-admin-server/src/test/java/org/apache/dubbo/admin/utils/JwtTokenUtilTest.java [new file with mode: 0644]
dubbo-admin-server/src/test/resources/MeshRoute.yml [new file with mode: 0644]
dubbo-admin-server/src/test/resources/MeshRouteTest2.yml [new file with mode: 0644]
dubbo-admin-ui/src/api/menu.js
dubbo-admin-ui/src/components/ServiceDetail.vue
dubbo-admin-ui/src/components/ServiceSearch.vue
dubbo-admin-ui/src/components/governance/MeshRule.vue [new file with mode: 0644]
dubbo-admin-ui/src/components/governance/Overrides.vue
dubbo-admin-ui/src/components/public/Footers.vue
dubbo-admin-ui/src/components/test/ServiceMock.vue
dubbo-admin-ui/src/lang/en.js
dubbo-admin-ui/src/lang/zh.js
dubbo-admin-ui/src/router/index.js
dubbo-admin-ui/src/store/index.js
pom.xml