[ 
https://issues.apache.org/jira/browse/KNOX-2600?focusedWorklogId=592125&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-592125
 ]

ASF GitHub Bot logged work on KNOX-2600:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/May/21 11:38
            Start Date: 03/May/21 11:38
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on pull request #444:
URL: https://github.com/apache/knox/pull/444#issuecomment-831204421


   > It would be nice if we can validate JDBC url syntax and let users know 
that the configured URL was wrong in the logs.
   
   Thanks, @moresandeep for your review.
   This is being done by `org.postgresql.Driver.parseURL(String, Properties)`. 
This method logs messages such as:
   `JDBC URL must start with \"jdbc:postgresql:\"`
   `JDBC URL must contain a / at the end of the host or port:`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 592125)
    Time Spent: 20m  (was: 10m)

> Configure PostgreSQL datasource with JDBC URL
> ---------------------------------------------
>
>                 Key: KNOX-2600
>                 URL: https://issues.apache.org/jira/browse/KNOX-2600
>             Project: Apache Knox
>          Issue Type: Improvement
>    Affects Versions: 1.6.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When {{gateway.database.type}} is set to {{postgreql}}, there are a bunch of 
> connection parameters that have to be declared too so that the Knox Gateway 
> can connect to a Postgre SQL server.
> Instead of declaring these connection parameters one-by-one, a generic JDBC 
> URL could be declared in {{gateway-site.xml}}. If this configuration has any 
> value, the Knox Gateway will parse and use it to create the Datasource object.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to