Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,16 @@ public WebClient webClient(OAuth2AuthorizedClientManager authorizedClientManager
.build();
}

/**
* {@link RestClient.Builder} for components scanned from openespi-common (e.g.
* {@code NotificationServiceImpl}) that inject it. Spring Boot's RestClient autoconfiguration
* doesn't supply one in this context, so provide it explicitly.
*/
@Bean
public org.springframework.web.client.RestClient.Builder restClientBuilder() {
return org.springframework.web.client.RestClient.builder();
}

/**
* Legacy RestTemplate bean for backward compatibility.
* TODO: Replace all RestTemplate usage with OAuth2-enabled WebClient.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ spring:

jpa:
show-sql: true
# Dev sandbox: the Third Party module ships no Flyway migrations yet, so let Hibernate create
# the schema (e.g. batch_lists) for local DC→TP notification testing. (Full TP schema/Flyway
# bring-up is tracked under #146.)
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
Expand Down
3 changes: 2 additions & 1 deletion openespi-thirdparty/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ spring:
# Jackson JSON Configuration
jackson:
serialization:
write-dates-as-timestamps: false
# write-dates-as-timestamps removed: not a SerializationFeature in Jackson 3 (Spring Boot 4);
# date/time-as-timestamp handling moved to the Jackson 3 DateTime features.
indent-output: true
deserialization:
fail-on-unknown-properties: false
Expand Down

This file was deleted.

This file was deleted.

Loading