Package

com.gilt.calatrava.v0

models

Permalink

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class Auth(token: String, expires: DateTime) extends Product with Serializable

    Permalink

    Authorization information for a user

  2. case class AwsSink(kinesisStreamName: String, kinesisEndpoint: String, s3BucketName: String, iamRoleArn: String) extends Product with Serializable

    Permalink
  3. case class Bridge(id: String, databaseId: String, source: Table, trigger: Trigger, log: Table, sink: AwsSink, status: Status, pagerDutyServiceKey: Option[String] = None) extends Product with Serializable

    Permalink

    The representation of a bridge for event changes.

    The representation of a bridge for event changes. On source table change trigger generates change events which are stored in log table and then published to Kinesis.

  4. case class BridgeForm(databaseId: String, source: Table, log: Table, sink: AwsSink, pagerDutyServiceKey: Option[String] = None) extends Product with Serializable

    Permalink

    All data required to activate event streaming on specific database table.

  5. case class ChangeEvent(id: String, entityKey: Option[String] = None, beforeJson: Option[String] = None, afterJson: Option[String] = None, timestamp: DateTime) extends Product with Serializable

    Permalink
  6. case class Database(id: String, organizationId: String, connectionString: String, user: String, password: String, dbType: DbType) extends Product with Serializable

    Permalink
  7. case class DatabaseForm(organizationId: String, connectionString: String, user: String, password: String, dbType: DbType) extends Product with Serializable

    Permalink

    The form used to create a new database.

  8. sealed trait DbType extends AnyRef

    Permalink
  9. case class Error(code: String, message: String) extends Product with Serializable

    Permalink
  10. case class Healthcheck(status: String) extends Product with Serializable

    Permalink
  11. case class Info(name: String, version: String, scalaVersion: String, sbtVersion: String) extends Product with Serializable

    Permalink
  12. case class LogEntriesResult(entries: Seq[LogEntry], totalCount: Int, filterCount: Int) extends Product with Serializable

    Permalink

    A structure to contain result of getting log entries

  13. case class LogEntry(id: String, timestamp: DateTime, level: LogLevel, message: String, before: Option[String] = None, after: Option[String] = None) extends Product with Serializable

    Permalink

    A log entry for the bridge log.

  14. sealed trait LogLevel extends AnyRef

    Permalink
  15. case class LoginForm(email: String, password: String) extends Product with Serializable

    Permalink

    The form used for logging in.

  16. case class Organization(id: String, name: String) extends Product with Serializable

    Permalink
  17. case class PasswordResetForm(password: String, token: String) extends Product with Serializable

    Permalink

    The form used to reset a user's password.

  18. case class SinkEvent(event: Option[ChangeEvent] = None, eventObjectKey: Option[String] = None) extends Product with Serializable

    Permalink
  19. sealed trait Status extends AnyRef

    Permalink
  20. case class Table(schema: String, name: String) extends Product with Serializable

    Permalink
  21. case class Trigger(enableCode: String, disableCode: String) extends Product with Serializable

    Permalink
  22. case class User(firstName: String, lastName: String, email: String) extends Product with Serializable

    Permalink

    A user is a real-world person who is using the Calatrava service.

    A user is a real-world person who is using the Calatrava service. The user signs up for Calatrava, and then interacts with the service through the APIs. Every call to the API needs to use a token that is obtained after a successful login.

  23. case class UserCreateForm(firstName: String, lastName: String, password: String, confirmationToken: String) extends Product with Serializable

    Permalink

    The form used to create a new user.

  24. case class UserEmailForm(email: String) extends Product with Serializable

    Permalink

    The form used for passing an email (register, forgot password, user add, user remove).

  25. case class UserUpdateForm(firstName: Option[String] = None, lastName: Option[String] = None, password: Option[String] = None) extends Product with Serializable

    Permalink

    A form for updating a user information.

Value Members

  1. object DbType

    Permalink
  2. object LogLevel

    Permalink
  3. object Status

    Permalink

Ungrouped