From 2e217ed4660fc5ad9a820f359a3eb7259745ef24 Mon Sep 17 00:00:00 2001 From: Oleksii Baranov Date: Mon, 5 Sep 2022 15:39:30 +0200 Subject: [PATCH] Add awxkit optional fields for new prompts Added additional fields for the awskit to support prompts: * ee * labels * forks * timeout * ig * job_slices --- awxkit/awxkit/api/pages/job_templates.py | 6 ++++++ awxkit/awxkit/api/pages/workflow_job_templates.py | 3 +++ 2 files changed, 9 insertions(+) diff --git a/awxkit/awxkit/api/pages/job_templates.py b/awxkit/awxkit/api/pages/job_templates.py index c93c88af97..46862d9f2b 100644 --- a/awxkit/awxkit/api/pages/job_templates.py +++ b/awxkit/awxkit/api/pages/job_templates.py @@ -54,6 +54,12 @@ class JobTemplate(HasCopy, HasCreate, HasInstanceGroups, HasNotifications, HasSu 'ask_tags_on_launch', 'ask_variables_on_launch', 'ask_verbosity_on_launch', + 'ask_execution_environment_on_launch', + 'ask_labels_on_launch', + 'ask_forks_on_launch', + 'ask_job_slice_count_on_launch', + 'ask_timeout_on_launch', + 'ask_instance_groups_on_launch', 'allow_simultaneous', 'become_enabled', 'diff_mode', diff --git a/awxkit/awxkit/api/pages/workflow_job_templates.py b/awxkit/awxkit/api/pages/workflow_job_templates.py index 0eea75fd6f..42a691d5ea 100644 --- a/awxkit/awxkit/api/pages/workflow_job_templates.py +++ b/awxkit/awxkit/api/pages/workflow_job_templates.py @@ -42,6 +42,9 @@ class WorkflowJobTemplate(HasCopy, HasCreate, HasNotifications, HasSurvey, Unifi "ask_inventory_on_launch", "ask_scm_branch_on_launch", "ask_limit_on_launch", + "ask_labels_on_launch", + "ask_skip_tags_on_launch", + "ask_tags_on_launch", "limit", "scm_branch", "survey_enabled",