Skip to content
Snippets Groups Projects
Commit 1c74f022 authored by Neelesh Thakur's avatar Neelesh Thakur
Browse files

Merge branch 'master' into wait-for-active-shards

parents 659db9c6 049662a0
No related branches found
No related tags found
2 merge requests!346Merge branch 'aws-integration' into 'master',!235Wait for primary shards to be ready before start indexing
Pipeline #80996 failed
......@@ -22,4 +22,4 @@ image:
branch: master
tag: latest
istioDnsHost: ""
\ No newline at end of file
istioDnsHost: "contoso.com"
\ No newline at end of file
......@@ -15,20 +15,20 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.csrf().disable()
.authorizeRequests()
.antMatchers("/", "/index.html",
"/liveness_check",
"/readiness_check",
"/index-worker", "/_dps/task-handlers", "/_dps/task-handlers/**",
"/reindex",
"/v2/api-docs",
"/swagger-resources/**",
"/configuration/security",
"/swagger",
"/info",
"/swagger-ui.html",
"/webjars/**").permitAll()
.anyRequest().anonymous();
.csrf().disable();
// .authorizeRequests()
// .antMatchers("/", "/index.html",
// "/liveness_check",
// "/readiness_check",
// "/index-worker", "/_dps/task-handlers", "/_dps/task-handlers/**",
// "/reindex",
// "/v2/api-docs",
// "/swagger-resources/**",
// "/configuration/security",
// "/swagger",
// "/info",
// "/swagger-ui.html",
// "/webjars/**").permitAll()
// .anyRequest().anonymous();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment