finos / spring-bot

Spring Boot + Java Integration for Symphony/Teams Chat Platform Bots and Apps
https://springbot.finos.org
Apache License 2.0
60 stars 35 forks source link

Extract Help Provision out of Workflow #164

Closed robmoffat closed 3 years ago

robmoffat commented 3 years ago

It would be good if we could just rely on Spring's class path scanning capabilities to find workflow beans, and map their methods from that. It's a pain having to register them all in the Workflow implementation, and creates excessive dependencies.

In fact maybe we can retire the workflow class completely?

robmoffat commented 3 years ago

We need to HelpMessageConsumer to do it's own introspection.
It should look up all beans with the @Work annotation from the ApplicationContext and build a help menu using that.