You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/18 01:19:18 UTC

[jira] [Commented] (APEXCORE-349) Application/operator/port attributes should be returned using string codec in REST service

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

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

GitHub user davidyan74 opened a pull request:

    https://github.com/apache/incubator-apex-core/pull/228

    APEXCORE-349 return strings for attribute values in REST service

    @tweise please merge when you have a chance

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/davidyan74/incubator-apex-core APEXCORE-349

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-core/pull/228.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 #228
    
----
commit 119df9c865b91757f484ee0f32a05e10b48988d2
Author: David Yan <da...@datatorrent.com>
Date:   2016-02-17T21:43:35Z

    APEXCORE-349 return strings for attribute values in REST service

----


> Application/operator/port attributes should be returned using string codec in REST service
> ------------------------------------------------------------------------------------------
>
>                 Key: APEXCORE-349
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-349
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: David Yan
>            Assignee: David Yan
>
> The attributes are currently returned using bean in the stram REST service without the information of the actual type:
> {code}
>     "attributes": {
> ...
>        "METRICS_TRANSPORT": {
>             "schemaResendInterval": "10000", 
>             "topic": "AppDataTrackerFeed"
>         }, 
> ...
>     }
> {code}
> Because attributes are set using strings via stringcodec by the user, it should be returned as strings using stringcodec.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)