Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull and parse parent devfile from registry in library #354

Closed
yangcao77 opened this issue Feb 23, 2021 · 0 comments · Fixed by devfile/library#63
Closed

Pull and parse parent devfile from registry in library #354

yangcao77 opened this issue Feb 23, 2021 · 0 comments · Fixed by devfile/library#63
Assignees
Labels
area/library Common devfile library for interacting with devfiles

Comments

@yangcao77
Copy link
Contributor

yangcao77 commented Feb 23, 2021

Currently devfile library can only parse parent devfile if uri is specified.

This issue is to support registry id defined under parent.
If RegistryUrl is defined, then pull from that specific registry. If not, then pull from default devfile registry.
The registry REST API should follow: https://github.com/devfile/api/blob/master/docs/proposals/registry/index-server-REST-API.md, the devfile can be got via GET request to GET http://{registry host}/devfiles/{stack}

The parent devfile should be parsed & override & merge into the flattened devfile.

@yangcao77 yangcao77 added the area/library Common devfile library for interacting with devfiles label Feb 23, 2021
@yangcao77 yangcao77 self-assigned this Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/library Common devfile library for interacting with devfiles
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant