diff --git a/connectors/jdbc/element-templates/hybrid/jdbc-outbound-connector-hybrid.json b/connectors/jdbc/element-templates/hybrid/jdbc-outbound-connector-hybrid.json index 54966d50fd..a63a84c2d8 100644 --- a/connectors/jdbc/element-templates/hybrid/jdbc-outbound-connector-hybrid.json +++ b/connectors/jdbc/element-templates/hybrid/jdbc-outbound-connector-hybrid.json @@ -87,9 +87,8 @@ }, { "id" : "connection.uri", "label" : "URI", - "description" : "URI should contain JDBC driver, username, password, host name, and port number. See the documentation.)", + "description" : "URI should contain JDBC driver, username, password, host name, and port number. For more information, see the documentation.)", "optional" : false, - "value" : "jdbc:postgresql://localhost:5432/mydb", "constraints" : { "notEmpty" : true, "pattern" : { @@ -243,8 +242,8 @@ "type" : "Boolean" }, { "id" : "data.query", - "label" : "Insert the SQL Query to execute", - "description" : "The SQL query to execute. You can use named, positional or binding parameters", + "label" : "SQL Query to execute", + "description" : "You can use named, positional or binding parameters", "optional" : false, "constraints" : { "notEmpty" : true diff --git a/connectors/jdbc/element-templates/jdbc-outbound-connector.json b/connectors/jdbc/element-templates/jdbc-outbound-connector.json index 96584aeb2c..8d866a647f 100644 --- a/connectors/jdbc/element-templates/jdbc-outbound-connector.json +++ b/connectors/jdbc/element-templates/jdbc-outbound-connector.json @@ -82,9 +82,8 @@ }, { "id" : "connection.uri", "label" : "URI", - "description" : "URI should contain JDBC driver, username, password, host name, and port number. See the documentation.)", + "description" : "URI should contain JDBC driver, username, password, host name, and port number. For more information, see the documentation.)", "optional" : false, - "value" : "jdbc:postgresql://localhost:5432/mydb", "constraints" : { "notEmpty" : true, "pattern" : { @@ -238,8 +237,8 @@ "type" : "Boolean" }, { "id" : "data.query", - "label" : "Insert the SQL Query to execute", - "description" : "The SQL query to execute. You can use named, positional or binding parameters", + "label" : "SQL Query to execute", + "description" : "You can use named, positional or binding parameters", "optional" : false, "constraints" : { "notEmpty" : true diff --git a/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/JdbcRequestData.java b/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/JdbcRequestData.java index ee4f19943f..785c64735a 100644 --- a/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/JdbcRequestData.java +++ b/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/JdbcRequestData.java @@ -26,11 +26,11 @@ public record JdbcRequestData( @NotBlank @TemplateProperty( id = "query", - label = "Insert the SQL Query to execute", + label = "SQL Query to execute", group = "query", constraints = @TemplateProperty.PropertyConstraints(notEmpty = true), description = - "The SQL query to execute. You can use named, positional or binding parameters") + "You can use named, positional or binding parameters") String query, @TemplateProperty( id = "variables", diff --git a/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/connection/UriConnection.java b/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/connection/UriConnection.java index bdbfe10516..79b8c3dd61 100644 --- a/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/connection/UriConnection.java +++ b/connectors/jdbc/src/main/java/io/camunda/connector/jdbc/model/request/connection/UriConnection.java @@ -25,9 +25,8 @@ public record UriConnection( @TemplateProperty( group = "connection", label = "URI", - defaultValue = "jdbc:postgresql://localhost:5432/mydb", description = - "URI should contain JDBC driver, username, password, host name, and port number. See the documentation.)") + "URI should contain JDBC driver, username, password, host name, and port number. For more information, see the documentation.)") String uri, @TemplateProperty( group = "connection",