apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-676) Show description for DefaultProperties only when user requests it
Date Wed, 22 Mar 2017 21:10:41 GMT

    [ https://issues.apache.org/jira/browse/APEXCORE-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937136#comment-15937136
] 

Ajay Gupta commented on APEXCORE-676:
-------------------------------------

Output without --with-description flag
Command : get-app-package-info {apa-file}

"defaultProperties": {
    "dt.application.*.operator.*.attr.JVM_OPTIONS": "-Xmx128M",
    "dt.application.*.operator.*.attr.MEMORY_MB": "256"
}

Output with --with-description flag
Command : get-app-package-info {apa-file} --with-description

"defaultProperties": {
    "dt.application.*.operator.*.attr.JVM_OPTIONS": {
      "value": "-Xmx128M",
      "description": null
    },
    "dt.application.*.operator.*.attr.MEMORY_MB": {
      "value": "256",
      "description": null
    }
}

Invalid argument 
get-app-package-info {apa-file} --with-descripti

Output:
com.datatorrent.stram.cli.ApexCli$CliException: Invalid parameter --with-descripti
	at com.datatorrent.stram.cli.ApexCli$GetAppPackageInfoCommand.execute(ApexCli.java:3482)
	at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1519)

> Show description for DefaultProperties only when user requests it
> -----------------------------------------------------------------
>
>                 Key: APEXCORE-676
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-676
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Sandesh
>            Assignee: Ajay Gupta
>
> Apex CLI shows description for default properties, this feature was added recently as
a part of
> https://issues.apache.org/jira/browse/APEXCORE-592
> But description should be shown only when a user requests it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message