Chemistry
  1. Chemistry
  2. CMIS-208

There is no Capabilities element within getRepositories response.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: OpenCMIS 1.0.0
    • Component/s: tck
    • Labels:
      None

      Description

      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.

      <------>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)
      
      Request req = new GetRequest(serviceUrl); // << Should be there the serviceUrl with cmis repo name, to request getRepositoryInfo
      

      The serviceUrl is for request getRepositories, not for getRepositoryInfo.

      ===============

      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. .
      

        Activity

        Hide
        David Caruana added a comment -

        It is expected that this TCK will be replaced by the OpenCMIS based TCK.

        Show
        David Caruana added a comment - It is expected that this TCK will be replaced by the OpenCMIS based TCK.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexey Zavizionov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development