Redfish-Tools icon indicating copy to clipboard operation
Redfish-Tools copied to clipboard

Doc Generator - profiles output setting doesn't account for additional registries folder locations

Open rahlvers opened this issue 5 years ago • 1 comments

When attempting to build for Swordfish profiles, which use registries online here: https://redfish.dmtf.org/registries/swordfish/v1/, the tool breaks. It only expects registries at redfish/registries.

rahlvers avatar Sep 09 '19 19:09 rahlvers

I'm not sure that's accurate (or I'm misunderstanding) -- if the profile entry for a registry lists the Repository as "redfish.dmtf.org/registries/swordfish/v1", that should match https://redfish.dmtf.org/registries/swordfish/v1/. There actually isn't a hard-coded fallback location for registries.

For example, I'd expect something like this to work:

"Registries": {
    "Swordfish": {
        "MinVersion": "1.0.0",
        "Repository": "redfish.dmtf.org/registries/swordfish/v1",
       [...]

akf avatar Sep 09 '19 19:09 akf