apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-592) Returning description field in defaultProperties during apex cli call get-app-package-info
Date Mon, 06 Feb 2017 07:07:41 GMT

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

Ajay Gupta commented on APEXCORE-592:
-------------------------------------

Hi [~ashwinchandrap], considering the sope of this JIRA,  I have made changes to retrieve
description only for the properties (omitting attributes) specified in properties.xml. Below
is an example output. Let me know if this is fine.

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
    },

> 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)

Mime
View raw message