js7-client-python 2.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- js7/__init__.py +8 -0
- js7/api/joc/http/v_2_8_2/agent/cluster/confirm_node_loss.py +36 -0
- js7/api/joc/http/v_2_8_2/agent/cluster/switchover.py +36 -0
- js7/api/joc/http/v_2_8_2/agent/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/agents.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/cluster/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/export.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/import.py +74 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/reset.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/inventory/store.py +36 -0
- js7/api/joc/http/v_2_8_2/agents/reset.py +36 -0
- js7/api/joc/http/v_2_8_2/authentication/auth.py +32 -0
- js7/api/joc/http/v_2_8_2/authentication/joc_cockpit_permissions.py +28 -0
- js7/api/joc/http/v_2_8_2/authentication/login.py +35 -0
- js7/api/joc/http/v_2_8_2/authentication/logout.py +28 -0
- js7/api/joc/http/v_2_8_2/configuration/configuration.py +36 -0
- js7/api/joc/http/v_2_8_2/configuration/save.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/abort.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/abort_and_restart.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/appoint_nodes.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/confirm_node_loss.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/cluster/switchover.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/components.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/controller.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/register.py +42 -0
- js7/api/joc/http/v_2_8_2/controller/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/terminate.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/test.py +36 -0
- js7/api/joc/http/v_2_8_2/controller/unregister.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/cancel.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/copy.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/generate.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/modify.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/orders.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/orders/submit.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/calendar.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/dates.py +36 -0
- js7/api/joc/http/v_2_8_2/daily_plan/projections/recreate.py +28 -0
- js7/api/joc/http/v_2_8_2/daily_plan/submissions/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/change_password.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/permissions.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/account/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/accounts.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/disable.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/enable.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/accounts/reset_password.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_account/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_accounts/blocked_accounts.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/blocked_accounts/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folder/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folder/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/folders.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/folders/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/identity_service.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/identity_service/store.py +42 -0
- js7/api/joc/http/v_2_8_2/iam/identity_services/identity_services.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permission/permission.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permission/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/permissions.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/permissions/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/rename.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/role.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/role/store.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/roles/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/iam/roles/roles.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/changes/changes.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/dependencies.py +33 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/deploy.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/import_deploy.py +66 -0
- js7/api/joc/http/v_2_8_2/inventory/deployment/revoke.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/export/export.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/export/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/import_objects.py +88 -0
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/recall.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/release.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/remove/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/remove/remove.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/add.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/checkout.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/clone.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/commit.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/add.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/credentials.py +28 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/remove.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/pull.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/git/push.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/read.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/store.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/repository/update.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/revalidate/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/store.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/delete.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/folder.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/trash/restore.py +36 -0
- js7/api/joc/http/v_2_8_2/inventory/validate.py +42 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/run.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/cluster/switch_member.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/license.py +28 -0
- js7/api/joc/http/v_2_8_2/joc/proxies/restart.py +36 -0
- js7/api/joc/http/v_2_8_2/joc/version.py +28 -0
- js7/api/joc/http/v_2_8_2/joc/versions.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/add.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/cancel.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/confirm.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/continue.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/history.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/orders.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/remove_when_terminated.py +33 -0
- js7/api/joc/http/v_2_8_2/orders/resume.py +36 -0
- js7/api/joc/http/v_2_8_2/orders/suspend.py +36 -0
- js7/api/joc/http/v_2_8_2/settings/settings.py +28 -0
- js7/api/joc/http/v_2_8_2/settings/store.py +36 -0
- js7/api/joc/http/v_2_8_2/tasks/history.py +36 -0
- js7/api/joc/http/v_2_8_2/workflow/transition.py +36 -0
- js7/api/joc/http/v_2_8_2/workflow/workflow.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/resume.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/skip.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/stop.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/suspend.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/unskip.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/unstop.py +36 -0
- js7/api/joc/http/v_2_8_2/workflows/workflows.py +36 -0
- js7/api/joc/interface/dispatcher.py +76 -0
- js7/api/joc/interface/interface.py +8 -0
- js7/api/joc/interface/resolver.py +75 -0
- js7/client/action/agent/confirm_node_loss_agent_action.py +75 -0
- js7/client/action/agent/delete_subagent_action.py +77 -0
- js7/client/action/agent/delete_subagent_clusters_action.py +75 -0
- js7/client/action/agent/deploy_cluster_agents_action.py +75 -0
- js7/client/action/agent/deploy_standalone_agents_action.py +75 -0
- js7/client/action/agent/deploy_subagent_clusters_action.py +75 -0
- js7/client/action/agent/disable_standalone_agents_action.py +75 -0
- js7/client/action/agent/disable_subagents_action.py +75 -0
- js7/client/action/agent/enable_standalone_agents_action.py +75 -0
- js7/client/action/agent/enable_subagents_action.py +75 -0
- js7/client/action/agent/export_agents_action.py +101 -0
- js7/client/action/agent/get_agents_status_action.py +55 -0
- js7/client/action/agent/import_agents_action.py +139 -0
- js7/client/action/agent/remove_agent_action.py +79 -0
- js7/client/action/agent/reset_agents_action.py +79 -0
- js7/client/action/agent/reset_subagent_action.py +79 -0
- js7/client/action/agent/revoke_cluster_agents_action.py +75 -0
- js7/client/action/agent/revoke_standalone_agents_action.py +75 -0
- js7/client/action/agent/revoke_subagent_clusters_action.py +75 -0
- js7/client/action/agent/store_cluster_agents_action.py +99 -0
- js7/client/action/agent/store_standalone_agents_action.py +87 -0
- js7/client/action/agent/store_subagent_clusters_action.py +83 -0
- js7/client/action/agent/store_subagents_action.py +97 -0
- js7/client/action/agent/switchover_agent_action.py +75 -0
- js7/client/action/controller/appoint_nodes_controller_action.py +67 -0
- js7/client/action/controller/cancel_and_restart_controller_action.py +72 -0
- js7/client/action/controller/cancel_controller_action.py +71 -0
- js7/client/action/controller/confirm_cluster_node_loss_action.py +68 -0
- js7/client/action/controller/get_controller_components_action.py +41 -0
- js7/client/action/controller/get_controller_status_action.py +72 -0
- js7/client/action/controller/register_controller_action.py +93 -0
- js7/client/action/controller/restart_controller_action.py +72 -0
- js7/client/action/controller/switchover_controller_cluster_action.py +67 -0
- js7/client/action/controller/terminate_controller_action.py +72 -0
- js7/client/action/controller/test_controller_instance_action.py +65 -0
- js7/client/action/controller/unregister_controller_action.py +68 -0
- js7/client/action/daily_plan/cancel_orders_action.py +59 -0
- js7/client/action/daily_plan/copy_orders_action.py +108 -0
- js7/client/action/daily_plan/create_projections_action.py +24 -0
- js7/client/action/daily_plan/delete_orders_action.py +80 -0
- js7/client/action/daily_plan/delete_submissions_action.py +83 -0
- js7/client/action/daily_plan/generate_orders_action.py +121 -0
- js7/client/action/daily_plan/get_calendar_projections_action.py +59 -0
- js7/client/action/daily_plan/get_orders_action.py +70 -0
- js7/client/action/daily_plan/get_projection_dates_action.py +59 -0
- js7/client/action/daily_plan/modify_orders_action.py +130 -0
- js7/client/action/daily_plan/submit_orders_action.py +79 -0
- js7/client/action/helper/decrypt_action.py +82 -0
- js7/client/action/helper/encrypt_action.py +87 -0
- js7/client/action/iam/block_account_action.py +71 -0
- js7/client/action/iam/change_account_password_action.py +96 -0
- js7/client/action/iam/disable_accounts_action.py +75 -0
- js7/client/action/iam/enable_accounts_action.py +75 -0
- js7/client/action/iam/get_account_permissions_action.py +75 -0
- js7/client/action/iam/get_accounts_action.py +76 -0
- js7/client/action/iam/get_blocked_accounts_action.py +76 -0
- js7/client/action/iam/get_folder_permissions_action.py +112 -0
- js7/client/action/iam/get_identity_service_settings_action.py +70 -0
- js7/client/action/iam/get_identity_services_action.py +102 -0
- js7/client/action/iam/get_permissions_action.py +113 -0
- js7/client/action/iam/get_roles_action.py +57 -0
- js7/client/action/iam/remove_accounts_action.py +75 -0
- js7/client/action/iam/remove_folder_permissions_action.py +91 -0
- js7/client/action/iam/remove_identity_service_action.py +67 -0
- js7/client/action/iam/remove_permissions_action.py +88 -0
- js7/client/action/iam/remove_roles_action.py +75 -0
- js7/client/action/iam/rename_account_action.py +83 -0
- js7/client/action/iam/rename_folder_permissions_action.py +100 -0
- js7/client/action/iam/rename_identity_service_action.py +75 -0
- js7/client/action/iam/rename_permission_action.py +103 -0
- js7/client/action/iam/rename_role_action.py +83 -0
- js7/client/action/iam/reset_account_passwords_action.py +75 -0
- js7/client/action/iam/set_folder_permissions_action.py +96 -0
- js7/client/action/iam/set_permissions_action.py +91 -0
- js7/client/action/iam/store_account_action.py +69 -0
- js7/client/action/iam/store_identity_service_action.py +75 -0
- js7/client/action/iam/store_identity_service_settings_action.py +74 -0
- js7/client/action/iam/store_role_action.py +79 -0
- js7/client/action/iam/unblock_accounts_action.py +67 -0
- js7/client/action/inventory/deploy_configurations_action.py +138 -0
- js7/client/action/inventory/export_configurations_action.py +203 -0
- js7/client/action/inventory/export_folders_action.py +160 -0
- js7/client/action/inventory/get_change_dependencies_action.py +161 -0
- js7/client/action/inventory/get_changes_action.py +59 -0
- js7/client/action/inventory/get_git_credentials_action.py +29 -0
- js7/client/action/inventory/git_add_action.py +72 -0
- js7/client/action/inventory/git_checkout_action.py +88 -0
- js7/client/action/inventory/git_clone_action.py +84 -0
- js7/client/action/inventory/git_commit_action.py +80 -0
- js7/client/action/inventory/git_pull_action.py +72 -0
- js7/client/action/inventory/git_push_action.py +76 -0
- js7/client/action/inventory/import_configurations_action.py +153 -0
- js7/client/action/inventory/import_deploy_configurations_action.py +188 -0
- js7/client/action/inventory/read_from_local_repository_action.py +67 -0
- js7/client/action/inventory/recall_folder_action.py +89 -0
- js7/client/action/inventory/recall_released_configuration_action.py +75 -0
- js7/client/action/inventory/release_configuartions_action.py +89 -0
- js7/client/action/inventory/remove_configurations_action.py +77 -0
- js7/client/action/inventory/remove_configurations_from_trash_action.py +80 -0
- js7/client/action/inventory/remove_folder_action.py +67 -0
- js7/client/action/inventory/remove_folder_from_trash_action.py +69 -0
- js7/client/action/inventory/remove_git_credentials_action.py +53 -0
- js7/client/action/inventory/remove_repository_configuration_action.py +84 -0
- js7/client/action/inventory/restore_configuration_from_trash_action.py +84 -0
- js7/client/action/inventory/revalidate_folder_action.py +46 -0
- js7/client/action/inventory/revoke_configurations_action.py +86 -0
- js7/client/action/inventory/store_configuration_action.py +79 -0
- js7/client/action/inventory/store_git_credentials_action.py +99 -0
- js7/client/action/inventory/store_repository_configuration_action.py +124 -0
- js7/client/action/inventory/update_repository_configuration_action.py +85 -0
- js7/client/action/inventory/validate_configuration_action.py +58 -0
- js7/client/action/joc/get_components_versions_action.py +57 -0
- js7/client/action/joc/get_license_info_action.py +22 -0
- js7/client/action/joc/get_settings_action.py +19 -0
- js7/client/action/joc/get_version_action.py +17 -0
- js7/client/action/joc/restart_proxies_action.py +50 -0
- js7/client/action/joc/restart_service_action.py +74 -0
- js7/client/action/joc/run_service_action.py +74 -0
- js7/client/action/joc/store_settings_action.py +62 -0
- js7/client/action/joc/switch_over_action.py +89 -0
- js7/client/action/order/add_orders_action.py +115 -0
- js7/client/action/order/cancel_orders_action.py +93 -0
- js7/client/action/order/confirm_orders_action.py +86 -0
- js7/client/action/order/continue_orders_action.py +86 -0
- js7/client/action/order/get_order_history_action.py +84 -0
- js7/client/action/order/get_orders_action.py +83 -0
- js7/client/action/order/remove_terminated_orders_action.py +86 -0
- js7/client/action/order/resume_orders_action.py +102 -0
- js7/client/action/order/suspend_orders_action.py +97 -0
- js7/client/action/task/get_task_history_info_action.py +88 -0
- js7/client/action/workflow/get_workflow_versions_action.py +131 -0
- js7/client/action/workflow/resume_workflows_action.py +76 -0
- js7/client/action/workflow/set_workflow_version_as_current_action.py +86 -0
- js7/client/action/workflow/skip_job_instructions_action.py +83 -0
- js7/client/action/workflow/stop_job_instructions_action.py +83 -0
- js7/client/action/workflow/suspend_workflows_action.py +76 -0
- js7/client/action/workflow/unskip_job_instructions_action.py +83 -0
- js7/client/action/workflow/unstop_job_instructions_action.py +79 -0
- js7/client/auth/auth_provider.py +109 -0
- js7/client/auth/login.py +34 -0
- js7/client/auth/logout.py +22 -0
- js7/client/client.py +250 -0
- js7/client/context.py +40 -0
- js7/client/feature/agent/agent.py +26 -0
- js7/client/feature/agent/deploy.py +134 -0
- js7/client/feature/agent/manage.py +363 -0
- js7/client/feature/agent/operate.py +577 -0
- js7/client/feature/controller/controller.py +19 -0
- js7/client/feature/controller/manage.py +214 -0
- js7/client/feature/controller/operate.py +274 -0
- js7/client/feature/daily_plan/daily_plan.py +14 -0
- js7/client/feature/daily_plan/manage.py +179 -0
- js7/client/feature/daily_plan/operate.py +354 -0
- js7/client/feature/iam/iam.py +14 -0
- js7/client/feature/iam/manage.py +1311 -0
- js7/client/feature/inventory/inventory.py +13 -0
- js7/client/feature/inventory/manage.py +943 -0
- js7/client/feature/inventory/manage_repository.py +533 -0
- js7/client/feature/joc/joc.py +18 -0
- js7/client/feature/joc/manage.py +102 -0
- js7/client/feature/joc/operate.py +185 -0
- js7/client/feature/order/manage.py +79 -0
- js7/client/feature/order/operate.py +346 -0
- js7/client/feature/order/order.py +18 -0
- js7/client/feature/task/task.py +54 -0
- js7/client/feature/workflow/manage.py +54 -0
- js7/client/feature/workflow/operate.py +336 -0
- js7/client/feature/workflow/workflow.py +19 -0
- js7/java/lib/3rd-party/bcpg-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcpkix-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcprov-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/bcutil-jdk15to18-1.78.1.jar +0 -0
- js7/java/lib/3rd-party/commons-io-2.15.1.jar +0 -0
- js7/java/lib/3rd-party/commons-lang3-3.14.0.jar +0 -0
- js7/java/lib/3rd-party/jackson-core-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jackson-databind-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jackson-dataformat-xml-2.14.2.jar +0 -0
- js7/java/lib/3rd-party/jakarta.annotation-api-2.1.1.jar +0 -0
- js7/java/lib/3rd-party/javax.activation-api-1.2.0.jar +0 -0
- js7/java/lib/3rd-party/jaxb-api-2.4.0-b180830.0359.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-api-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-core-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.apache.logging.log4j.log4j-slf4j2-impl-2.23.1.jar +0 -0
- js7/java/lib/3rd-party/org.slf4j.slf4j-api-2.0.13.jar +0 -0
- js7/java/lib/3rd-party/stax2-api-4.2.1.jar +0 -0
- js7/java/lib/3rd-party/woodstox-core-6.5.0.jar +0 -0
- js7/java/lib/sos/sos-commons-encryption-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-commons-exception-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-commons-sign-2.7.3.jar +0 -0
- js7/java/lib/sos/sos-webservices-json-2.7.3.jar +0 -0
- js7/model/__init__.py +132 -0
- js7/model/configuration/auth_configuration.py +24 -0
- js7/model/configuration/client_configuration.py +6 -0
- js7/model/configuration/http_configuration.py +10 -0
- js7/model/error/http/joc_exceptions.py +151 -0
- js7/model/private/api/endpoint.py +30 -0
- js7/model/private/http/joc/joc_v_2_8_2.py +3666 -0
- js7/model/public/client/common/__init__.py +27 -0
- js7/model/public/client/common/accounts.py +21 -0
- js7/model/public/client/common/audit_log.py +8 -0
- js7/model/public/client/common/changes.py +18 -0
- js7/model/public/client/common/configurations.py +53 -0
- js7/model/public/client/common/cycle.py +12 -0
- js7/model/public/client/common/git_credentials.py +12 -0
- js7/model/public/client/common/identity_service.py +14 -0
- js7/model/public/client/common/schedule_time.py +50 -0
- js7/model/public/client/common/store_agents.py +96 -0
- js7/model/public/client/enum/__init__.py +19 -0
- js7/model/public/client/enum/object_types.py +48 -0
- js7/model/public/client/enum/operation_type.py +11 -0
- js7/model/public/client/enum/order_priority.py +9 -0
- js7/model/public/client/filter/__init__.py +35 -0
- js7/model/public/client/filter/daily_plan_order_filters.py +255 -0
- js7/model/public/client/filter/element/__init__.py +3 -0
- js7/model/public/client/filter/element/folder.py +6 -0
- js7/model/public/client/filter/element/workflow_id.py +10 -0
- js7/model/public/client/filter/export_filter.py +52 -0
- js7/model/public/client/filter/export_folders_filter.py +34 -0
- js7/model/public/client/filter/get_order_filter.py +59 -0
- js7/model/public/client/filter/order_history_filter.py +113 -0
- js7/model/public/client/filter/resume_order_filter.py +45 -0
- js7/model/public/client/filter/suspend_order_filter.py +44 -0
- js7/model/public/client/filter/tasks_filter.py +50 -0
- js7/model/public/client/input/__init__.py +2 -0
- js7/model/public/client/input/add_order.py +50 -0
- js7/service/http_service.py +206 -0
- js7/util/bytes_converter/bytes_to_archive_bytes.py +52 -0
- js7/util/bytes_converter/bytes_to_file.py +12 -0
- js7/util/bytes_converter/files_to_bytes.py +52 -0
- js7/util/bytes_converter/read_bytes_archive_files_to_bytes.py +69 -0
- js7/util/bytes_converter/sign_to_bytes.py +106 -0
- js7/util/check_matching_version.py +20 -0
- js7/util/detect_archive_type.py +37 -0
- js7/util/str_converter/order_id_to_order_name.py +5 -0
- js7/validator/http/joc_http_status_validator.py +155 -0
- js7_client_python-2.0.1.0.dist-info/LICENSE +674 -0
- js7_client_python-2.0.1.0.dist-info/METADATA +763 -0
- js7_client_python-2.0.1.0.dist-info/RECORD +389 -0
- js7_client_python-2.0.1.0.dist-info/WHEEL +5 -0
- js7_client_python-2.0.1.0.dist-info/top_level.txt +1 -0
js7/client/client.py
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
from functools import cached_property
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
from typing import Optional, Union
|
|
4
|
+
|
|
5
|
+
from .context import Context
|
|
6
|
+
from ..model.configuration.http_configuration import HTTPConfiguration
|
|
7
|
+
from ..model.configuration.client_configuration import ClientConfiguration
|
|
8
|
+
from ..model.configuration.auth_configuration import AuthConfiguration
|
|
9
|
+
|
|
10
|
+
from .feature.inventory.inventory import Inventory
|
|
11
|
+
from .feature.order.order import Order
|
|
12
|
+
from .feature.joc.joc import JOC
|
|
13
|
+
from .feature.agent.agent import Agent
|
|
14
|
+
from .feature.task.task import Task
|
|
15
|
+
from .feature.workflow.workflow import Workflow
|
|
16
|
+
from .feature.controller.controller import Controller
|
|
17
|
+
from .feature.iam.iam import IAM
|
|
18
|
+
from .feature.daily_plan.daily_plan import DailyPlan
|
|
19
|
+
|
|
20
|
+
from .action.helper.encrypt_action import encrypt_action
|
|
21
|
+
from .action.helper.decrypt_action import decrypt_action
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class Client:
|
|
25
|
+
"""
|
|
26
|
+
The `Client` class serves as the central entry point for interacting with JS7 JOC.
|
|
27
|
+
|
|
28
|
+
Args:
|
|
29
|
+
http_config (HTTPConfiguration):
|
|
30
|
+
Configuration of the HTTP connection to the JOC endpoint
|
|
31
|
+
|
|
32
|
+
auth_config (AuthConfiguration):
|
|
33
|
+
Configuration for authentication. Supported methods include
|
|
34
|
+
basic authentication and certificate-based authentication.
|
|
35
|
+
|
|
36
|
+
client_config (ClientConfiguration):
|
|
37
|
+
Configuration of the client’s behavior.
|
|
38
|
+
|
|
39
|
+
Returns:
|
|
40
|
+
Client:
|
|
41
|
+
An instance of the `Client` class that can be used to perform operations against JS7 JOC.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
*,
|
|
47
|
+
http_config: HTTPConfiguration,
|
|
48
|
+
auth_config: AuthConfiguration,
|
|
49
|
+
client_config: ClientConfiguration = ClientConfiguration()
|
|
50
|
+
):
|
|
51
|
+
|
|
52
|
+
self._ctx = Context(
|
|
53
|
+
http_config=http_config,
|
|
54
|
+
auth_config=auth_config,
|
|
55
|
+
client_config=client_config
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
@cached_property
|
|
59
|
+
def inventory(self) -> Inventory:
|
|
60
|
+
return Inventory(context=self._ctx)
|
|
61
|
+
|
|
62
|
+
@cached_property
|
|
63
|
+
def order(self) -> Order:
|
|
64
|
+
return Order(context=self._ctx)
|
|
65
|
+
|
|
66
|
+
@cached_property
|
|
67
|
+
def joc(self) -> JOC:
|
|
68
|
+
return JOC(context=self._ctx)
|
|
69
|
+
|
|
70
|
+
@cached_property
|
|
71
|
+
def agent(self) -> Agent:
|
|
72
|
+
return Agent(context=self._ctx)
|
|
73
|
+
|
|
74
|
+
@cached_property
|
|
75
|
+
def task(self) -> Task:
|
|
76
|
+
return Task(context=self._ctx)
|
|
77
|
+
|
|
78
|
+
@cached_property
|
|
79
|
+
def workflow(self) -> Workflow:
|
|
80
|
+
return Workflow(context=self._ctx)
|
|
81
|
+
|
|
82
|
+
@cached_property
|
|
83
|
+
def controller(self) -> Controller:
|
|
84
|
+
return Controller(context=self._ctx)
|
|
85
|
+
|
|
86
|
+
@cached_property
|
|
87
|
+
def iam(self) -> IAM:
|
|
88
|
+
return IAM(context=self._ctx)
|
|
89
|
+
|
|
90
|
+
@cached_property
|
|
91
|
+
def daily_plan(self) -> DailyPlan:
|
|
92
|
+
return DailyPlan(context=self._ctx)
|
|
93
|
+
|
|
94
|
+
def login(self, auth_config: Optional[AuthConfiguration] = None, force_server_login: bool = False) -> str:
|
|
95
|
+
"""
|
|
96
|
+
Args:
|
|
97
|
+
auth_config (Optional[AuthConfiguration]):
|
|
98
|
+
Configuration object for authentication. Supported methods are
|
|
99
|
+
basic authentication and certificate-based authentication.
|
|
100
|
+
|
|
101
|
+
force_server_login (bool):
|
|
102
|
+
If set to ``True``, any existing stored session will be ignored
|
|
103
|
+
and a new login will be performed. In this case, ``auth_config``
|
|
104
|
+
must be provided.
|
|
105
|
+
|
|
106
|
+
Returns:
|
|
107
|
+
str:
|
|
108
|
+
The access token as a string.
|
|
109
|
+
|
|
110
|
+
Raises:
|
|
111
|
+
ValueError:
|
|
112
|
+
If the provided input data is invalid.
|
|
113
|
+
|
|
114
|
+
RuntimeError:
|
|
115
|
+
If neither certificate-based authentication nor basic authentication
|
|
116
|
+
is available in exceptional cases.
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
return self._ctx.auth_provider.login(auth_config=auth_config, force_server_login=force_server_login)
|
|
120
|
+
|
|
121
|
+
def logout(self) -> bool:
|
|
122
|
+
"""
|
|
123
|
+
Logs the user out from the server and clears the local session.
|
|
124
|
+
|
|
125
|
+
Returns:
|
|
126
|
+
bool:
|
|
127
|
+
`True` if the server-side logout was successful, otherwise `False`.
|
|
128
|
+
The local session is always cleared, regardless of the server response.
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
return self._ctx.auth_provider.logout()
|
|
132
|
+
|
|
133
|
+
def encrypt(
|
|
134
|
+
self,
|
|
135
|
+
java_bin_path: Union[Path, str],
|
|
136
|
+
cert_file_path: Union[Path, str],
|
|
137
|
+
in_string: Optional[str] = None,
|
|
138
|
+
in_file: Optional[Union[Path, str]] = None,
|
|
139
|
+
out_path: Optional[Union[Path, str]] = None,
|
|
140
|
+
) -> str:
|
|
141
|
+
"""
|
|
142
|
+
Encrypts data using the JS7 Java encryption utility.
|
|
143
|
+
|
|
144
|
+
This method wraps the JS7 `com.sos.commons.encryption.executable.Encrypt`
|
|
145
|
+
class and executes it via a Java subprocess.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
java_bin_path (Union[Path, str]):
|
|
149
|
+
Path to the Java executable (e.g. `/usr/bin/java` on Linux).
|
|
150
|
+
|
|
151
|
+
cert_file_path (Union[Path, str]):
|
|
152
|
+
Path to the X.509 certificate file containing the public key
|
|
153
|
+
used for encryption.
|
|
154
|
+
|
|
155
|
+
in_string (Optional[str]):
|
|
156
|
+
Plain text string to be encrypted.
|
|
157
|
+
Either `in_string` or `in_file` must be provided, but not both.
|
|
158
|
+
|
|
159
|
+
in_file (Optional[Union[Path, str]]):
|
|
160
|
+
Path to the file to be encrypted.
|
|
161
|
+
Either `in_string` or `in_file` must be provided, but not both.
|
|
162
|
+
If `in_file` is used, `out_path` may optionally be provided to
|
|
163
|
+
write the encrypted result to a file.
|
|
164
|
+
|
|
165
|
+
out_path (Optional[Union[Path, str]]):
|
|
166
|
+
Optional output file path where the encrypted result will be written.
|
|
167
|
+
If omitted, the encrypted value is returned from stdout.
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
str:
|
|
171
|
+
The encrypted value as a string prefixed with `"enc:"`.
|
|
172
|
+
|
|
173
|
+
Raises:
|
|
174
|
+
ValueError:
|
|
175
|
+
If input parameters are invalid (e.g. missing required arguments,
|
|
176
|
+
non-existing paths, conflicting parameters).
|
|
177
|
+
|
|
178
|
+
RuntimeError:
|
|
179
|
+
If the underlying Java encryption process fails.
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
return encrypt_action(
|
|
183
|
+
java_bin_path=java_bin_path,
|
|
184
|
+
cert_file_path=cert_file_path,
|
|
185
|
+
in_string=in_string,
|
|
186
|
+
in_file=in_file,
|
|
187
|
+
out_path=out_path
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
def decrypt(
|
|
191
|
+
self,
|
|
192
|
+
java_bin_path: Union[Path, str],
|
|
193
|
+
key_file_path: Union[Path, str],
|
|
194
|
+
key_password: Optional[str] = None,
|
|
195
|
+
in_string: Optional[str] = None,
|
|
196
|
+
in_file: Optional[Union[Path, str]] = None,
|
|
197
|
+
out_path: Optional[Union[Path, str]] = None,
|
|
198
|
+
) -> str:
|
|
199
|
+
"""
|
|
200
|
+
Decrypts data using the JS7 Java decryption utility.
|
|
201
|
+
|
|
202
|
+
This method wraps the JS7 `com.sos.commons.encryption.executable.Decrypt`
|
|
203
|
+
class and executes it via a Java subprocess.
|
|
204
|
+
|
|
205
|
+
Args:
|
|
206
|
+
java_bin_path (Union[Path, str]):
|
|
207
|
+
Path to the Java executable (e.g. `/usr/bin/java` on Linux).
|
|
208
|
+
|
|
209
|
+
key_file_path (Union[Path, str]):
|
|
210
|
+
Path to the private key file used for decryption.
|
|
211
|
+
|
|
212
|
+
key_password (Optional[str]):
|
|
213
|
+
Optional password for the private key, if the key is encrypted.
|
|
214
|
+
|
|
215
|
+
in_string (Optional[str]):
|
|
216
|
+
Encrypted string to be decrypted. The value may optionally include
|
|
217
|
+
the `"enc:"` prefix. Either `in_string` or `in_file` must be provided,
|
|
218
|
+
but not both.
|
|
219
|
+
|
|
220
|
+
in_file (Optional[Union[Path, str]]):
|
|
221
|
+
Path to a file containing encrypted content.
|
|
222
|
+
Either `in_string` or `in_file` must be provided, but not both.
|
|
223
|
+
If `in_file` is used, `out_path` may optionally be provided to
|
|
224
|
+
write the decrypted result to a file.
|
|
225
|
+
|
|
226
|
+
out_path (Optional[Union[Path, str]]):
|
|
227
|
+
Optional output file path where the decrypted result will be written.
|
|
228
|
+
If omitted, the decrypted value is returned from stdout.
|
|
229
|
+
|
|
230
|
+
Returns:
|
|
231
|
+
str:
|
|
232
|
+
The decrypted plain text.
|
|
233
|
+
|
|
234
|
+
Raises:
|
|
235
|
+
ValueError:
|
|
236
|
+
If input parameters are invalid (e.g. missing required arguments,
|
|
237
|
+
non-existing paths, conflicting parameters).
|
|
238
|
+
|
|
239
|
+
RuntimeError:
|
|
240
|
+
If the underlying Java decryption process fails.
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
return decrypt_action(
|
|
244
|
+
java_bin_path=java_bin_path,
|
|
245
|
+
key_file_path=key_file_path,
|
|
246
|
+
key_password=key_password,
|
|
247
|
+
in_string=in_string,
|
|
248
|
+
in_file=in_file,
|
|
249
|
+
out_path=out_path
|
|
250
|
+
)
|
js7/client/context.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from ..model.configuration.auth_configuration import AuthConfiguration
|
|
2
|
+
from ..model.configuration.http_configuration import HTTPConfiguration
|
|
3
|
+
from ..model.configuration.client_configuration import ClientConfiguration
|
|
4
|
+
from .auth.auth_provider import AuthProvider
|
|
5
|
+
from ..service.http_service import HTTPService
|
|
6
|
+
from ..api.joc.interface.interface import Interface as JOCInterface
|
|
7
|
+
|
|
8
|
+
from ..validator.http.joc_http_status_validator import joc_http_status_validator
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Context:
|
|
12
|
+
def __init__(self, *, http_config: HTTPConfiguration, auth_config: AuthConfiguration, client_config: ClientConfiguration):
|
|
13
|
+
# Initializes the joc api interface with auto discovery
|
|
14
|
+
self.joc_api = JOCInterface(version=None)
|
|
15
|
+
self.client_config = client_config
|
|
16
|
+
|
|
17
|
+
self.http_service = HTTPService(
|
|
18
|
+
configuration=http_config,
|
|
19
|
+
response_validator=joc_http_status_validator
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
self.auth_provider = AuthProvider(
|
|
23
|
+
http_service=self.http_service,
|
|
24
|
+
joc_version=None,
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
# Initial login
|
|
28
|
+
self.auth_provider.login(
|
|
29
|
+
auth_config=auth_config,
|
|
30
|
+
force_server_login=True
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
# Gets the joc version
|
|
34
|
+
from .action.joc.get_version_action import get_version_action
|
|
35
|
+
joc_version = get_version_action(context=self)
|
|
36
|
+
self.version = joc_version
|
|
37
|
+
|
|
38
|
+
# Disables auto discovery with version parameter
|
|
39
|
+
self.joc_api.set_version(self.version)
|
|
40
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from functools import cached_property
|
|
2
|
+
|
|
3
|
+
from .deploy import Deploy
|
|
4
|
+
from .manage import Manage
|
|
5
|
+
from .operate import Operate
|
|
6
|
+
|
|
7
|
+
from ....client.context import Context
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Agent:
|
|
11
|
+
def __init__(self, context: Context):
|
|
12
|
+
self._ctx = context
|
|
13
|
+
|
|
14
|
+
@cached_property
|
|
15
|
+
def deploy(self) -> Deploy:
|
|
16
|
+
return Deploy(context=self._ctx)
|
|
17
|
+
|
|
18
|
+
@cached_property
|
|
19
|
+
def manage(self) -> Manage:
|
|
20
|
+
return Manage(context=self._ctx)
|
|
21
|
+
|
|
22
|
+
@cached_property
|
|
23
|
+
def operate(self) -> Operate:
|
|
24
|
+
return Operate(context=self._ctx)
|
|
25
|
+
|
|
26
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
from typing import List, Optional
|
|
2
|
+
|
|
3
|
+
from ....model.public.client.common.audit_log import AuditLog
|
|
4
|
+
from ....client.context import Context
|
|
5
|
+
|
|
6
|
+
from ...action.agent.deploy_cluster_agents_action import deploy_cluster_agents_action
|
|
7
|
+
from ...action.agent.deploy_standalone_agents_action import deploy_standalone_agents_action
|
|
8
|
+
from ...action.agent.deploy_subagent_clusters_action import deploy_subagent_clusters_action
|
|
9
|
+
|
|
10
|
+
class Deploy:
|
|
11
|
+
def __init__(self, context: Context):
|
|
12
|
+
self._ctx = context
|
|
13
|
+
|
|
14
|
+
def cluster_agents(
|
|
15
|
+
self,
|
|
16
|
+
controller_id: str,
|
|
17
|
+
agent_ids: List[str],
|
|
18
|
+
audit_log: Optional[AuditLog] = None
|
|
19
|
+
) -> bool:
|
|
20
|
+
"""
|
|
21
|
+
Deploy cluster agents to a controller.
|
|
22
|
+
|
|
23
|
+
Args:
|
|
24
|
+
controller_id (str):
|
|
25
|
+
The ID of the controller to which the cluster agents
|
|
26
|
+
should be deployed.
|
|
27
|
+
|
|
28
|
+
agent_ids (List[str]):
|
|
29
|
+
A collection of cluster agent IDs to be deployed.
|
|
30
|
+
|
|
31
|
+
audit_log (Optional[AuditLog]):
|
|
32
|
+
Optional audit log information to create an audit entry
|
|
33
|
+
for this operation.
|
|
34
|
+
|
|
35
|
+
Returns:
|
|
36
|
+
bool:
|
|
37
|
+
Returns True if the operation was successful.
|
|
38
|
+
|
|
39
|
+
Raises:
|
|
40
|
+
ValueError:
|
|
41
|
+
If required arguments are missing or invalid.
|
|
42
|
+
|
|
43
|
+
RuntimeError:
|
|
44
|
+
If the server version is incompatible or if an unexpected
|
|
45
|
+
response is returned.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
return deploy_cluster_agents_action(
|
|
49
|
+
context=self._ctx,
|
|
50
|
+
controller_id=controller_id,
|
|
51
|
+
agent_ids=agent_ids,
|
|
52
|
+
audit_log=audit_log
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
def standalone_agents(
|
|
56
|
+
self,
|
|
57
|
+
controller_id: str,
|
|
58
|
+
agent_ids: List[str],
|
|
59
|
+
audit_log: Optional[AuditLog] = None
|
|
60
|
+
) -> bool:
|
|
61
|
+
"""
|
|
62
|
+
Deploy standalone agents to a controller.
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
controller_id (str):
|
|
66
|
+
The ID of the controller to which the agents should be deployed.
|
|
67
|
+
|
|
68
|
+
agent_ids (List[str]):
|
|
69
|
+
A collection of standalone agent IDs to be deployed.
|
|
70
|
+
|
|
71
|
+
audit_log (Optional[AuditLog]):
|
|
72
|
+
Optional audit log information to create an audit entry
|
|
73
|
+
for this operation.
|
|
74
|
+
|
|
75
|
+
Returns:
|
|
76
|
+
bool:
|
|
77
|
+
Returns True if the operation was successful.
|
|
78
|
+
|
|
79
|
+
Raises:
|
|
80
|
+
ValueError:
|
|
81
|
+
If required arguments are missing or invalid.
|
|
82
|
+
|
|
83
|
+
RuntimeError:
|
|
84
|
+
If the server version is incompatible or if an unexpected
|
|
85
|
+
response is returned.
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
return deploy_standalone_agents_action(
|
|
89
|
+
context=self._ctx,
|
|
90
|
+
controller_id=controller_id,
|
|
91
|
+
agent_ids=agent_ids,
|
|
92
|
+
audit_log=audit_log
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
def subagent_clusters(
|
|
96
|
+
self,
|
|
97
|
+
controller_id: str,
|
|
98
|
+
subagent_cluster_ids: List[str],
|
|
99
|
+
audit_log: Optional[AuditLog] = None
|
|
100
|
+
) -> bool:
|
|
101
|
+
"""
|
|
102
|
+
Deploy subagent clusters to a controller.
|
|
103
|
+
|
|
104
|
+
Args:
|
|
105
|
+
controller_id (str):
|
|
106
|
+
The ID of the controller to which the subagent clusters
|
|
107
|
+
should be deployed.
|
|
108
|
+
|
|
109
|
+
subagent_cluster_ids (List[str]):
|
|
110
|
+
A collection of subagent cluster IDs to be deployed.
|
|
111
|
+
|
|
112
|
+
audit_log (Optional[AuditLog]):
|
|
113
|
+
Optional audit log information to create an audit entry
|
|
114
|
+
for this operation.
|
|
115
|
+
|
|
116
|
+
Returns:
|
|
117
|
+
bool:
|
|
118
|
+
Returns True if the operation was successful.
|
|
119
|
+
|
|
120
|
+
Raises:
|
|
121
|
+
ValueError:
|
|
122
|
+
If required arguments are missing or invalid.
|
|
123
|
+
|
|
124
|
+
RuntimeError:
|
|
125
|
+
If the server version is incompatible or if an unexpected
|
|
126
|
+
response is returned.
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
return deploy_subagent_clusters_action(
|
|
130
|
+
context=self._ctx,
|
|
131
|
+
controller_id=controller_id,
|
|
132
|
+
subagent_cluster_ids=subagent_cluster_ids,
|
|
133
|
+
audit_log=audit_log
|
|
134
|
+
)
|