Package org.openiam.common.beans.mq
Class ManagedSystemRabbitMQService
- java.lang.Object
-
- org.openiam.common.beans.mq.AbstractRabbitMQService
-
- org.openiam.common.beans.mq.ManagedSystemRabbitMQService
-
@Component public final class ManagedSystemRabbitMQService extends AbstractRabbitMQService
The purpose of this class is to provide common operations with respect to theManagedSysDto
object, which are read by multiple Spring Boot modules
-
-
Field Summary
Fields Modifier and Type Field Description protected ManagedSysQueue
managedSysQueue
-
Fields inherited from class org.openiam.common.beans.mq.AbstractRabbitMQService
rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description ManagedSystemRabbitMQService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cloneManagedSystem(String originalManSysId, String newManSysName, boolean cloneCreds, boolean cloneAttr, boolean clonePolicyMap)
void
delete(ManagedSysDto managedSysDto)
void
deleteById(String managedSysId)
List<ManagedSysDto>
findBeans(ManagedSysSearchBean searchBean, int from, int size)
ManagedSysDto
get(String id)
List<ManagedSysDto>
getAll()
String
getDecryptedPassword(String id, String encryptedPassword)
List<ManagedSystemObjectMatch>
getManagedSysObjectParam(String managedSystemId, String objectType)
ManagedSysDto
getManSysByResId(String resId)
ManagedSysDto
getManSysByResId(String resId, boolean deep)
StringResponse
save(ManagedSysDto managedSysDto)
StringResponse
saveManagedSystemRequest(ManagedSystemSaveRequest createRequest)
String
saveSimulationReq(SimulationProvReqDto simulationDto)
This method is used to save Simlation Request if Managed System has Simulation Mode selected for particular operation-
Methods inherited from class org.openiam.common.beans.mq.AbstractRabbitMQService
crudRequest, idRequest
-
-
-
-
Field Detail
-
managedSysQueue
@Autowired protected ManagedSysQueue managedSysQueue
-
-
Method Detail
-
get
public ManagedSysDto get(String id)
-
getManSysByResId
public ManagedSysDto getManSysByResId(String resId, boolean deep)
-
getManSysByResId
public ManagedSysDto getManSysByResId(String resId)
-
getAll
public List<ManagedSysDto> getAll()
-
findBeans
public List<ManagedSysDto> findBeans(ManagedSysSearchBean searchBean, int from, int size)
-
save
public StringResponse save(ManagedSysDto managedSysDto)
-
saveManagedSystemRequest
public StringResponse saveManagedSystemRequest(ManagedSystemSaveRequest createRequest)
-
delete
public void delete(ManagedSysDto managedSysDto)
-
deleteById
public void deleteById(String managedSysId)
-
getManagedSysObjectParam
public List<ManagedSystemObjectMatch> getManagedSysObjectParam(String managedSystemId, String objectType)
-
cloneManagedSystem
public String cloneManagedSystem(String originalManSysId, String newManSysName, boolean cloneCreds, boolean cloneAttr, boolean clonePolicyMap)
- Parameters:
originalManSysId
-newManSysName
-cloneCreds
-cloneAttr
-clonePolicyMap
-- Returns:
- Id of newly created clone man system
-
saveSimulationReq
public String saveSimulationReq(SimulationProvReqDto simulationDto)
This method is used to save Simlation Request if Managed System has Simulation Mode selected for particular operation- Parameters:
simulationDto
-- Returns:
- Id of saved object
-
-