New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple db support for REST scenario #2169
Conversation
/azp run |
/azp run |
No doubt, every entity referenced in a query could have a different database/source. Great fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few questions, otherwise looks good. Have you tested this in end2end scenario outside of unit test? I understand that testing that isn't doable/straighforward in pipelines for cross-db types (e.g. sql -> cosmos) because we only have one db type per pipeline. But for multiple sql sources, that may be possible? e.g. different db's on same server and each db is represented as two distinct datasources.
src/Service.Tests/Unittests/MultiSourceQueryExecutionUnitTests.cs
Outdated
Show resolved
Hide resolved
/azp run |
…Azure/data-api-builder into rohkhann/RestsupportMultipleDbs
/azp run |
/azp run |
/azp run |
src/Service.Tests/Unittests/MultiSourceQueryExecutionUnitTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, still need to finish going through the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after addressing Aaron's comments!
/azp run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for addressing things quickly!
Some smart people on this PR thread |
src/Service.Tests/Unittests/MultiSourceQueryExecutionUnitTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
additional questions about tests.
src/Service.Tests/Unittests/MultiSourceQueryExecutionUnitTests.cs
Outdated
Show resolved
Hide resolved
src/Service.Tests/Unittests/MultiSourceQueryExecutionUnitTests.cs
Outdated
Show resolved
Hide resolved
…Azure/data-api-builder into rohkhann/RestsupportMultipleDbs
/azp run |
Why make this change?
This change introduces REST support for multiple DB Scenario.
Issue: #1753
What is this change?
How was this tested?
Integration test:
Get publishers
Get books