Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4619

Debezium UI frontend should use new URLs and new JSON schema descriptors

XMLWordPrintable

      Debezium UI frontend should use new URLs and new JSON schema descriptors

      New URL pattern: `/connector-types/debezium-connector-$CONNECTOR_NAME/$CONNECTOR_NAME.json`, eg `/connector-types/debezium-connector-postgres/postgres.json`, `/connector-types/debezium-connector-mongodb/mongodb.json`, etc.

      Example content:

      {
        "openapi" : "3.0.3",
        "info" : {
          "title" : "Generated by Debezium OpenAPI Generator"
        },
        "components" : {
          "schemas" : {
            "debezium-mysql-1.9.0-SNAPSHOT" : {
              "title" : "Debezium MySQL Connector",
              "required" : [ "database.hostname", "database.user", "database.server.name", "database.server.id" ],
              "type" : "object",
              "properties" : {
                "database.server.name" : {
                  "title" : "Namespace",
                  "description" : "Unique name that identifies the database server and all recorded offsets, and that is used as a prefix for all schemas and topics. Each distinct installation should have a separate namespace and be monitored by at most one Debezium connector.",
                  "type" : "string",
                  "nullable" : false,
                  "x-name" : "database.server.name",
                  "x-category" : "CONNECTION"
                },
                "database.server.id" : {
                  "format" : "int64",
                  "title" : "Cluster ID",
                  "description" : "A numeric ID of this database client, which must be unique across all currently-running database processes in the cluster. This connector joins the MySQL database cluster as another server (with this unique ID) so it can read the binlog. By default, a random number is generated between 5400 and 6400.",
                  "default" : 6053,
                  "type" : "integer",
                  "nullable" : false,
                  "x-name" : "database.server.id",
                  "x-category" : "CONNECTION"
                },
                "database.hostname" : {
                  "title" : "Hostname",
                  "description" : "Resolvable hostname or IP address of the database server.",
                  "type" : "string",
                  "nullable" : false,
                  "x-name" : "database.hostname",
                  "x-category" : "CONNECTION"
                },
                "database.port" : {
                  "format" : "int32",
                  "title" : "Port",
                  "description" : "Port of the database server.",
                  "default" : 3306,
                  "type" : "integer",
                  "x-name" : "database.port",
                  "x-category" : "CONNECTION"
                },
      
      ...
      

              ishukla Indra Shukla
              rk3rn3r René Kerner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: