Skip to content

DT-2410: Update networknt jsonschema to v3#1080

Closed
rushtong wants to merge 3 commits intodevelopfrom
gr-DT-2410-update-networknt-jsonschema
Closed

DT-2410: Update networknt jsonschema to v3#1080
rushtong wants to merge 3 commits intodevelopfrom
gr-DT-2410-update-networknt-jsonschema

Conversation

@rushtong
Copy link
Copy Markdown
Contributor

Addresses

https://broadworkbench.atlassian.net/browse/DT-2410

Summary

WIP

  • Updates json-schema utilities to the latest version.

Currently failing due to a mockserver dependency on the older version that doesn't seem to be included in their jar:

java.lang.NoClassDefFoundError: com/networknt/schema/SpecVersion$VersionFlag

	at org.mockserver.validator.jsonschema.JsonSchemaValidator.<clinit>(JsonSchemaValidator.java:39)
	at org.mockserver.serialization.ExpectationSerializer.getValidator(ExpectationSerializer.java:67)
	at org.mockserver.serialization.ExpectationSerializer.deserialize(ExpectationSerializer.java:127)
	at org.mockserver.serialization.ExpectationSerializer.deserializeArray(ExpectationSerializer.java:195)
	at org.mockserver.serialization.ExpectationSerializer.deserializeArray(ExpectationSerializer.java:158)
	at org.mockserver.client.MockServerClient.upsert(MockServerClient.java:1517)
	at org.mockserver.client.ForwardChainExpectation.respond(ForwardChainExpectation.java:84)

Have you read CONTRIBUTING.md lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

@rushtong
Copy link
Copy Markdown
Contributor Author

Closing this. Mockserver has an open bug on this very issue: mock-server/mockserver#1966

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.

1 participant