This repository was archived by the owner on Aug 16, 2020. It is now read-only.
This repository was archived by the owner on Aug 16, 2020. It is now read-only.
TreeView to display databases and resources #30
Open
Description
Displaying databases and resources in a TreeView similarly to other database system front-end as for instance pgadmin. We can use the password credentials flow in the first place with an admin/admin username/pass posted to the login
endpoint. We need to change this obviously in the next step.
- Setup Keycloak and the SirixDB HTTP-server
- Get a token by
POST https://localhost:9433/login
with JSON data:
{
"username": "admin",
"password": "admin"
}
GET https://localhost:9443
: provide HTTP authorization bearer token, which you got in step 2.
To get a simple list of databases {"databases": [{"db1": "xml", "db2": "json"]}
-
If a user expands and logs in to a database (tree-view is clicked): provide HTTP authorization bearer token, which you got in step 2.
-
Then we can link the JSON or XML tree-view... and the other views in the future.