Packages

c

com.datasolvr.services.facade

ApplicationWebFacade

class ApplicationWebFacade extends ApplicationFacade with ServiceWebFacadeWithDatabase with ServiceFacade[ApplicationFacade]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApplicationWebFacade
  2. ServiceWebFacadeWithDatabase
  3. ServiceWebFacade
  4. ApplicationFacade
  5. ServiceFacade
  6. ServiceFacadeWithDatabase
  7. ServiceFacadeBase
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ApplicationWebFacade(hostAddress: String, httpClient: HttpClient, token: UUID, connectAttempts: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _httpChannel: HttpChannel
    Attributes
    protected
    Definition Classes
    ApplicationWebFacadeServiceWebFacade
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. val environment: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def getAuditLog(outputStream: OutputStream, from: LocalDateTime, to: LocalDateTime, locale: String = getLogDefaultLocale, maxDecimals: Int = getLogDefaultMaxDecimals): Unit

    Gets the audit log for a specific time period.

    Gets the audit log for a specific time period. The audit log has information on all API request made by all (non-service) users. The data set is described by AuditLogEntry.

    outputStream

    The stream data is written to.

    from

    The lower bound on the audit log entries.

    to

    The upper bound on the audit log entries.

    locale

    The locale to use when formatting numbers, i.e. 'da'.

    maxDecimals

    The maximum number of decimals to include when formatting numbers.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  11. def getBuildInfo: BuildLabels
    Definition Classes
    ServiceWebFacade
  12. def getCacheStatistics: Array[CacheStatistics]
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def getCluster(id: String): ClusterInfo

    Gets the most recent version of a specific cluster.

    Gets the most recent version of a specific cluster.

    id

    The unique id of the cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  15. def getClusters(includeDeleted: Boolean = false): Array[ClusterInfo]

    Gets the most recent version of each cluster.

    Gets the most recent version of each cluster.

    includeDeleted

    Whether to include deleted clusters.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  16. def getClusters: Array[ClusterInfo]

    Gets the most recent version of each cluster.

    Gets the most recent version of each cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  17. def getConfigParameter(id: String): ConfigParameterInfo

    Gets the most recent version of a specific config parameter.

    Gets the most recent version of a specific config parameter.

    id

    The unique id of the config parameter.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  18. def getConfigParameters(serviceClass: Option[String] = None, serviceName: Option[String] = None, includeDeleted: Boolean = false): Array[ConfigParameterInfo]

    Gets the most recent version of each config parameter with optional filters.

    Gets the most recent version of each config parameter with optional filters.

    serviceClass

    The simple name of the service interface or None for any interface.

    serviceName

    The service name of the service instance or None for any instance.

    includeDeleted

    Whether to include deleted config parameters.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  19. def getCurrentUser: ServiceUserInfo

    Gets the most recent version of the current user.

    Gets the most recent version of the current user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  20. def getDatabase(outputStream: OutputStream): Unit
  21. def getDatabasePath: String
  22. def getEnvironment(id: String): ServiceEnvironmentInfo

    Gets the most recent version of a specific environment.

    Gets the most recent version of a specific environment.

    id

    The unique id of the environment.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  23. def getEnvironments(includeDeleted: Boolean = false): Array[ServiceEnvironmentInfo]

    Gets the most recent version of each environment.

    Gets the most recent version of each environment.

    includeDeleted

    Whether to include deleted environments.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  24. def getEnvironments: Array[ServiceEnvironmentInfo]

    Gets the most recent version of each environment.

    Gets the most recent version of each environment.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  25. def getEventLog(outputStream: OutputStream, from: LocalDateTime, to: LocalDateTime, locale: String = getLogDefaultLocale, maxDecimals: Int = getLogDefaultMaxDecimals): Unit

    Gets the event log for a specific time period.

    Gets the event log for a specific time period. The event log has information on all log events triggered from application code, including all exceptions thrown. The data set is described by EventLogEntry.

    outputStream

    The stream data is written to.

    from

    The lower bound on the audit log entries.

    to

    The upper bound on the audit log entries.

    locale

    The locale to use when formatting numbers, i.e. 'da'.

    maxDecimals

    The maximum number of decimals to include when formatting numbers.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  26. def getFile(path: String, outputStream: OutputStream): Unit
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  27. def getLink(id: String): LinkInfo

    Gets the most recent version of a specific link.

    Gets the most recent version of a specific link.

    id

    The unique id of the link.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  28. def getLinks: Array[LinkInfo]

    Gets the most recent version of each active link.

    Gets the most recent version of each active link.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  29. val getLogDefaultLocale: String

    The default value for locale used in getAuditLog and getEventLog.

    The default value for locale used in getAuditLog and getEventLog. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_OUTPUT_LOCALE.

    Definition Classes
    ApplicationFacade
  30. val getLogDefaultMaxDecimals: Int

    The default value for maxDecimals used in getAuditLog and getEventLog.

    The default value for maxDecimals used in getAuditLog and getEventLog. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_MAX_DECIMALS.

    Definition Classes
    ApplicationFacade
  31. def getLogForClusterState(clusterId: String): String

    Get the log information on a specific cluster.

    Get the log information on a specific cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  32. def getLogForMachineState(machineId: String): String

    Get the log information on a specific machine.

    Get the log information on a specific machine.

    machineId

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  33. def getLogLevel: String
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  34. def getMachine(id: String): MachineInfo

    Gets the most recent version of a specific machine.

    Gets the most recent version of a specific machine.

    id

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  35. def getMachines(includeDeleted: Boolean = false): Array[MachineInfo]

    Gets the most recent version of each machine.

    Gets the most recent version of each machine.

    includeDeleted

    Whether to include deleted machines.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  36. def getMachines: Array[MachineInfo]

    Gets the most recent version of each machine.

    Gets the most recent version of each machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  37. def getPerformanceMetrics: PerformanceMetrics
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  38. def getRaw(url: String): String
    Definition Classes
    ServiceWebFacade
  39. def getServiceLocation(id: String, name: String, version: String, timeout: Int, expiration: Int): Option[ServiceLocationInfo]

    Gets connection information for a specific service, if available.

    Gets connection information for a specific service, if available.

    id

    The simple type name of the service API interface, e.g. 'ApplicationFacade'.

    name

    The name of service instance.

    version

    The version of the service to request.

    timeout

    The maximum amount of seconds to wait for connection information.

    expiration

    The maximum age in seconds to accept for connection information.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  40. def getServiceLocations: Array[ServiceLocationInfo]

    Gets all available information on services that are, or have been, connected to the application service.

    Gets all available information on services that are, or have been, connected to the application service.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  41. def getStateForCluster(id: String): ClusterStateInfo

    Get the state information on a specific cluster.

    Get the state information on a specific cluster.

    id

    The unique id of the cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  42. def getStateForMachine(id: String): MachineStateInfo

    Get the state information on a specific machine.

    Get the state information on a specific machine.

    id

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  43. def getUser(id: String): ServiceUserInfo

    Gets the most recent version of a specific user.

    Gets the most recent version of a specific user.

    id

    The unique id of the user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  44. def getUserActivity: Array[ServiceUserActivity]

    Gets basic activity information for all users that have been active since the service was started.

    Gets basic activity information for all users that have been active since the service was started.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  45. def getUserGroup(id: String): ServiceUserGroupInfo

    Gets the most recent version of a specific user group.

    Gets the most recent version of a specific user group.

    id

    The unique id of the user group.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  46. def getUserGroups(includeDeleted: Boolean = false): Array[ServiceUserGroupInfo]

    Gets the most recent version of each user group.

    Gets the most recent version of each user group.

    includeDeleted

    Whether to include deleted user groups

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  47. def getUserGroups: Array[ServiceUserGroupInfo]

    Gets the most recent version of each user group.

    Gets the most recent version of each user group.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  48. def getUsers(includeDeleted: Boolean = false): Array[ServiceUserInfo]

    Gets the most recent version of each user.

    Gets the most recent version of each user.

    includeDeleted

    Whether to include deleted users.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  49. def getUsers: Array[ServiceUserInfo]

    Gets the most recent version of each user.

    Gets the most recent version of each user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  50. def getVersion: String
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  51. def getVersionForCluster(id: String, version: UUID): ClusterInfo

    Gets a specific version of a specific cluster.

    Gets a specific version of a specific cluster.

    id

    The unique id of the cluster.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  52. def getVersionForConfigParameter(id: String, version: UUID): ConfigParameterInfo

    Gets a specific version of a specific config parameter.

    Gets a specific version of a specific config parameter.

    id

    The unique id of the config parameter.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  53. def getVersionForEnvironment(id: String, version: UUID): ServiceEnvironmentInfo

    Gets a specific version of a specific environment.

    Gets a specific version of a specific environment.

    id

    The unique id of the environment.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  54. def getVersionForMachine(id: String, version: UUID): MachineInfo

    Gets a specific version of a specific machine.

    Gets a specific version of a specific machine.

    id

    The unique id of the machine.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  55. def getVersionForUser(id: String, version: UUID): ServiceUserInfo

    Gets a specific version of a specific user.

    Gets a specific version of a specific user.

    id

    The unique id of the user.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  56. def getVersionForUserGroup(id: String, version: UUID): ServiceUserGroupInfo

    Gets a specific version of a specific user group.

    Gets a specific version of a specific user group.

    id

    The unique id of the user group.

    version

    The UUID for the version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  57. def getVersionsForCluster(id: String): Array[ClusterInfo]

    Gets all versions of a specific cluster.

    Gets all versions of a specific cluster.

    id

    The unique id of the cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  58. def getVersionsForConfigParameter(id: String): Array[ConfigParameterInfo]

    Gets all versions of a specific config parameter.

    Gets all versions of a specific config parameter.

    id

    The unique id of the config parameter.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  59. def getVersionsForEnvironment(id: String): Array[ServiceEnvironmentInfo]

    Gets all versions of a specific environment.

    Gets all versions of a specific environment.

    id

    The unique id of the environment.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  60. def getVersionsForMachine(id: String): Array[MachineInfo]

    Gets all versions of a specific machine.

    Gets all versions of a specific machine.

    id

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  61. def getVersionsForUser(id: String): Array[ServiceUserInfo]

    Gets all versions of a specific user.

    Gets all versions of a specific user.

    id

    The unique id of the user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  62. def getVersionsForUserGroup(id: String): Array[ServiceUserGroupInfo]

    Gets all versions of a specific user group.

    Gets all versions of a specific user group.

    id

    The unique id of the user group.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  63. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  64. val hostAddress: String
  65. implicit def httpChannel: HttpChannel
    Definition Classes
    ServiceWebFacade
  66. val httpClient: HttpClient
  67. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  68. def isReady: Boolean
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  69. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  70. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  71. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  72. def postAuditLog(entries: Array[AuditLogEntry]): Unit

    Append a collection of entries to the audit log.

    Append a collection of entries to the audit log.

    entries

    The collection of entries.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  73. def postAwsCliCommand(region: String, scope: String, command: String): String
  74. def postAzureCliCommand(command: String): String
  75. def postBugReport(bugReport: BugReport): Unit

    Submit a bug report from a user to the system administrator.

    Submit a bug report from a user to the system administrator.

    bugReport

    Information on the bug report to send.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  76. def postCachePurge(id: Option[String]): Unit
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  77. def postCluster(content: ClusterContent): Unit

    Creates a new version of a cluster with the specific content.

    Creates a new version of a cluster with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  78. def postConfigParameter(content: ConfigParameterContent): Unit

    Creates a new version of a config parameter with the specific content.

    Creates a new version of a config parameter with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  79. def postDatabaseBackup(encryptionEnabled: Option[Boolean], encryptionMasterKeyIdentifier: Option[String], outputRepository: String): Unit
  80. def postDeleteForCluster(id: String): Unit

    Marks a specific cluster as deleted.

    Marks a specific cluster as deleted. Technically a copy of the most recent version is created with the deletion time set.

    id

    The unique id of the cluster.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  81. def postDeleteForConfigParameter(id: String): Unit

    Marks a specific config parameter as deleted.

    Marks a specific config parameter as deleted. Technically a copy of the most recent version is created with the deletion time set.

    id

    The unique id of the config parameter.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  82. def postDeleteForEnvironment(id: String): Unit

    Marks a specific environment as deleted.

    Marks a specific environment as deleted. Technically a copy of the most recent version is created with the deletion time set. Only environments without result data can be deleted. Deleting an environment will eventually delete the databases and associated with that environment.

    id

    The unique id of the environment.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  83. def postDeleteForLink(id: String): Unit

    Marks a specific link as deleted.

    Marks a specific link as deleted. Technically a copy of the most recent version is created with the deletion time set. The associated user is deleted alongside the link.

    id

    The unique id of the link.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  84. def postDeleteForMachine(id: String): Unit

    Marks a specific machine as deleted.

    Marks a specific machine as deleted. Technically a copy of the most recent version is created with the deletion time set.

    id

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  85. def postDeleteForUser(id: String): Unit

    Marks a specific user as deleted.

    Marks a specific user as deleted. Technically a copy of the most recent version is created with the deletion time set.

    id

    The unique id of the user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  86. def postDeleteForUserGroup(id: String): Unit

    Marks a specific user group as deleted.

    Marks a specific user group as deleted. Technically a copy of the most recent version is created with the deletion time set.

    id

    The unique id of the user group.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  87. def postEmail(email: OutgoingEmail, environment: String): Array[EmailReceipt]

    Send an email using connection information in a given environment.

    Send an email using connection information in a given environment. Note that EnvironmentVariables.DATASOLVR_OUTGOING_MAIL_ENVIRONMENT takes precedence over the given environment.

    email

    Information on the email to send.

    environment

    The given environment.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  88. def postEnvironment(content: ServiceEnvironmentContent): Unit

    Creates a new version of a environment with the specific content.

    Creates a new version of a environment with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  89. def postEnvironmentBackup(id: String, encryptionEnabled: Option[Boolean], encryptionMasterKeyIdentifier: Option[String], outputRepository: Option[String]): Unit

    Creates a new backup of the database for each service used by the environment.

    Creates a new backup of the database for each service used by the environment.

    id

    The unique ID of the environment

    encryptionEnabled

    An optional value indicating whether to encrypt the backup. If left blank, the system default will be used

    encryptionMasterKeyIdentifier

    An optional identifier for a master key to use for encrypting the backup. Must be specified if encryptionEnabled is set to true

    outputRepository

    An optional URI for an alternate output repository where to store the backup

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  90. def postErrorReport(errorReport: ErrorReport): Unit

    Submit an internal error report to the system administrator.

    Submit an internal error report to the system administrator.

    errorReport

    Information on the error report to send.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  91. def postEventLog(entries: Array[EventLogEntry]): Unit

    Append a collection of entries to the event log.

    Append a collection of entries to the event log.

    entries

    The collection of entries.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  92. def postFlushLog(): Unit

    Flush the audit and event log buffers to persistent storage.

    Flush the audit and event log buffers to persistent storage. This is done automatically on a periodic basis, but can be triggered manually if one needs to restart the service without dropping the buffers.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  93. def postForgotPassword(email: String): Unit

    Sends an email with password reset information to the user matching a specific email address.

    Sends an email with password reset information to the user matching a specific email address. If the email address does not match any user nothing is done. This requires EnvironmentVariables.auth_password_reset_url to be configured.

    email

    The specific email address.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  94. def postInstanceProtectionForCluster(instanceId: String, protect: Boolean): Unit

    Sets whether a specific AWS instance managed by a cluster is protected from termination.

    Sets whether a specific AWS instance managed by a cluster is protected from termination. For internal use only. Used to prevent auto scaling from terminating busy instances.

    instanceId

    The AWS id of the instance.

    protect

    Whether the instance should be protected or not.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  95. def postLdapQuery(query: LdapQuery): Array[LdapEntry]
  96. def postLink(link: LinkContent): LinkInfo

    Creates a new link with the specified content.

    Creates a new link with the specified content.

    link

    The content of the link.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  97. def postLinkLogin(id: String): LinkLoginResult

    Obtains an authentication token for the user associated with the given link id, as well as a url that the user should be redirected to.

    Obtains an authentication token for the user associated with the given link id, as well as a url that the user should be redirected to.

    id

    The unique id of the link.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  98. def postLogin(credentials: Login): LoginResult

    Obtains an authentication token for given user credentials.

    Obtains an authentication token for given user credentials. If TOTP is enabled this will initially return a TOTP challenge.

    credentials

    The username and password.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  99. def postLogout(user: String): Unit

    Logout a specific user.

    Logout a specific user. This invalidate all authentication tokens associated with the user.

    user

    The specific user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  100. def postLogoutSelf(token: UUID): Unit

    Invalidate all authentication tokens associated with the user associated with a specific authentication token.

    Invalidate all authentication tokens associated with the user associated with a specific authentication token.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  101. def postMachine(content: MachineContent): Unit

    Creates a new version of a machine with the specific content.

    Creates a new version of a machine with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  102. def postRaw(url: String, body: String): String
    Definition Classes
    ServiceWebFacade
  103. def postResendSignUpSelf(): Unit

    Runs the sign up script for the authenticated user.

    Runs the sign up script for the authenticated user. This would be used to resend the verification email.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  104. def postResetTotpSecret(userId: String): Unit

    Reset the TOTP secret for a specific user.

    Reset the TOTP secret for a specific user. Use this if a user no longer has access to their TOTP device.

    userId

    The unique id of the user.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  105. def postRestart: Unit
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  106. def postServiceLocation(id: String, name: String, buildInfo: BuildLabels, hostname: String, port: Int, startTime: LocalDateTime): Unit

    Update the information on a service with given id and name.

    Update the information on a service with given id and name.

    id

    The simple type name of the service API interface, e.g. 'ApplicationFacade'.

    name

    The name of service instance.

    buildInfo

    The build information for the service instance.

    hostname

    The DNS name or IP address where the service is located.

    port

    The port on which the service can be reached.

    startTime

    The time when the service was started.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  107. def postSignUp(credentials: Login): Unit

    Register a user for sign up with given credentials.

    Register a user for sign up with given credentials. This stores the user in an unauthorized state and runs the sign up script configured in EnvironmentVariables.sign_up_script_id.

    credentials

    The credentials for the user signing up.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  108. def postStartForCluster(id: String): Unit

    Starts a specific cluster.

    Starts a specific cluster. Starting a cluster means that it will actively monitor instance requests.

    id

    The unique id of the cluster

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  109. def postStartForMachine(id: String, stopAfter: Option[LocalDateTime]): Unit

    Starts a specific machine.

    Starts a specific machine. Depending on the machine configuration this may or may not start the underlying AWS instance.

    id

    The unique id of the machine.

    stopAfter

    A date after which to automatically stop the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  110. def postStopForCluster(id: String): Unit

    Stop a specific cluster.

    Stop a specific cluster. Stopping a cluster disables all monitoring of cluster instances. It does not stop those instances.

    id

    The unique id of the cluster

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  111. def postStopForMachine(id: String): Unit

    Stops a specific machine.

    Stops a specific machine. This will always stop the underlying AWS instance.

    id

    The unique id of the machine.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  112. def postToken(token: UUID): Option[AuthorizationInfo]

    Gets the authorization information associated with a specific authentication token, if available.

    Gets the authorization information associated with a specific authentication token, if available.

    token

    The specific authentication token.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  113. def postUser(content: ServiceUserContent): Unit

    Creates a new version of a user with the specific content.

    Creates a new version of a user with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  114. def postUserGroup(content: ServiceUserGroupContent): Unit

    Creates a new version of a user group with the specific content.

    Creates a new version of a user group with the specific content.

    content

    The content of the new version.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  115. def postVacuumDatabase: Unit
  116. def postVerifyEmail(email: String, token: UUID): Unit

    Verify an email address for a given verification token.

    Verify an email address for a given verification token. This is matched against the value stored in UserOptions.EMAIL_VERIFICATION_TOKEN.

    email

    The email address to verify.

    token

    The given email verification token.

    Definition Classes
    ApplicationWebFacadeApplicationFacade
  117. def setLogLevel(level: String): Unit
    Definition Classes
    ServiceWebFacadeServiceFacadeBase
  118. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  119. def toString(): String
    Definition Classes
    AnyRef → Any
  120. val token: UUID
  121. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  122. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  123. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  124. def waitIsReady(timeoutSeconds: Int, pollIntervalSeconds: Int): Unit
    Definition Classes
    ServiceFacadeBase
  125. def withTimeout(seconds: Int): ApplicationWebFacade
  126. def withToken(other: UUID): ApplicationWebFacade
    Definition Classes
    ApplicationWebFacadeServiceFacade

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ServiceWebFacade

Inherited from ApplicationFacade

Inherited from ServiceFacadeBase

Inherited from AnyRef

Inherited from Any

Ungrouped