269bd12111609d4acad8fcc24c16e7ffb25cf1f5
Files Diff
- Added: 251
- Removed: 10
- Renamed: 0
- Modified: 102
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Added | |
org.graylog.repackaged:semver4j:2.2.0-graylog.1 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public handleEvent(event GrokPatternsChangedEvent) : void renamed to public handleUpdatedEvent(event GrokPatternsUpdatedEvent) : void in class org.graylog2.rest.resources.system.GrokResourceTest.GrokPatternsChangedEventSubscriber | From | To | |
Rename Method public grokPatternsChanged(event GrokPatternsChangedEvent) : void renamed to public grokPatternsUpdated(event GrokPatternsUpdatedEvent) : void in class org.graylog2.grok.GrokPatternRegistry | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type event : GrokPatternsChangedEvent to event : GrokPatternsUpdatedEvent in method public grokPatternsUpdated(event GrokPatternsUpdatedEvent) : void in class org.graylog2.grok.GrokPatternRegistry | From | To | |
Change Parameter Type event : GrokPatternsChangedEvent to event : GrokPatternsDeletedEvent in method public handleGrokPatternsChangedEvent(event GrokPatternsDeletedEvent) : void in class org.graylog2.migrations.V2018070614390000_EnforceUniqueGrokPatternsTest.TestSubscriber | From | To | |
Change Parameter Type event : GrokPatternsChangedEvent to event : GrokPatternsUpdatedEvent in method public handleUpdatedEvent(event GrokPatternsUpdatedEvent) : void in class org.graylog2.rest.resources.system.GrokResourceTest.GrokPatternsChangedEventSubscriber | From | To | |
Rename Variable | 2 | ||
Rename Variable toSave : GrokPattern to grokPattern : GrokPattern in method public updatePattern(patternId String, pattern GrokPattern) : GrokPattern in class org.graylog2.rest.resources.system.GrokResource | From | To | |
Rename Variable id : String to savedStreamId : String in method public cloneStream(streamId String, cr CloneStreamRequest) : Response in class org.graylog2.rest.resources.streams.StreamResource | From | To | |
Inline Method | 2 | ||
Inline Method private savePipelineConnections(connection PipelineConnections) : PipelineConnections inlined to public connectPipelines(connection PipelineConnections) : PipelineConnections in class org.graylog.plugins.pipelineprocessor.rest.PipelineConnectionsResource | From | To | |
Change Return Type | 2 | ||
Change Return Type String to Type in method public getType() : Type in class org.graylog2.plugin.inputs.Converter | From | To | |
Change Return Type GrokPatternsChangedEvent to GrokPatternsUpdatedEvent in method public create(patterns Set<String>) : GrokPatternsUpdatedEvent in class org.graylog2.grok.GrokPatternsUpdatedEvent | From | To | |
Move Attribute | 1 | ||
Move Attribute private LOG : Logger from class org.graylog2.rest.resources.system.GrokResource to private LOG : Logger from class org.graylog2.rest.resources.system.contentpacks.ContentPackResource | From | To | |
Extract Attribute | 1 | ||
Extract Attribute public FIELD_ID : String in class org.graylog2.dashboards.DashboardImpl | From | To | |
Rename Class | 2 | ||
Rename Class org.graylog2.grok.GrokPatternsChangedEvent renamed to org.graylog2.grok.GrokPatternsUpdatedEvent | From | To | |
Rename Class org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRangeTest renamed to org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRangeEntityTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute grokPatternService : MongoDbGrokPatternService to service : MongoDbGrokPatternService in class org.graylog2.grok.MongoDbGrokPatternServiceTest | From | To | |
Extract Variable | 6 | ||
Extract Variable objectMapper : ObjectMapper in method public setUp() : void from class org.graylog2.grok.MongoDbGrokPatternServiceTest | From | To | |
Extract Variable grokPattern : GrokPattern in method public delete(patternId String) : int from class org.graylog2.grok.InMemoryGrokPatternService | From | To | |
Extract Variable streamId : String in method public destroy(stream Stream) : void from class org.graylog2.streams.StreamServiceImpl | From | To | |
Extract Variable savedGrokPattern : GrokPattern in method public saveAll(patterns Collection<GrokPattern>, replace boolean) : List<GrokPattern> from class org.graylog2.grok.MongoDbGrokPatternService | From | To | |
Extract Variable outputs : Set<String> in method public add(streamid String, aor AddOutputRequest) : Response from class org.graylog2.rest.resources.streams.outputs.StreamOutputResource | From | To | |
Extract Variable id : ObjectId in method public delete(patternId String) : int from class org.graylog2.grok.MongoDbGrokPatternService | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type events : List<GrokPatternsChangedEvent> to events : List<Object> in class org.graylog2.rest.resources.system.GrokResourceTest.GrokPatternsChangedEventSubscriber | From | To | |
Change Attribute Type events : List<GrokPatternsChangedEvent> to events : List<GrokPatternsDeletedEvent> in class org.graylog2.migrations.V2018070614390000_EnforceUniqueGrokPatternsTest.TestSubscriber | From | To | |
Change Attribute Type grokPatternService : GrokPatternService to grokPatternService : InMemoryGrokPatternService in class org.graylog2.rest.resources.system.GrokResourceTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter deletedPatterns : Set<String> to patterns : Set<String> in method public create(patterns Set<String>) : GrokPatternsUpdatedEvent in class org.graylog2.grok.GrokPatternsUpdatedEvent | From | To |