ManageIQ / ManageIQ/manageiq-api

[RFE] Enable/Disable automate domains

Open
#649 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted size/s
Dominant language
Ruby
Stars
20
Forks
149
Avg merge
3d 22h
Merged PRs (30d)
1

Description

ManageIQ recently implemented the create_from_git action on /api/automate_domains. By default the new domain is set to disabled. This is by design, because there should be an administrator "approving" the domain, by enabling it manually.

However CI/CD pipelines need to enable the new domains automatically.
My particular use case involves generating Automate Domains on the fly, based on pull requests in git. These Domains are pushed to the central git repo as orphaned branch, a call to create_from_git that imports the domain, before the orphaned branch is cleaned up.

A separate action to set the enabled field in MiqAeDomain would solve that problem

Original RFE: https://github.com/ManageIQ/manageiq-api/issues/354
PR: https://github.com/ManageIQ/manageiq-api/pull/571
My Project: https://github.com/ThomasBuchinger/miq-flow/issues/52
Gitter conversation:

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.

Research direction

Start at the /api/automate_domains entry point and review the existing create_from_git action, then inspect how the enabled field is represented on MiqAeDomain. Use the referenced PR 571 and related discussion to understand the intended enable/disable behavior. Done means the API supports the requested domain state change for CI/CD use.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.