30c4bc847ade8cf0ae5c3ef6a6f8debdf72ddd61
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type sslContext : SSLContext to serverSSLFactory : SSLEngineFactory in method public WebFrontendBootstrap(router Router, log Logger, directory File, serverSSLFactory SSLEngineFactory, configuredAddress String, configuredPort int, config Configuration) in class org.apache.flink.runtime.webmonitor.utils.WebFrontendBootstrap | From | To | |
Extract Attribute | 2 | ||
Extract Attribute public KEY_STORE_PASSWORD : String in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Attribute public TRUST_STORE_PASSWORD : String in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Inline Variable | 1 | ||
Inline Variable clientSSLContext : SSLContext in method public createSSLClientContext(sslConfig Configuration) : SSLContext from class org.apache.flink.runtime.net.SSLUtils | From | To | |
Extract Method | 7 | ||
Extract Method public createInternalSslConfigWithKeyAndTrustStores() : Configuration extracted from public testSetSSLVersionAndCipherSuitesForSSLServerSocket() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method private addInternalTrustStoreConfig(config Configuration) : void extracted from public testCreateSSLEngineFactory() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method private addInternalKeyStoreConfig(config Configuration) : void extracted from public testCreateSSLEngineFactory() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method private addInternalTrustStoreConfig(config Configuration) : void extracted from public testSetSSLVersionAndCipherSuitesForSSLServerSocket() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method private addInternalKeyStoreConfig(config Configuration) : void extracted from public testSetSSLVersionAndCipherSuitesForSSLServerSocket() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method public createInternalSslConfigWithKeyAndTrustStores() : Configuration extracted from public testCreateSSLEngineFactory() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract Method private configureSSLEngine(sslEngine SSLEngine) : void extracted from public createSSLEngine() : SSLEngine in class org.apache.flink.runtime.net.SSLEngineFactory | From | To | |
Rename Method | 3 | ||
Rename Method public getSSLEnabled(sslConfig Configuration) : boolean renamed to public isRestSSLEnabled(sslConfig Configuration) : boolean in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Rename Method private createSSLEngineFactory(config Configuration, clientMode boolean) : SSLEngineFactory renamed to public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Rename Method public testSocketFactoriesWhenSslDisables() : void renamed to public testSocketFactoriesWhenSslDisabled() : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Rename Variable | 5 | ||
Rename Variable trustManagerFactory : TrustManagerFactory to tmf : TrustManagerFactory in method public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Rename Variable clientSSLContext : SSLContext to sslContext : SSLContext in method public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Rename Variable ks : KeyStore to keyStore : KeyStore in method public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Rename Variable serverConfig : Configuration to config : Configuration in method public createInternalSslConfigWithKeyAndTrustStores() : Configuration in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Inline Method | 2 | ||
Inline Method public createSSLServerContext(sslConfig Configuration) : SSLContext inlined to public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Inline Method public createSSLClientContext(sslConfig Configuration) : SSLContext inlined to public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Change Return Type | 1 | ||
Change Return Type SSLEngineFactory to SSLContext in method public createInternalSSLContext(config Configuration) : SSLContext in class org.apache.flink.runtime.net.SSLUtils | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable serverConfig : Configuration to config : Configuration in method private addInternalTrustStoreConfig(config Configuration) : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Parameterize Variable serverConfig : Configuration to config : Configuration in method private addInternalKeyStoreConfig(config Configuration) : void in class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute serverSSLContext : SSLContext to serverSSLFactory : SSLEngineFactory in class org.apache.flink.runtime.webmonitor.history.HistoryServer | From | To | |
Rename Attribute clientSSLContext : SSLContext to clientSSLFactory : SSLEngineFactory in class org.apache.flink.runtime.io.network.netty.NettyClient | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type serverSSLContext : SSLContext to serverSSLFactory : SSLEngineFactory in class org.apache.flink.runtime.webmonitor.history.HistoryServer | From | To | |
Change Attribute Type clientSSLContext : SSLContext to clientSSLFactory : SSLEngineFactory in class org.apache.flink.runtime.io.network.netty.NettyClient | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public createInternalSslConfigWithKeyAndTrustStores() : Configuration extracted from public startNonSSLServer() : void in class org.apache.flink.runtime.blob.BlobClientSslTest & moved to class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Extract And Move Method public createInternalSslConfigWithKeyAndTrustStores() : Configuration extracted from public startSSLServer() : void in class org.apache.flink.runtime.blob.BlobClientSslTest & moved to class org.apache.flink.runtime.net.SSLUtilsTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter sslContext : SSLContext to serverSSLFactory : SSLEngineFactory in method public WebFrontendBootstrap(router Router, log Logger, directory File, serverSSLFactory SSLEngineFactory, configuredAddress String, configuredPort int, config Configuration) in class org.apache.flink.runtime.webmonitor.utils.WebFrontendBootstrap | From | To |