Uploaded image for project: 'Managed Service - Connectors'
  1. Managed Service - Connectors
  2. MGDCTRS-1299

Debezium inputs with number types have the wrong name of the input

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • cos-ui
    • None
    • 0

    Description

      Considering following Connector spec:

            },
            "database.port": {
              "default": 3306,
              "description": "Port of the database server.",
              "format": "int32",
              "title": "Port",
              "type": "integer",
              "x-category": "CONNECTION",
              "x-name": "database.port"
            },
            "database.server.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.",
              "format": "int64",
              "nullable": false,
              "title": "Cluster ID",
              "type": "integer",
              "x-category": "CONNECTION",
              "x-name": "database.server.id"
            },
            "database.server.name": {
              "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.",
              "nullable": false,
              "title": "Namespace",
              "type": "string",
              "x-category": "CONNECTION",
              "x-name": "database.server.name"
            },
      
      

      The resulting form creates following HTML elements for the properties:

      <input class="pf-c-form-control" type="number" name="Port" aria-label="Port" value="3306">
      <input class="pf-c-form-control" type="number" name="Cluster ID" aria-label="Cluster ID" value="">
      <input name="database&amp;server&amp;name" aria-label="database&amp;server&amp;name" class="pf-c-form-control" type="text" aria-invalid="false" data-ouia-component-type="PF4/TextInput" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-TextInputBase-3" value="">
      

      The names of the "number" inputs use the title field rather than x-name or the key. This is blocking UI testing of Debezium connectors. Example connector would be Debezium MySqlConnector

      Attachments

        Issue Links

          Activity

            People

              ishukla Indra Shukla
              mmuzikar Martin Muzikar
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty