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;
}
Aggregations