Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
backbone-message-format backbone-message-format
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Communications Backbone System
  • backbone-message-formatbackbone-message-format
  • Merge requests
  • !10

Merged
Created Mar 02, 2023 by Dan Jones@danjonOwner

Ensure example messages pass validation in javascript

  • Overview 5
  • Commits 4
  • Pipelines 3
  • Changes 24

These now all pass. What's changed:

  • cd tests-js/docker && docker compose up (runs the tests against the js validator)
  • Removed some fields that were empty in sample messages
  • Updated the schemas so each message_type field is an enum of 1 value (ensures the validator knows how to use the right payload definition)
  • Updated the header.destination fields to match the spec. We might need to rethink this for things like the configuration message
  • This is validating with noAdditionalProperties:false - I need to update the javascript adapter to match.
Edited Mar 02, 2023 by Dan Jones
Assignee
Assign to
Reviewer
Request review from
SoAR-2023W09
Milestone
SoAR-2023W09 (Past due)
Assign milestone
Time tracking
Source branch: validate-example-messages