#185 [RFE] Bulk operations RPC
Closed: fixed 5 years ago Opened 13 years ago by admiyo.

We need to be able to execute a collection of IPA commands in one RPC.

Points brought up in discussions:
We can extend the current xml or JSON formats so that instead of having a single section that begins with "method" we could iterate through a collection.
These can potentially be very long running tasks. Ideally, the operation would be asynchronous. The rpc ends with the successful upload of the batch commands, email notification is sent when the task is completed, and an additional rpc shows the status of batched commands


I'd like to bump this up in priority. MAny of the UXD screens require data that is not retrievable in a single RPC. Typically, we need to show details that can only be fetched via a "show" call as part of building up associationes, where the set of values comes from a find call. The HBAC page has the same requirement. Serial associate and delete are other examples where the code is unnecessarily complicated by the need to synchronize multiple calls, coupled with a slowdown due to network overhead.

This is available via the batch command to json and internally but is not generally exposed on the cli.

Metadata Update from @admiyo:
- Issue assigned to rcritten
- Issue set to the milestone: Tickets Deferred

7 years ago

Closing. The batch command was added in IPA 2.0.0 and can be pretty easily scripted as demonstrated in https://wordpress.com/post/rcritten.wordpress.com/183

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata