Skip to content

Commit

Permalink
- bump spring boot from 3.3.5 to 3.4.0
Browse files Browse the repository at this point in the history
- bump jpa-search-helper from 3.2.2 to 3.3.0
  • Loading branch information
biagio committed Nov 24, 2024
1 parent 3b601a1 commit d329bb3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.5'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
}

Expand All @@ -25,7 +25,7 @@ dependencyManagement {

dependencies {
// jpa-search-helper
implementation 'app.tozzi:jpa-search-helper:3.2.2'
implementation 'app.tozzi:jpa-search-helper:3.3.0'

// Spring Boot dependencies
implementation 'org.springframework.boot:spring-boot-starter-actuator'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/app/tozzi/datafetcher/BookDataFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.netflix.graphql.dgs.DgsQuery;
import com.netflix.graphql.dgs.InputArgument;
import graphql.schema.DataFetchingFieldSelectionSet;
import io.micrometer.observation.annotation.Observed;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

Expand All @@ -20,6 +21,7 @@
import java.util.stream.Collectors;

@DgsComponent
@Observed(name = "books", contextualName = "data-fetcher")
public class BookDataFetcher {

@Autowired
Expand Down
16 changes: 10 additions & 6 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ management:
env: local
otlp:
tracing:
endpoint: "http://localhost:4318/v1/traces"
export:
enabled: true
endpoint: "http://localhost:4317"
compression: gzip
timeout: 20s
transport: grpc
tracing:
enabled: true
sampling:
Expand All @@ -60,7 +63,8 @@ management:
enabled: true
step: 1m
endpoints:
enabled-by-default: false
access:
default: none
jmx:
exposure:
exclude: '*'
Expand All @@ -72,17 +76,17 @@ management:
- metrics
endpoint:
health:
enabled: true
access: unrestricted
logging:
slow-indicator: 5s
probes:
enabled: true
info:
enabled: false
access: none
prometheus:
enabled: true
access: unrestricted
metrics:
enabled: true
access: unrestricted
health:
defaults:
enabled: false
Expand Down

0 comments on commit d329bb3

Please sign in to comment.