@RestController public class DatasetController extends UIHelper
| Constructor and Description |
|---|
DatasetController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllDatalists(UUID projectUuid)
Get all dataset sources.
|
String |
getAllDatasets(String sources,
UUID projectUuid)
Get all datasets.
|
UIList<UIDataSetList> |
getList(String id,
UUID projectUuid)
Get DS from atp-datasets and Excel file.
|
UIList<UIObject> |
getLists(UUID projectUuid)
Get DSL from atp-datasets and Excel file.
|
UIDataSet |
readDataset(String datasetName,
String entityId,
String entityType,
UUID projectUuid,
BigInteger projectId)
Read dataset and get data.
|
org.qubership.automation.itf.core.model.jpa.context.JsonContext |
readDatasetForDebugger(String datasetName,
UUID projectUuid,
BigInteger projectId)
Read dataset and get data for debugger.
|
conversionOfTree, convertMapOfTypeToUITypeList, fillObjectList, fillTreeElementList, fillUIList, getDefinitionValue, getObjectList, getTreeElementList, getUIKeys, getUIList, getUIPresentationByStorable, initializeObjects, isNotNullCopyOfImmutableList, saveSteps, toJSONContext, updateObject@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/datasetlists",
method=GET)
public UIList<UIObject> getLists(@RequestParam(value="projectUuid")
UUID projectUuid)
projectUuid - ITF project UUID{@link UIList<UIObject>}@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/datasetlist",
method=GET)
public UIList<UIDataSetList> getList(@RequestParam(value="source",required=false)
String id,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws Exception
id - source IDprojectUuid - ITF project UUID{@link UIList<UIDataSetList>}.Exception - may occur when receiving data@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/dataset/all",
method=GET)
public String getAllDatasets(@RequestParam(value="sources",defaultValue="")
String sources,
@RequestParam(value="projectUuid")
UUID projectUuid)
sources - source IDprojectUuid - ITF project UUID@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/datasetsources/all",
method=GET)
public String getAllDatalists(@RequestParam(value="projectUuid")
UUID projectUuid)
projectUuid - ITF project UUID@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/dataset/read/debug",
method=GET)
public org.qubership.automation.itf.core.model.jpa.context.JsonContext readDatasetForDebugger(@RequestParam(value="name",defaultValue="")
String datasetName,
@RequestParam(value="projectUuid")
UUID projectUuid,
@RequestParam(value="projectId")
BigInteger projectId)
datasetName - dataset nameprojectUuid - ITF project UUIDJsonContext.@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/dataset/read",
method=GET)
public UIDataSet readDataset(@RequestParam(value="name",defaultValue="")
String datasetName,
@RequestParam(value="entity",defaultValue="")
String entityId,
@RequestParam(value="type",defaultValue="")
String entityType,
@RequestParam(value="projectUuid")
UUID projectUuid,
@RequestParam(value="projectId")
BigInteger projectId)
datasetName - dataset nameentityId - entity identityType - entity typeprojectUuid - ITF project UUIDUIDataSet.Copyright © 2025. All rights reserved.