com.farao_community.farao.rao_runner.app.configuration.UrlConfiguration Maven / Gradle / Ivy
/*
* Copyright (c) 2024, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.farao_community.farao.rao_runner.app.configuration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mohamed BenRejeb {@literal }
*/
@Configuration
@EnableConfigurationProperties
@ConfigurationProperties(prefix = "rao-runner.url")
public class UrlConfiguration {
private final List whitelist = new ArrayList<>();
private String interruptServerUrl;
public List getWhitelist() {
return whitelist;
}
public String getInterruptServerUrl() {
return interruptServerUrl;
}
public void setInterruptServerUrl(String interruptServerUrl) {
this.interruptServerUrl = interruptServerUrl;
}
}