summaryrefslogtreecommitdiffstats
path: root/awx_collection (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changing how associations work in awx collection (#13626)John Westcott IV2023-07-173-7/+117
| | | | Co-authored-by: Alan Rominger <arominge@redhat.com> Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com>
* Allow `job_template` collection module to set verbosity to 5 (#14244)Sean Sullivan2023-07-171-2/+2
|
* Fix spelling errors in readme of awx_collection/toolsJohn Westcott IV2023-06-301-2/+2
| | | | Signed-off-by: John Westcott <john.westcott.iv@redhat.com>
* Add example for ad_hoc_command module (#14106)22.4.0Akira Yokochi2023-06-231-0/+7
|
* Tooling for running collection tests locally ad hoc (#14160)Alan Rominger2023-06-222-0/+86
|
* Using execution_environment option in ad_hoc_command module (#14105)Akira Yokochi2023-06-222-0/+36
|
* Add instance_groups on resource_list_param_keys in awx_collection (#14146)Lorenzo Tanganelli2023-06-211-0/+1
|
* In collection, give changed status in workflow_job_template when destroying ↵Sean Sullivan2023-06-211-0/+1
| | | | nodes (#13928)
* Fixed typo in integration test for group module (#14140)Akira Yokochi2023-06-211-1/+1
|
* Removing psycopg2 referencesJohn Westcott IV2023-06-141-1/+1
|
* Check for a list of all option instead of string (#14046)Artsiom Musin2023-06-141-1/+1
|
* bugfix collection role module target_teams and instance_groups options (#14119)Sean Sullivan2023-06-142-11/+13
|
* Fix : awx.awx.group preserve hosts fails when there are no hosts (#13913)Darshan2023-06-072-3/+27
| | | Co-authored-by: Sean Sullivan <ssulliva@redhat.com>
* Related #13336 - DNS resolution is preventing awx_collection to work with ↵Baptiste Agasse2023-05-241-4/+6
| | | | | http[s]_proxy (#13524) Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com>
* [collection] Fix sanity tests on ansible-core 2.15 (#14007)Rick Elrod2023-05-153-1/+5
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* Merge pull request #13976 from ↵John Westcott IV2023-05-111-165/+153
|\ | | | | | | | | john-westcott-iv/collection_job_wait_remove_depreciated_field_check Change the job_wait integration test
| * Change job_wait collection test to always try and delete created objectsJohn Westcott IV2023-05-101-151/+153
| |
| * Removes test of depreciated fields that have been removed from job_wait ↵John Westcott IV2023-05-101-14/+0
| | | | | | | | collection
* | Make state exists universal in collection (#13890)John Westcott IV2023-05-1040-131/+914
|/ | | | | Make state: exists available for all API modules Make state:exists return the ID just like it would if it created the resource
* collection, allow roles to be added to multiple teams and userssean-m-sullivan2023-05-023-31/+95
|
* Remove project_manual integration testJohn Westcott IV2023-04-252-107/+0
| | | | This test can no longer be performed without manual intervention because of how jobs are now run in EEs
* Enhance collection testJohn Westcott IV2023-04-2528-81/+174
| | | | | | | | | | | | | | ad_hoc_command_cancel really can no longer timeout on a cancel (it happens sub second) and remove unneeded block Modified all test to respect test_id parameter so that all tests can be run togeather as a single ID Fix a check in group since its group2 is deleted from being a sub group of group1 The UI now allows to propage sub groups to the inventory which we may want to support within the collection Only run instance integration test if we are running on k8s and assume we are not by default Fix hard coded names in manual_project
* Use separate module for pytest settings (#13895)Alan Rominger2023-04-251-2/+6
| | | | | | | * Use separate module for test settings * Further refine some pre-existing comments in settings * Add CACHES to setting snapshot exceptions to accommodate changed load order
* Merge branch 'devel' into collection-existential-state-for-credential-moduleMatthew Fernandez2023-04-188-9/+19
|\
| * Changing check for all in awx.awx.export (#13854)John Westcott IV2023-04-181-1/+1
| |
| * Merge pull request #13860 from AlanCoding/move_testAlan Rominger2023-04-142-0/+0
| |\ | | | | | | Move integration tests to be consistent with the rest
| | * Move integration tests to be consistent with the restAlan Rominger2023-04-142-0/+0
| | |
| * | bugfix: add scm_branch to optional_args for workflow_launch (#13254)Dien Nguyen2023-04-131-6/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * add scm_branch to optional_args * add in limits * Update workflow_launch.py remove json from import to pass linting. --------- Co-authored-by: dien nguyen <nguyen.d@gmail.comn> Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com>
| * update credential list examples in awx collectionsean-m-sullivan2023-04-124-2/+10
| |
* | remove redundant loopmatt2023-04-181-13/+12
| |
* | spaces for pep8matt2023-04-111-0/+1
| |
* | Merge branch 'devel' into collection-existential-state-for-credential-moduleMatthew Fernandez2023-04-107-8/+84
|\|
| * add instance_groups on cli and awx.awx.role (#13784)Lorenzo Tanganelli2023-04-041-0/+6
| |
| * minor fix-up due to merge conflictHao Liu2023-03-301-2/+1
| |
| * [collection] Example for constructed inventories (#13755)Rick Elrod2023-03-281-0/+29
| | | | | | Signed-off-by: Rick Elrod <rick@elrod.me>
| * add constructed kind to inventory moduleHao Liu2023-03-282-3/+18
| | | | | | | | | | | | | | | | - add kind 'constructed' to inventory module - add 'input_inventories' field to inventory module Co-authored-by: Rick Elrod <rick@elrod.me> Signed-off-by: Rick Elrod <rick@elrod.me>
| * adding limit to inventory_source collection moduleGabe Muniz2023-03-281-0/+6
| |
| * Fix bug with awx collection manual type alias (#13671)Alan Rominger2023-03-202-3/+24
| | | | | | | | | | * Fix bug with manual type alias * Add unit test for creating manual project with path
* | add test coveragematt2023-03-232-0/+71
| |
* | exit from modulematt2023-03-201-1/+1
| |
* | add `exists` to awx.awx.credentialmatt2023-03-201-4/+8
|/
* Merge pull request #13644 from fosterseth/inv_source_scm_branchSarah Akus2023-03-112-0/+8
|\ | | | | Add scm_branch to inventory source and inventory update
| * Add scm_branch to inventory source and inventory updateSeth Foster2023-03-072-0/+8
| | | | | | | | add scm_branch as optional field awxkit
* | comment everything related to instance group, will add back once 13584 goes injainnikhil302023-03-082-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linting linting again Use the correct role on org permission check Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update awx/main/access.py Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update awx/main/access.py Co-authored-by: Elijah DeLee <kdelee@redhat.com> Update docs/bulk_api.md Co-authored-by: Alan Rominger <arominge@redhat.com> fix collection test (#19) improve readability of through model object creation (#18) lower num jobs/hosts in tests (#20) we can test query scaling at lower numbers, to reduce load in tests. We suspect this was causing some flake in the tests on PRs adjust the num of queries
* | fix access problems (#15)Elijah DeLee2023-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix access problems and add Add bulk job max settings to api filter workflow job nodes better This will both improve performance by limiting the queryset for the node sublists as well as fix our access problem. override can_read instead of modify queryset in access.py We do this because we are not going to expose bulk jobs to the list views, which is complicatd and has poor performance implications. Instead, we just care about individual Workflows that clients get linked to not being broken. fix comment remove the get functions from the conf.py for bulk api max value comment the api expose of the bulk job variables reformt conf.py with make black trailing space add more assertion to the bulk host create test
* | Resolve id inventory and organization (#14)Seth Foster2023-03-085-20/+33
| |
* | add assertion to test on number of queries made (#9)Elijah DeLee2023-03-084-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | * add assertions around access to resulting job there is a problem getting the job w/ the user that launched it add more assertions to bulk tests (#11) dig more into the results and assert on results also, use a fixture that already implemented the "max queries" thing fix ansible collection sanity tests (#12)
* | remove char_prompts and survey password from bulk jobNikhil2023-03-085-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix the api-lint fix the api-lint add the descrition to the bulk job launch module params add the description for the description field add the description for the description field add docs for the bulk api fix the models on the bulk api serializers fix some of the issues highlighted in the code review better use of role model remove comments better error message revert the PrimaryKeyRelatedField for unified_job_template and inventory
* | fixup return values for bulk launch and host create in awxkitElijah DeLee2023-03-087-35/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | added awx collection support for bulk apiSeth Foster2023-03-082-0/+236
|/ | | | | | | | | | | | | | | | | | | | | | | | return more context for bulk host create now return list of minimal info about host objects [ { "name": "lakjdsafoiaweirnladlk", "enabled": true, "instance_id": "", "description": "", "variables": "", "id": 4593, "url": "/api/v2/hosts/4593/", "inventory": "/api/v2/inventories/1/" } ] Updated tests, but needed to work around some weird behavior with sqlite. Apparently it behaves differently around assigning ID's to the result of bulk_create and that is messed up my use of `reverse` to look up the url of the hosts