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

slapos_cloud: Update constraints to prevent set improper data on request

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Rafael Monnerat requested to merge rafael/slapos.core:xml-constraint-update into master Oct 24, 2024
  • Overview 3
  • Commits 0
  • Pipelines 0
  • Changes -

Try to guarantee that data is consistent and won't fail later on while been converted to XML with special attention to non-XML compatibles characters, like backspace.

Include constraint to ensure title is XML compatible on Software Instance, Instance Tree and Slave Instance. (Not required for Compute Node as far as I checked).

Copy text_content (parameter), sla_xml constraints from Software Instance to Instance Tree and Slave Instance.

Copy connection_xml constraint from Software to Slave Instance for consistency.

Add more tests to ensure that an Instance cannot be created if data is invalid, or not XML compatible.

Add utility scripts to validate XML and XML Marshaller compatibility

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