Search in sources :

Example 1 with GateProfileFactory

use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.GateProfileFactory in project halyard by spinnaker.

the class GateService method getProfiles.

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
    List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints);
    String filename = "gate.yml";
    String path = Paths.get(getConfigOutputPath(), filename).toString();
    GateProfileFactory gateProfileFactory = getGateProfileFactory(deploymentConfiguration.getName());
    Profile profile = gateProfileFactory.getProfile(filename, path, deploymentConfiguration, endpoints);
    profiles.add(profile);
    return profiles;
}
Also used : Profile(com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.Profile) GateProfileFactory(com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.GateProfileFactory)

Aggregations

GateProfileFactory (com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.GateProfileFactory)1 Profile (com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.Profile)1