class ApplicationWebFacade extends ApplicationFacade with ServiceWebFacadeWithDatabase with ServiceFacade[ApplicationFacade]
- Alphabetic
- By Inheritance
- ApplicationWebFacade
- ServiceWebFacadeWithDatabase
- ServiceWebFacade
- ApplicationFacade
- ServiceFacade
- ServiceFacadeWithDatabase
- ServiceFacadeBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ApplicationWebFacade(hostAddress: String, httpClient: HttpClient, token: UUID, connectAttempts: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var _httpChannel: HttpChannel
- Attributes
- protected
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val environment: String
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade → ServiceFacadeBase
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- ApplicationWebFacade → ApplicationFacade
- def getBuildInfo: BuildLabels
- Definition Classes
- ServiceWebFacade
- def getCacheStatistics: Array[CacheStatistics]
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getClusters: Array[ClusterInfo]
Gets the most recent version of each cluster.
Gets the most recent version of each cluster.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
Nonefor any interface.- serviceName
The service name of the service instance or
Nonefor any instance.- includeDeleted
Whether to include deleted config parameters.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getCurrentUser: ServiceUserInfo
Gets the most recent version of the current user.
Gets the most recent version of the current user.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getDatabase(outputStream: OutputStream): Unit
- Definition Classes
- ServiceWebFacadeWithDatabase
- def getDatabasePath: String
- Definition Classes
- ServiceWebFacadeWithDatabase
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getEnvironments: Array[ServiceEnvironmentInfo]
Gets the most recent version of each environment.
Gets the most recent version of each environment.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getFile(path: String, outputStream: OutputStream): Unit
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- 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
- ApplicationWebFacade → ApplicationFacade
- def getLinks: Array[LinkInfo]
Gets the most recent version of each active link.
Gets the most recent version of each active link.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- val getLogDefaultLocale: String
The default value for
localeused in getAuditLog and getEventLog.The default value for
localeused in getAuditLog and getEventLog. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_OUTPUT_LOCALE.- Definition Classes
- ApplicationFacade
- val getLogDefaultMaxDecimals: Int
The default value for
maxDecimalsused in getAuditLog and getEventLog.The default value for
maxDecimalsused in getAuditLog and getEventLog. The value is equal to EnvironmentVariables.DATASOLVR_DEFAULT_MAX_DECIMALS.- Definition Classes
- ApplicationFacade
- def getLogForClusterState(clusterId: String): String
Get the log information on a specific cluster.
Get the log information on a specific cluster.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getLogLevel: String
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getMachines: Array[MachineInfo]
Gets the most recent version of each machine.
Gets the most recent version of each machine.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getOidcAccessToken(clientId: String, clientSecret: String, endpoint: Option[String], scope: Option[String]): String
Gets an OIDC access token for non-delegated auth.
Gets an OIDC access token for non-delegated auth.
- clientId
The client ID.
- clientSecret
The client secret.
- endpoint
The token endpoint, if different from the one obtained from the config url.
- scope
An access scope, if applicable.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getOidcCallback(code: String, state: String): LoginResult
Get request to use for OIDC provider callback.
Get request to use for OIDC provider callback.
- code
The authorization code from the provider.
- state
The state value to verify.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getOidcLoginUrl(state: String): String
Gets the login url to use for OIDC auth.
Gets the login url to use for OIDC auth.
- state
The state value to use.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getPerformanceMetrics: PerformanceMetrics
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- def getRaw(url: String): String
- Definition Classes
- ServiceWebFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getUserGroups: Array[ServiceUserGroupInfo]
Gets the most recent version of each user group.
Gets the most recent version of each user group.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def getUsers: Array[ServiceUserInfo]
Gets the most recent version of each user.
Gets the most recent version of each user.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def getVersion: String
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
UUIDfor the version.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val hostAddress: String
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade
- implicit def httpChannel: HttpChannel
- Definition Classes
- ServiceWebFacade
- val httpClient: HttpClient
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReady: Boolean
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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
- ApplicationWebFacade → ApplicationFacade
- def postAwsCliCommand(region: String, scope: String, command: String): String
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def postAzureCliCommand(command: String, login: Boolean): String
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postCachePurge(id: Option[String]): Unit
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postDatabaseBackup(encryptionEnabled: Option[Boolean], encryptionMasterKeyIdentifier: Option[String], outputRepository: String): Unit
- Definition Classes
- ServiceWebFacadeWithDatabase
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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.
Information on the email to send.
- environment
The given environment.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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.
The specific email address.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postKubectlCommand(command: String, namespace: String): String
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def postLdapQuery(query: LdapQuery): Array[LdapEntry]
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postRaw(url: String, body: String): String
- Definition Classes
- ServiceWebFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postRestart: Unit
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- def postServiceLocation(id: String, name: String, buildInfo: BuildLabels, hostname: String, port: Int, startTime: LocalDateTime, externalEndpoint: Option[String]): 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- 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
- ApplicationWebFacade → ApplicationFacade
- def postVacuumDatabase: Unit
- Definition Classes
- ServiceWebFacadeWithDatabase
- 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.
The email address to verify.
- token
The given email verification token.
- Definition Classes
- ApplicationWebFacade → ApplicationFacade
- def setLogLevel(level: String): Unit
- Definition Classes
- ServiceWebFacade → ServiceFacadeBase
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val token: UUID
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def waitIsReady(timeoutSeconds: Int, pollIntervalSeconds: Int): Unit
- Definition Classes
- ServiceFacadeBase
- def withTimeout(seconds: Int): ApplicationWebFacade
- Definition Classes
- ApplicationWebFacade → ServiceWebFacade → ServiceFacade
- def withToken(other: UUID): ApplicationWebFacade
- Definition Classes
- ApplicationWebFacade → ServiceFacade
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)