@Service public class ItfStubsRequestsService extends Object
| Constructor and Description |
|---|
ItfStubsRequestsService() |
public org.qubership.automation.itf.core.model.communication.TriggerSample createTriggerSample(org.qubership.automation.itf.core.model.jpa.environment.TriggerConfiguration trigger)
@Transactional(readOnly=true) public org.qubership.automation.itf.core.model.communication.TriggerSample createTriggerSample(org.qubership.automation.itf.core.model.jpa.environment.TriggerConfiguration trigger, UUID projectUuid)
public List<org.qubership.automation.itf.core.model.communication.TriggerSample> getAllActiveTriggers()
TriggerSample triggers if start.transport.triggers.at.startup is enabled in project settings
and trigger has 'ACTIVE' state.
This method using when atp-itf-stubs service is starting via feign request.TriggerSample triggers that should be activated at start of atp-itf-stubs.public List<org.qubership.automation.itf.core.model.communication.TriggerSample> getAllTriggersByProject(UUID projectUuid)
public List<org.qubership.automation.itf.core.model.communication.TriggerSample> getAllActiveAndErrorTriggersByProject(UUID projectUuid)
public List<org.qubership.automation.itf.core.model.communication.TriggerSample> getTriggersByProject(UUID projectUuid, String actionName, Function<org.qubership.automation.itf.core.model.jpa.project.StubProject,ArrayList<org.qubership.automation.itf.core.model.communication.TriggerSample>> function)
public List<org.qubership.automation.itf.core.model.communication.EnvironmentSample> getTriggersByEnvFolder(BigInteger envFolderId)
public org.qubership.automation.itf.core.model.communication.EnvironmentSample getTriggersByEnvironment(BigInteger environmentId)
public org.qubership.automation.itf.core.model.communication.TriggerSample getTriggerById(BigInteger id)
public Result updateTriggerStatus(UIUpdateTriggerStatus uiUpdateTriggerStatus)
protected List<org.qubership.automation.itf.core.model.communication.TriggerSample> getActiveAndCreateTriggerSamples(BigInteger projectId, UUID projectUuid)
protected List<org.qubership.automation.itf.core.model.communication.TriggerSample> getAndCreateTriggerSimpleObjects(org.qubership.automation.itf.core.model.jpa.project.StubProject project)
protected List<org.qubership.automation.itf.core.model.communication.TriggerSample> getActiveAndErrorAndCreateTriggerSimpleObjects(org.qubership.automation.itf.core.model.jpa.project.StubProject project)
protected org.qubership.automation.itf.core.model.communication.EnvironmentSample getEnvironmentSampleObject(org.qubership.automation.itf.core.model.jpa.environment.Environment environment, UUID projectUuid)
Copyright © 2025. All rights reserved.