Package es.caib.seycon.ng.sync.servei
Interface SyncStatusService
-
public interface SyncStatusService
Service SyncStatusService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
boostTask(long taskId)
Operation boostTaskvoid
cancelTask(long taskId)
Operation cancelTaskvoid
checkConnectivity(String dispatcher)
Operation checkConnectivityPasswordValidation
checkPasswordSynchronizationStatus(String accountName, String serverName)
Operation checkPasswordSynchronizationStatusMap<String,String>
findActiveDirectoryDomains()
Operation findActiveDirectoryDomainsPassword
getAccountPassword(String user, Long accountId)
Operation getAccountPasswordPassword
getAccountPassword(String user, Long accountId, AccountAccessLevelEnum level)
Operation getAccountPassword Method user for SSO.Password
getAccountSshKey(String user, Long accountId)
Operation getAccountSshKeyPassword
getAccountSshKey(String user, Long accountId, AccountAccessLevelEnum level)
Operation getAccountSshKey Method user for SSO.String
getDBConnectionStatus()
Operation getDBConnectionStatusbyte[]
getMazingerRules(String user)
Operation getMazingerRulesGetObjectResults
getNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2)
Operation getNativeObjectCollection<SeyconServerInfo>
getServerAgentHostsURL()
Operation getServerAgentHostsURLCollection<AgentStatusInfo>
getSeyconAgentsInfo(String tenant)
Operation getSeyconAgentsInfoSeyconServerInfo
getSeyconServerInfo(String tenant)
Operation getSeyconServerInfoSeyconServerInfo
getSeyconServerStatus(String tenant)
Operation getSeyconServerStatusGetObjectResults
getSoffidObject(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 methodGetObjectResults
reconcile(String dispatcher, String accountName)
Operation reconcilevoid
reconfigureDispatchers()
Operation reconfigureDispatchersvoid
resendAccountPassword(Long accountId)
Operation resendAccountPasswordvoid
resendUserPassword(String user, String passwordDomain)
Operation resendUserPasswordString
resetAllServer()
Operation resetAllServerString
resetServerAgents(String server)
Operation resetServerAgentsvoid
setAccountPassword(String accountName, String serverName, Password password, boolean mustChange)
Operation setAccountPasswordvoid
setAccountSshPrivateKey(String accountName, String serverName, Password privateKey)
Operation setAccountSshPrivateKeyvoid
startScheduledTask(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 testObjectMappingDebugTaskResults
testPropagateObject(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:
InternalErrorException
IOException
-
getSeyconServerStatus
SeyconServerInfo getSeyconServerStatus(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getSeyconServerStatus- Parameters:
tenant
-- Returns:
- Throws:
InternalErrorException
IOException
-
getDBConnectionStatus
String getDBConnectionStatus() throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getDBConnectionStatus- Returns:
- Throws:
InternalErrorException
IOException
-
resetAllServer
String resetAllServer() throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation resetAllServer- Returns:
- Throws:
InternalErrorException
IOException
-
resetServerAgents
String resetServerAgents(String server) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation resetServerAgents- Parameters:
server
-- Returns:
- Throws:
InternalErrorException
IOException
-
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:
InternalErrorException
FileNotFoundException
IOException
-
getSeyconAgentsInfo
Collection<AgentStatusInfo> getSeyconAgentsInfo(String tenant) throws InternalErrorException, InternalErrorException, IOException, InternalErrorException
Operation getSeyconAgentsInfo- Parameters:
tenant
-- Returns:
- Throws:
InternalErrorException
IOException
-
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 InternalErrorException
Operation boostTask- Parameters:
taskId
-- Throws:
InternalErrorException
-
cancelTask
void cancelTask(long taskId) throws InternalErrorException
Operation 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, InternalErrorException
Operation reconfigureDispatchers- Throws:
InternalErrorException
IOException
-
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
-
-