Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !204

Open
Created Dec 07, 2016 by Ayush Tiwari@tiwariayushContributor
  • Report abuse
Report abuse

WIP: Multiple catalog

  • Overview 0
  • Commits 23
  • Changes 62

This work is on top of erp5_catalog branch, so we are using erp5 catalog everywhere in this case.

Multiple Catalog:

  1. Site Manager creates multiple catalog using different connections.
  2. Each erp5_catalog comes with a predicate object.
  3. Extra attributes for catalog objects:
    • Validation state : Cataloging would be done only in validated catalogs.
    • Predicate: Predicate would be checked on each object to be cataloged.
  4. Every user would have preference to chose the preferred_catalog and that one would be used as the result of getSQLCatalog, without changing default_erp5_catalog_id

Problems:

  • Circular dependency while looking for preferred_catalog. For now, this has been taken care of by using default_erp5_catalog_id for the result of getSQLCatalog in case the user is manager. So, this way atleast we have all user and preferences cataloged at one place.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: multiple_catalog
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7