Commit 5a6f206a authored by Raigo Ukkivi's avatar Raigo Ukkivi

Start using datasource configuration.

parent 2171ead7
......@@ -6,7 +6,7 @@ package ee.sm.ti.teis;
import ee.sm.ti.teis.aspects.RabbitListenerAspect;
import ee.sm.ti.teis.configuration.ExchangeConfig;
import ee.sm.ti.teis.configuration.QueueConfigurator;
import ee.sm.ti.teis.security.MethodSecurityConfig;
import ee.sm.ti.teis.servicecommon.config.DataSourceConfig;
import ee.sm.ti.teis.servicecommon.config.JpaAuditingConfiguration;
import ee.sm.ti.teis.servicecommon.config.PropertyLogger;
import org.camunda.bpm.spring.boot.starter.annotation.EnableProcessApplication;
......@@ -16,7 +16,7 @@ import org.springframework.context.annotation.Import;
@SpringBootApplication
@EnableProcessApplication
@Import({JpaAuditingConfiguration.class, PropertyLogger.class, ExchangeConfig.class, QueueConfigurator.class, RabbitListenerAspect.class})
@Import({JpaAuditingConfiguration.class, PropertyLogger.class, ExchangeConfig.class, QueueConfigurator.class, RabbitListenerAspect.class, DataSourceConfig.class})
public class OfficialsServiceApp {
public static void main(String[] args) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment