apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidyan74 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEX-103: Add module and dag int...
Date Thu, 10 Dec 2015 06:57:48 GMT
Github user davidyan74 commented on a diff in the pull request:

    --- Diff: engine/src/main/java/com/datatorrent/stram/webapp/StramWebServices.java ---
    @@ -511,6 +532,16 @@ public JSONObject getLogicalOperators() throws Exception
         nodeList.operators = dagManager.getLogicalOperatorInfoList();
         return new JSONObject(objectMapper.writeValueAsString(nodeList));
    +  @GET
    +  @Produces(MediaType.APPLICATION_JSON)
    +  public JSONObject getLogicalModules(@QueryParam("flatten") String flatten) throws Exception
    --- End diff --
    Try using BooleanUtils.isTrue() on the Boolean object, and pass ?flatten=true to the URL

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message