31e53045ea8cdfafab8d5ad68ee2903ae2ffe978
Files Diff
- Added: 8
- Removed: 6
- Renamed: 0
- Modified: 33
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public doRun() : void renamed to public upgrade() : void in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigration | From | To | |
Rename Method private verifyEmailAlarmCallbackMigratedWasPosted(migratedStreams Map<String,Optional<String>>) : void renamed to private verifyMigrationCompletedWasPosted(migratedStreams Map<String,Optional<String>>) : void in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigrationTest | From | To | |
Rename Variable | 2 | ||
Rename Variable newConfig : AlarmCallbackConfigurationAVImpl to updatedConfig : AlarmCallbackConfiguration in method public update(streamid String, alarmCallbackId String, alarmCallbackRequest CreateAlarmCallbackRequest) : void in class org.graylog2.rest.resources.alarmcallbacks.AlarmCallbackResource | From | To | |
Rename Variable aCC : AlarmCallbackConfiguration to callbackConfiguration : AlarmCallbackConfiguration in method public update(streamid String, alarmCallbackId String, alarmCallbackRequest CreateAlarmCallbackRequest) : void in class org.graylog2.rest.resources.alarmcallbacks.AlarmCallbackResource | From | To | |
Change Return Type | 1 | ||
Change Return Type EmailAlarmCallbackMigrated to MigrationCompleted in method public create(callbackIds Map<String,Optional<String>>) : MigrationCompleted in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigration.MigrationCompleted | From | To | |
Move Attribute | 1 | ||
Move Attribute private userService : UserService from class org.graylog2.alerts.StaticEmailAlertSender to private userService : UserService from class org.graylog2.alerts.EmailRecipients | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class org.graylog2.periodical.EmailAlarmCallbackMigrationPeriodicalTest moved and renamed to org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigrationTest | From | To | |
Move And Rename Class org.graylog2.periodical.EmailAlarmCallbackMigrationPeriodical moved and renamed to org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigration | From | To | |
Move And Rename Class org.graylog2.alarmcallbacks.events.EmailAlarmCallbackMigrated moved and renamed to org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigration.MigrationCompleted | From | To | |
Change Variable Type | 3 | ||
Change Variable Type emailAlarmCallbackMigrated : EmailAlarmCallbackMigrated to emailAlarmCallbackMigrated : V20161125142400_EmailAlarmCallbackMigration.MigrationCompleted in method private verifyMigrationCompletedWasPosted(migratedStreams Map<String,Optional<String>>) : void in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigrationTest | From | To | |
Change Variable Type argumentCaptor : ArgumentCaptor<EmailAlarmCallbackMigrated> to argumentCaptor : ArgumentCaptor<V20161125142400_EmailAlarmCallbackMigration.MigrationCompleted> in method private verifyMigrationCompletedWasPosted(migratedStreams Map<String,Optional<String>>) : void in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigrationTest | From | To | |
Change Variable Type newConfig : AlarmCallbackConfigurationAVImpl to updatedConfig : AlarmCallbackConfiguration in method public update(streamid String, alarmCallbackId String, alarmCallbackRequest CreateAlarmCallbackRequest) : void in class org.graylog2.rest.resources.alarmcallbacks.AlarmCallbackResource | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type emailAlarmCallbackMigrationPeriodical : EmailAlarmCallbackMigrationPeriodical to emailAlarmCallbackMigrationPeriodical : V20161125142400_EmailAlarmCallbackMigration in class org.graylog2.migrations.V20161125142400_EmailAlarmCallbackMigrationTest | From | To | |
Extract Method | 1 | ||
Extract Method private getConfigurationRequest(userNames Map<String,String>) : ConfigurationRequest extracted from public getRequestedConfiguration() : ConfigurationRequest in class org.graylog2.alarmcallbacks.EmailAlarmCallback | From | To |