@Transactional @RestController public class IntegrationController extends AbstractController<UIIntegrationConfig,org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig>
LOGGER| Constructor and Description |
|---|
IntegrationController() |
_deleteSubObjects, _isObjectSuitable, asListUIObject, beforeStoreUpdated, checkVersion, create, create, create, create, create, create, delete, delete, delete, delete, getAll, getAll, getAllSimple, getAllSuitable, getAllWithEciParams, getById, manager, setSimple, storeUpdated, update, update, updateUIObject, usageInfoListAsStringhaveUsages@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/project/integrations/available",
method=GET)
public Collection<String> getAvailableIntegrations(@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/project/integrations/all",
method=GET)
public Collection<UIIntegrationConfig> getConfigurations(@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws Exception
Exception@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/project/integrations",
method=GET)
public UIIntegrationConfig getConfiguration(@RequestParam(value="id",defaultValue="")
String id,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/project/integrations/property",
method=GET,
produces="text/plain")
public String getConfigurationByNameAndGetProperty(@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="name",defaultValue="")
String name,
@RequestParam(value="property")
String property,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@GetMapping(value="/project/integrations/bv/link",
produces="text/plain")
public String getProjectIntegrationsBvLink(@RequestParam
String property,
@RequestParam
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"CREATE\")")
@RequestMapping(value="/project/integrations",
method=POST)
public UIIntegrationConfig create(@RequestParam(value="parentId",defaultValue="")
String parentId,
@RequestParam(value="name",defaultValue="")
String name,
@RequestParam(value="type",defaultValue="")
String type,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"UPDATE\")")
@RequestMapping(value="/project/integrations",
method=PUT)
public UIIntegrationConfig update(@RequestBody
UIIntegrationConfig configuration,
@RequestParam(value="projectUuid")
UUID projectUuid)
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"DELETE\")")
@RequestMapping(value="/project/integrations",
method=DELETE)
public List<UIObject> delete(@RequestBody
UIIds uiIds,
@RequestParam(value="projectUuid")
UUID projectUuid)
protected Class<org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig> _getGenericUClass()
AbstractController_getGenericUClass in class AbstractController<UIIntegrationConfig,org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig>protected UIIntegrationConfig _newInstanceTClass(org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig object)
AbstractController_newInstanceTClass in class AbstractController<UIIntegrationConfig,org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig>object - storable for create an object extends UIObjectprotected org.qubership.automation.itf.core.model.jpa.project.StubProject _getParent(String parentId)
AbstractController_getParent in class AbstractController<UIIntegrationConfig,org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig>parentId - parent identifyprotected org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig _beforeUpdate(UIIntegrationConfig uiObject, org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig object)
AbstractController_beforeUpdate in class AbstractController<UIIntegrationConfig,org.qubership.automation.itf.core.model.jpa.project.IntegrationConfig>uiObject - have param for updateobject - updatable objectCopyright © 2025. All rights reserved.