You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/08 05:49:00 UTC

[jira] [Commented] (METAMODEL-1159) [membrane] Query across datasources

    [ https://issues.apache.org/jira/browse/METAMODEL-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679316#comment-16679316 ] 

ASF GitHub Bot commented on METAMODEL-1159:
-------------------------------------------

GitHub user kaspersorensen opened a pull request:

    https://github.com/apache/metamodel/pull/192

    Added more flexible ways to create DataContextFactoryRegistry.

    In the Membrane sub-project it will become relevant (for METAMODEL-1159)
    to be able to make copies of the "default" registry, but with additional
    tenant-specific factories, too. So this change makes it easier for
    Membrane to copy a DataContextFactoryRegistry.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kaspersorensen/metamodel composeable_datacontextfactoryregistry

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/192.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #192
    
----
commit f82a5d39b3dfd7a619f8302f2cac2a6788dc6a7b
Author: Kasper Sørensen <i....@...>
Date:   2018-11-08T05:48:07Z

    Added more flexible ways to create DataContextFactoryRegistry.
    
    In the Membrane sub-project it will become relevant (for METAMODEL-1159)
    to be able to make copies of the "default" registry, but with additional
    tenant-specific factories, too. So this change makes it easier for
    Membrane to copy a DataContextFactoryRegistry.

----


> [membrane] Query across datasources
> -----------------------------------
>
>                 Key: METAMODEL-1159
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-1159
>             Project: Apache MetaModel
>          Issue Type: New Feature
>            Reporter: Kasper Sørensen
>            Priority: Major
>
> With our initial API we have an endpoint for querying each individual datasource. But one of the big motivations behind Membrane is to provide data federation, not just regular data access via HTTP. A way we should expose this functionality is by allowing the end user to fire queries towards multiple datasources in one go.
> Technically speaking we have all the building blocks already, I think. The CompositeDataContext can be used to combine datasources at query time. We just need to find a nice way to expose the functionality. I see two ways:
> * Allowing the user to create composite datasources that you can then query using our existing query endpoint.
> * A new query endpoint that is not bound to any datasource. It would thus imply all datasources available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)