Lorenzo Tanganelli
3a3284b5df
rework with check if POST exists
2024-02-07 15:55:19 -05:00
Lorenzo Tanganelli
2359004cc1
fix decription extraction on export
2024-02-07 15:55:19 -05:00
Lorenzo Tanganelli
694d7e98e7
leave $encrypted$ on export
...
add encrypted removal from import when object not exists
2024-02-07 14:29:30 -05:00
Julen Landa Alustiza
8c9c02c975
awxkit: allow to modify api base url ( #14835 )
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
2024-02-07 12:26:42 +01:00
TVo
bb1922cdbb
Update conf.py to 2024 ( #14743 )
...
* Update conf.py to 2023
* Update awxkit/awxkit/cli/docs/source/conf.py
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
---------
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2024-01-04 12:38:21 -07:00
Avi Layani
df24cb692b
Adding hosts bulk deletion feature ( #14462 )
...
* Adding hosts bulk deletion feature
Signed-off-by: Avi Layani <alayani@redhat.com>
* fix the type of the argument
Signed-off-by: Avi Layani <alayani@redhat.com>
* fixing activity_entry tracking
Signed-off-by: Avi Layani <alayani@redhat.com>
* Revert "fixing activity_entry tracking"
This reverts commit c8eab52c2ccc5abe215d56d1704ba1157e5fbbd0.
Since the bulk_delete is not related to an inventory, only hosts which
can be from different inventories.
* get only needed vars to reduce memory consumption
Signed-off-by: Avi Layani <alayani@redhat.com>
* filtering the data to reduce memory increase the number of queries
Signed-off-by: Avi Layani <alayani@redhat.com>
* update the activity stream for inventories
Signed-off-by: Avi Layani <alayani@redhat.com>
* fix the changes dict initialiazation
Signed-off-by: Avi Layani <alayani@redhat.com>
---------
Signed-off-by: Avi Layani <alayani@redhat.com>
2023-12-13 10:28:31 -06:00
Jeff Bradberry
4822dd79fc
Revert "Improve performance for awx cli export ( #13182 )"
2023-08-15 15:55:10 -04:00
Alan Rominger
755e55ec70
Remove reference to unmaintained runner image ( #14143 )
2023-06-23 10:15:11 -04:00
Gabriel Muniz
721a2002dc
Add --interval to launch monitor command ( #14068 )
...
Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com>
2023-06-22 11:07:26 -03:00
Jesse Wattenbarger
897a19e127
Add None check back to get_post_fields ( #14155 )
2023-06-21 12:37:59 -04:00
Artsiom Musin
4bae961b5f
Improve performance for awx cli export ( #13182 )
...
Co-authored-by: Jesse Wattenbarger <jwattenb@redhat.com>
2023-06-21 10:49:22 -04:00
Alan Rominger
433c28caa8
Materialize label page after getting 204 code ( #14010 )
2023-05-16 16:12:18 -04:00
Alan Rominger
0d5c0bcb91
Skip constructed_inventory in a more correct loop ( #14004 )
2023-05-15 13:48:59 -04:00
John Westcott IV
ba7f97f84b
Skip constructed_inventory endpoint in awxkit import
2023-05-10 14:24:27 -04:00
Shane McDonald
f1196fc019
Clean up string formatting issues from black migration
2023-05-10 08:19:23 -04:00
Lorenzo Tanganelli
479d0c2b12
add instance_groups on cli and awx.awx.role ( #13784 )
2023-04-04 10:09:48 -04:00
Oleksii Baranov
598f9e2a55
Add host_metrics page to the awxkit
2023-03-30 08:46:17 +02:00
Alan Rominger
c2fe06dd95
[constructed-inventory] Use control plane EE for constructed inventory and hack temporary image ( #13474 )
...
* Use control plane EE for constructed inventory and hack temporary image
* Update page registry to work with new endpoints
2023-03-28 11:20:24 -05:00
Sarah Akus
d2aa1b94e3
Merge pull request #13644 from fosterseth/inv_source_scm_branch
...
Add scm_branch to inventory source and inventory update
2023-03-11 10:57:21 -05:00
Alan Rominger
7cb16ef91d
Make the bulk endpoint templates work in API browser
...
Various fixes
- Don't skip checking resource RBAC permissions for admins
Necessary to handle bad input, e.g. providing a
unified_job_template id that doesn't exit
- In awxkit, only "walk" if we get 'url' in the result
- Bulk host create should return url pointing to inventory,
not inventory/hosts
dont do org check for superuser
2023-03-08 12:58:12 -05:00
Elijah DeLee
9e037f1a02
fixup return values for bulk launch and host create in awxkit
...
Enabled the params bulk job
make black
make black again
Fixed inventory and organization input params for bulk modules
add collection integration tests
Fix cli return errors
fix test completeness
2023-03-08 12:58:12 -05:00
Seth Foster
34834252ff
awxkit cli support
...
fixes for awx cli
2023-03-08 12:58:12 -05:00
Seth Foster
a952ab0a75
Add scm_branch to inventory source and inventory update
...
add scm_branch as optional field awxkit
2023-03-07 17:49:57 -05:00
Gabe Muniz
0d7bbb4389
[AAP-8682] adding Schedule to dependent_export to allow previous behavior on job template export
2023-02-08 16:19:29 -05:00
Alan Rominger
93d84fe2c9
Merge pull request #13502 from AlanCoding/new_black
...
Update to comply with new black rules
2023-02-01 16:18:50 -05:00
Alan Rominger
f5785976be
Update to comply with new black rules
2023-02-01 14:59:38 -05:00
Ryan Mahaffey
c9d931ceee
add '--order-by' option as supplied by the awx api
2023-01-27 18:21:34 -08:00
Cody Gula
7e55305c45
Update to include pip install command and PyPI link
...
Signed-off-by: Cody Gula <cgula7@gmail.com>
2023-01-17 19:04:57 -08:00
Shane McDonald
f04ac3c798
Remove unneeded pass_env in tox config
...
I don't recall us ever using Travis so I'm not sure why this is here.
https://tox.wiki/en/latest/changelog.html#v4-0-6-2022-12-10
2022-12-15 19:44:02 -05:00
Seth Foster
e5057691ee
Merge pull request #13252 from max-len/patch-1
...
Update install.rst
2022-12-02 22:46:26 -05:00
Jeff Bradberry
48eba60be4
Remove update_on_project_update from awxkit
...
This was removed from the InventorySource model a bit ago.
2022-12-01 13:44:10 -05:00
Elijah DeLee
6508ab4a33
add new fields to awxkit
2022-11-30 17:14:33 -05:00
Jeff Bradberry
7fa9dcbc2a
Merge pull request #13168 from ArtsiomMusin/feature_13055_add_multiple_assert_export
...
Add multiple asset export for awx cli
2022-11-30 15:01:42 -05:00
Max Lendrich
eaccf32aa3
Update install.rst
...
Fix doc for current pip==22.3
2022-11-30 16:54:42 +01:00
TVo
332c433b6e
Update conf.py
...
Updated variables to reflect automation controller name.
2022-11-10 14:18:25 -07:00
Artsiom Musin
c39172f516
Resolve review comments
2022-11-09 15:54:16 +01:00
Jeff Bradberry
3d3e4ad150
Avoid adding the 'config' subparser twice
...
Once since it is defined as a CustomCommand subclass, and once because
it is an endpoint at the /api/v2/ level. With Python 3.11 argparse
has become more strict and will raise an exception when you try to
inject duplicate subparsers.
2022-11-08 15:13:35 -05:00
Artsiom Musin
9b047c2af6
Add multiple assert export for awx cli
2022-11-08 15:42:25 +01:00
Jeff Bradberry
b57ae592ed
Expand the dependencies of the Schedule page type
...
Really these could get any of the unified job template types, not just
system job templates, so importing e.g. a project with a schedule was
doing them in the wrong order.
Also, bump the timeout of the project update and make sure that we
stash it in the page cache even if it doesn't finish in 5 minutes.
2022-10-28 12:56:35 -04:00
John Westcott IV
84d00722b9
Add prevent_instance_group_fallback to awxkit
2022-09-29 14:19:37 -04:00
Jeff Bradberry
68a44529b6
Register pages for the Instance peers and install bundle endpoints
...
This includes exposing a new interface for Page objects, Page.bytes,
to return the full bytestring contents of the response.
2022-09-23 09:46:14 -04:00
John Westcott IV
86e7151508
Get more specific as to which timeout caused the issue
2022-09-22 16:08:21 -04:00
John Westcott IV
75597cf29c
Altering --timeout from awxkit to --action-timeout to remove conflict with new launch timeout
2022-09-22 16:08:21 -04:00
Oleksii Baranov
d07177be9c
Add additional schedule fields for new prompts
2022-09-22 16:08:21 -04:00
Oleksii Baranov
ffe970aee5
Added instance_groups method to the awxkit models
...
Also added additional payload fields to the wfjt model.
2022-09-22 15:58:16 -04:00
Oleksii Baranov
4579ab0d60
Add new add_label method to the wfjt node and schedules awxkit models
2022-09-22 15:58:16 -04:00
Oleksii Baranov
2e217ed466
Add awxkit optional fields for new prompts
...
Added additional fields for the awskit to support prompts:
* ee
* labels
* forks
* timeout
* ig
* job_slices
2022-09-22 15:23:57 -04:00
Luiz Costa
7a4da5a8fa
Add GPG credential support to awxkit
2022-09-06 10:05:36 -05:00
Alan Rominger
4b8a56be39
Make schedule teardown more reliable
2022-08-19 15:42:00 -04:00
Jeff Bradberry
fe1a767f4f
Suppress 204 No Content results causing an error during import
2022-07-19 12:25:24 -04:00