Create datasource API#1427
Conversation
7e1ff62 to
f893785
Compare
9ba491c to
6d18aeb
Compare
e3bd2f5 to
4bf8e64
Compare
|
Any special reason this has to merge to 2.x first? |
There was a problem hiding this comment.
I have some high level questions because this PR seems have more influence than it looks:
- There is no issue related to this main feature. I think we should create something and put it to our 2.7 or roadmap
- The new
.ql-data-sourcesindex is shifting stateless SQL plugin to stateful? If the index is red for some reason, want to confirm if SQL plugin still work as before? At lease for query on default OpenSearch data source. - Data source related code and dependencies keep growing, should we move all of them to a new
datasourcemodule. Because as I understand,coreonly depends on resolvedDataSourceorTableactually.
I need this for pen testing on 2.7 version. I will resolve conflicts with main branch and will soon raise a PR. Following main -> 2.x -> 1.x is becoming little difficult as we mostly test and verify against the next minor version in current running major. |
I will add all the required issues.
It should work for queries on default Opensearch Connector even in case of red
I was thinking on similar lines whether this code is really required in core or some other place. will discuss with you and try to move this. |
a08550e to
2747293
Compare
Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

Description
This PR covers Create datasource REST API.
Create datasource [REST API]
Get datasource along with storage engine and other artifacts [Internal use case only]
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.