9c61494c02ee5fc27841a0d82959a8a2acc18a4e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type SCMSecurityProtocol to SCMSecurityProtocolClientSideTranslatorPB in method private getScmSecurityClient(conf OzoneConfiguration) : SCMSecurityProtocolClientSideTranslatorPB in class org.apache.hadoop.ozone.om.OzoneManager | From | To | |
Change Return Type SCMSecurityProtocol to SCMSecurityProtocolClientSideTranslatorPB in method public getScmSecurityClient(conf OzoneConfiguration, address InetSocketAddress) : SCMSecurityProtocolClientSideTranslatorPB in class org.apache.hadoop.hdds.HddsUtils | From | To | |
Change Variable Type | 2 | ||
Change Variable Type secureScmClient : SCMSecurityProtocol to secureScmClient : SCMSecurityProtocolClientSideTranslatorPB in method private getSCMSignedCert(config OzoneConfiguration) : void in class org.apache.hadoop.ozone.HddsDatanodeService | From | To | |
Change Variable Type secureScmClient : SCMSecurityProtocol to secureScmClient : SCMSecurityProtocolClientSideTranslatorPB in method private getSCMSignedCert(client CertificateClient, config OzoneConfiguration, omStore OMStorage) : void in class org.apache.hadoop.ozone.om.OzoneManager | From | To | |
Extract Method | 3 | ||
Extract Method public getOMCertChain(omDetails OzoneManagerDetailsProto, certSignReq String) : SCMGetCertResponseProto extracted from public getOMCertificate(omDetails OzoneManagerDetailsProto, certSignReq String) : String in class org.apache.hadoop.hdds.protocolPB.SCMSecurityProtocolClientSideTranslatorPB | From | To | |
Extract Method public storeCertificate(pemEncodedCert String, force boolean, caCert boolean) : void extracted from public storeCertificate(pemEncodedCert String, force boolean) : void in class org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient | From | To | |
Extract Method public getDataNodeCertificateChain(dnDetails DatanodeDetailsProto, certSignReq String) : SCMGetCertResponseProto extracted from public getDataNodeCertificate(dataNodeDetails DatanodeDetailsProto, certSignReq String) : String in class org.apache.hadoop.hdds.protocolPB.SCMSecurityProtocolClientSideTranslatorPB | From | To | |
Rename Parameter | 1 | ||
Rename Parameter dataNodeDetails : DatanodeDetailsProto to dnDetails : DatanodeDetailsProto in method public getDataNodeCertificateChain(dnDetails DatanodeDetailsProto, certSignReq String) : SCMGetCertResponseProto in class org.apache.hadoop.hdds.protocolPB.SCMSecurityProtocolClientSideTranslatorPB | From | To |