Announcement Announcement Module
Collapse
No announcement yet.
Multiple repositories for the same entity class - how to pick one or expose all Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple repositories for the same entity class - how to pick one or expose all

    I have these entity classes and repositories:

    Class A with MongoDB repository
    Class B with MongoDB repository and Solr repository

    In the REST discover page I see one repository exposed for each class. For class A it's the MongoDB repository - no surprise. For class B I see the Solr repository but not the MongoDB repository. Now my questions are:

    1. Is there a way to selectively expose MongoDB repository for class B?
    2. Is there a way to expose both MongoDB and Solr repository for class B?

    Thanks
Working...
X