All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yakworks.rally.RallyConfiguration.groovy Maven / Gradle / Ivy

There is a newer version: 7.3.76
Show newest version
/*
* Copyright 2022 Yak.Works - Licensed under the Apache License, Version 2.0 (the "License")
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
package yakworks.rally

import groovy.transform.CompileStatic

import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Import
import org.springframework.context.annotation.Lazy

import yakworks.rally.mail.MailSpringConfig
import yakworks.security.audit.AuditStampConfiguration
import yakworks.security.gorm.SecurityGormConfiguration
import yakworks.security.spring.DefaultSecurityConfiguration

@Configuration @Lazy
@Import([DefaultSecurityConfiguration, SecurityGormConfiguration, AuditStampConfiguration, MailSpringConfig])
//@ComponentScan(['yakworks.rally']) //scan and pick up all
@ComponentScan(['yakworks.security.gorm', 'yakworks.rally'])
@CompileStatic
class RallyConfiguration {
    //@Entity scan packages to include in additions to this Application class's package
    public static final List entityScanPackages = ['yakworks.security.gorm', 'yakworks.rally']
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy