fb088fce8c90ab125153a809eef1575749f476c3
Files Diff
- Added: 18
- Removed: 3
- Renamed: 0
- Modified: 19
Link to commit
Third party dependencies:
| Dependency Action | |
|---|---|
| Added | |
| org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.22.1 | |
| Removed | |
| org.graylog2:jersey-netty:1.5.2 |
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type objectMapperProvider : Provider<ObjectMapper> to objectMapper : ObjectMapper in method public AbstractJerseyService(dynamicFeatures Set<Class<? extends DynamicFeature>>, containerResponseFilters Set<Class<? extends ContainerResponseFilter>>, exceptionMappers Set<Class<? extends ExceptionMapper>>, additionalComponents Set<Class>, objectMapper ObjectMapper, metricRegistry MetricRegistry) in class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Change Parameter Type metricRegistry : MetricRegistry to poolSize : int in method protected instrumentedExecutor(executorName String, threadNameFormat String, poolSize int) : ExecutorService in class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Rename Variable | 1 | ||
| Rename Variable a : RequiresPermissions to requiresPermissions : RequiresPermissions in method public configure(resourceInfo ResourceInfo, context FeatureContext) : void in class org.graylog2.shared.security.ShiroSecurityBinding | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute private metricRegistry : MetricRegistry from class org.graylog2.initializers.WebInterfaceService to private metricRegistry : MetricRegistry from class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Pull Up Attribute private metricRegistry : MetricRegistry from class org.graylog2.shared.initializers.RestApiService to private metricRegistry : MetricRegistry from class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Change Return Type | 4 | ||
| Change Return Type File to Path in method public getWebTlsKeyFile() : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Return Type File to Path in method public getRestTlsKeyFile() : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Return Type File to Path in method public getWebTlsCertFile() : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Return Type File to Path in method public getRestTlsCertFile() : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Move Class | 3 | ||
| Move Class org.graylog2.shared.security.ShiroSecurityContext.ShiroPrincipal moved to org.graylog2.shared.security.ShiroPrincipal | From | To | |
| Move Class org.graylog2.security.AccessTokenAuthToken moved to org.graylog2.shared.security.AccessTokenAuthToken | From | To | |
| Move Class org.graylog2.security.SessionIdToken moved to org.graylog2.shared.security.SessionIdToken | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute objectMapperProvider : Provider<ObjectMapper> to objectMapper : ObjectMapper in class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Extract Variable | 2 | ||
| Extract Variable subject : Subject in method public filter(requestContext ContainerRequestContext) : void from class org.graylog2.shared.security.ShiroAuthenticationFilter | From | To | |
| Extract Variable annotationHandler : ContextAwarePermissionAnnotationHandler in method public filter(requestContext ContainerRequestContext) : void from class org.graylog2.shared.security.ShiroAuthorizationFilter | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type principal : ShiroSecurityContext.ShiroPrincipal to principal : ShiroPrincipal in method protected getSubject() : Subject in class org.graylog2.shared.rest.resources.RestResource | From | To | |
| Change Attribute Type | 5 | ||
| Change Attribute Type webTlsKeyFile : File to webTlsKeyFile : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Attribute Type restTlsCertFile : File to restTlsCertFile : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Attribute Type webTlsCertFile : File to webTlsCertFile : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Attribute Type restTlsKeyFile : File to restTlsKeyFile : Path in class org.graylog2.plugin.BaseConfiguration | From | To | |
| Change Attribute Type objectMapperProvider : Provider<ObjectMapper> to objectMapper : ObjectMapper in class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter objectMapperProvider : Provider<ObjectMapper> to objectMapper : ObjectMapper in method public AbstractJerseyService(dynamicFeatures Set<Class<? extends DynamicFeature>>, containerResponseFilters Set<Class<? extends ContainerResponseFilter>>, exceptionMappers Set<Class<? extends ExceptionMapper>>, additionalComponents Set<Class>, objectMapper ObjectMapper, metricRegistry MetricRegistry) in class org.graylog2.shared.initializers.AbstractJerseyService | From | To | |
| Rename Parameter metricRegistry : MetricRegistry to poolSize : int in method protected instrumentedExecutor(executorName String, threadNameFormat String, poolSize int) : ExecutorService in class org.graylog2.shared.initializers.AbstractJerseyService | From | To |