ManageIQ / ManageIQ/manageiq-api-client

Add support for subcollection actions

Open
#32 0 comments 0 reactions 1 assignee View on GitHub

@abellotti is already working on this.

Since Jan 27, 2017.

enhancement help wanted
Dominant language
Ruby
Stars
11
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Need to be able to trigger actions on subcollections

Examples:

```
miq.vms.where(:name => "test*").collect do |vm|
vm.policies.where(:name => "infra*").collect(&:resolve)
end
```

```
miq.vms.where(:name => "dev*").collect { |vm| vm.tags.collect(&:unassign) }
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.