package de.otto.edison.jobtrigger;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

/*
Extend the basePackages to de.otto.edison so SpringBoot is able to find
the components configured by edison-microservice
*/
@ComponentScan(basePackages = "de.otto.edison")
@PropertySource(value="/version.properties", ignoreResourceNotFound = true)
@SpringBootApplication
public class Server {

    private static ApplicationContext ctx;

    public static ApplicationContext applicationContext() {
        return ctx;
    }

    public static void main(String[] args) {
        ctx = new SpringApplication(Server.class).run(args);
    }
}

@@ -493,23 +493,16 @@
 %22de.otto
-.edison
 %22)%0A@Prop

Use de.otto for component scan