e56f0a7ad6d264a7571ff95a84e9551698f8674e
Files Diff
- Added: 6
- Removed: 2
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 8 | ||
Rename Method public getNamespace() : NamespaceDTO renamed to public getBaseInfo() : NamespaceDTO in class com.ctrip.framework.apollo.portal.entity.vo.NamespaceVO | From | To | |
Rename Method public findReleases(appId String, env String, clusterName String, namespaceName String, page int, size int) : List<ReleaseVO> renamed to public findAllReleases(appId String, env String, clusterName String, namespaceName String, page int, size int) : List<ReleaseVO> in class com.ctrip.framework.apollo.portal.controller.ReleaseController | From | To | |
Rename Method public findReleases(appId String, env Env, clusterName String, namespaceName String, page int, size int) : List<ReleaseVO> renamed to public findAllReleases(appId String, env Env, clusterName String, namespaceName String, page int, size int) : List<ReleaseVO> in class com.ctrip.framework.apollo.portal.service.ReleaseService | From | To | |
Rename Method public findReleases(appId String, env Env, clusterName String, namespaceName String, page int, size int) : List<ReleaseDTO> renamed to public findAllReleases(appId String, env Env, clusterName String, namespaceName String, page int, size int) : List<ReleaseDTO> in class com.ctrip.framework.apollo.portal.api.AdminServiceAPI.ReleaseAPI | From | To | |
Rename Method public release(appId String, env Env, clusterName String, namespace String, releaseTitle String, comment String, operator String) : ReleaseDTO renamed to public createRelease(appId String, env Env, clusterName String, namespace String, releaseTitle String, comment String, operator String) : ReleaseDTO in class com.ctrip.framework.apollo.portal.api.AdminServiceAPI.ReleaseAPI | From | To | |
Rename Method public setNamespace(namespace NamespaceDTO) : void renamed to public setBaseInfo(baseInfo NamespaceDTO) : void in class com.ctrip.framework.apollo.portal.entity.vo.NamespaceVO | From | To | |
Rename Method public find(appId String, clusterName String, namespaceName String, page Pageable) : List<ReleaseDTO> renamed to public findReleases(appId String, clusterName String, namespaceName String, page Pageable) : List<ReleaseDTO> in class com.ctrip.framework.apollo.adminservice.controller.ReleaseController | From | To | |
Rename Method public findReleases(appId String, clusterName String, namespaceName String, page Pageable) : List<Release> renamed to public findAllReleases(appId String, clusterName String, namespaceName String, page Pageable) : List<Release> in class com.ctrip.framework.apollo.biz.service.ReleaseService | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public findRelease(appId String, clusterName String, namespaceName String) : Release from class com.ctrip.framework.apollo.biz.service.ConfigService to public findLatestActiveRelease(appId String, clusterName String, namespaceName String) : Release from class com.ctrip.framework.apollo.biz.service.ReleaseService | From | To | |
Rename Class | 1 | ||
Rename Class com.ctrip.framework.apollo.biz.service.ConfigServiceTest renamed to com.ctrip.framework.apollo.biz.service.ReleaseServiceTest | From | To | |
Move Class | 1 | ||
Move Class com.ctrip.framework.apollo.portal.entity.vo.ReleaseVO.KVEntity moved to com.ctrip.framework.apollo.portal.entity.vo.KVEntity | From | To | |
Extract Superclass | 2 | ||
Extract Superclass com.ctrip.framework.apollo.biz.AbstractUnitTest from classes [com.ctrip.framework.apollo.biz.eureka.ApolloEurekaClientConfigTest, com.ctrip.framework.apollo.biz.message.DatabaseMessageSenderTest, com.ctrip.framework.apollo.biz.message.ReleaseMessageScannerTest, com.ctrip.framework.apollo.biz.service.ReleaseServiceTest, com.ctrip.framework.apollo.biz.service.ServerConfigServiceTest] | From | To | |
Extract Superclass com.ctrip.framework.apollo.biz.AbstractIntegrationTest from classes [com.ctrip.framework.apollo.biz.repository.AppNamespaceRepositoryTest, com.ctrip.framework.apollo.biz.repository.AppRepositoryTest, com.ctrip.framework.apollo.biz.service.AdminServiceTest, com.ctrip.framework.apollo.biz.service.AdminServiceTransactionTest, com.ctrip.framework.apollo.biz.service.ClusterServiceTest, com.ctrip.framework.apollo.biz.service.PrivilegeServiceTest] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute namespace : NamespaceDTO to baseInfo : NamespaceDTO in class com.ctrip.framework.apollo.portal.entity.vo.NamespaceVO | From | To | |
Rename Attribute configService : ConfigService to releaseService : ReleaseService in class com.ctrip.framework.apollo.configservice.controller.ConfigControllerTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type kvEntities : Set<ReleaseVO.KVEntity> to kvEntities : Set<KVEntity> in method public findAllReleases(appId String, env Env, clusterName String, namespaceName String, page int, size int) : List<ReleaseVO> in class com.ctrip.framework.apollo.portal.service.ReleaseService | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type configService : ConfigService to releaseService : ReleaseService in class com.ctrip.framework.apollo.configservice.controller.ConfigControllerTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter owner : String to operator : String in method public buildRelease(name String, comment String, namespace Namespace, operator String) : Release in class com.ctrip.framework.apollo.biz.service.ReleaseService | From | To | |
Rename Parameter namespace : NamespaceDTO to baseInfo : NamespaceDTO in method public setBaseInfo(baseInfo NamespaceDTO) : void in class com.ctrip.framework.apollo.portal.entity.vo.NamespaceVO | From | To |