apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaygit158 <...@git.apache.org>
Subject [GitHub] apex-core pull request #493: APEXCORE-676 Show description for DefaultProper...
Date Wed, 22 Mar 2017 21:58:53 GMT
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 <ajaygit158@gmail.com>
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

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message