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

Relocate nuxeo-platform-collections in nuxeo-service

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.3
    • Component/s: Collections
    • Release Notes Summary:
      -
    • Tags:
    • Upgrade notes:
      Hide
      • Collection Core types (Collection, Favorites, etc.), schema and facets have been merged in CoreExtensions.xml
      • nuxeo-platform-collections-jsf has disappeared. Resources and classes have been dispatched in nuxeo-jsf/nuxeo-platform-webapp-base and nuxeo-dm/nuxeo-platform-webapp-types
      • All Collection-related automation operations have been moved to nuxeo-automation-features
      • Collection and Favorites services have been kept but moved under nuxeo-services/nuxeo-collections
      • UserWorkspaces service now contributes where should be located User's collections and Favorites by implementing CollectionLocationService.java
      • You can use CollectionFeature.java to test a feature relying on Collections, need to add the following pom dependency:
        <dependency>
          <groupId>org.nuxeo.ecm.platform</groupId>
          <artifactId>nuxeo-platform-collections-core</artifactId>
          <type>test-jar</type>
          <scope>test</scope>
        </dependency>
        
      Show
      Collection Core types (Collection, Favorites, etc.), schema and facets have been merged in CoreExtensions.xml nuxeo-platform-collections-jsf has disappeared. Resources and classes have been dispatched in nuxeo-jsf/nuxeo-platform-webapp-base and nuxeo-dm/nuxeo-platform-webapp-types All Collection-related automation operations have been moved to nuxeo-automation-features Collection and Favorites services have been kept but moved under nuxeo-services/nuxeo-collections UserWorkspaces service now contributes where should be located User's collections and Favorites by implementing CollectionLocationService.java You can use CollectionFeature.java to test a feature relying on Collections, need to add the following pom dependency: <dependency> <groupId>org.nuxeo.ecm.platform</groupId> <artifactId>nuxeo-platform-collections-core</artifactId> <type>test-jar</type> <scope>test</scope> </dependency>
    • Sprint:
      nxGang Sprint 10.3.2, nxGang Sprint 10.3.3

      Description

      Currently, https://github.com/nuxeo/nuxeo/tree/release-10.2/nuxeo-features/nuxeo-platform-collections/nuxeo-platform-collections-core mixes both collections schemas, doc types, services, etc. which are now pretty low level feature of the nuxeo platform and some automation operations, json enrichers, io stuff which are rather high level.

      This is a pain for implementing NXP-24298 -> add a json enricher that would be able to tell if a folder or a collection has some content because the only place where we could code it without having maven dependency cycle is the nuxeo-platform-collections-core bundle.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d