mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
reimplement licensing to work with RHSM and entitlement uploads
Co-authored-by: Christian Adams <chadams@redhat.com>
This commit is contained in:
@@ -7,5 +7,8 @@ class Subscriptions(page.Page):
|
||||
def get_possible_licenses(self, **kwargs):
|
||||
return self.post(json=kwargs).json
|
||||
|
||||
def attach(self, **kwargs):
|
||||
return self.connection.post(resources.subscriptions_attach, json=kwargs).json
|
||||
|
||||
|
||||
page.register_page(resources.subscriptions, Subscriptions)
|
||||
|
||||
Reference in New Issue
Block a user