f10d49332522beca7cb7342e68b2acdbe4c974f8
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 48
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public removeTokenMasterKey(key OzoneSecretKey) : void renamed to public storeToken(tokenId OzoneTokenIdentifier, renewDate long) : void in class org.apache.hadoop.ozone.security.OzoneSecretStore | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type renewDate : Long to renewDate : long in method public updateToken(tokenId OzoneTokenIdentifier, renewDate long) : void in class org.apache.hadoop.ozone.security.OzoneSecretStore | From | To | |
| Rename Variable | 2 | ||
| Rename Variable codec : CertificateCodec to omCertCodec : CertificateCodec in method public testInitCertAndKeypairValidationFailures() : void in class org.apache.hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient | From | To | |
| Rename Variable path : String to omPath : String in method public setUp() : void in class org.apache.hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient | From | To | |
| Move Source Folder | 1 | ||
| Move Source Folder hadoop-ozone/common to hadoop-ozone/ozone-manager | From | To | |
| Rename Attribute | 3 | ||
| Rename Attribute store : MetadataStore to omMetadataManager : OMMetadataManager in class org.apache.hadoop.ozone.security.OzoneSecretStore | From | To | |
| Rename Attribute metaDirPath : Path to omMetaDirPath : Path in class org.apache.hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient | From | To | |
| Rename Attribute keyCodec : KeyCodec to omKeyCodec : KeyCodec in class org.apache.hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient | From | To | |
| Extract Variable | 1 | ||
| Extract Variable cert : X509Certificate in method private loadAllCertificates() : void from class org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type state : OzoneManagerSecretState to state : OzoneManagerSecretState<Integer> in method public loadState() : OzoneManagerSecretState in class org.apache.hadoop.ozone.security.OzoneSecretStore | From | To | |
| Change Variable Type validToken : Boolean to validToken : boolean in method public verify(user String, tokenStr String) : UserGroupInformation in class org.apache.hadoop.hdds.security.token.BlockTokenVerifier | From | To | |
| Inline Variable | 1 | ||
| Inline Variable privateKey : PrivateKey in method private addPersistedDelegationToken(identifier OzoneTokenIdentifier, renewDate long) : void from class org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type store : MetadataStore to omMetadataManager : OMMetadataManager in class org.apache.hadoop.ozone.security.OzoneSecretStore | From | To | |
| Change Attribute Type s3SecretManager : S3SecretManager to s3SecretManager : S3SecretManagerImpl in class org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager | From | To | |
| Split Attribute | 1 | ||
| Split Attribute securityConfig : SecurityConfig to [omSecurityConfig : SecurityConfig, dnSecurityConfig : SecurityConfig] in class org.apache.hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient | From | To | |
| Extract Method | 1 | ||
| Extract Method private loadAllCertificates() : void extracted from public getCertificate() : X509Certificate in class org.apache.hadoop.hdds.security.x509.certificate.client.DefaultCertificateClient | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter x509Certificate : X509Certificate to cert : X509Certificate in method public verifySignature(stream InputStream, signature byte[], cert X509Certificate) : boolean in class org.apache.hadoop.ozone.client.CertificateClientTestImpl | From | To | |
| Rename Parameter x509Certificate : X509Certificate to cert : X509Certificate in method public verifySignature(data byte[], signature byte[], cert X509Certificate) : boolean in class org.apache.hadoop.ozone.client.CertificateClientTestImpl | From | To |