Class CommentsAutoConfiguration

java.lang.Object
com.onec.ui.comments.CommentsAutoConfiguration

@AutoConfiguration(after=UiAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnBean(MetadataRegistry.class) @EnableConfigurationProperties(CommentProperties.class) @ConditionalOnProperty(prefix="onec.comments", name="enabled", havingValue="true", matchIfMissing=true) public class CommentsAutoConfiguration extends Object
Wires the /api/comments discussion-thread endpoint, its CommentService store, and the onec.comments.* configuration. Gated on a servlet web app and onec.comments .enabled (default true), and runs after UiAutoConfiguration so the UiAccessService and CurrentUserResolver it builds on are already present. Storage is the framework-owned onec_comments table the service creates on startup — there is no app metadata to model.