Skip to content

Pull and parse parent devfile from registry in library #354

Description

@yangcao77

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/libraryCommon devfile library for interacting with devfiles

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions