Skip to content

Conversation

artembilan
Copy link
Member

Fixes #3994

Essentially, migrate those hints from Spring Boot Actuator: an IntegrationGraphServer can be used without Spring Boot

  • Introduce IntegrationGraphRuntimeHints - implementation of RuntimeHintsRegistrar to register reflection hints for Graph and top-level IntegrationNode types.
  • Use @ImportRuntimeHints on the IntegrationGraphServer to make those hints conditional.

Fixes spring-projects#3994

Essentially, migrate those hints from Spring Boot Actuator:
an `IntegrationGraphServer` can be used without Spring Boot

* Introduce `IntegrationGraphRuntimeHints` - implementation of `RuntimeHintsRegistrar`
to register reflection hints for `Graph` and top-level `IntegrationNode` types.
* Use `@ImportRuntimeHints` on the `IntegrationGraphServer` to make those hints
conditional.
@garyrussell garyrussell merged commit f01e2b8 into spring-projects:main Jan 23, 2023
@artembilan artembilan deleted the GH-3994 branch January 23, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate native hints for Integation Graph types from Spring Boot

2 participants