com.yahoo.vespa.hosted.provision.testutils.MockInfraDeployer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of node-repository Show documentation
Show all versions of node-repository Show documentation
Keeps track of node assignment in a multi-application setup.
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.testutils;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.Deployment;
import com.yahoo.config.provision.InfraDeployer;
import java.util.Optional;
public class MockInfraDeployer implements InfraDeployer {
@Override
public Optional getDeployment(ApplicationId application) {
return Optional.empty();
}
@Override
public void activateAllSupportedInfraApplications(boolean propagateException) { }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy