Class V20220622071600_MigratePagerDutyV1

java.lang.Object
org.graylog2.migrations.Migration
org.graylog.integrations.migrations.V20220622071600_MigratePagerDutyV1
All Implemented Interfaces:
Comparable<Migration>

public class V20220622071600_MigratePagerDutyV1 extends Migration
  • Constructor Details

  • Method Details

    • createdAt

      public ZonedDateTime createdAt()
      Specified by:
      createdAt in class Migration
    • upgrade

      public void upgrade()
      This migration modifies the config.type field for PagerDutyNotificationConfig that were created before it was migrated into Graylog Core. Previous configurations had config.type 'pagerduty-notification-v1' and the type was updated to 'pagerduty-notification-v2' in the migration. No other fields were added/modified/deleted in the migration, so only the config.type field is updated.
      Specified by:
      upgrade in class Migration