This discussion came up during the demo.
registryURL as name suggest should be URL. As such it should aways have a form as proto://host/path.
There are examples that show registryURL: registry.devfile.io and with the current implementations, this is valid.
Becaue it autmativalyy asumes http as proto. This is implemented in getDevfileFromRegistry function
registry.devfile.io is not a valid URL and it should not be a valid value for registryURL .
The correct and value in this case should be registryUrl: "https://registry.devfile.io"
This discussion came up during the demo.
registryURLas name suggest should be URL. As such it should aways have a form asproto://host/path.There are examples that show
registryURL: registry.devfile.ioand with the current implementations, this is valid.Becaue it autmativalyy asumes
httpas proto. This is implemented in getDevfileFromRegistry functionregistry.devfile.iois not a valid URL and it should not be a valid value forregistryURL.The correct and value in this case should be
registryUrl: "https://registry.devfile.io"