Commit b82bca1b authored by Siiri Tann's avatar Siiri Tann
Browse files

Merge branch 'develop' into 'master'

Release: merge 'develop' into 'master' created by Siiri Tann

See merge request teis/scheduler-service!33
parents c18a942d f0b4a4bc
# Changelog
## [1.17.0] - 2021-12-16
* TEIS-2599: security and metrics update
## [1.16.0] - 2021-09-27
* TEIS-2220: added new job_definition. fixed resetProceedingNumberSequence cron in job_definition
......
theGroup=ee.sm.ti.teis
theVersion=1.16.0
commonsVersion=1.27.0
commonApiGatewayVersion=1.27.0
theVersion=1.17.0
commonsVersion=1.28.0
commonApiGatewayVersion=1.28.0
adminApiGatewayVersion=1.12.0
pluginVersion=1.3.0
pluginVersion=1.4.1
package ee.sm.ti.teis.scheduler.config;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
public void configure(HttpSecurity security) throws Exception {
security
.csrf().disable()
.authorizeRequests()
// Permit Camunda resources
.antMatchers("/app").permitAll()
.antMatchers("/api").permitAll()
.and().formLogin().disable();
}
}
......@@ -81,6 +81,9 @@ management:
enabled: true
show-details: always
info.enabled: true
endpoints:
web:
exposure.include: health, info, prometheus, metrics
teis:
datasource:
......
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