Skip to content

Commit

Permalink
Merge pull request #1736 from kbrock/drop_lifecycle_events
Browse files Browse the repository at this point in the history
dropping references to vm lifecycle events
  • Loading branch information
Fryguy authored Nov 7, 2023
2 parents bbda952 + 8df78ba commit 63bfd28
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 63 deletions.
1 change: 0 additions & 1 deletion api/appendices/soap_to_rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
| EVMActionList | GET | /api/policies/:id/policy\_actions | | [Policy Actions](../reference/policy_collections.html#policy-actions) |
| | GET | /api/policies/:id?expand=policy\_actions | | |
| | GET | /api/policies?filter\[\]=guid='…​.'\&expand=resources,policy\_actions | | |
| EVMAddLifecycleEvent | POST | /api/vms/:id | add\_lifecycle\_event | [Add Lifecycle Event to VM](../examples/add_lifecycle_event_vm.html) |
| EVMAssignPolicy | POST | /api/hosts/:id/policies | assign | [Assigning Policies](../reference/policies.html#assigning-policies-to-a-resource) |
| EVMConditionList | GET | /api/policies/:id/conditions | | [Policy Conditions](../reference/policy_collections.html#policy-conditions) |
| | GET | /api/policies/:id?expand=conditions | | |
Expand Down
30 changes: 0 additions & 30 deletions api/examples/add_lifecycle_event_vm.md

This file was deleted.

5 changes: 0 additions & 5 deletions api/examples/compliance_policy_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,11 +637,6 @@ task generated for it and look for the state attribute as follows:
"method": "post",
"href": "http://localhost:3000/api/vms/171"
},
{
"name": "add_lifecycle_event",
"method": "post",
"href": "http://localhost:3000/api/vms/171"
},
{
"name": "add_event",
"method": "post",
Expand Down
10 changes: 0 additions & 10 deletions api/reference/custom_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,6 @@ returned are the common ones defined by the system:
"method": "post",
"href": "https://172.16.30.129/api/vms/173"
},
{
"name": "add_lifecycle_event",
"method": "post",
"href": "https://172.16.30.129/api/vms/173"
},
{
"name": "add_event",
"method": "post",
Expand Down Expand Up @@ -310,11 +305,6 @@ and *ping* defined:
"method": "post",
"href": "https://172.16.30.129/api/vms/173"
},
{
"name": "add_lifecycle_event",
"method": "post",
"href": "https://172.16.30.129/api/vms/173"
},
{
"name": "add_event",
"method": "post",
Expand Down
17 changes: 0 additions & 17 deletions api/reference/vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Management of virtual machines adds support of the following actions:
| set\_miq\_server | Sets the server of a virtual machine |
| set\_owner | Sets the owner of a virtual machine |
| add\_event | Adding an event to a virtual machine |
| add\_lifecycle\_event | Add a life cycle event to a virtual machine |
| edit | Edits a virtual machine |
| delete | Deletes a virtual machine in the appliance |

Expand Down Expand Up @@ -51,8 +50,6 @@ Management of virtual machines adds support of the following actions:

- [Adding an Event to a VM](#add-event-vm)

- [Adding a Lifecycle Event to a VM](#add-lifecycle-event-vm)

- [Editing a VM](#edit-vm)

- [Deleting a VM](#delete-vm)
Expand Down Expand Up @@ -250,20 +247,6 @@ reference as follows:

event\_time above is optional. If skipped, current time will be used.

### Adding a Lifecycle Event to a Virtual Machine

``` json
{
"action" : "add_lifecycle_event",
"resource" : {
"event" : "...",
"status" : "...",
"message" : "...",
"created_by" : "..."
}
}
```

### Editing a Virtual Machine

Basic information of virtual machines can be edited. This includes the
Expand Down

0 comments on commit 63bfd28

Please sign in to comment.