From d817acab65b190d3cea29f8e9fce0b9875863704 Mon Sep 17 00:00:00 2001 From: "zhenguo.li" Date: Fri, 4 Sep 2026 13:37:52 +0800 Subject: [PATCH] fix(studio): add missing license headers --- tests/cli/test_frontend_deploy_iam_vestack.py | 9 +++++++++ tests/cli/test_vestack_studio_deploy.py | 14 ++++++++++++++ tests/cli/test_vestack_studio_image.py | 14 ++++++++++++++ tests/frontend/server/test_agentkit_clients.py | 14 ++++++++++++++ tests/integrations/test_ve_apig_vestack.py | 14 ++++++++++++++ tests/integrations/test_ve_faas_image.py | 6 ++++++ veadk/cli/frontend_deploy_iam_vestack.py | 9 +++++++++ veadk/cli/frontend_sandbox_managed_tool_vestack.py | 9 +++++++++ veadk/cli/vestack_studio_deploy.py | 9 +++++++++ 9 files changed, 98 insertions(+) diff --git a/tests/cli/test_frontend_deploy_iam_vestack.py b/tests/cli/test_frontend_deploy_iam_vestack.py index eaab9227f..4dcc8dfdf 100644 --- a/tests/cli/test_frontend_deploy_iam_vestack.py +++ b/tests/cli/test_frontend_deploy_iam_vestack.py @@ -2,6 +2,15 @@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. import importlib import json diff --git a/tests/cli/test_vestack_studio_deploy.py b/tests/cli/test_vestack_studio_deploy.py index 93f0d7340..a476e03bc 100644 --- a/tests/cli/test_vestack_studio_deploy.py +++ b/tests/cli/test_vestack_studio_deploy.py @@ -1,3 +1,17 @@ +# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. + from types import SimpleNamespace from unittest.mock import MagicMock diff --git a/tests/cli/test_vestack_studio_image.py b/tests/cli/test_vestack_studio_image.py index 3032f2d50..02813b3fa 100644 --- a/tests/cli/test_vestack_studio_image.py +++ b/tests/cli/test_vestack_studio_image.py @@ -1,3 +1,17 @@ +# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. + from pathlib import Path from veadk.utils.cloud_provider import ( diff --git a/tests/frontend/server/test_agentkit_clients.py b/tests/frontend/server/test_agentkit_clients.py index c4835ea7c..49abc0f4f 100644 --- a/tests/frontend/server/test_agentkit_clients.py +++ b/tests/frontend/server/test_agentkit_clients.py @@ -1,3 +1,17 @@ +# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. + from agentkit.sdk.tools.client import AgentkitToolsClient from frontend.server.agentkit_clients import create_agentkit_client diff --git a/tests/integrations/test_ve_apig_vestack.py b/tests/integrations/test_ve_apig_vestack.py index 00541f813..b1f4fed71 100644 --- a/tests/integrations/test_ve_apig_vestack.py +++ b/tests/integrations/test_ve_apig_vestack.py @@ -1,3 +1,17 @@ +# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. + import json from types import SimpleNamespace from unittest.mock import MagicMock diff --git a/tests/integrations/test_ve_faas_image.py b/tests/integrations/test_ve_faas_image.py index ced3b933c..c7777320b 100644 --- a/tests/integrations/test_ve_faas_image.py +++ b/tests/integrations/test_ve_faas_image.py @@ -5,6 +5,12 @@ # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. from types import SimpleNamespace from unittest.mock import MagicMock diff --git a/veadk/cli/frontend_deploy_iam_vestack.py b/veadk/cli/frontend_deploy_iam_vestack.py index 40c0295c1..dddbd68d8 100644 --- a/veadk/cli/frontend_deploy_iam_vestack.py +++ b/veadk/cli/frontend_deploy_iam_vestack.py @@ -2,6 +2,15 @@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. """VeStack IAM role provisioning for a VeFaaS-hosted Studio.""" diff --git a/veadk/cli/frontend_sandbox_managed_tool_vestack.py b/veadk/cli/frontend_sandbox_managed_tool_vestack.py index 3ef5b9454..98d911389 100644 --- a/veadk/cli/frontend_sandbox_managed_tool_vestack.py +++ b/veadk/cli/frontend_sandbox_managed_tool_vestack.py @@ -2,6 +2,15 @@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. """VeStack per-agent Tool provisioning for Studio Sandbox sessions.""" diff --git a/veadk/cli/vestack_studio_deploy.py b/veadk/cli/vestack_studio_deploy.py index 0516e6104..46a70e1a3 100644 --- a/veadk/cli/vestack_studio_deploy.py +++ b/veadk/cli/vestack_studio_deploy.py @@ -2,6 +2,15 @@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed 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. """Deploy Studio as a VeStack VeFaaS image function behind APIG."""