CMIS compliance fixture integration and optional OpenCMIS TCK harness boundary

This commit is contained in:
2026-05-07 02:00:00 +02:00
parent 88f9df6288
commit 23c90b33a7
7 changed files with 251 additions and 6 deletions

View File

@@ -26,3 +26,15 @@ The first target is a selected Browser Binding subset:
Mutation groups should only be enabled for `governed-authoring` or
`compat-tck` profiles after the policy and audit gates are implemented.
Harness files:
- `tck-subset-map.json` maps engine capability groups to selected OpenCMIS TCK
groups and known gaps.
- `tck-result-template.json` is the compact result capture format for optional
TCK runs. Results should be stored outside the default repo history unless
they document an intentional compatibility baseline.
Default `pytest` does not execute Java/Maven. It validates the map and result
template so the optional harness does not drift away from the implemented
profiles and fixtures.

View File

@@ -0,0 +1,28 @@
{
"schema_version": 1,
"run": {
"tool": "Apache Chemistry OpenCMIS TCK",
"tool_version": "1.1.0",
"profile": "compat-tck",
"repository_id": "kontextual-compat-tck",
"browser_url": "http://127.0.0.1:8000/cmis/compat-tck/browser",
"started_at": null,
"finished_at": null
},
"summary": {
"passed": 0,
"failed": 0,
"skipped": 0,
"known_gap": 0
},
"groups": [
{
"capability_group": "repository-type",
"tck_group": "RepositoryInfoTestGroup",
"status": "not_run",
"notes": ""
}
],
"capability_gaps": []
}

View File

@@ -0,0 +1,66 @@
{
"schema_version": 1,
"tck": {
"name": "Apache Chemistry OpenCMIS TCK",
"version": "1.1.0",
"artifact": "org.apache.chemistry.opencmis:chemistry-opencmis-test-tck:1.1.0",
"execution": "optional"
},
"target": {
"profile": "compat-tck",
"repository_id": "kontextual-compat-tck",
"browser_url": "http://127.0.0.1:8000/cmis/compat-tck/browser"
},
"groups": [
{
"capability_group": "repository-type",
"tck_groups": ["RepositoryInfoTestGroup", "TypesTestGroup"],
"expected": "selected-pass"
},
{
"capability_group": "navigation",
"tck_groups": ["NavigationTestGroup"],
"expected": "selected-pass"
},
{
"capability_group": "object-content",
"tck_groups": ["ObjectServiceTestGroup", "ContentStreamTestGroup"],
"expected": "selected-pass"
},
{
"capability_group": "versioning",
"tck_groups": ["VersioningTestGroup"],
"expected": "partial-pass",
"known_gaps": ["private_working_copy"]
},
{
"capability_group": "discovery-query",
"tck_groups": ["QueryTestGroup"],
"expected": "partial-pass",
"known_gaps": ["full_cmis_sql_joins"]
},
{
"capability_group": "relationships",
"tck_groups": ["RelationshipTestGroup"],
"expected": "selected-pass"
},
{
"capability_group": "acl-policy",
"tck_groups": ["AclTestGroup", "PolicyTestGroup"],
"expected": "partial-pass",
"known_gaps": ["apply_policy", "remove_policy"]
},
{
"capability_group": "change-log",
"tck_groups": ["ChangeLogTestGroup"],
"expected": "selected-pass"
},
{
"capability_group": "retention-renditions-bulk",
"tck_groups": ["RenditionsTestGroup", "BulkUpdateTestGroup"],
"expected": "skip",
"known_gaps": ["retention_hold_mutation", "bulk_update_properties", "rendition_streams"]
}
]
}