File tree Expand file tree Collapse file tree 6 files changed +20
-20
lines changed
sentry-spring-boot-jakarta/api
src/test/kotlin/io/sentry/spring/jakarta
src/test/kotlin/io/sentry/spring Expand file tree Collapse file tree 6 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,6 @@ public class io/sentry/spring/boot/jakarta/SentryWebfluxAutoConfiguration {
7171 public fun sentryWebExceptionHandler (Lio/sentry/IScopes;)Lio/sentry/spring/jakarta/webflux/SentryWebExceptionHandler;
7272}
7373
74- public final class io/sentry/spring/boot/jakarta/SpringProfilesEventProcessor : io/sentry/EventProcessor {
75- public fun <init> (Lorg/springframework/core/env/Environment;)V
76- public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
77- public fun process (Lio/sentry/SentryReplayEvent;Lio/sentry/Hint;)Lio/sentry/SentryReplayEvent;
78- public fun process (Lio/sentry/protocol/SentryTransaction;Lio/sentry/Hint;)Lio/sentry/protocol/SentryTransaction;
79- public fun processInternal (Lio/sentry/SentryBaseEvent;)V
80- }
81-
8274public class io/sentry/spring/boot/jakarta/graphql/SentryGraphql22AutoConfiguration {
8375 public fun <init> ()V
8476 public fun exceptionResolverAdapter ()Lio/sentry/spring/jakarta/graphql/SentryDataFetcherExceptionResolverAdapter;
Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ public class io/sentry/spring/boot/SentryWebfluxAutoConfiguration {
6363 public fun sentryWebFilter (Lio/sentry/IScopes;)Lio/sentry/spring/webflux/SentryWebFilter;
6464}
6565
66- public final class io/sentry/spring/boot/SpringProfilesEventProcessor : io/sentry/EventProcessor {
67- public fun <init> (Lorg/springframework/core/env/Environment;)V
68- public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
69- public fun process (Lio/sentry/SentryReplayEvent;Lio/sentry/Hint;)Lio/sentry/SentryReplayEvent;
70- public fun process (Lio/sentry/protocol/SentryTransaction;Lio/sentry/Hint;)Lio/sentry/protocol/SentryTransaction;
71- public fun processInternal (Lio/sentry/SentryBaseEvent;)V
72- }
73-
7466public class io/sentry/spring/boot/graphql/SentryGraphqlAutoConfiguration {
7567 public fun <init> ()V
7668 public fun exceptionResolverAdapter ()Lio/sentry/spring/graphql/SentryDataFetcherExceptionResolverAdapter;
Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ public class io/sentry/spring/jakarta/SentryWebConfiguration {
8686 public fun httpServletRequestSentryUserProvider (Lio/sentry/SentryOptions;)Lio/sentry/spring/jakarta/HttpServletRequestSentryUserProvider;
8787}
8888
89+ public final class io/sentry/spring/jakarta/SpringProfilesEventProcessor : io/sentry/EventProcessor {
90+ public fun <init> (Lorg/springframework/core/env/Environment;)V
91+ public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
92+ public fun process (Lio/sentry/SentryReplayEvent;Lio/sentry/Hint;)Lio/sentry/SentryReplayEvent;
93+ public fun process (Lio/sentry/protocol/SentryTransaction;Lio/sentry/Hint;)Lio/sentry/protocol/SentryTransaction;
94+ public fun processInternal (Lio/sentry/SentryBaseEvent;)V
95+ }
96+
8997public final class io/sentry/spring/jakarta/SpringSecuritySentryUserProvider : io/sentry/spring/jakarta/SentryUserProvider {
9098 public fun <init> (Lio/sentry/SentryOptions;)V
9199 public fun provideUser ()Lio/sentry/protocol/User;
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import org.mockito.kotlin.anyOrNull
1010import org.mockito.kotlin.mock
1111import org.mockito.kotlin.verify
1212import org.mockito.kotlin.whenever
13+ import org.springframework.boot.test.context.runner.ApplicationContextRunner
1314import org.springframework.context.annotation.Bean
1415import org.springframework.context.annotation.Configuration
15- import org.springframework.boot.test.context.runner.ApplicationContextRunner
1616import org.springframework.core.env.Environment
1717import kotlin.test.Test
1818
@@ -69,7 +69,7 @@ class SpringProfilesEventProcessorTest {
6969 open class SpringProfilesEventProcessorConfiguration {
7070 @Bean
7171 open fun springProfilesEventProcessor (environment : Environment ): SpringProfilesEventProcessor {
72- return SpringProfilesEventProcessor (environment);
72+ return SpringProfilesEventProcessor (environment)
7373 }
7474 }
7575
Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ public class io/sentry/spring/SentryWebConfiguration {
8686 public fun httpServletRequestSentryUserProvider (Lio/sentry/SentryOptions;)Lio/sentry/spring/HttpServletRequestSentryUserProvider;
8787}
8888
89+ public final class io/sentry/spring/SpringProfilesEventProcessor : io/sentry/EventProcessor {
90+ public fun <init> (Lorg/springframework/core/env/Environment;)V
91+ public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
92+ public fun process (Lio/sentry/SentryReplayEvent;Lio/sentry/Hint;)Lio/sentry/SentryReplayEvent;
93+ public fun process (Lio/sentry/protocol/SentryTransaction;Lio/sentry/Hint;)Lio/sentry/protocol/SentryTransaction;
94+ public fun processInternal (Lio/sentry/SentryBaseEvent;)V
95+ }
96+
8997public final class io/sentry/spring/SpringSecuritySentryUserProvider : io/sentry/spring/SentryUserProvider {
9098 public fun <init> (Lio/sentry/SentryOptions;)V
9199 public fun provideUser ()Lio/sentry/protocol/User;
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import org.mockito.kotlin.anyOrNull
1010import org.mockito.kotlin.mock
1111import org.mockito.kotlin.verify
1212import org.mockito.kotlin.whenever
13+ import org.springframework.boot.test.context.runner.ApplicationContextRunner
1314import org.springframework.context.annotation.Bean
1415import org.springframework.context.annotation.Configuration
15- import org.springframework.boot.test.context.runner.ApplicationContextRunner
1616import org.springframework.core.env.Environment
1717import kotlin.test.Test
1818
@@ -69,7 +69,7 @@ class SpringProfilesEventProcessorTest {
6969 open class SpringProfilesEventProcessorConfiguration {
7070 @Bean
7171 open fun springProfilesEventProcessor (environment : Environment ): SpringProfilesEventProcessor {
72- return SpringProfilesEventProcessor (environment);
72+ return SpringProfilesEventProcessor (environment)
7373 }
7474 }
7575
You can’t perform that action at this time.
0 commit comments