Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
display togglz console again (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetelli authored Oct 15, 2019
1 parent 745ea37 commit 0904c11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
</issueManagement>

<properties>
<java.version>1.7</java.version>
<togglz.version>2.7.0-SNAPSHOT</togglz.version>
<java.version>1.8</java.version>
<togglz.version>2.5.0-SNAPSHOT</togglz.version>
<spring-boot.version>1.5.22.RELEASE</spring-boot.version>
</properties>

Expand Down
3 changes: 3 additions & 0 deletions spring-boot-hello-world/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ togglz:
enabled: false
console:
secured: false
management:
security:
enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ public void testHelloWorldFeatureAndReverseGreetingEnabled() throws Exception {
mockMvc.perform(get("")).andExpect(status().isOk())
.andExpect(content().string("!tooB gnirpS morf sgniteerG"));
}

@Test
public void shouldExposeTogglzEndpoint() throws Exception {
mockMvc.perform(get("/togglz")).andExpect(status().isOk());
}
}

0 comments on commit 0904c11

Please sign in to comment.