Class AtpActionServiceImpl
java.lang.Object
org.qubership.atp.tdm.service.impl.AtpActionServiceImpl
- All Implemented Interfaces:
AtpActionService
-
Constructor Summary
ConstructorsConstructorDescriptionAtpActionServiceImpl(EnvironmentsService environmentsService, AtpActionRepository repository) ATP action service constructor. -
Method Summary
Modifier and TypeMethodDescriptionaddInfoToRow(String projectName, String envName, String systemName, String tableTitle, List<AddInfoToRowRequest> addInfoToRowRequests) getMultipleColumnTestData(String projectName, String envName, String systemName, String tableTitle, List<GetRowRequest> multipleColumnRowRequest) getTestData(String projectName, String envName, String systemName, String tableTitle, List<GetRowRequest> getRowRequests) voidinit()Get URL when Interngal Gateway is enabled.insertTestData(String projectName, String envName, String systemName, String tableTitle, List<Map<String, Object>> records) occupyTestData(String projectName, String envName, String systemName, String tableTitle, List<OccupyRowRequest> occupyRowRequests) occupyTestDataFullRow(String projectName, String envName, String systemName, String tableTitle, List<OccupyFullRowRequest> occupyFullRowRequests) refreshTables(String projectName, String envName, String systemName, String tableTitle) releaseFullTestData(String projectName, String envName, String systemName, String tableTitle) releaseTestData(String projectName, String envName, String systemName, String tableTitle, List<ReleaseRowRequest> releaseRowRequests) runCleanupForTable(String projectId, String envName, String systemName, String tableTitle) truncateTable(String projectId, String envName, String systemName, String tableTitle) updateTestData(String projectName, String envName, String systemName, String tableTitle, List<UpdateRowRequest> updateRowRequests)
-
Constructor Details
-
AtpActionServiceImpl
@Autowired public AtpActionServiceImpl(@Nonnull EnvironmentsService environmentsService, @Nonnull AtpActionRepository repository) ATP action service constructor.
-
-
Method Details
-
getMultipleColumnTestData
public List<ResponseMessage> getMultipleColumnTestData(@NotNull String projectName, @Nullable String envName, @Nullable String systemName, @NotNull String tableTitle, @NotNull List<GetRowRequest> multipleColumnRowRequest) - Specified by:
getMultipleColumnTestDatain interfaceAtpActionService
-
insertTestData
public ResponseMessage insertTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<Map<String, Object>> records) - Specified by:
insertTestDatain interfaceAtpActionService
-
occupyTestData
public List<ResponseMessage> occupyTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<OccupyRowRequest> occupyRowRequests) - Specified by:
occupyTestDatain interfaceAtpActionService
-
occupyTestDataFullRow
public List<ResponseMessage> occupyTestDataFullRow(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<OccupyFullRowRequest> occupyFullRowRequests) - Specified by:
occupyTestDataFullRowin interfaceAtpActionService
-
releaseTestData
public List<ResponseMessage> releaseTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<ReleaseRowRequest> releaseRowRequests) - Specified by:
releaseTestDatain interfaceAtpActionService
-
releaseFullTestData
public List<ResponseMessage> releaseFullTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle) - Specified by:
releaseFullTestDatain interfaceAtpActionService
-
updateTestData
public List<ResponseMessage> updateTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<UpdateRowRequest> updateRowRequests) - Specified by:
updateTestDatain interfaceAtpActionService
-
getTestData
public List<ResponseMessage> getTestData(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<GetRowRequest> getRowRequests) - Specified by:
getTestDatain interfaceAtpActionService
-
addInfoToRow
public List<ResponseMessage> addInfoToRow(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle, List<AddInfoToRowRequest> addInfoToRowRequests) - Specified by:
addInfoToRowin interfaceAtpActionService
-
refreshTables
public List<ResponseMessage> refreshTables(@Nonnull String projectName, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle) - Specified by:
refreshTablesin interfaceAtpActionService
-
truncateTable
public List<ResponseMessage> truncateTable(@Nonnull String projectId, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle) - Specified by:
truncateTablein interfaceAtpActionService
-
runCleanupForTable
public List<ResponseMessage> runCleanupForTable(@Nonnull String projectId, @Nullable String envName, @Nullable String systemName, @Nonnull String tableTitle) - Specified by:
runCleanupForTablein interfaceAtpActionService
-
init
Get URL when Interngal Gateway is enabled.
-