cf.janga.aws.cdnotifications

core

package core

Visibility
  1. Public
  2. All

Type Members

  1. case class Deployment(applicationName: String, version: String, deploymentGroup: String, deploymentId: String) extends Product with Serializable

    Holds information about a Codedeploy deployment.

    Holds information about a Codedeploy deployment.

    applicationName

    Name of the Codedeploy application

    version

    The version associated with the deployment

    deploymentGroup

    The deployment group the deployment belongs to

    deploymentId

    Codedeploy's deployment id

  2. case class DeploymentGroupDeployments(successful: Seq[Deployment], inProgressDeployments: Boolean) extends Product with Serializable

    Groups deployment information for a Codedeploy deployment group, for a time range.

    Groups deployment information for a Codedeploy deployment group, for a time range.

    successful

    The successful deployments

    inProgressDeployments

    Whether there are deployments in progress

  3. case class DeploymentNotification(deploymentId: String, notificationChannel: NotificationChannel, notificationTime: Long) extends Product with Serializable

    Represents a notification for a deployment.

    Represents a notification for a deployment.

    deploymentId

    Id of the deployment in Codedeploy

    notificationChannel

    The channel over which the notification was successfully sent

    notificationTime

    The time the notification was sent

  4. trait DeploymentRevisionParser extends AnyRef

  5. case class DeploymentScan(registrationId: UUID, scanTime: Long) extends Product with Serializable

    Represents a scan against Codedeploy for all deployments of the application associated with the registration id provided, on all deployment groups.

    Represents a scan against Codedeploy for all deployments of the application associated with the registration id provided, on all deployment groups.

    registrationId

    Registration id of the Codedeploy application

    scanTime

    The time the scan was done

  6. class DeploymentScanManager extends AnyRef

    Main class, where the querying for Codedeploy deployments and the triggering of notifications happen.

  7. class DeploymentScanner extends Runnable

    A runnable that wraps a deployment scan manager for running the scan logic, and then re-schedules itself once it's finished.

  8. class DeploymentService extends AnyRef

    An interface for accessing AWS Codedeploy.

  9. case class NewRegistration(codedeployApplicationName: String, notifications: Seq[NotificationSetup]) extends Product with Serializable

    A request for registering a new Codedeploy application.

    A request for registering a new Codedeploy application.

    codedeployApplicationName

    The name of the application in Codedeploy

    notifications

    Setup of notifications for the application to be registered

  10. case class NewrelicNotificationSetup(applicationName: String) extends NotificationSetup with Product with Serializable

    Notification setup for Newrelic deployment notifications.

    Notification setup for Newrelic deployment notifications.

    applicationName

    The name of the application as configured in Newrelic

  11. sealed trait NotificationChannel extends AnyRef

    A channel over which notifications can be triggered - e.g., email, SNS, Newrelic.

  12. sealed trait NotificationSetup extends AnyRef

    Represents the setup required for triggering a notification for a particular channel - e.g., application name for Newrelic notifications, email address for email notifications.

  13. case class NotificationSetupUndefinedType(description: String) extends NotificationSetup with Product with Serializable

    Represents an unsupported notification setup, for error handling purposes.

    Represents an unsupported notification setup, for error handling purposes.

    description

  14. case class Registration(codedeployApplicationName: String, id: UUID, notifications: Seq[NotificationSetup]) extends Product with Serializable

    An actual persisted application registration.

    An actual persisted application registration.

    codedeployApplicationName

    The name of the application in Codedeploy

    id

    The id of the registration on the database

    notifications

    The list of notification setup for the registered application

  15. class S3ZipFileLocationRevisionParser extends DeploymentRevisionParser

  16. case class UNDEFINED(toString: String) extends NotificationChannel with Product with Serializable

    An undefined notification channel, for error handling purposes.

    An undefined notification channel, for error handling purposes.

    toString

Value Members

  1. object DeploymentScannerScheduler

    Utility for scheduling the DeploymentScanManager to run.

  2. object JsonSerializers

  3. object Newrelic extends NotificationChannel with Product with Serializable

    Newrelic notification channel.

  4. object NotificationChannel

Ungrouped