Skip to content

[uss_qualifier] Add ed318 test scenario#1438

Open
raphaelcere wants to merge 6 commits intointeruss:mainfrom
swiss-foca:ed318-doc-3
Open

[uss_qualifier] Add ed318 test scenario#1438
raphaelcere wants to merge 6 commits intointeruss:mainfrom
swiss-foca:ed318-doc-3

Conversation

@raphaelcere
Copy link
Copy Markdown

Implementation of ED-318 test with validation scheme

ed318 initial copy

Initial structure for ed318

add ED-318 schema as ressource

initial copy ED-318

ed318 initial copy

Initial structure for ed318

first working test

add data sample with error
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented May 5, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

@mickmis mickmis changed the title Ed318 doc 3 [uss_qualifier] Add ed318 test scenario May 5, 2026
Copy link
Copy Markdown
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

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

Thanks for the submission. I have a few comments and in addition we would need the following to be done:

  • CLA to sign
  • rebase onto / merge latest main
  • source differently the ed318 JSON schema
  • use a sample test data file
  • remove superfluous files

With those changes, this looks good to me.
Please let me know if you need some help on those items.

Comment on lines +14 to +17
source_schema_ed318_geozones:
resource_type: resources.eurocae.ed318.source_schema.SourceSchema
specification:
url: file://./test_data/che/geoawareness/flattened_schema.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The ed318 schema should be somehow sourced in the repo (most likely through a submodule of the source-of-truth ed318 repo if that is possible) rather than a resource passed to the scenario.

Comment thread monitoring/uss_qualifier/configurations/dev/geoawareness_cis.yaml Outdated
Comment thread monitoring/uss_qualifier/configurations/dev/geoawareness_cis.yaml Outdated
@@ -0,0 +1,22 @@
from implicitdict import ImplicitDict
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

File to be removed

Comment thread monitoring/uss_qualifier/scenarios/eurocae/ed318/source_data_model.md Outdated
Comment thread monitoring/uss_qualifier/scenarios/eurocae/ed318/source_data_model.py Outdated
) as check:
try:
validate(instance=data, schema=schema)
except ValueError as e:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

According to the jsonschema documentation, this throws a jsonschema.exceptions.ValidationError

raphaelcere and others added 4 commits May 5, 2026 20:39
…odel.py

Co-authored-by: Mickaël Misbach <mickael@misba.ch>
Co-authored-by: Mickaël Misbach <mickael@misba.ch>
Co-authored-by: Mickaël Misbach <mickael@misba.ch>
…odel.md

Co-authored-by: Mickaël Misbach <mickael@misba.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants