Skip to content

Commit 280b6d0

Browse files
docs:add license checker. (#573)
1 parent f25064c commit 280b6d0

File tree

175 files changed

+1432
-458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+1432
-458
lines changed

.github/workflows/license-checker.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: License checker
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release*
8+
pull_request:
9+
branches:
10+
- main
11+
- release*
12+
jobs:
13+
check-license:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout codes
17+
uses: actions/checkout@v4
18+
- name: Check License Header
19+
uses: apache/skywalking-eyes@v0.4.0

.licenserc.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
header:
2+
license:
3+
content: |
4+
Tencent is pleased to support the open source community by making Polaris available.
5+
6+
Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
7+
8+
Licensed under the BSD 3-Clause License (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
https://opensource.org/licenses/BSD-3-Clause
13+
14+
Unless required by applicable law or agreed to in writing, software distributed
15+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
16+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations under the License.
18+
paths:
19+
- "**/tencent/**"
20+
language:
21+
Java:
22+
extensions:
23+
- ".java"

polaris-auth/polaris-auth-api/src/main/java/com/tencent/polaris/auth/api/core/AuthAPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
55
*
6-
* Licensed under the BSD 3-Clause License (the "License");
7-
* you may not use this file except in compliance with the License.
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
99
*
1010
* https://opensource.org/licenses/BSD-3-Clause

polaris-auth/polaris-auth-api/src/main/java/com/tencent/polaris/auth/api/rpc/AuthRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
55
*
6-
* Licensed under the BSD 3-Clause License (the "License");
7-
* you may not use this file except in compliance with the License.
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
99
*
1010
* https://opensource.org/licenses/BSD-3-Clause

polaris-auth/polaris-auth-api/src/main/java/com/tencent/polaris/auth/api/rpc/AuthResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
55
*
6-
* Licensed under the BSD 3-Clause License (the "License");
7-
* you may not use this file except in compliance with the License.
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
99
*
1010
* https://opensource.org/licenses/BSD-3-Clause

polaris-auth/polaris-auth-client/src/main/java/com/tencent/polaris/auth/client/flow/DefaultAuthFlow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
55
*
6-
* Licensed under the BSD 3-Clause License (the "License");
7-
* you may not use this file except in compliance with the License.
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
88
* You may obtain a copy of the License at
99
*
1010
* https://opensource.org/licenses/BSD-3-Clause

polaris-common/polaris-client/src/main/java/com/tencent/polaris/client/flow/ResourcesResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Tencent is pleased to support the open source community by making Polaris available.
33
*
4-
* Copyright (C) 2019 - 2020. THL A29 Limited, a Tencent company. All rights reserved.
4+
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
55
*
66
* Licensed under the BSD 3-Clause License (the "License");
77
* you may not use this file except in compliance with the License.

polaris-common/polaris-config/src/main/java/com/tencent/polaris/api/config/configuration/ConfigFileConfig.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Tencent is pleased to support the open source community by making Polaris available.
3+
*
4+
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
5+
*
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* https://opensource.org/licenses/BSD-3-Clause
11+
*
12+
* Unless required by applicable law or agreed to in writing, software distributed
13+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
15+
* specific language governing permissions and limitations under the License.
16+
*/
17+
118
package com.tencent.polaris.api.config.configuration;
219

320
import com.tencent.polaris.api.config.verify.Verifier;

polaris-common/polaris-config/src/main/java/com/tencent/polaris/api/config/configuration/ConnectorConfig.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Tencent is pleased to support the open source community by making Polaris available.
3+
*
4+
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
5+
*
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* https://opensource.org/licenses/BSD-3-Clause
11+
*
12+
* Unless required by applicable law or agreed to in writing, software distributed
13+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
15+
* specific language governing permissions and limitations under the License.
16+
*/
17+
118
package com.tencent.polaris.api.config.configuration;
219

320
import com.tencent.polaris.api.config.global.ServerConnectorConfig;

polaris-common/polaris-config/src/main/java/com/tencent/polaris/api/config/consumer/WeightAdjustConfig.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Tencent is pleased to support the open source community by making Polaris available.
3+
*
4+
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
5+
*
6+
* Licensed under the BSD 3-Clause License (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* https://opensource.org/licenses/BSD-3-Clause
11+
*
12+
* Unless required by applicable law or agreed to in writing, software distributed
13+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
15+
* specific language governing permissions and limitations under the License.
16+
*/
17+
118
package com.tencent.polaris.api.config.consumer;
219

320
import java.util.List;

0 commit comments

Comments
 (0)