Github user ottobackwards commented on a diff in the pull request:

    https://github.com/apache/metron/pull/607#discussion_r129929213
  
    --- Diff: 
metron-interface/metron-rest/src/test/java/org/apache/metron/rest/controller/StormControllerIntegrationTest.java
 ---
    @@ -182,6 +185,16 @@ public void test() throws Exception {
                 .andExpect(jsonPath("$.status").value("SUCCESS"))
                 
.andExpect(jsonPath("$.message").value(TopologyStatusCode.STARTED.name()));
     
    +    this.mockMvc.perform(get(stormUrl + 
"/supervisors").with(httpBasic(user,password)))
    +            .andExpect(status().isOk())
    +            
.andExpect(content().contentType(MediaType.parseMediaType("application/json;charset=UTF-8")))
    +            .andExpect(jsonPath("$.supervisors[0]").exists())
    +            .andExpect(jsonPath("$.supervisors[0].id").exists())
    +            .andExpect(jsonPath("$.supervisors[0].host").exists())
    +            .andExpect(jsonPath("$.supervisors[0].upTime").exists())
    --- End diff --
    
    ok, i don't know how that got formatted to upTime, I have a comment in 
there that I copied out of that page to go by.....
    
    The getter and setter names can stay though?  getUpTime() etc?


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

Reply via email to