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
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---