| /********************************************************************************* |
| * Copyright (c) 2020 Robert Bosch GmbH and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Robert Bosch GmbH - initial API and implementation |
| ******************************************************************************** |
| */ |
| package org.eclipse.app4mc.cloud.manager; |
| |
| import org.springframework.boot.builder.SpringApplicationBuilder; |
| import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
| |
| /** |
| * Class used to configure the application. |
| */ |
| public class ServletInitializer extends SpringBootServletInitializer { |
| |
| @Override |
| protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { |
| return application.sources(App4McCloudManagerApplication.class); |
| } |
| |
| } |