ManageIQ / ManageIQ/manageiq-api

Endpoint for automate namespaces

Open
#699 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We need an endpoint for creating/editing (and probably others too) automate namespaces. It is neccessary for @brumik's react rewrite.

The editable fields are name and description but in a flat model we also want to allow the parent somehow, at least for creation. IMO the endpoint should be a subcollection of the automate_domains, but it might be too complicated due its ancestry model. The parent of a namespace can be either a domain or another namespace.

In my naive implementation the endpoint also displays MiqAeDomain instances as they are STI inherited from MiqAeNamespace.

@miq-bot assign @martinpovolny

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 automate_domains API entry point and review how MiqAeNamespace and MiqAeDomain represent ancestry. Define the endpoint behavior for creating and editing namespaces, including name, description, and parent selection, while checking the referenced React rewrite and naive implementation for context. Done means the API behavior and parent handling are settled and covered by suitable tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.