Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: xml-constraint-update
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7