Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
None
-
None
-
All
-
-
Small
Description
The component service gives access to 2 different endpoints in order to get the Dataset properties. The first one is static and the second one is more dynamic (with the datastore information given in the body).
In the first case, the request is:
GET/properties/JDBCDataset
In the second case, the request is:
POST /properties/JDBCDatastore/dataset body: { "properties":{ "@definitionName":"JDBCDatastore", "dbTypes": "MYSQL", "jdbcUrl": "jdbc:mysql://10.2.1.220:3306/db", "userId": "user", "password": "password" } }
Both endpoints currently return the exact same UI spec. I would have expected the second one to be smarter, by connecting to the Datastore and by returning the list of tables for example.