Github user bostko commented on a diff in the pull request:

    https://github.com/apache/brooklyn-library/pull/64#discussion_r80513931
  
    --- Diff: 
software/database/src/main/java/org/apache/brooklyn/entity/database/postgresql/PostgreSqlNode.java
 ---
    @@ -52,13 +52,17 @@
     public interface PostgreSqlNode extends SoftwareProcess, HasShortName, 
DatastoreCommon, DatabaseNode {
         
         @SetFromFlag("version")
    -    ConfigKey<String> SUGGESTED_VERSION = 
ConfigKeys.newConfigKeyWithDefault(SoftwareProcess.SUGGESTED_VERSION, 
"9.3-1");//"9.1-4");
    +    ConfigKey<String> SUGGESTED_VERSION = 
ConfigKeys.newConfigKeyWithDefault(SoftwareProcess.SUGGESTED_VERSION, 
"9.3-3");//"9.1-4");
     
         @SetFromFlag("configFileUrl")
         ConfigKey<String> CONFIGURATION_FILE_URL = 
ConfigKeys.newStringConfigKey(
                 "postgresql.config.file.url", "URL where PostgreSQL 
configuration file can be found; "
                     + "if not supplied the blueprint uses the default and 
customises it");
     
    +    @SetFromFlag("curlCommand")
    +    ConfigKey<String> CURL_COMMAND = ConfigKeys.newStringConfigKey(
    +            "curl.command", "cURL comamnd to be used. It follows location 
redirects by default (added -L parameter)", "curl -L");
    --- End diff --
    
    Strange config usage of а parameter.
    Very important to add a sentence about checking the parameter usage in Java 
code.
    
    I would rather declare a CURL_COMMAND_OPTIONS parameter and put the single 
`-L` as a default value.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to