mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
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
This commit is contained in:
@@ -10,3 +10,12 @@ class Bulk(base.Base):
|
||||
|
||||
|
||||
page.register_page([resources.bulk, (resources.bulk, 'get')], Bulk)
|
||||
|
||||
|
||||
class BulkJobLaunch(base.Base):
|
||||
def post(self, payload={}):
|
||||
result = self.connection.post(self.endpoint, payload)
|
||||
return self.walk(result.json()['url'])
|
||||
|
||||
|
||||
page.register_page(resources.bulk_job_launch, BulkJobLaunch)
|
||||
|
||||
@@ -14,6 +14,7 @@ class Resources(object):
|
||||
_auth = 'auth/'
|
||||
_authtoken = 'authtoken/'
|
||||
_bulk = 'bulk/'
|
||||
_bulk_job_launch = 'bulk/job_launch/'
|
||||
_config = 'config/'
|
||||
_config_attach = 'config/attach/'
|
||||
_credential = r'credentials/\d+/'
|
||||
|
||||
Reference in New Issue
Block a user