Commit e2434848 authored by Javi Corvi's avatar Javi Corvi
Browse files

readeness and liveness outside security login

parent 6d114230
Pipeline #26792 passed with stage
in 4 minutes and 25 seconds
......@@ -13,9 +13,13 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) throws Exception {
authorizeRequests().antMatchers(HttpMethod.OPTIONS, "/**").permitAll().anyRequest().authenticated()
antMatchers(HttpMethod.OPTIONS, "/**").permitAll().
antMatchers(HttpMethod.GET, "/liveness").permitAll().
antMatchers(HttpMethod.GET, "/readeness").permitAll().anyRequest().authenticated()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment