Add symlinks to folderNow that we have the schemas moved, add symlinks back to the schemasthat we use, so that they will be installed correctly.The meson option of follow_symlinks: true is added
Add symlinks to folderNow that we have the schemas moved, add symlinks back to the schemasthat we use, so that they will be installed correctly.The meson option of follow_symlinks: true is added to suppress awarning about potential change in behavior in meson in the future.Change-Id: Ie24536ca04038d8137818c201d9411b95361b14fSigned-off-by: Ed Tanous <ed@tanous.net>
show more ...
Move existing schemas into foldersReorganize the existing schemas into folders under redfish core.The existing schema system has some problems:1. It's hard to add new schemas2. We have to rerun
Move existing schemas into foldersReorganize the existing schemas into folders under redfish core.The existing schema system has some problems:1. It's hard to add new schemas2. We have to rerun the script any time we want to change what schemas we use.3. Adding schemas optionally takes effortIn an effort to combat this, this patchset moves all the existingschemas into folders that represent their namespace namesdmtf/csdl represents the CSDL that dmtf publishesoem/openbmc represents the CSDL that OpenBMC publishesIn theory, this means that in the future we can relax OEM_SCHEMAS.md,and allow folks to possibly implement their own schemas in a way thatdoesn't have to effect all other systems.This also has the advantage of not requiring changes toupdate_schemas.py when we want to add, remove, or modify what version ofa schema we use. "current" schemas are just symlinks, so they can beupdated using git, and not necessarily have merge conflicts with oneanother.Tested: Redfish service validator passes.Change-Id: I6d4a130bba4cb874ef00a06ed579cc67f53dc7aeSigned-off-by: Ed Tanous <ed@tanous.net>
Update schema packs to 2023.1Redfish just released 2023.1, pull it in and update the packs.This commit was generated automatically using update_schemas.pySigned-off-by: Ed Tanous <edtanous@goog
Update schema packs to 2023.1Redfish just released 2023.1, pull it in and update the packs.This commit was generated automatically using update_schemas.pySigned-off-by: Ed Tanous <edtanous@google.com>Change-Id: I8faad8392af88aa7fc3a4fd73c8e0ec3bede56e5
Update Redfish schema pack to 2022.1Update to an intermediate schema pack. This is not the newest, but isan incremental commit to allow us to differentiate different versions ofthe schema packs
Update Redfish schema pack to 2022.1Update to an intermediate schema pack. This is not the newest, but isan incremental commit to allow us to differentiate different versions ofthe schema packs evolution.Signed-off-by: Ed Tanous <edtanous@google.com>Change-Id: I4e5905a3ed40ca41b095c39b4d29c074b6eaeb67
Include Collections for JsonSchema resourcesRedfish collection Json schema files are not versioned, and only have asingle version file. In the script, we assumed that all files wereversioned, an
Include Collections for JsonSchema resourcesRedfish collection Json schema files are not versioned, and only have asingle version file. In the script, we assumed that all files wereversioned, and the script ignored files that didn't parse as versioned.This commit fixes the script, and checks in the relevant Collectionresources.Tested: Redfish service validator passes on JsonSchemas resources andcollection.Signed-off-by: Ed Tanous <edtanous@google.com>Change-Id: I579dac3fdfecf485f7d414842effa9ae0ee517e8