Skip to content
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

[FEATURE] Create Datasource API. #1454

Closed
vmmusings opened this issue Mar 20, 2023 · 0 comments · Fixed by #1458 or #1479
Closed

[FEATURE] Create Datasource API. #1454

vmmusings opened this issue Mar 20, 2023 · 0 comments · Fixed by #1458 or #1479
Assignees
Labels
enhancement New feature or request v2.7.0

Comments

@vmmusings
Copy link
Member

Create a new API for creating datasource.
Example for new creation API:

POST API : _plugins/_query/_datasources

{
        "name" : "my_prometheus",
        "connector": "prometheus",
        "properties" : {
            "prometheus.uri" : "http://localhost:8080",
            "prometheus.auth.type" : "basicauth",
            "prometheus.auth.username" : "admin",
            "prometheus.auth.password" : "admin"
        },
        "allowedRoles" : ["prometheus_access"]
 }
@vmmusings vmmusings added the enhancement New feature or request label Mar 20, 2023
@vmmusings vmmusings linked a pull request Mar 20, 2023 that will close this issue
6 tasks
@vmmusings vmmusings linked a pull request Mar 21, 2023 that will close this issue
6 tasks
@vmmusings vmmusings self-assigned this Mar 21, 2023
@vmmusings vmmusings linked a pull request Mar 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2.7.0
Projects
None yet
3 participants