Offline Support for download-starter-project
endpoint
#851
Labels
area/registry
Devfile registry for stacks and infrastructure
kind/enhancement
New feature or request
Which area this feature is related to?
/area registry
Which functionality do you think we should add?
Why is this needed? Is your feature request related to a problem?
for #770
for #329
To allow for starter projects to be stored locally to an offline devfile registry and downloadable from the
download-starter-project
endpoint.Detailed description:
Currently, the
download-starter-project
endpoint will download the starter project for a given devfile from the source specified by the contents of that devfile. In order for this endpoint to work in an offline environment, the user would need to fetch the resources (e.g. the starter projects) manually and package them into the image build for the complete offline registry. Therefore, the process must be able to fetch starter projects from a local path in the registry where devfiles are stored. In this issue, we would like to add the ability to allow thedownload-starter-project
endpoint to determine if the download is to be made from a local resource or a remote one.Changes in this issue will effect the work being done in Issue #770.
Describe the solution you'd like
When we run
GET /devfiles/<stack>/starterProjects/<starterProject>
in an offline environment, we want to fetch a pre-packaged starter project rather than fetching it from a remote source as we do by default.Describe alternatives you've considered
Additional context
Target Date: 06-17-2022
The text was updated successfully, but these errors were encountered: