Skip to content

Support checking json formatted documents #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5e5254e
add draft of new schema
jeanetteclark Apr 9, 2025
c50c750
initial restructure into interface structure
jeanetteclark Apr 9, 2025
4f9ed6f
implement factory for XML docs
jeanetteclark Apr 9, 2025
373554f
add processor utils to detect json or xml content type and implement
jeanetteclark Apr 9, 2025
4220c40
fix python test since retypeObject is no longer a static method
jeanetteclark Apr 9, 2025
9000b50
move retype object to ProcessorUtils
jeanetteclark Apr 10, 2025
07fadd7
add jsondialect and tests which are not quite working
jeanetteclark Apr 10, 2025
c803ce7
update model for new version of schema
jeanetteclark Apr 10, 2025
188ad51
add dep
jeanetteclark Apr 10, 2025
0cbea51
add some test docs
jeanetteclark Apr 10, 2025
20fb32f
update jaxb model to parse both schema versions
jeanetteclark Apr 16, 2025
d27753d
update parent suite model
jeanetteclark Apr 16, 2025
aadec13
sometimes there is no expression, account for this
jeanetteclark Apr 16, 2025
058af5c
update calling code with new exception that gets thrown
jeanetteclark Apr 16, 2025
16d7fe9
preliminary update of tests
jeanetteclark Apr 16, 2025
ed1e7e6
add expression to selector2
jeanetteclark Apr 16, 2025
97bb34e
fix syntax issue
jeanetteclark Apr 16, 2025
976553d
update tests
jeanetteclark Apr 16, 2025
40ecc9d
update todo with a note
jeanetteclark Apr 17, 2025
9ad98cf
update tests
jeanetteclark Apr 17, 2025
0aea229
account for new selectors with no xpaths in xml dialect
jeanetteclark Apr 17, 2025
2ca729a
I'm removing this test because we never implemented json suites
jeanetteclark Apr 17, 2025
b3f9a39
update test check for json
jeanetteclark Apr 17, 2025
bdf44dc
disable another test
jeanetteclark Apr 17, 2025
d55fc26
add new expression element to dialect as well
jeanetteclark Apr 21, 2025
5895afb
add tests to ensure that the check docs are parsed correctly accordin…
jeanetteclark Apr 22, 2025
9a12586
add some documentation and fix formatting
jeanetteclark Apr 22, 2025
fa0ffe1
Merge branch 'develop' into feature-support-json
jeanetteclark Apr 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update parent suite model
  • Loading branch information
jeanetteclark committed Apr 16, 2025
commit d27753d4d3866c528ffe3374ac950e68d50dbe8c
5 changes: 4 additions & 1 deletion src/main/java/edu/ucsb/nceas/mdqengine/model/Suite.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public class Suite {
/**
* The list of checks to be performed. A suite must have at least one check.
*/
@XmlElement(required = true)
@XmlElements({
@XmlElement(name = "check", type = CheckV1.class),
@XmlElement(name = "check", type = CheckV2.class)
})
private List<Check> check;

public String getId() {
Expand Down