Hi,

the problem is that the jax-rs @GET methode with
@PATH("path/{path:.*}") will not be called by the GetObjectByPath test
in tck because TCK gets path URI Template from CMISProvider with
"path/{path}" so it does not hook. It hooks if you change path uri
templeat uin CMISProvider to path/{path:.*} but then it wont work for
the CMISServlet tests in chemistry-test. Thats what I wanted to say.

Chears and happy new years

On Thu, Dec 24, 2009 at 3:23 PM, Florent Guillaume <[email protected]> wrote:
> I've fixed this in a different manner, please test.
>
> Florent
>
> On Wed, Dec 16, 2009 at 4:00 PM, Flo <[email protected]> wrote:
>> 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
>>
>
>
>
> --
> Florent Guillaume, Director of R&D, Nuxeo
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>

Reply via email to