[
https://issues.apache.org/jira/browse/APEXCORE-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937233#comment-15937233
]
ASF GitHub Bot commented on APEXCORE-676:
-----------------------------------------
GitHub user ajaygit158 opened a pull request:
https://github.com/apache/apex-core/pull/493
APEXCORE-676 Show description for DefaultProperties in get-app-packag…
…e-info command only when user requests it by providing --with-description
flag
**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)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajaygit158/apex-core APEXCORE-676
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/493.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #493
----
commit ca8937416b200effce845fbc25d3f52b67053c11
Author: ajaygit158 <[email protected]>
Date: 2017-03-22T21:55:55Z
APEXCORE-676 Show description for DefaultProperties in get-app-package-info
command only when user requests it by providing --with-description flag
----
> 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)