There is no Capabilities element within getRepositories response.
-----------------------------------------------------------------
Key: CMIS-208
URL: https://issues.apache.org/jira/browse/CMIS-208
Project: Chemistry
Issue Type: Bug
Components: tck
Reporter: Alexey Zavizionov
testQueryURITemplate(org.apache.chemistry.tck.atompub.test.spec.RepositoryServiceTest)
Time elapsed: 0.052 sec <<< ERROR!
java.lang.NullPointerException
<------>at
org.apache.chemistry.tck.atompub.test.spec.RepositoryServiceTest.testQueryURITemplate(RepositoryServiceTest.java:73)
Because there is no Capabilities element within getRepositories response.
{code}
<------>at
org.apache.chemistry.tck.atompub.client.CMISClient.getRepository(CMISClient.java:135)
<------>at
org.apache.chemistry.tck.atompub.client.CMISClient.getRepositoryInfo(CMISClient.java:157)
<------>at
org.apache.chemistry.tck.atompub.client.CMISClient.getRepositoryInfo(CMISClient.java:152)
<------>at
org.apache.chemistry.tck.atompub.client.CMISClient.getCapabilities(CMISClient.java:166)
<------>at
org.apache.chemistry.tck.atompub.test.spec.RepositoryServiceTest.testQueryURITemplate(RepositoryServiceTest.java:72)
{code}
{code}
Request req = new GetRequest(serviceUrl); // << Should be there the serviceUrl
with cmis repo name, to request getRepositoryInfo
{code}
The serviceUrl is for request getRepositories, not for getRepositoryInfo.
===============
{code}
SPECIFICATION:
2.1.1.1 Optional Capabilities
58
59 Commercial ECM repositories vary in their designs. Moreover, some
repositories are designed for a
60 specific application domain and may not provide certain capabilities that
are not needed for their targeted
61 domain. Thus, a repository implementation may not necessarily be able to
support all CMIS capabilities.
A few CMIS capabilities are therefore "optional" for a repository to be
compliant. A repository‟s support for
62
63 each of these optional capabilities is discoverable using the >>>
getRepositoryInfo <<< service
64
2.2.2.1 getRepositories
3026
2.2.2.1.2 Outputs
3030
3031 A list of repository information, with (at least) the following
information for each entry:
3032 ID repositoryId: The identifier for the Repository.
3033 String repositoryName: A display name for the Repository.
2.2.2.2 getRepositoryInfo
3036
3037 Description: Returns information about the CMIS repository, the optional
capabilities it supports and its
3038 Access Control information if applicable. .
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.