Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1562

wip: Restructure json schema for ORS Software release

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Rafael Monnerat requested to merge rafael/slapos:ors-json-schema into master Apr 12, 2024
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 20

This continues the work on https://lab.nexedi.com/nexedi/slapos/-/merge_requests/1555

Drop hidden fields, ingested option and restructure to use object types.

Most of the work is to improve the way data is validated to avoid duplication and other miss-behavior from the parameter editor.

It drops non JSON Schema standard features (hidden and template) and use object key based structures instead const+template, since it provides better behavior whenever render the form. (so user don't have to manually input the value, like current behavior).

Using objects, only fills structured values once the subform has a value inputted (or set), so it don't pollute of modifies the data just by rendering the form.

It is required to still update instance and tests for follow up the change.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ors-json-schema
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7