Skip to content

Commit

Permalink
#294 add test profile
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausRicharz committed Feb 8, 2024
1 parent 2b41175 commit 1361edb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.springframework.security.web.SecurityFilterChain;

@Configuration
@Profile("production")
@Profile({ "production", "test" })
public class AzureEasyAuthSecurityConfiguration {

@Bean
Expand Down
15 changes: 15 additions & 0 deletions src/main/resources/application-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server:
tomcat:
resource:
allow-caching: true
cache-ttl: 1d
spring:
web:
resources:
cache:
period: 1d
security:
oauth2:
resourceserver:
jwt:
issuer-uri: https://login.microsoftonline.com/0af2c34e-4e40-42d9-89ab-e095b8151308/v2.0

0 comments on commit 1361edb

Please sign in to comment.