Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Hooking into Spring component creation with new module #2698

Answered by aravindanr
rickfish asked this question in Q&A
Discussion options

You must be logged in to vote

Is there any documentation that describes how to bootstrap a new module using the new Spring configuration?

There is none, since Conductor is like any other spring boot application. But this is the first request we had about someone moving modules from 2.31 to 3.x. We will consider adding a guide.

Is there a place in the codebase that dictates the classpath that Spring uses to scan the classes? I haven't found any @componentscan annotation anywhere...

componentscan is not needed when SpringBootApplication is used. By default all classes under com.netflix.conductor are scanned. My guess is that the new module you are creating doesn't follow that package name.

If this new module is for …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rickfish
Comment options

Answer selected by rickfish
Comment options

You must be logged in to vote
1 reply
@rickfish
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants