js7-client-python 2.0.11__py3-none-any.whl → 2.0.12__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/api/joc/http/v_2_6_5/agent/cluster/confirm_node_loss.py +30 -0
- js7/api/joc/http/v_2_6_5/agent/cluster/switchover.py +30 -0
- js7/api/joc/http/v_2_6_5/agent/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/agents.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/agents/cluster/delete.py +11 -14
- js7/api/joc/http/v_2_6_5/agents/cluster/deploy.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/cluster/revoke.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/cluster/store.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/export.py +29 -0
- js7/api/joc/http/{v_2_8_2/agents/import.py → v_2_6_5/agents/import_.py} +21 -22
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/deploy.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/revoke.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/store.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/subagents/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/subagents/disable.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/subagents/enable.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/subagents/reset.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/cluster/subagents/store.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/deploy.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/disable.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/enable.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/revoke.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/inventory/store.py +30 -0
- js7/api/joc/http/v_2_6_5/agents/reset.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/authentication/auth.py +17 -12
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/authentication/joc_cockpit_permissions.py +10 -11
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/authentication/login.py +14 -13
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/authentication/logout.py +9 -11
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/configuration/configuration.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/configuration/save.py +11 -17
- js7/api/joc/http/v_2_6_5/controller/abort.py +30 -0
- js7/api/joc/http/v_2_6_5/controller/abort_and_restart.py +30 -0
- js7/api/joc/http/v_2_6_5/controller/cluster/appoint_nodes.py +30 -0
- js7/api/joc/http/v_2_6_5/controller/cluster/confirm_node_loss.py +30 -0
- js7/api/joc/http/v_2_6_5/controller/cluster/switchover.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/controller/components.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/controller/controller.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/controller/register.py +10 -17
- js7/api/joc/http/v_2_6_5/controller/restart.py +30 -0
- js7/api/joc/http/v_2_6_5/controller/terminate.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/controller/test.py +11 -17
- js7/api/joc/http/v_2_6_5/controller/unregister.py +30 -0
- js7/api/joc/http/v_2_6_5/daily_plan/orders/cancel.py +30 -0
- js7/api/joc/http/v_2_6_5/daily_plan/orders/copy.py +30 -0
- js7/api/joc/http/v_2_6_5/daily_plan/orders/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/daily_plan/orders/generate.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/daily_plan/orders/modify.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/daily_plan/orders/orders.py +11 -17
- js7/api/joc/http/v_2_6_5/daily_plan/orders/submit.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/daily_plan/projections/calendar.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/daily_plan/projections/dates.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/daily_plan/projections/recreate.py +11 -12
- js7/api/joc/http/v_2_6_5/daily_plan/submissions/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/account/change_password.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/iam/account/permissions.py +11 -17
- js7/api/joc/http/v_2_6_5/iam/account/rename.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/account/store.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/accounts/accounts.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/accounts/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/accounts/disable.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/accounts/enable.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/accounts/reset_password.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/blocked_account/store.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/iam/blocked_accounts/blocked_accounts.py +11 -17
- js7/api/joc/http/v_2_6_5/iam/blocked_accounts/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/folder/folder.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/folder/rename.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/folders/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/folders/folders.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/folders/store.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/identity_service/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/identity_service/identity_service.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/identity_service/rename.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/iam/identity_service/store.py +10 -17
- js7/api/joc/http/v_2_6_5/iam/identity_services/identity_services.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/permission/permission.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/permission/rename.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/permissions/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/permissions/permissions.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/permissions/store.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/role/rename.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/role/role.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/role/store.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/roles/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/iam/roles/roles.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/changes/changes.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/dependencies.py +11 -14
- js7/api/joc/http/v_2_6_5/inventory/deployment/deploy.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/deployment/import_deploy.py +25 -21
- js7/api/joc/http/v_2_6_5/inventory/deployment/revoke.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/export/export.py +31 -0
- js7/api/joc/http/v_2_6_5/inventory/export/folder.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/import_objects.py +24 -25
- js7/api/joc/http/v_2_6_5/inventory/releasables/recall/folder.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/releasables/recall/recall.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/release.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/remove/folder.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/remove/remove.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/repository/delete.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/add.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/checkout.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/clone.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/commit.py +11 -17
- js7/api/joc/http/v_2_6_5/inventory/repository/git/credentials/add.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/credentials/credentials.py +10 -11
- js7/api/joc/http/v_2_6_5/inventory/repository/git/credentials/remove.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/pull.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/repository/git/push.py +11 -17
- js7/api/joc/http/v_2_6_5/inventory/repository/read.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/repository/store.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/repository/update.py +31 -0
- js7/api/joc/http/v_2_6_5/inventory/revalidate/folder.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/store.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/trash/delete/delete.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/trash/delete/folder.py +30 -0
- js7/api/joc/http/v_2_6_5/inventory/trash/restore.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/inventory/validate.py +18 -18
- js7/api/joc/http/v_2_6_5/joc/cluster/restart.py +30 -0
- js7/api/joc/http/v_2_6_5/joc/cluster/run.py +30 -0
- js7/api/joc/http/v_2_6_5/joc/cluster/switch_member.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/joc/license.py +10 -11
- js7/api/joc/http/v_2_6_5/joc/proxies/restart.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/joc/version.py +10 -11
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/joc/versions.py +11 -17
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/orders/add.py +11 -14
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/orders/cancel.py +11 -14
- js7/api/joc/http/v_2_6_5/orders/confirm.py +30 -0
- js7/api/joc/http/v_2_6_5/orders/continue_.py +30 -0
- js7/api/joc/http/v_2_6_5/orders/history.py +31 -0
- js7/api/joc/http/v_2_6_5/orders/orders.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/orders/remove_when_terminated.py +11 -14
- js7/api/joc/http/v_2_6_5/orders/resume.py +30 -0
- js7/api/joc/http/v_2_6_5/orders/suspend.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/settings/settings.py +10 -11
- js7/api/joc/http/v_2_6_5/settings/store.py +30 -0
- js7/api/joc/http/{v_2_8_2 → v_2_6_5}/tasks/history.py +11 -17
- js7/api/joc/http/v_2_6_5/workflow/transition.py +31 -0
- js7/api/joc/http/v_2_6_5/workflow/workflow.py +31 -0
- js7/api/joc/http/v_2_6_5/workflows/resume.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/skip.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/stop.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/suspend.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/unskip.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/unstop.py +30 -0
- js7/api/joc/http/v_2_6_5/workflows/workflows.py +31 -0
- js7/client/action/agent/confirm_node_loss_agent_action.py +19 -29
- js7/client/action/agent/delete_subagent_action.py +19 -29
- js7/client/action/agent/delete_subagent_clusters_action.py +19 -29
- js7/client/action/agent/deploy_cluster_agents_action.py +19 -29
- js7/client/action/agent/deploy_standalone_agents_action.py +19 -29
- js7/client/action/agent/deploy_subagent_clusters_action.py +19 -29
- js7/client/action/agent/disable_standalone_agents_action.py +19 -29
- js7/client/action/agent/disable_subagents_action.py +19 -29
- js7/client/action/agent/enable_standalone_agents_action.py +19 -29
- js7/client/action/agent/enable_subagents_action.py +19 -29
- js7/client/action/agent/export_agents_action.py +30 -37
- js7/client/action/agent/get_agents_status_action.py +19 -26
- js7/client/action/agent/import_agents_action.py +22 -28
- js7/client/action/agent/remove_agent_action.py +19 -29
- js7/client/action/agent/reset_agents_action.py +19 -29
- js7/client/action/agent/reset_subagent_action.py +19 -29
- js7/client/action/agent/revoke_cluster_agents_action.py +19 -29
- js7/client/action/agent/revoke_standalone_agents_action.py +19 -29
- js7/client/action/agent/revoke_subagent_clusters_action.py +19 -26
- js7/client/action/agent/store_cluster_agents_action.py +26 -35
- js7/client/action/agent/store_standalone_agents_action.py +21 -31
- js7/client/action/agent/store_subagent_clusters_action.py +24 -33
- js7/client/action/agent/store_subagents_action.py +23 -33
- js7/client/action/agent/switchover_agent_action.py +14 -24
- js7/client/action/controller/appoint_nodes_controller_action.py +19 -29
- js7/client/action/controller/cancel_and_restart_controller_action.py +19 -29
- js7/client/action/controller/cancel_controller_action.py +19 -29
- js7/client/action/controller/confirm_cluster_node_loss_action.py +18 -28
- js7/client/action/controller/get_controller_components_action.py +15 -27
- js7/client/action/controller/get_controller_status_action.py +19 -29
- js7/client/action/controller/register_controller_action.py +23 -33
- js7/client/action/controller/restart_controller_action.py +19 -29
- js7/client/action/controller/switchover_controller_cluster_action.py +19 -29
- js7/client/action/controller/terminate_controller_action.py +18 -28
- js7/client/action/controller/test_controller_instance_action.py +19 -29
- js7/client/action/controller/unregister_controller_action.py +19 -29
- js7/client/action/daily_plan/cancel_orders_action.py +19 -29
- js7/client/action/daily_plan/copy_orders_action.py +21 -31
- js7/client/action/daily_plan/delete_orders_action.py +22 -32
- js7/client/action/daily_plan/delete_submissions_action.py +21 -31
- js7/client/action/daily_plan/generate_orders_action.py +26 -36
- js7/client/action/daily_plan/get_calendar_projections_action.py +20 -30
- js7/client/action/daily_plan/get_orders_action.py +22 -32
- js7/client/action/daily_plan/get_projection_dates_action.py +20 -30
- js7/client/action/daily_plan/modify_orders_action.py +21 -31
- js7/client/action/daily_plan/recreate_projections_action.py +10 -15
- js7/client/action/daily_plan/submit_orders_action.py +22 -32
- js7/client/action/iam/block_account_action.py +19 -29
- js7/client/action/iam/change_account_password_action.py +19 -29
- js7/client/action/iam/disable_accounts_action.py +19 -29
- js7/client/action/iam/enable_accounts_action.py +19 -29
- js7/client/action/iam/get_account_permissions_action.py +19 -29
- js7/client/action/iam/get_accounts_action.py +17 -27
- js7/client/action/iam/get_blocked_accounts_action.py +17 -27
- js7/client/action/iam/get_folder_permissions_action.py +20 -33
- js7/client/action/iam/get_identity_service_settings_action.py +19 -30
- js7/client/action/iam/get_identity_services_action.py +19 -32
- js7/client/action/iam/get_permissions_action.py +21 -34
- js7/client/action/iam/get_roles_action.py +17 -27
- js7/client/action/iam/remove_accounts_action.py +19 -29
- js7/client/action/iam/remove_folder_permissions_action.py +19 -29
- js7/client/action/iam/remove_identity_service_action.py +19 -29
- js7/client/action/iam/remove_permissions_action.py +19 -30
- js7/client/action/iam/remove_roles_action.py +16 -26
- js7/client/action/iam/rename_account_action.py +19 -29
- js7/client/action/iam/rename_folder_permissions_action.py +21 -31
- js7/client/action/iam/rename_identity_service_action.py +19 -29
- js7/client/action/iam/rename_permission_action.py +21 -31
- js7/client/action/iam/rename_role_action.py +19 -29
- js7/client/action/iam/reset_account_passwords_action.py +19 -29
- js7/client/action/iam/set_folder_permissions_action.py +21 -31
- js7/client/action/iam/set_permissions_action.py +21 -31
- js7/client/action/iam/store_account_action.py +19 -29
- js7/client/action/iam/store_identity_service_action.py +23 -33
- js7/client/action/iam/store_identity_service_settings_action.py +19 -29
- js7/client/action/iam/store_role_action.py +19 -29
- js7/client/action/iam/unblock_accounts_action.py +19 -29
- js7/client/action/inventory/deploy_configurations_action.py +36 -47
- js7/client/action/inventory/export_configurations_action.py +52 -66
- js7/client/action/inventory/export_folders_action.py +46 -53
- js7/client/action/inventory/get_change_dependencies_action.py +29 -37
- js7/client/action/inventory/get_changes_action.py +19 -27
- js7/client/action/inventory/get_git_credentials_action.py +10 -15
- js7/client/action/inventory/git_add_action.py +25 -31
- js7/client/action/inventory/git_checkout_action.py +21 -31
- js7/client/action/inventory/git_clone_action.py +21 -31
- js7/client/action/inventory/git_commit_action.py +22 -31
- js7/client/action/inventory/git_pull_action.py +25 -31
- js7/client/action/inventory/git_push_action.py +21 -31
- js7/client/action/inventory/import_configurations_action.py +25 -28
- js7/client/action/inventory/import_deploy_configurations_action.py +22 -28
- js7/client/action/inventory/read_from_local_repository_action.py +22 -29
- js7/client/action/inventory/recall_folder_action.py +19 -29
- js7/client/action/inventory/recall_released_configuration_action.py +23 -33
- js7/client/action/inventory/release_configuartions_action.py +25 -35
- js7/client/action/inventory/remove_configurations_action.py +25 -32
- js7/client/action/inventory/remove_configurations_from_trash_action.py +24 -33
- js7/client/action/inventory/remove_folder_action.py +22 -28
- js7/client/action/inventory/remove_folder_from_trash_action.py +22 -29
- js7/client/action/inventory/remove_git_credentials_action.py +21 -28
- js7/client/action/inventory/remove_repository_configuration_action.py +32 -38
- js7/client/action/inventory/restore_configuration_from_trash_action.py +22 -33
- js7/client/action/inventory/revalidate_folder_action.py +21 -28
- js7/client/action/inventory/revoke_configurations_action.py +24 -34
- js7/client/action/inventory/store_configuration_action.py +23 -32
- js7/client/action/inventory/store_git_credentials_action.py +33 -38
- js7/client/action/inventory/store_repository_configuration_action.py +30 -40
- js7/client/action/inventory/update_repository_configuration_action.py +30 -36
- js7/client/action/inventory/validate_configuration_action.py +13 -24
- js7/client/action/joc/get_components_versions_action.py +18 -28
- js7/client/action/joc/get_license_info_action.py +9 -14
- js7/client/action/joc/get_settings_action.py +11 -14
- js7/client/action/joc/get_version_action.py +11 -13
- js7/client/action/joc/restart_proxies_action.py +18 -28
- js7/client/action/joc/restart_service_action.py +24 -31
- js7/client/action/joc/run_service_action.py +24 -31
- js7/client/action/joc/store_settings_action.py +19 -29
- js7/client/action/joc/switch_over_action.py +41 -62
- js7/client/action/order/add_orders_action.py +24 -36
- js7/client/action/order/cancel_orders_action.py +21 -31
- js7/client/action/order/confirm_orders_action.py +21 -31
- js7/client/action/order/continue_orders_action.py +21 -31
- js7/client/action/order/get_order_history_action.py +22 -32
- js7/client/action/order/get_orders_action.py +21 -27
- js7/client/action/order/remove_terminated_orders_action.py +21 -31
- js7/client/action/order/resume_orders_action.py +25 -35
- js7/client/action/order/suspend_orders_action.py +25 -35
- js7/client/action/task/get_task_history_info_action.py +24 -34
- js7/client/action/workflow/get_workflow_versions_action.py +26 -42
- js7/client/action/workflow/resume_workflows_action.py +19 -29
- js7/client/action/workflow/set_workflow_version_as_current_action.py +21 -31
- js7/client/action/workflow/skip_job_instructions_action.py +19 -29
- js7/client/action/workflow/stop_job_instructions_action.py +21 -31
- js7/client/action/workflow/suspend_workflows_action.py +19 -29
- js7/client/action/workflow/unskip_job_instructions_action.py +19 -29
- js7/client/action/workflow/unstop_job_instructions_action.py +21 -31
- js7/client/auth/login.py +12 -17
- js7/client/auth/logout.py +8 -14
- js7/client/context.py +3 -6
- js7/util/version_to_tuple.py +12 -0
- {js7_client_python-2.0.11.dist-info → js7_client_python-2.0.12.dist-info}/METADATA +5 -4
- js7_client_python-2.0.12.dist-info/RECORD +387 -0
- {js7_client_python-2.0.11.dist-info → js7_client_python-2.0.12.dist-info}/WHEEL +1 -1
- js7/api/joc/http/v_2_8_2/agent/cluster/confirm_node_loss.py +0 -36
- js7/api/joc/http/v_2_8_2/agent/cluster/switchover.py +0 -36
- js7/api/joc/http/v_2_8_2/agent/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/agents.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/cluster/deploy.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/cluster/revoke.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/cluster/store.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/export.py +0 -35
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/deploy.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/revoke.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/store.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/disable.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/enable.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/reset.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/cluster/subagents/store.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/deploy.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/disable.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/enable.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/revoke.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/inventory/store.py +0 -36
- js7/api/joc/http/v_2_8_2/agents/reset.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/abort.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/abort_and_restart.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/cluster/appoint_nodes.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/cluster/confirm_node_loss.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/cluster/switchover.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/restart.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/terminate.py +0 -36
- js7/api/joc/http/v_2_8_2/controller/unregister.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/orders/cancel.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/orders/copy.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/orders/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/orders/generate.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/orders/submit.py +0 -36
- js7/api/joc/http/v_2_8_2/daily_plan/submissions/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/account/change_password.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/account/rename.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/account/store.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/accounts/accounts.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/accounts/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/accounts/disable.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/accounts/enable.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/accounts/reset_password.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/blocked_account/store.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/blocked_accounts/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/folder/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/folder/rename.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/folders/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/folders/folders.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/folders/store.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/identity_service/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/identity_service/identity_service.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/identity_service/rename.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/identity_services/identity_services.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/permission/permission.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/permission/rename.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/permissions/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/permissions/permissions.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/permissions/store.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/role/rename.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/role/role.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/role/store.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/roles/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/iam/roles/roles.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/deployment/deploy.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/deployment/revoke.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/export/export.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/export/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/releasables/recall/recall.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/release.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/remove/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/remove/remove.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/add.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/git/credentials/remove.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/read.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/store.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/repository/update.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/revalidate/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/store.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/delete.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/trash/delete/folder.py +0 -36
- js7/api/joc/http/v_2_8_2/inventory/trash/restore.py +0 -36
- js7/api/joc/http/v_2_8_2/joc/cluster/restart.py +0 -36
- js7/api/joc/http/v_2_8_2/joc/cluster/run.py +0 -36
- js7/api/joc/http/v_2_8_2/joc/cluster/switch_member.py +0 -36
- js7/api/joc/http/v_2_8_2/joc/proxies/restart.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/confirm.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/continue.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/history.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/orders.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/resume.py +0 -36
- js7/api/joc/http/v_2_8_2/orders/suspend.py +0 -36
- js7/api/joc/http/v_2_8_2/settings/store.py +0 -36
- js7/api/joc/http/v_2_8_2/workflow/transition.py +0 -36
- js7/api/joc/http/v_2_8_2/workflow/workflow.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/resume.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/skip.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/stop.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/suspend.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/unskip.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/unstop.py +0 -36
- js7/api/joc/http/v_2_8_2/workflows/workflows.py +0 -36
- js7/api/joc/interface/dispatcher.py +0 -76
- js7/api/joc/interface/interface.py +0 -8
- js7/api/joc/interface/resolver.py +0 -75
- js7/model/private/api/endpoint.py +0 -30
- js7/util/check_matching_version.py +0 -20
- js7_client_python-2.0.11.dist-info/RECORD +0 -391
- /js7/model/private/http/joc/{joc_v_2_8_2.py → joc_v_2_6_5.py} +0 -0
- {js7_client_python-2.0.11.dist-info → js7_client_python-2.0.12.dist-info/licenses}/LICENSE +0 -0
- {js7_client_python-2.0.11.dist-info → js7_client_python-2.0.12.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import AgentCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: AgentCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def confirm_node_loss(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agent/cluster/confirm_node_loss",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import AgentCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: AgentCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def switchover(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agent/cluster/switchover",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ......service.http_service import HTTPService
|
|
4
|
+
from ......model.private.http.joc.joc_v_2_6_5 import AgentCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: AgentCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def delete(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agent/delete",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ......service.http_service import HTTPService
|
|
4
|
+
from ......model.private.http.joc.joc_v_2_6_5 import ReadAgentsV, AgentsV
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: ReadAgentsV
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def agents(call: EndpointCall) -> AgentsV:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' ist required in function call")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return AgentsV.model_validate_json(resp)
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import DeploySubagentClusters, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeploySubagentClusters
|
|
3
12
|
|
|
4
13
|
|
|
5
14
|
def delete(call: EndpointCall) -> OK:
|
|
@@ -9,9 +18,6 @@ def delete(call: EndpointCall) -> OK:
|
|
|
9
18
|
if not call.payload:
|
|
10
19
|
raise ValueError("'payload' is required in function call.")
|
|
11
20
|
|
|
12
|
-
if not isinstance(call.payload, DeploySubagentClusters):
|
|
13
|
-
raise ValueError("'payload' is not an instance of model.http.joc_v_2_8_2.DeploySubagentClusters.")
|
|
14
|
-
|
|
15
21
|
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
16
22
|
|
|
17
23
|
with call.http_service as http:
|
|
@@ -25,12 +31,3 @@ def delete(call: EndpointCall) -> OK:
|
|
|
25
31
|
)
|
|
26
32
|
|
|
27
33
|
return OK.model_validate_json(resp)
|
|
28
|
-
|
|
29
|
-
ENDPOINT_DEFINITION = EndpointDefinition(
|
|
30
|
-
id="agents/cluster/delete",
|
|
31
|
-
function=delete,
|
|
32
|
-
version=("2.6.5", "2.8.3"),
|
|
33
|
-
payload_model=DeploySubagentClusters,
|
|
34
|
-
response_model=OK,
|
|
35
|
-
options=None
|
|
36
|
-
)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import DeploySubagentClusters, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeploySubagentClusters
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def deploy(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/cluster/deploy",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import DeploySubagentClusters, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeploySubagentClusters
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def revoke(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/cluster/revoke",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import StoreSubagentClusters, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: StoreSubagentClusters
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def store(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/cluster/store",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ......service.http_service import HTTPService
|
|
4
|
+
from ......model.private.http.joc.joc_v_2_6_5 import AgentExportFilter
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: AgentExportFilter
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def export(call: EndpointCall) -> bytes:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' ist required in function call")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/export",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
return resp
|
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
from typing import Dict, Optional
|
|
1
|
+
from typing import Dict, Optional, TypedDict
|
|
2
|
+
from dataclasses import dataclass
|
|
2
3
|
|
|
3
|
-
from ......
|
|
4
|
-
from ......model.private.http.joc.
|
|
4
|
+
from ......service.http_service import HTTPService
|
|
5
|
+
from ......model.private.http.joc.joc_v_2_6_5 import OK
|
|
5
6
|
|
|
6
7
|
|
|
8
|
+
class Options(TypedDict):
|
|
9
|
+
format: str
|
|
10
|
+
overwrite: bool
|
|
11
|
+
controller_id: str
|
|
12
|
+
audit_log_ticket_link: Optional[str]
|
|
13
|
+
audit_log_comment: Optional[str]
|
|
14
|
+
audit_log_time_spent: Optional[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class EndpointCall:
|
|
19
|
+
http_service: HTTPService
|
|
20
|
+
access_token: str
|
|
21
|
+
payload: bytes
|
|
22
|
+
options: Options
|
|
23
|
+
|
|
24
|
+
|
|
7
25
|
def import_(call: EndpointCall) -> OK:
|
|
8
26
|
if not call.access_token:
|
|
9
27
|
raise ValueError("'access_token' is required in function call.")
|
|
@@ -24,9 +42,6 @@ def import_(call: EndpointCall) -> OK:
|
|
|
24
42
|
if not controller_id:
|
|
25
43
|
raise ValueError("'controller_id' is required in options.")
|
|
26
44
|
|
|
27
|
-
if overwrite is None:
|
|
28
|
-
raise ValueError("'overwrite' is required in options.")
|
|
29
|
-
|
|
30
45
|
if not format:
|
|
31
46
|
raise ValueError("'format' is required in options.")
|
|
32
47
|
|
|
@@ -56,19 +71,3 @@ def import_(call: EndpointCall) -> OK:
|
|
|
56
71
|
)
|
|
57
72
|
|
|
58
73
|
return OK.model_validate_json(resp)
|
|
59
|
-
|
|
60
|
-
ENDPOINT_DEFINITION = EndpointDefinition(
|
|
61
|
-
id="agents/import",
|
|
62
|
-
function=import_,
|
|
63
|
-
version=("2.6.5", "2.8.3"),
|
|
64
|
-
payload_model=bytes,
|
|
65
|
-
response_model=OK,
|
|
66
|
-
options={
|
|
67
|
-
"format": str,
|
|
68
|
-
"overwrite": bool,
|
|
69
|
-
"controller_id": str,
|
|
70
|
-
"audit_log_ticket_link": Optional[str],
|
|
71
|
-
"audit_log_comment": Optional[str],
|
|
72
|
-
"audit_log_time_spent": Optional[str]
|
|
73
|
-
}
|
|
74
|
-
)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ........service.http_service import HTTPService
|
|
4
|
+
from ........model.private.http.joc.joc_v_2_6_5 import DeployClusterAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeployClusterAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def deploy(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/deploy",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ........service.http_service import HTTPService
|
|
4
|
+
from ........model.private.http.joc.joc_v_2_6_5 import DeployClusterAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeployClusterAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def revoke(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/revoke",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from ........service.http_service import HTTPService
|
|
4
|
+
from ........model.private.http.joc.joc_v_2_6_5 import StoreClusterAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: StoreClusterAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def store(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/store",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .........service.http_service import HTTPService
|
|
4
|
+
from .........model.private.http.joc.joc_v_2_6_5 import SubAgentsCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: SubAgentsCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def delete(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/subagents/delete",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .........service.http_service import HTTPService
|
|
4
|
+
from .........model.private.http.joc.joc_v_2_6_5 import SubAgentsCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: SubAgentsCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def disable(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/subagents/disable",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .........service.http_service import HTTPService
|
|
4
|
+
from .........model.private.http.joc.joc_v_2_6_5 import SubAgentsCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: SubAgentsCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def enable(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/subagents/enable",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .........service.http_service import HTTPService
|
|
4
|
+
from .........model.private.http.joc.joc_v_2_6_5 import SubAgentCommand, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: SubAgentCommand
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def reset(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/subagent/reset",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .........service.http_service import HTTPService
|
|
4
|
+
from .........model.private.http.joc.joc_v_2_6_5 import StoreSubAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: StoreSubAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def store(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/cluster/subagents/store",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import DeployAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeployAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def deploy(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/deploy",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
from .......service.http_service import HTTPService
|
|
4
|
+
from .......model.private.http.joc.joc_v_2_6_5 import DeployAgents, OK
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class EndpointCall:
|
|
9
|
+
http_service: HTTPService
|
|
10
|
+
access_token: str
|
|
11
|
+
payload: DeployAgents
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def disable(call: EndpointCall) -> OK:
|
|
15
|
+
if not call.access_token:
|
|
16
|
+
raise ValueError("'access_token' is required in function call.")
|
|
17
|
+
|
|
18
|
+
body = call.payload.model_dump_json(by_alias=True, exclude_none=True)
|
|
19
|
+
|
|
20
|
+
with call.http_service as http:
|
|
21
|
+
resp = http.post(
|
|
22
|
+
path="/joc/api/agents/inventory/disable",
|
|
23
|
+
body=body,
|
|
24
|
+
headers={
|
|
25
|
+
"X-Access-Token": call.access_token,
|
|
26
|
+
"Accept": "application/json"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return OK.model_validate_json(resp)
|