ServicesConfiguration

uk.gov.hmrc.performance.conf.ServicesConfiguration

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class ConfigNotFoundException(message: String) extends RuntimeException

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def baseUrlFor(serviceName: String): String

Returns a baseUrl for the provided serviceName based on the serviceName configuration in services.conf or services-local.conf` when running locally.

Returns a baseUrl for the provided serviceName based on the serviceName configuration in services.conf or services-local.conf` when running locally.

Attributes

Returns

baseUrl for the service as a String.

def serviceIsDefined(protocol: String, host: String, port: String): Boolean

Inherited methods

def hasProperty(property: String): Boolean

Attributes

Inherited from:
Configuration
def keys(property: String): List[String]

Attributes

Inherited from:
Configuration
def readProperty(property: String, default: String): String

Attributes

Inherited from:
Configuration
def readProperty(property: String): String

Attributes

Inherited from:
Configuration
def readPropertyBooleanOption(property: String): Option[Boolean]

Attributes

Inherited from:
Configuration
def readPropertyList(property: String): List[String]

Attributes

Inherited from:
Configuration
def readPropertyOption(property: String): Option[String]

Attributes

Inherited from:
Configuration
def readPropertySet(property: String): Set[String]

Attributes

Inherited from:
Configuration
def readPropertySetOrEmpty(property: String): Set[String]

Attributes

Inherited from:
Configuration

Inherited fields

lazy val applicationConfig: Config

Attributes

Inherited from:
Configuration
lazy val runLocal: Boolean

Attributes

Inherited from:
Configuration