( Return to API Overview )
- addToMaster
- create
- delete
- getDefaultMaster
- getMaster
- getMasterByLabel
- getMasterOrgs
- getMasters
- makeDefault
- mapToLocal
- setCaCert
- setMasterOrgs
- unsetDefaultMaster
- update
Description
Contains methods to set up information about known-"masters", for use
on the "slave" side of ISS
Namespace:
sync.master
Description:
Add a single organizations to the list of those the specified Master has
exported to this Slave
Parameters:
-
string sessionKey
-
int id - Id of the desired Master
-
struct - master-org details
- int "masterOrgId"
- string "masterOrgName"
- int "localOrgId"
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Create a new Master, known to this Slave.
Parameters:
-
string sessionKey
-
string label - Master's fully-qualified domain name
Returns:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"
Description:
Remove the specified Master
Parameters:
-
string sessionKey
-
int id - Id of the Master to remove
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Return the current default-Master for this Slave
Parameters:
Returns:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"
Description:
Find a Master by specifying its ID
Parameters:
-
string sessionKey
-
int id - Id of the desired Master
Returns:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"
Description:
Find a Master by specifying its label
Parameters:
-
string sessionKey
-
string label - Label of the desired Master
Returns:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"
Description:
List all organizations the specified Master has exported to this Slave
Parameters:
-
string sessionKey
-
int id - Id of the desired Master
Returns:
-
array:
-
struct - IssMasterOrg info
- int "masterOrgId"
- string "masterOrgName"
- int "localOrgId"
Description:
Get all the Masters this Slave knows about
Parameters:
Returns:
-
array:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"
Description:
Make the specified Master the default for this Slave's satellite-sync
Parameters:
-
string sessionKey
-
int id - Id of the Master to make the default
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Add a single organizations to the list of those the specified Master has
exported to this Slave
Parameters:
-
string sessionKey
-
int masterId - Id of the desired Master
-
int masterOrgId - Id of the desired Master
-
int localOrgId - Id of the desired Master
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Set the CA-CERT filename for specified Master on this Slave
Parameters:
-
string sessionKey
-
int id - Id of the Master to affect
-
string caCertFilename - path to specified Master's CA cert
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Reset all organizations the specified Master has exported to this Slave
Parameters:
-
string sessionKey
-
int id - Id of the desired Master
-
array:
-
struct - master-org details
- int "masterOrgId"
- string "masterOrgName"
- int "localOrgId"
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Make this slave have no default Master for satellite-sync
Parameters:
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Updates the label of the specified Master
Parameters:
-
string sessionKey
-
int id - Id of the Master to update
-
string label - Desired new label
Returns:
-
struct - IssMaster info
- int "id"
- string "label"
- string "caCert"
- boolean "isCurrentMaster"