Class HttpRequestRetrieveHistoryService
java.lang.Object
org.qubership.atp.itf.lite.backend.service.history.impl.AbstractRetrieveHistoryService<HttpRequest,HttpRequestHistoryDto>
org.qubership.atp.itf.lite.backend.service.history.impl.AbstractRequestRetrieveHistoryService<HttpRequest,HttpRequestHistoryDto>
org.qubership.atp.itf.lite.backend.service.history.impl.HttpRequestRetrieveHistoryService
- All Implemented Interfaces:
HistoryService,RetrieveHistoryService
@Service
public class HttpRequestRetrieveHistoryService
extends AbstractRequestRetrieveHistoryService<HttpRequest,HttpRequestHistoryDto>
-
Field Summary
Fields inherited from class org.qubership.atp.itf.lite.backend.service.history.impl.AbstractRetrieveHistoryService
abstractVersioningMapperFields inherited from interface org.qubership.atp.itf.lite.backend.service.history.iface.HistoryService
CHILD_ACTIONS_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestRetrieveHistoryService(org.javers.core.Javers javers, HttpRequestVersioningMapper mapping, FolderRepository folderRepository) -
Method Summary
Modifier and TypeMethodDescriptionbuildCompareEntity(String revision, org.javers.shadow.Shadow<Object> entity) Build compare entity.Methods inherited from class org.qubership.atp.itf.lite.backend.service.history.impl.AbstractRequestRetrieveHistoryService
getItemTypeMethods inherited from class org.qubership.atp.itf.lite.backend.service.history.impl.AbstractRetrieveHistoryService
getAllHistory, getChangesByIdPaginationQuery, getChangesByIdQuery, getCountOfCommits, getEntitiesByVersions, getSnapshotsByLimit, getVersionByCommitId, processChildChanges, setCommonFields
-
Constructor Details
-
HttpRequestRetrieveHistoryService
public HttpRequestRetrieveHistoryService(org.javers.core.Javers javers, HttpRequestVersioningMapper mapping, FolderRepository folderRepository)
-
-
Method Details
-
getEntityClass
-
getMapper
-
buildCompareEntity
public CompareEntityResponseDto buildCompareEntity(String revision, org.javers.shadow.Shadow<Object> entity) Build compare entity.- Parameters:
revision- snapshot version.entity- shadow from history.- Returns:
- response with compare entity and version.
-