All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.gov.gchq.palisade.service.manager.ManagerApplication Maven / Gradle / Ivy

Go to download

The Palisade Services Manager is a configuration-driven process-spawner and REST-client with particular considerations to assist in managing multiple Palisade services running on local JVMs.

There is a newer version: 0.5.1-RELEASE
Show newest version
/*
 * Copyright 2018-2021 Crown Copyright
 *
 * 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 uk.gov.gchq.palisade.service.manager;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * SpringBoot application entry-point class
 */
@EnableFeignClients
@SpringBootApplication
public class ManagerApplication {

    public ManagerApplication() {
        // no-args constructor needed for serialization only
    }

    /**
     * Application entry-point method
     * Will later call out to the configured runner to run for the rest of the lifetime of the application
     *
     * @param args additional command-line arguments passed in
     */
    public static void main(final String[] args) {
        new SpringApplicationBuilder(ManagerApplication.class)
                .run(args);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy