Skip to content

Traffic Dump: update json-schema for new tuple requirements#8382

Merged
ezelkow1 merged 1 commit intoapache:8.1.xfrom
bneradt:backport_jsonschema_update
Oct 6, 2021
Merged

Traffic Dump: update json-schema for new tuple requirements#8382
ezelkow1 merged 1 commit intoapache:8.1.xfrom
bneradt:backport_jsonschema_update

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Oct 6, 2021

This is a backport of #8370 to 8.1.x


More recent versions of json-schema have tuple array element
specifications described with "prefixItems" rather than with "items".
This updates our Traffic Dump schema to match this requirement.

I verified that our tests that use this work with both the older
jsonschema 3.2.0 pip package and the current 4.0.1 package.

Fixes: 8369
(cherry picked from commit cba5e85)

More recent versions of json-schema have tuple array element
specifications described with "prefixItems" rather than with "items".
This updates our Traffic Dump schema to match this requirement.

I verified that our tests that use this work with both the older
jsonschema 3.2.0 pip package and the current 4.0.1 package.

Fixes: 8369
(cherry picked from commit cba5e85)
@bneradt bneradt added the Plugins label Oct 6, 2021
@bneradt bneradt added this to the 8.1.3 milestone Oct 6, 2021
@bneradt bneradt requested a review from ezelkow1 October 6, 2021 14:36
@bneradt bneradt self-assigned this Oct 6, 2021
@ezelkow1 ezelkow1 merged commit 673d979 into apache:8.1.x Oct 6, 2021
@bneradt bneradt deleted the backport_jsonschema_update branch March 29, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants