File tree Expand file tree Collapse file tree 6 files changed +23
-15
lines changed
deployment/src/main/java/app/fyreplace/api/sentry/processors
runtime/src/main/java/app/fyreplace/api/sentry/recorders Expand file tree Collapse file tree 6 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1515jobs :
1616 formatting :
1717 name : Check formatting
18- runs-on : ubuntu-latest
18+ runs-on : ubuntu-24.04
1919
2020 steps :
2121 - name : Checkout repository
3232
3333 test :
3434 name : Test
35- runs-on : ubuntu-latest
35+ runs-on : ubuntu-24.04
3636 environment : test
3737
3838 steps :
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx1024M
2- quarkusPlatformVersion =3.21.4
3- quarkusPluginVersion =3.21.4
4- sentryVersion =8.11 .1
2+ quarkusPlatformVersion =3.25.3
3+ quarkusPluginVersion =3.25.3
4+ sentryVersion =8.19 .1
55javaXtVersion =2.1.11
66twelveMonkeysVersion =3.12.0
7- spotlessPluginVersion =7.0.3
8- lombokPluginVersion =8.13.1
7+ spotlessPluginVersion =7.2.1
8+ lombokPluginVersion =8.14
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.14.3 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 11package app .fyreplace .api .sentry .processors ;
22
3- import app .fyreplace .api .sentry .config .SentryConfig ;
43import app .fyreplace .api .sentry .recorders .SentryRecorder ;
54import io .quarkus .deployment .annotations .BuildStep ;
65import io .quarkus .deployment .annotations .ExecutionTime ;
@@ -33,7 +32,7 @@ SystemPropertyBuildItem setContextStorageProvider() {
3332
3433 @ BuildStep
3534 @ Record (ExecutionTime .RUNTIME_INIT )
36- LogHandlerBuildItem addSentryHandler (final SentryConfig config , final SentryRecorder recorder ) {
37- return new LogHandlerBuildItem (recorder .create (config ));
35+ LogHandlerBuildItem addSentryHandler (final SentryRecorder recorder ) {
36+ return new LogHandlerBuildItem (recorder .create ());
3837 }
3938}
Original file line number Diff line number Diff line change 1414
1515@ Recorder
1616public class SentryRecorder {
17- public RuntimeValue <Optional <Handler >> create (final SentryConfig sentryConfig ) {
17+ private final RuntimeValue <SentryConfig > pendingSentryConfig ;
18+
19+ public SentryRecorder (RuntimeValue <SentryConfig > sentryConfig ) {
20+ pendingSentryConfig = sentryConfig ;
21+ }
22+
23+ public RuntimeValue <Optional <Handler >> create () {
24+ final var sentryConfig = pendingSentryConfig .getValue ();
25+
1826 if (sentryConfig .dsn ().isEmpty ()) {
1927 return new RuntimeValue <>(Optional .empty ());
2028 }
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ quarkus:
1616 dev :
1717 paths : " /dev/*"
1818 policy : " deny"
19- cors : true
19+ cors :
20+ enabled : true
2021 limits :
2122 max-body-size : " 10M"
2223 rest :
7374' %dev ' :
7475 quarkus :
7576 hibernate-orm :
76- database :
77- generation : " drop-and-create"
77+ schema-management :
78+ strategy : " drop-and-create"
7879 dev-ui :
7980 allow-hql : true
8081 liquibase :
You can’t perform that action at this time.
0 commit comments