-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from EncoreTechnologies/feature/autogenerated-a…
…ctions Auto-generated actions for #3
- Loading branch information
Showing
682 changed files
with
35,323 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
description: " (resource: POST /katello/api/activation_keys/:id/host_collections)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.add_host_collections | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.add_host_collections | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" | ||
host_collection_ids: | ||
type: array | ||
required: true | ||
description: "List of host collection IDs to associate with activation key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
description: "Attach a subscription (resource: PUT /katello/api/activation_keys/:id/add_subscriptions)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.add_subscriptions | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.add_subscriptions | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" | ||
subscription_id: | ||
type: string | ||
required: false | ||
description: "Subscription identifier" | ||
quantity: | ||
type: string | ||
required: false | ||
description: "Quantity of this subscription to add" | ||
subscriptions: | ||
type: array | ||
required: false | ||
description: > | ||
'description: Array of subscriptions to add | ||
parameters: | ||
id: | ||
required: false | ||
type: string | ||
description: Subscription Pool uuid | ||
quantity: | ||
required: false | ||
type: string | ||
description: Quantity of this subscriptions to add | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
description: "List host collections the system does not belong to (resource: GET /katello/api/activation_keys/:id/host_collections/available)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.available_host_collections | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.available_host_collections | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
search: | ||
type: string | ||
required: false | ||
description: "Search string" | ||
page: | ||
type: string | ||
required: false | ||
description: "Page number, starting at 1" | ||
per_page: | ||
type: string | ||
required: false | ||
description: "Number of results per page to return" | ||
order: | ||
type: string | ||
required: false | ||
description: "Sort field and order, eg. 'name DESC'" | ||
full_results: | ||
type: string | ||
required: false | ||
description: "Whether or not to show all results" | ||
sort: | ||
type: object | ||
required: false | ||
description: > | ||
'description: Hash version of 'order' param | ||
parameters: | ||
by: | ||
required: false | ||
type: string | ||
description: Field to sort the results on | ||
order: | ||
required: false | ||
type: string | ||
description: How to order the sorted results (e.g. ASC for ascending) | ||
' | ||
name: | ||
type: string | ||
required: false | ||
description: "host collection name to filter by" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
description: "Show release versions available for an activation key (resource: GET /katello/api/activation_keys/:id/releases)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.available_releases | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.available_releases | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
description: "Override content for activation_key (resource: PUT /katello/api/activation_keys/:id/content_override)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.content_override | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.content_override | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" | ||
content_override: | ||
type: object | ||
required: false | ||
description: > | ||
'description: Content override parameters | ||
parameters: | ||
content_label: | ||
required: true | ||
type: string | ||
description: Label of the content | ||
value: | ||
required: true | ||
type: string | ||
description: Override to 0/1, or 'default' | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
description: "Copy an activation key (resource: POST /katello/api/activation_keys/:id/copy)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.copy | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.copy | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
new_name: | ||
type: string | ||
required: true | ||
description: "Name of new activation key" | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" | ||
organization_id: | ||
type: string | ||
required: false | ||
description: "organization identifier" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
description: "Create an activation key (resource: POST /katello/api/activation_keys)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.create | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.create | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
organization_id: | ||
type: string | ||
required: true | ||
description: "organization identifier" | ||
name: | ||
type: string | ||
required: true | ||
description: "name" | ||
description: | ||
type: string | ||
required: false | ||
description: "description" | ||
environment: | ||
type: object | ||
required: false | ||
description: "environment" | ||
environment_id: | ||
type: string | ||
required: false | ||
description: "environment id" | ||
content_view_id: | ||
type: string | ||
required: false | ||
description: "content view id" | ||
max_hosts: | ||
type: string | ||
required: false | ||
description: "maximum number of registered content hosts" | ||
unlimited_hosts: | ||
type: string | ||
required: false | ||
description: "can the activation key have unlimited hosts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
description: "Destroy an activation key (resource: DELETE /katello/api/activation_keys/:id)" | ||
enabled: true | ||
runner_type: "python-script" | ||
entry_point: lib/action.py | ||
name: activation_keys.destroy | ||
pack: foreman | ||
parameters: | ||
operation: | ||
type: string | ||
default: activation_keys.destroy | ||
immutable: true | ||
connection: | ||
type: string | ||
description: "Name of <connection> from this pack's configuration that specifies how to connect to a server." | ||
required: false | ||
server: | ||
type: string | ||
description: "Optional override of the server in <connection> (required if <connection> is not specified)." | ||
required: false | ||
username: | ||
type: string | ||
description: "Optional override of the username in <connection> (example: [email protected]) (required if <connection> is not specified)." | ||
required: false | ||
password: | ||
type: string | ||
description: "Optional override of the password in <connection>. (required if <connection> is not specified)" | ||
required: false | ||
secret: true | ||
id: | ||
type: string | ||
required: true | ||
description: "ID of the activation key" |
Oops, something went wrong.