Spaces:
Build error
Build error
File size: 1,236 Bytes
9373c61 5cfe5c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
package com.dalab.policyengine;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.kafka.annotation.EnableKafka;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* Main application class for DALab Policy Engine Service.
*
* This service handles:
* - Policy management and evaluation
* - Easy Rules engine integration
* - Kafka event processing for asset changes
* - Policy action execution and notifications
*
* @author DALab Development Team
* @since 1.0.0
*/
@SpringBootApplication(scanBasePackages = {
"com.dalab.policyengine",
"com.dalab.discovery.common.security" // Include common security utils
})
@EnableJpaRepositories
@EnableFeignClients
@EnableKafka
@EnableAsync
@EnableScheduling
public class DaPolicyEngineApplication {
public static void main(String[] args) {
SpringApplication.run(DaPolicyEngineApplication.class, args);
}
} |