Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-431

Can't get the list of tables when creating a JDBCDataset

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • None
    • None
    • All
    • Hide

      no more relevant

      Show
      no more relevant
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rdubois Rémy DUBOIS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: