b2b9dcd0a214056d8c1e2ca3791941f19f73904e
Files Diff
- Added: 14
- Removed: 11
- Renamed: 0
- Modified: 29
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public getReleaseBy() : String renamed to public getReleaseTitle() : String in class com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel | From | To | |
| Rename Method public setReleaseBy(releaseBy String) : void renamed to public setReleaseTitle(releaseTitle String) : void in class com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel | From | To | |
| Move Method | 1 | ||
| Move Method private postConstruct() : void from class com.ctrip.framework.apollo.portal.api.API to private postConstruct() : void from class com.ctrip.framework.apollo.portal.api.RetryableRestTemplate | From | To | |
| Rename Variable | 2 | ||
| Rename Variable dto : AppNamespaceDTO to appNamespace : AppNamespaceDTO in method public onAppNamespaceCreationEvent(event AppNamespaceCreationEvent) : void in class com.ctrip.framework.apollo.portal.listener.CreationListener | From | To | |
| Rename Variable release : ReleaseDTO to latestRelease : ReleaseDTO in method private parseNamespace(appId String, env Env, clusterName String, namespace NamespaceDTO) : NamespaceVO in class com.ctrip.framework.apollo.portal.service.NamespaceService | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private restTemplateFactory : RestTemplateFactory from class com.ctrip.framework.apollo.portal.api.API to private restTemplateFactory : RestTemplateFactory from class com.ctrip.framework.apollo.portal.api.RetryableRestTemplate | From | To | |
| Move Class | 10 | ||
| Move Class com.ctrip.framework.apollo.portal.auth.DefaultUserInfoHolder moved to com.ctrip.framework.apollo.portal.auth.defaultimpl.DefaultUserInfoHolder | From | To | |
| Move Class com.ctrip.framework.apollo.biz.aop.RepositoryAspect moved to com.ctrip.framework.apollo.common.aop.RepositoryAspect | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.CtripLogoutHandler moved to com.ctrip.framework.apollo.portal.auth.ctrip.CtripLogoutHandler | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.CtripUserServiceTest moved to com.ctrip.framework.apollo.portal.auth.ctrip.CtripUserServiceTest | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.CtripSsoHeartbeatHandler moved to com.ctrip.framework.apollo.portal.auth.ctrip.CtripSsoHeartbeatHandler | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.CtripUserInfoHolder moved to com.ctrip.framework.apollo.portal.auth.ctrip.CtripUserInfoHolder | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.DefaultLogoutHandler moved to com.ctrip.framework.apollo.portal.auth.defaultimpl.DefaultLogoutHandler | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.DefaultSsoHeartbeatHandler moved to com.ctrip.framework.apollo.portal.auth.defaultimpl.DefaultSsoHeartbeatHandler | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.CtripUserService moved to com.ctrip.framework.apollo.portal.auth.ctrip.CtripUserService | From | To | |
| Move Class com.ctrip.framework.apollo.portal.auth.DefaultUserService moved to com.ctrip.framework.apollo.portal.auth.defaultimpl.DefaultUserService | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute releaseBy : String to releaseTitle : String in class com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel | From | To | |
| Extract Variable | 7 | ||
| Extract Variable env : Env in method public syncItems(comparedNamespaces List<NamespaceIdentifer>, sourceItems List<ItemDTO>) : void from class com.ctrip.framework.apollo.portal.service.ConfigService | From | To | |
| Extract Variable env : Env in method public createRelease(model NamespaceReleaseModel) : ReleaseDTO from class com.ctrip.framework.apollo.portal.service.ReleaseService | From | To | |
| Extract Variable namespaceName : String in method public syncItems(comparedNamespaces List<NamespaceIdentifer>, sourceItems List<ItemDTO>) : void from class com.ctrip.framework.apollo.portal.service.ConfigService | From | To | |
| Extract Variable namespaceName : String in method public createRelease(model NamespaceReleaseModel) : ReleaseDTO from class com.ctrip.framework.apollo.portal.service.ReleaseService | From | To | |
| Extract Variable clusterName : String in method public syncItems(comparedNamespaces List<NamespaceIdentifer>, sourceItems List<ItemDTO>) : void from class com.ctrip.framework.apollo.portal.service.ConfigService | From | To | |
| Extract Variable clusterName : String in method public createRelease(model NamespaceReleaseModel) : ReleaseDTO from class com.ctrip.framework.apollo.portal.service.ReleaseService | From | To | |
| Extract Variable appId : String in method public syncItems(comparedNamespaces List<NamespaceIdentifer>, sourceItems List<ItemDTO>) : void from class com.ctrip.framework.apollo.portal.service.ConfigService | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type restTemplate : RestTemplate to restTemplate : RetryableRestTemplate in class com.ctrip.framework.apollo.portal.api.API | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter releaseBy : String to releaseTitle : String in method public release(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 Parameter releaseBy : String to releaseTitle : String in method public setReleaseTitle(releaseTitle String) : void in class com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel | From | To |