/**
 * Copyright (C) 2016 Red Hat, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.redhat.ipaas.runtime;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.redhat.ipaas.api.v1.rest", "com.redhat.ipaas.runtime"})
public class Application extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}

@@ -634,16 +634,67 @@
 ntime;%0A%0A
+import com.redhat.ipaas.api.v1.rest.V1Application;%0A
 import o
@@ -983,67 +983,68 @@
 can(
-%7B%22com.redhat.ipaas.api.v1.rest%22, %22com.redhat.ipaas.runtime%22
+basePackageClasses = %7BV1Application.class, Application.class
 %7D)%0Ap

Use typesafe annotation for component scan