apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-676) Show description for DefaultProperties only when user requests it
Date Thu, 23 Mar 2017 01:58:41 GMT

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

ASF GitHub Bot commented on APEXCORE-676:
-----------------------------------------

GitHub user ajaygit158 reopened 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 069e385188c3f2987ef1e13c1449b4012ed98bcc
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 -withDescription 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)

Mime
View raw message