I added a binding for object by path
AtomPubCMIS.URITMPL_OBJECT_BY_PATH
@GET
@Produces(AtomPub.MEDIA_TYPE_ATOM_ENTRY)
@Path("path/{path:.*}")
public Response doGetObjectByPath(
@PathParam("path") List<PathSegment> pathList) {
int skipSegments = pathList.size() == 0 ? 2 : pathList.size() + 1;
return getAbderaEntry(skipSegments);
}
But the TCK test ObjectByPath fails because URI template in
CMISProvider is "/path/{path}" if I change to "/path/{path:.*}" it
works for jax-rs but not for CMISServlet
so chemistry-tests test fails.
Does anybody know how to fix this?
Chears