Skip to content

Table validation#255

Merged
pdowler merged 40 commits into
mainfrom
table-validation
May 4, 2026
Merged

Table validation#255
pdowler merged 40 commits into
mainfrom
table-validation

Conversation

@pdowler

@pdowler pdowler commented May 4, 2026

Copy link
Copy Markdown
Member

This merges in extensive changes to add table validation to the cadc-tap library

Table validation can be enabled in the draft VOSI-tables endpoint code to validate user table creation and is used in the TAP upload support.

youcat can be configured with different levels of validation: none, lax, strict

prototype: there is also hack to run validation on an existing table in a TAP service

aratikakadiya and others added 30 commits March 12, 2026 09:24
Restructured Validation result for code reusability.
Integrated the validators.
Updated UCD Validator to warn for deprecated ucd.
Upgraded validations code to list all the errors and warnings.
Rearranged some of the code of cadc-tap-schema.
Added int test cases for all errors, errors + warnings, and all warnings case.
Added unit test for verifying local and remote(IVOA) ucd files are in sync.
Fixed tests affected by the changes.
# Conflicts:
#	cadc-tap-schema/src/main/java/ca/nrc/cadc/tap/schema/TapSchemaUtil.java
Commented ucd files related tests.
Added missing identifier validation for reserved keywords.
Test files and ucd files moved from cadc-tap-schema to cadc-tap.
Fixed logic to pass on table validation warnings for Put and Post requests.
Added unit tests.
Validator config changes
Fixed two bugs(vounit case mismatch issue and reserved keyword with quotes was failing)
Added validator config tests - unit tests
Refactored and restructured a bit of code
Updated README.md
Updated openapi doc for the new GET endpoint
Configurable youcat for validation
aratikakadiya and others added 10 commits May 1, 2026 14:06
Wrong Positions mentioned in messages.
Renamed a ViolationType.
Made structural violations to be considered as an error for all the config types.
cadc-tap-server: update BasicUploadManager to use table validation from cadc-tap
table name and column name where appropriate
this avoids a null pointer in a service that doesn't configure
Table validation cosmetic improvements
@pdowler pdowler merged commit 60a3866 into main May 4, 2026
1 check passed
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