
org.kuali.common.deploy.dns.model.DnsUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kuali-deploy Show documentation
Show all versions of kuali-deploy Show documentation
Project containing deployment logic for Kuali applications
The newest version!
package org.kuali.common.deploy.dns.model;
import org.kuali.common.util.Assert;
public class DnsUtils {
/**
*
* env1, ks, kuali.org -> env1.ks.kuali.org
*
*/
public static String getHostname(String prefix, String subdomain, String domain) {
Assert.noBlanks(prefix, subdomain, domain);
return prefix + "." + subdomain + "." + domain;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy