You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2019/11/11 10:58:41 UTC

[GitHub] [knox] smolnar82 opened a new pull request #188: KNOX-2099 - Checking if provided gateway URL has 'host' and 'port' parts before trying to open a connection when building truststore

smolnar82 opened a new pull request #188: KNOX-2099 - Checking if provided gateway URL has 'host' and 'port' parts before trying to open a connection when building truststore
URL: https://github.com/apache/knox/pull/188
 
 
   ## What changes were proposed in this pull request?
   
   Doing some basic validation before opening a connection to the provided gateway URL.
   
   ## How was this patch tested?
   
   Added new unit test and ran the tool locally:
   ```
   $ bin/knoxshell.sh buildTrustStore https://localhost
   Invalid 'knox-gateway-url' provided!
   Finished work without building truststore
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services