docs:update license.

Haotian Zhang 2 months ago
parent 13fb401577
commit d8252f3cc4

@ -3,7 +3,7 @@ header:
content: |
Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
Copyright (C) 2021 Tencent. All rights reserved.
Licensed under the BSD 3-Clause License (the "License");
you may not use this file except in compliance with the License.

@ -1,6 +1,6 @@
Tencent is pleased to support the open source community by making spring-cloud-tencent available.
Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
Copyright (C) 2021 Tencent. All rights reserved.
A spring-cloud-tencent is licensed under the BSD 3-Clause License. A copy of the BSD 3-Clause License is included in this file.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.metadata.core;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -35,6 +35,8 @@ import org.springframework.cloud.client.circuitbreaker.CircuitBreakerFactory;
public class PolarisCircuitBreakerFactory
extends CircuitBreakerFactory<PolarisCircuitBreakerConfigBuilder.PolarisCircuitBreakerConfiguration, PolarisCircuitBreakerConfigBuilder> {
private final CircuitBreakAPI circuitBreakAPI;
private final ConsumerAPI consumerAPI;
private Function<String, PolarisCircuitBreakerConfigBuilder.PolarisCircuitBreakerConfiguration> defaultConfiguration =
id -> {
String[] metadata = PolarisCircuitBreakerUtils.resolveCircuitBreakerId(id);
@ -45,11 +47,6 @@ public class PolarisCircuitBreakerFactory
.build();
};
private final CircuitBreakAPI circuitBreakAPI;
private final ConsumerAPI consumerAPI;
public PolarisCircuitBreakerFactory(CircuitBreakAPI circuitBreakAPI, ConsumerAPI consumerAPI) {
this.circuitBreakAPI = circuitBreakAPI;
this.consumerAPI = consumerAPI;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -35,6 +35,8 @@ import org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFac
public class ReactivePolarisCircuitBreakerFactory extends
ReactiveCircuitBreakerFactory<PolarisCircuitBreakerConfigBuilder.PolarisCircuitBreakerConfiguration, PolarisCircuitBreakerConfigBuilder> {
private final CircuitBreakAPI circuitBreakAPI;
private final ConsumerAPI consumerAPI;
private Function<String, PolarisCircuitBreakerConfigBuilder.PolarisCircuitBreakerConfiguration> defaultConfiguration =
id -> {
String[] metadata = PolarisCircuitBreakerUtils.resolveCircuitBreakerId(id);
@ -45,10 +47,6 @@ public class ReactivePolarisCircuitBreakerFactory extends
.build();
};
private final CircuitBreakAPI circuitBreakAPI;
private final ConsumerAPI consumerAPI;
public ReactivePolarisCircuitBreakerFactory(CircuitBreakAPI circuitBreakAPI, ConsumerAPI consumerAPI) {
this.circuitBreakAPI = circuitBreakAPI;
this.consumerAPI = consumerAPI;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -71,7 +71,8 @@ public class ExceptionCircuitBreakerReporter implements EnhancedPlugin {
}
EnhancedRequestContext request = context.getRequest();
ServiceInstance serviceInstance = Optional.ofNullable(context.getTargetServiceInstance()).orElse(new DefaultServiceInstance());
ServiceInstance serviceInstance = Optional.ofNullable(context.getTargetServiceInstance())
.orElse(new DefaultServiceInstance());
ResourceStat resourceStat = PolarisEnhancedPluginUtils.createInstanceResourceStat(
serviceInstance.getServiceId(),
@ -84,7 +85,8 @@ public class ExceptionCircuitBreakerReporter implements EnhancedPlugin {
);
LOG.debug("Will report CircuitBreaker ResourceStat of {}. Request=[{} {}]. Response=[{}]. Delay=[{}]ms.",
resourceStat.getRetStatus().name(), request.getHttpMethod().name(), request.getUrl().getPath(), context.getThrowable().getMessage(), context.getDelay());
resourceStat.getRetStatus().name(), request.getHttpMethod().name(), request.getUrl()
.getPath(), context.getThrowable().getMessage(), context.getDelay());
circuitBreakAPI.report(resourceStat);

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -73,7 +73,8 @@ public class SuccessCircuitBreakerReporter implements EnhancedPlugin {
}
EnhancedRequestContext request = context.getRequest();
EnhancedResponseContext response = context.getResponse();
ServiceInstance serviceInstance = Optional.ofNullable(context.getTargetServiceInstance()).orElse(new DefaultServiceInstance());
ServiceInstance serviceInstance = Optional.ofNullable(context.getTargetServiceInstance())
.orElse(new DefaultServiceInstance());
ResourceStat resourceStat = PolarisEnhancedPluginUtils.createInstanceResourceStat(
serviceInstance.getServiceId(),
@ -86,7 +87,8 @@ public class SuccessCircuitBreakerReporter implements EnhancedPlugin {
);
LOG.debug("Will report CircuitBreaker ResourceStat of {}. Request=[{} {}]. Response=[{}]. Delay=[{}]ms.",
resourceStat.getRetStatus().name(), request.getHttpMethod().name(), request.getUrl().getPath(), response.getHttpStatus(), context.getDelay());
resourceStat.getRetStatus().name(), request.getHttpMethod().name(), request.getUrl()
.getPath(), response.getHttpStatus(), context.getDelay());
circuitBreakAPI.report(resourceStat);
}

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -40,17 +40,17 @@ import org.springframework.web.client.RestTemplate;
public class PolarisCircuitBreakerRestTemplateBeanPostProcessor implements MergedBeanDefinitionPostProcessor {
private final ApplicationContext applicationContext;
private final ConcurrentHashMap<String, PolarisCircuitBreaker> cache = new ConcurrentHashMap<>();
public PolarisCircuitBreakerRestTemplateBeanPostProcessor(ApplicationContext applicationContext) {
this.applicationContext = applicationContext;
}
private final ConcurrentHashMap<String, PolarisCircuitBreaker> cache = new ConcurrentHashMap<>();
private void checkPolarisCircuitBreakerRestTemplate(PolarisCircuitBreaker polarisCircuitBreaker) {
if (
StringUtils.hasText(polarisCircuitBreaker.fallback()) &&
!PolarisCircuitBreakerFallback.class.toGenericString().equals(polarisCircuitBreaker.fallbackClass().toGenericString())
!PolarisCircuitBreakerFallback.class.toGenericString()
.equals(polarisCircuitBreaker.fallbackClass().toGenericString())
) {
throw new IllegalArgumentException("PolarisCircuitBreaker's fallback and fallbackClass could not set at sametime !");
}

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -84,7 +84,8 @@ public class PolarisCircuitBreakerRestTemplateInterceptor implements ClientHttpR
CircuitBreakerStatus.FallbackInfo fallbackInfo = new CircuitBreakerStatus.FallbackInfo(200, null, polarisCircuitBreaker.fallback());
return new PolarisCircuitBreakerHttpResponse(fallbackInfo);
}
if (!PolarisCircuitBreakerFallback.class.toGenericString().equals(polarisCircuitBreaker.fallbackClass().toGenericString())) {
if (!PolarisCircuitBreakerFallback.class.toGenericString()
.equals(polarisCircuitBreaker.fallbackClass().toGenericString())) {
Method method = ReflectionUtils.findMethod(PolarisCircuitBreakerFallback.class, "fallback");
PolarisCircuitBreakerFallback polarisCircuitBreakerFallback = applicationContext.getBean(polarisCircuitBreaker.fallbackClass());
return (PolarisCircuitBreakerHttpResponse) ReflectionUtils.invokeMethod(method, polarisCircuitBreakerFallback);

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -84,11 +84,14 @@ public class PolarisCircuitBreakerMockServerTest {
ServiceKey serviceKey = new ServiceKey(NAMESPACE_TEST, SERVICE_CIRCUIT_BREAKER);
CircuitBreakerProto.CircuitBreakerRule.Builder circuitBreakerRuleBuilder = CircuitBreakerProto.CircuitBreakerRule.newBuilder();
InputStream inputStream = PolarisCircuitBreakerMockServerTest.class.getClassLoader().getResourceAsStream("circuitBreakerRule.json");
String json = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)).lines().collect(Collectors.joining(""));
InputStream inputStream = PolarisCircuitBreakerMockServerTest.class.getClassLoader()
.getResourceAsStream("circuitBreakerRule.json");
String json = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)).lines()
.collect(Collectors.joining(""));
JsonFormat.parser().ignoringUnknownFields().merge(json, circuitBreakerRuleBuilder);
CircuitBreakerProto.CircuitBreakerRule circuitBreakerRule = circuitBreakerRuleBuilder.build();
CircuitBreakerProto.CircuitBreaker circuitBreaker = CircuitBreakerProto.CircuitBreaker.newBuilder().addRules(circuitBreakerRule).build();
CircuitBreakerProto.CircuitBreaker circuitBreaker = CircuitBreakerProto.CircuitBreaker.newBuilder()
.addRules(circuitBreakerRule).build();
namingServer.getNamingService().setCircuitBreaker(serviceKey, circuitBreaker);
}
@ -138,7 +141,8 @@ public class PolarisCircuitBreakerMockServerTest {
assertThat(Mono.error(new RuntimeException("boom")).transform(it -> rcb.run(it, t -> Mono.just("fallback")))
.block()).isEqualTo("fallback");
assertThat(Flux.just("foobar", "hello world").transform(it -> rcb.run(it, t -> Flux.just("fallback", "fallback")))
assertThat(Flux.just("foobar", "hello world")
.transform(it -> rcb.run(it, t -> Flux.just("fallback", "fallback")))
.collectList().block())
.isEqualTo(Arrays.asList("fallback", "fallback"));

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -95,7 +95,4 @@ public class PolarisCircuitBreakerTest {
});
}
}

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -52,6 +52,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@ExtendWith(MockitoExtension.class)
public class ReactivePolarisCircuitBreakerTest {
private static MockedStatic<ApplicationContextAwareUtils> mockedApplicationContextAwareUtils;
private final ApplicationContextRunner reactiveContextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(
PolarisContextAutoConfiguration.class,
@ -60,8 +61,6 @@ public class ReactivePolarisCircuitBreakerTest {
ReactivePolarisCircuitBreakerAutoConfiguration.class))
.withPropertyValues("spring.cloud.polaris.circuitbreaker.enabled=true");
private static MockedStatic<ApplicationContextAwareUtils> mockedApplicationContextAwareUtils;
@BeforeAll
public static void beforeClass() {
mockedApplicationContextAwareUtils = Mockito.mockStatic(ApplicationContextAwareUtils.class);

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -62,9 +62,12 @@ public class PolarisCircuitBreakerEndpointTest {
ruleBuilder.setEnable(true);
ruleBuilder.setLevel(CircuitBreakerProto.Level.METHOD);
CircuitBreakerProto.RuleMatcher.Builder rmBuilder = CircuitBreakerProto.RuleMatcher.newBuilder();
rmBuilder.setDestination(CircuitBreakerProto.RuleMatcher.DestinationService.newBuilder().setNamespace("default").setService("svc2").setMethod(
ModelProto.MatchString.newBuilder().setValue(StringValue.newBuilder().setValue("*").build()).build()).build());
rmBuilder.setSource(CircuitBreakerProto.RuleMatcher.SourceService.newBuilder().setNamespace("*").setService("*").build());
rmBuilder.setDestination(CircuitBreakerProto.RuleMatcher.DestinationService.newBuilder()
.setNamespace("default").setService("svc2").setMethod(
ModelProto.MatchString.newBuilder().setValue(StringValue.newBuilder().setValue("*").build())
.build()).build());
rmBuilder.setSource(CircuitBreakerProto.RuleMatcher.SourceService.newBuilder().setNamespace("*")
.setService("*").build());
ruleBuilder.setRuleMatcher(rmBuilder.build());
return CircuitBreakerProto.CircuitBreaker.newBuilder().addRules(ruleBuilder.build()).build().getRulesList();
});

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -150,7 +150,8 @@ public class PolarisCircuitBreakerRestTemplateIntegrationTest {
Utils.sleepUninterrupted(2000);
assertThat(restTemplateFallbackFromCode2.getForObject("/example/service/b/info", String.class)).isEqualTo("\"this is a fallback class\"");
Utils.sleepUninterrupted(2000);
assertThat(restTemplateFallbackFromCode3.getForEntity("/example/service/b/info", String.class).getStatusCode()).isEqualTo(HttpStatus.OK);
assertThat(restTemplateFallbackFromCode3.getForEntity("/example/service/b/info", String.class)
.getStatusCode()).isEqualTo(HttpStatus.OK);
Utils.sleepUninterrupted(2000);
assertThat(restTemplateFallbackFromCode4.getForObject("/example/service/b/info", String.class)).isEqualTo("fallback");
Utils.sleepUninterrupted(2000);

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.adapter;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.annotation;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.annotation;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.condition;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.condition;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
@ -13,7 +13,6 @@
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
*/
package com.tencent.cloud.polaris.config.config;

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

@ -1,7 +1,7 @@
/*
* Tencent is pleased to support the open source community by making Spring Cloud Tencent available.
* Tencent is pleased to support the open source community by making spring-cloud-tencent available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2021 Tencent. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save