Skip to content

Java/IoT3Mobility: Test JSON ETSI ITS messages against their JSON schema#561

Open
mathieu1fb wants to merge 8 commits into
Orange-OpenSource:masterfrom
mathieu1fb:add-json-schema-validation
Open

Java/IoT3Mobility: Test JSON ETSI ITS messages against their JSON schema#561
mathieu1fb wants to merge 8 commits into
Orange-OpenSource:masterfrom
mathieu1fb:add-json-schema-validation

Conversation

@mathieu1fb

@mathieu1fb mathieu1fb commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What's new

The conformity of JSON format ETSI ITS messages generated by the Java IoT3 Mobility SDK is now tested against their respective JSON schema.

Close #560

Note: the validation classes remain (e.g. CamValidator240) as they are useful at runtime to trigger errors when users try to generate incomplete messages, or receive incomplete or badly formatted ones. However, they did not guarantee the absence of implementation error in the SDK itself...


What to do

Read new test classes. The GitHub CI pipeline should already have validated the tests, but you can also run them on your machine.

Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
Signed-off-by: Mathieu LEFEBVRE <mathieu1.lefebvre@orange.com>
@mathieu1fb mathieu1fb self-assigned this Jul 10, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Kanban Jul 10, 2026

@fredOG-2A1 fredOG-2A1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi.
I ran four tests with Intellij.
Last one with MapemValidator200Test says:

Image

Ok for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Java/IoT3Mobility: add JSON schema validation tests

2 participants