Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14362

Runtime extensibility of NuxeoCmisService

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: CMIS
    • Epic Link:
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Configuring the service can be done with:

      <extension
      target="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager"
      point="factory">
      <factory
      class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory">
      <parameter name="servicewrapper.1">com.example.my.SimpleWrapper
      </parameter>
      <parameter name="servicewrapper.2">com.example.my.AdvancedWrapper,1,cmis:documents
      </parameter>
      <parameter name="servicewrapper.3">com.example.my.DebuggingWrapper,testRepositoryId
      </parameter>
      <parameter name="service.tempDirectory">/tmp</parameter>
      <parameter name="service.encryptTempFiles">false</parameter>
      <parameter name="service.memoryThreshold">4194304</parameter>
      <parameter name="service.maxContentSize">4294967296</parameter>
      <parameter name="service.defaultTypesMaxItems">100</parameter>
      <parameter name="service.defaultTypesDepth">-1</parameter>
      <parameter name="service.defaultMaxItems">100</parameter>
      <parameter name="service.defaultDepth">2</parameter>
      </factory>
      </extension>

      Show
      Configuring the service can be done with: <extension target="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager" point="factory"> <factory class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory"> <parameter name="servicewrapper.1">com.example.my.SimpleWrapper </parameter> <parameter name="servicewrapper.2">com.example.my.AdvancedWrapper,1,cmis:documents </parameter> <parameter name="servicewrapper.3">com.example.my.DebuggingWrapper,testRepositoryId </parameter> <parameter name="service.tempDirectory">/tmp</parameter> <parameter name="service.encryptTempFiles">false</parameter> <parameter name="service.memoryThreshold">4194304</parameter> <parameter name="service.maxContentSize">4294967296</parameter> <parameter name="service.defaultTypesMaxItems">100</parameter> <parameter name="service.defaultTypesDepth">-1</parameter> <parameter name="service.defaultMaxItems">100</parameter> <parameter name="service.defaultDepth">2</parameter> </factory> </extension>
    • Sprint:
      Sprint RepoTeam 5.9.5-2

      Description

      Apache Chemistry OpenCMIS 0.11.0 issue https://issues.apache.org/jira/browse/CMIS-764 enables runtime extensibility of CmisService. NuxeoCmisService should also enable this extensibility. Specifically, we would like to leverage this capability to extend the behavior of the HTTP HEAD method for specific CMIS operations
      Implementation of this feature should require the following nuxeo-chemistry changes :
      1. Upgrade to chemistry-opencmis 0.11.0
      2. Modify NuxeoCmisServiceFactory to leverage new ConformanceCmisServiceWrapper
      3. Enhance NuxeoCmisService to implement CallContextAwareCmisService

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.