Skip to content

Commit 0844cb9

Browse files
authored
chore(svc-rabbitmq): update copyright entity in source file headers (#2893)
1 parent 0c82e20 commit 0844cb9

67 files changed

Lines changed: 1225 additions & 1303 deletions

Some content is hidden

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

svc-rabbitmq/VERSION

100755100644
File mode changed.

svc-rabbitmq/manage.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1+
#!/usr/bin/env python
12
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
3+
# TencentBlueKing is pleased to support the open source community by making
4+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5+
# Copyright (C) Tencent. All rights reserved.
6+
# Licensed under the MIT License (the "License"); you may not use this file except
7+
# in compliance with the License. You may obtain a copy of the License at
8+
#
9+
# http://opensource.org/licenses/MIT
10+
#
11+
# Unless required by applicable law or agreed to in writing, software distributed under
12+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13+
# either express or implied. See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
# We undertake not to change the open source license (MIT license) applicable
17+
# to the current version of the project delivered to anyone in the future.
818

9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
1919
import os
2020
import sys
2121

svc-rabbitmq/monitor/__init__.py

100755100644
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
8-
9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.

svc-rabbitmq/monitor/apps.py

100755100644
Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.
817

9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
1918
from django.apps import AppConfig
2019

2120

2221
class MonitorConfig(AppConfig):
23-
name = 'monitor'
22+
name = "monitor"

svc-rabbitmq/monitor/migrations/__init__.py

100755100644
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
8-
9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.

svc-rabbitmq/monitor/urls.py

100755100644
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
8-
9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.
1917

2018
from django.urls import re_path
2119

svc-rabbitmq/monitor/views.py

100755100644
Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
8-
9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.
17+
1918
import prometheus_client
2019
from django.conf import settings
2120
from django.http import HttpResponse, HttpResponseForbidden
@@ -32,8 +31,8 @@ def registry(self):
3231
return prometheus_client.REGISTRY
3332

3433
def get(self, request, *args, **kwargs):
35-
username = request.GET.get(self.key_username, '')
36-
password = request.GET.get(self.key_password, '')
34+
username = request.GET.get(self.key_username, "")
35+
password = request.GET.get(self.key_password, "")
3736
if not (username and password) or password != settings.METRIC_CLIENT_TOKEN_DICT.get(username):
3837
return HttpResponseForbidden(
3938
f"permission denied, no valid {self.key_username}/{self.key_password} provided",

svc-rabbitmq/pyproject.toml

100755100644
File mode changed.

svc-rabbitmq/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
##
33
## TencentBlueKing is pleased to support the open source community by making
44
## 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
## Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
5+
## Copyright (C) Tencent. All rights reserved.
66
## Licensed under the MIT License (the "License"); you may not use this file except
77
## in compliance with the License. You may obtain a copy of the License at
88
##

svc-rabbitmq/svc_rabbitmq/__init__.py

100755100644
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
TencentBlueKing is pleased to support the open source community by making
4-
蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
5-
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
6-
Licensed under the MIT License (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
8-
9-
http://opensource.org/licenses/MIT
10-
11-
Unless required by applicable law or agreed to in writing, software distributed under
12-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13-
either express or implied. See the License for the specific language governing permissions and
14-
limitations under the License.
15-
16-
We undertake not to change the open source license (MIT license) applicable
17-
to the current version of the project delivered to anyone in the future.
18-
"""
2+
# TencentBlueKing is pleased to support the open source community by making
3+
# 蓝鲸智云 - PaaS 平台 (BlueKing - PaaS System) available.
4+
# Copyright (C) Tencent. All rights reserved.
5+
# Licensed under the MIT License (the "License"); you may not use this file except
6+
# in compliance with the License. You may obtain a copy of the License at
7+
#
8+
# http://opensource.org/licenses/MIT
9+
#
10+
# Unless required by applicable law or agreed to in writing, software distributed under
11+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
12+
# either express or implied. See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# We undertake not to change the open source license (MIT license) applicable
16+
# to the current version of the project delivered to anyone in the future.

0 commit comments

Comments
 (0)