Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !700

Closed
Created Oct 24, 2024 by Rafael Monnerat@rafael👻Owner
  • Report abuse
Report abuse

slapos_cloud: Update constraints to prevent set improper data on request

  • Overview 3
  • Commits 0
  • Changes 0

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
Reviewer
Request review from
Time tracking
Source branch: xml-constraint-update
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7