[
https://issues.apache.org/jira/browse/APEXCORE-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853723#comment-15853723
]
ASF GitHub Bot commented on APEXCORE-592:
-----------------------------------------
GitHub user ajaygit158 opened a pull request:
https://github.com/apache/apex-core/pull/464
APEXCORE-592 Return additional parameter description from properties.xml in
defaultProperties for get-app-package-info command
Sample data and output :
**properties.xml**
<property>
<name>dt.application.FraudDetectDemo.operator.smaPerMerchant.windowSize
</name>
<value>30</value>
<description>Window size</description>
</property>
<property>
<name>dt.application.FraudDetectDemo.operator.movingSum.attr.APPLICATION_WINDOW_COUNT
</name>
<value>10</value>
<description>Window count for application</description>
</property>
**Output : get-app-package-info package-name**
"dt.application.FraudDetectDemo.operator.smaPerMerchant.windowSize":
{ "value": "30", "description": "Window size" }
,
"dt.application.FraudDetectDemo.operator.movingSum.attr.APPLICATION_WINDOW_COUNT":
{ "value": "10", "description": null }
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajaygit158/apex-core APEXCORE-592
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/464.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 #464
----
commit 8f994c233be5f5e271e90ab1ac43fa9686acdca2
Author: ajaygit158 <[email protected]>
Date: 2016-12-19T10:43:55Z
APEXCORE-592 Returning description field in defaultProperties during apex
cli call get-app-package-info
commit ccd965721a27c58ae68c0ea704a445cb1f20d533
Author: ajaygit158 <[email protected]>
Date: 2017-01-18T06:11:38Z
Changes to avoid returning unnecessary fields
commit 1523f6fa7c1d5e6f190c4c81462722fa8f4309b1
Author: ajaygit158 <[email protected]>
Date: 2017-02-06T08:35:19Z
Changes to return description only for properties, attributes return null
description
----
> Returning description field in defaultProperties during apex cli call
> get-app-package-info
> ------------------------------------------------------------------------------------------
>
> Key: APEXCORE-592
> URL: https://issues.apache.org/jira/browse/APEXCORE-592
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Ajay Gupta
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently for an operator property, only the value field is returned. The
> operator property can have a description describing the property. This task
> is created to return this filed for that operator property.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)