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); } }