ManageIQ / ManageIQ/manageiq-api
Endpoint for automate namespaces
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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