Skip to content

Add sample/stack query filter to registry query API #409

Closed
@elsony

Description

@elsony

This item is a spin-off item from #403.

Given that our current repo does not support sample vs stack definition yet (pending the work for #279), our existing query API only returns a list of stacks. We can provide a temporary implementation to return a static list of samples, e.g. https://github.com/redhat-developer/devfile-sample, for the time being. The list can be a file stored under https://registry.devfile.io/ for the time being.

When we have done #279, we can then modify the implementation to do a life query on the registry. When querying the list of samples, ideally, we should probably combine the list of samples and the list of starters and return all of them as samples.

For the query syntax, this item covers only the sample/stack filtering:
type:sample (the type of resources that needs to match, the initial supported values are sample and stack)

Metadata

Metadata

Assignees

Labels

area/registryDevfile registry for stacks and infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions