Github user davidyan74 commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/148#discussion_r47194493
--- 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
+ @Path(PATH_LOGICAL_PLAN_MODULES)
+ @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 [email protected] or file a JIRA ticket
with INFRA.
---