Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9312 Add Connection entity to store connection data
  3. DBZ-9420

Expose endpoint for get json schemas about connection

XMLWordPrintable

      This endpoint will provide a list of json schemas that describes the required fields for a connection so that the UI can dynamically construct the form. 

      The endpoint is "connections/schemas" and must return a JSON like the following

      [
        {
          "type": "POSTGRES",
          "schema": {
            "title": "PostgreSQL connection properties",
            "description": "PostgreSQL connection properties",
            "type": "object",
            "required": [
              "hostname",
              "port",
              "username",
              "password"
            ],
            "properties": {
              "hostname": {
                "type": "string",
                "title": "The hostname of the database"
              },
              "port": {
                "type": "integer",
                "title": "The port of the database"
              },
              "username": {
                "type": "string",
                "title": "Username to connect to the database"
              },
              "password": {
                "type": "string",
                "title": "Password to connect to the database"
              }
            }
          }
        }
      ]
      

       

              rh-ee-mvitale Mario Fiore Vitale
              rh-ee-mvitale Mario Fiore Vitale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: