Package es.caib.seycon.ng.sync.servei
Interface SyncStatusService
-
public interface SyncStatusServiceService SyncStatusService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidboostTask(long taskId)Operation boostTaskvoidcancelTask(long taskId)Operation cancelTaskvoidcheckConnectivity(String dispatcher)Operation checkConnectivityPasswordValidationcheckPasswordSynchronizationStatus(String accountName, String serverName)Operation checkPasswordSynchronizationStatusMap<String,String>findActiveDirectoryDomains()Operation findActiveDirectoryDomainsPasswordgetAccountPassword(String user, Long accountId)Operation getAccountPasswordPasswordgetAccountPassword(String user, Long accountId, AccountAccessLevelEnum level)Operation getAccountPassword Method user for SSO.PasswordgetAccountSshKey(String user, Long accountId)Operation getAccountSshKeyPasswordgetAccountSshKey(String user, Long accountId, AccountAccessLevelEnum level)Operation getAccountSshKey Method user for SSO.StringgetDBConnectionStatus()Operation getDBConnectionStatusbyte[]getMazingerRules(String user)Operation getMazingerRulesGetObjectResultsgetNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2)Operation getNativeObjectCollection<SeyconServerInfo>getServerAgentHostsURL()Operation getServerAgentHostsURLCollection<AgentStatusInfo>getSeyconAgentsInfo(String tenant)Operation getSeyconAgentsInfoSeyconServerInfogetSeyconServerInfo(String tenant)Operation getSeyconServerInfoSeyconServerInfogetSeyconServerStatus(String tenant)Operation getSeyconServerStatusGetObjectResultsgetSoffidObject(String dispatcher, SoffidObjectType type, String object1, String object2)Operation getSoffidObjectCollection<Map<String,Object>>invoke(String dispatcher, String verb, String object, Map<String,Object> attributes)Operation invoke Invokes a custom methodGetObjectResultsreconcile(String dispatcher, String accountName)Operation reconcilevoidreconfigureDispatchers()Operation reconfigureDispatchersvoidresendAccountPassword(Long accountId)Operation resendAccountPasswordvoidresendUserPassword(String user, String passwordDomain)Operation resendUserPasswordStringresetAllServer()Operation resetAllServerStringresetServerAgents(String server)Operation resetServerAgentsvoidsetAccountPassword(String accountName, String serverName, Password password, boolean mustChange)Operation setAccountPasswordvoidsetAccountSshPrivateKey(String accountName, String serverName, Password privateKey)Operation setAccountSshPrivateKeyvoidstartScheduledTask(ScheduledTask t)Operation startScheduledTaskString[]tailServerLog(String urlServer)Operation tailServerLogMap<String,Object>testObjectMapping(Map<String,String> sentences, String dispatcher, SoffidObjectType type, String object1, String object2)Operation testObjectMappingDebugTaskResultstestPropagateObject(String dispatcher, SoffidObjectType type, String object1, String object2)Operation testPropagateObject
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findActiveDirectoryDomains
Map<String,String> findActiveDirectoryDomains() throws InternalErrorException
Operation findActiveDirectoryDomains- Returns:
- Throws:
InternalErrorException
-
getMazingerRules
byte[] getMazingerRules(String user) throws InternalErrorException, InternalErrorException
Operation getMazingerRules- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
testPropagateObject
DebugTaskResults testPropagateObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
Operation testPropagateObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
getNativeObject
GetObjectResults getNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException
Operation getNativeObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
getSoffidObject
GetObjectResults getSoffidObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException
Operation getSoffidObject- Parameters:
dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
reconcile
GetObjectResults reconcile(String dispatcher, String accountName) throws InternalErrorException
Operation reconcile- Parameters:
dispatcher-accountName-- Returns:
- Throws:
InternalErrorException
-
getAccountPassword
Password getAccountPassword(String user, Long accountId) throws InternalErrorException, InternalErrorException
Operation getAccountPassword- Parameters:
user-accountId-- Returns:
- Throws:
InternalErrorException
-
getAccountPassword
Password getAccountPassword(String user, Long accountId, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException
Operation getAccountPassword Method user for SSO. Provides the password if the user has the right access level on the account- Parameters:
user-accountId-level-- Returns:
- Throws:
InternalErrorException
-
getAccountSshKey
Password getAccountSshKey(String user, Long accountId) throws InternalErrorException, InternalErrorException
Operation getAccountSshKey- Parameters:
user-accountId-- Returns:
- Throws:
InternalErrorException
-
getAccountSshKey
Password getAccountSshKey(String user, Long accountId, AccountAccessLevelEnum level) throws InternalErrorException, InternalErrorException
Operation getAccountSshKey Method user for SSO. Provides the password if the user has the right access level on the account- Parameters:
user-accountId-level-- Returns:
- Throws:
InternalErrorException
-
checkPasswordSynchronizationStatus
PasswordValidation checkPasswordSynchronizationStatus(String accountName, String serverName) throws InternalErrorException, InternalErrorException
Operation checkPasswordSynchronizationStatus- Parameters:
accountName-serverName-- Returns:
- Throws:
InternalErrorException
-
getSeyconServerInfo
SeyconServerInfo getSeyconServerInfo(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getSeyconServerInfo- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionIOException
-
getSeyconServerStatus
SeyconServerInfo getSeyconServerStatus(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getSeyconServerStatus- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionIOException
-
getDBConnectionStatus
String getDBConnectionStatus() throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getDBConnectionStatus- Returns:
- Throws:
InternalErrorExceptionIOException
-
resetAllServer
String resetAllServer() throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation resetAllServer- Returns:
- Throws:
InternalErrorExceptionIOException
-
resetServerAgents
String resetServerAgents(String server) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation resetServerAgents- Parameters:
server-- Returns:
- Throws:
InternalErrorExceptionIOException
-
tailServerLog
String[] tailServerLog(String urlServer) throws InternalErrorException, InternalErrorException
Operation tailServerLog- Parameters:
urlServer-- Returns:
- Throws:
InternalErrorException
-
getServerAgentHostsURL
Collection<SeyconServerInfo> getServerAgentHostsURL() throws InternalErrorException, InternalErrorException, FileNotFoundException, IOException, InternalErrorException
Operation getServerAgentHostsURL- Returns:
- Throws:
InternalErrorExceptionFileNotFoundExceptionIOException
-
getSeyconAgentsInfo
Collection<AgentStatusInfo> getSeyconAgentsInfo(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getSeyconAgentsInfo- Parameters:
tenant-- Returns:
- Throws:
InternalErrorExceptionIOException
-
invoke
Collection<Map<String,Object>> invoke(String dispatcher, String verb, String object, Map<String,Object> attributes) throws InternalErrorException, InternalErrorException
Operation invoke Invokes a custom method- Parameters:
dispatcher-verb-object-attributes-- Returns:
- Throws:
InternalErrorException
-
testObjectMapping
Map<String,Object> testObjectMapping(Map<String,String> sentences, String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
Operation testObjectMapping- Parameters:
sentences-dispatcher-type-object1-object2-- Returns:
- Throws:
InternalErrorException
-
boostTask
void boostTask(long taskId) throws InternalErrorExceptionOperation boostTask- Parameters:
taskId-- Throws:
InternalErrorException
-
cancelTask
void cancelTask(long taskId) throws InternalErrorExceptionOperation cancelTask- Parameters:
taskId-- Throws:
InternalErrorException
-
checkConnectivity
void checkConnectivity(String dispatcher) throws InternalErrorException
Operation checkConnectivity- Parameters:
dispatcher-- Throws:
InternalErrorException
-
reconfigureDispatchers
void reconfigureDispatchers() throws InternalErrorException, InternalErrorException, IOException, InternalErrorExceptionOperation reconfigureDispatchers- Throws:
InternalErrorExceptionIOException
-
resendAccountPassword
void resendAccountPassword(Long accountId) throws InternalErrorException, InternalErrorException
Operation resendAccountPassword- Parameters:
accountId-- Throws:
InternalErrorException
-
resendUserPassword
void resendUserPassword(String user, String passwordDomain) throws InternalErrorException, InternalErrorException
Operation resendUserPassword- Parameters:
user-passwordDomain-- Throws:
InternalErrorException
-
setAccountPassword
void setAccountPassword(String accountName, String serverName, Password password, boolean mustChange) throws InternalErrorException, InternalErrorException
Operation setAccountPassword- Parameters:
accountName-serverName-password-mustChange-- Throws:
InternalErrorException
-
setAccountSshPrivateKey
void setAccountSshPrivateKey(String accountName, String serverName, Password privateKey) throws InternalErrorException, InternalErrorException
Operation setAccountSshPrivateKey- Parameters:
accountName-serverName-privateKey-- Throws:
InternalErrorException
-
startScheduledTask
void startScheduledTask(ScheduledTask t) throws InternalErrorException
Operation startScheduledTask- Parameters:
t-- Throws:
InternalErrorException
-
-