public class OMAGServerAdminServices extends Object
| Constructor and Description |
|---|
OMAGServerAdminServices() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addAuditLogDestination(String userId,
String serverName,
Connection auditLogDestination)
Set up the list of audit log destinations.
|
VoidResponse |
addConsoleAuditLogDestination(String userId,
String serverName,
List<String> supportedSeverities)
Set up the console (stdout) audit log destination for the server.
|
VoidResponse |
addEventTopicAuditLogDestination(String userId,
String serverName,
List<String> supportedSeverities)
Set up the File based audit log destination for the server.
|
VoidResponse |
addFileAuditLogDestination(String userId,
String serverName,
List<String> supportedSeverities)
Set up the File based audit log destination for the server.
|
VoidResponse |
addSLF4JAuditLogDestination(String userId,
String serverName,
List<String> supportedSeverities)
Set up the SLF4J audit log destination for the server.
|
VoidResponse |
addStartUpOpenMetadataArchiveFile(String userId,
String serverName,
String fileName)
Add a new open metadata archive to load at startup.
|
VoidResponse |
clearAuditLogDestinations(String userId,
String serverName)
Set up the list of audit log destinations.
|
VoidResponse |
deployOMAGServerConfig(String userId,
String serverName,
URLRequestBody destinationPlatform)
Push the configuration for the server to another OMAG Server Platform.
|
VoidResponse |
disableCohortRegistration(String userId,
String serverName,
String cohortName)
Set up the mode for an open metadata repository cohort.
|
VoidResponse |
enableCohortRegistration(String userId,
String serverName,
String cohortName,
Map<String,Object> configurationProperties)
Enable registration of server to an open metadata repository cohort.
|
GUIDResponse |
getLocalMetadataCollectionId(String userId,
String serverName)
Return the local metadata collection id.
|
OMAGServerConfigResponse |
getStoredConfiguration(String userId,
String serverName)
Return the complete set of configuration properties in use by the server.
|
VoidResponse |
setAuditLogDestinations(String userId,
String serverName,
List<Connection> auditLogDestinations)
Set up the list of audit log destinations.
|
VoidResponse |
setCohortConfig(String userId,
String serverName,
String cohortName,
CohortConfig cohortConfig)
Set up the configuration properties for a cohort.
|
VoidResponse |
setDefaultAuditLog(String userId,
String serverName)
Set up the default audit log for the server.
|
VoidResponse |
setEventBus(String userId,
String serverName,
String connectorProvider,
String topicURLRoot,
Map<String,Object> configurationProperties)
Set up the default event bus for embedding in event-driven connector.
|
VoidResponse |
setGraphLocalRepository(String userId,
String serverName)
Set up a graph store as the local repository.
|
VoidResponse |
setInMemLocalRepository(String userId,
String serverName)
Set up an in memory local repository.
|
VoidResponse |
setLocalMetadataCollectionName(String userId,
String serverName,
String localMetadataCollectionName)
Set up the local metadata collection name.
|
VoidResponse |
setLocalRepositoryConfig(String userId,
String serverName,
LocalRepositoryConfig localRepositoryConfig)
Set up the configuration for the local repository.
|
VoidResponse |
setLocalRepositoryEventMapper(String userId,
String serverName,
Connection connection)
Provide the connection to the local repository's event mapper if needed.
|
VoidResponse |
setLocalRepositoryEventMapper(String userId,
String serverName,
String connectorProvider,
String eventSource,
Map<String,Object> additionalProperties)
Provide the connection to the local repository's event mapper if needed.
|
VoidResponse |
setMaxPageSize(String userId,
String serverName,
int maxPageSize)
Set an upper limit in the page size that can be requested on a REST call to the server.
|
VoidResponse |
setNoRepositoryMode(String userId,
String serverName)
Remove all configuration for a local repository.
|
VoidResponse |
setOMAGServerConfig(String userId,
String serverName,
OMAGServerConfig omagServerConfig)
Set up the configuration properties for an OMAG Server in a single command.
|
VoidResponse |
setOpenMetadataArchives(String userId,
String serverName,
List<Connection> openMetadataArchives)
Set up the list of open metadata archives.
|
VoidResponse |
setOrganizationName(String userId,
String serverName,
String name)
Set up the name of the organization that is running this server.
|
VoidResponse |
setRepositoryProxyConnection(String userId,
String serverName,
Connection connection)
Provide the connection to the local repository - used when the local repository mode is set to repository proxy.
|
VoidResponse |
setRepositoryProxyConnection(String userId,
String serverName,
String connectorProvider,
Map<String,Object> additionalProperties)
Provide the connection to the local repository.
|
VoidResponse |
setServerPassword(String userId,
String serverName,
String serverPassword)
Set up the user id to use when there is no external user driving the work (for example when processing events
from another server).
|
VoidResponse |
setServerType(String userId,
String serverName,
String typeName)
Set up the descriptive type of the server.
|
VoidResponse |
setServerURLRoot(String userId,
String serverName,
String url)
Set up the root URL for this server that is used to construct full URL paths to calls for
this server's REST interfaces that is used by other members of the cohorts that this server
connects to.
|
VoidResponse |
setServerUserId(String userId,
String serverName,
String serverUserId)
Set up the user id to use when there is no external user driving the work (for example when processing events
from another server).
|
public VoidResponse setServerType(String userId, String serverName, String typeName)
userId - user that is issuing the request.serverName - local server name.typeName - short description for the type of server.public VoidResponse setOrganizationName(String userId, String serverName, String name)
userId - user that is issuing the request.serverName - local server name.name - String name of the organization.public VoidResponse setServerUserId(String userId, String serverName, String serverUserId)
userId - user that is issuing the request.serverName - local server name.serverUserId - String user is for the server.public VoidResponse setServerPassword(String userId, String serverName, String serverPassword)
userId - user that is issuing the request.serverName - local server name.serverPassword - String password for the server.public VoidResponse setMaxPageSize(String userId, String serverName, int maxPageSize)
userId - - user that is issuing the request.serverName - - local server name.maxPageSize - - max number of elements that can be returned on a request.public VoidResponse setEventBus(String userId, String serverName, String connectorProvider, String topicURLRoot, Map<String,Object> configurationProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - connector provider for the event bus (if it is null then Kafka is assumed).topicURLRoot - the common root of the topics used by the open metadata server.configurationProperties - property name/value pairs used to configure the connection to the event bus connectorpublic VoidResponse setServerURLRoot(String userId, String serverName, String url)
userId - user that is issuing the request.serverName - local server name.url - String url.public VoidResponse setDefaultAuditLog(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse addConsoleAuditLogDestination(String userId, String serverName, List<String> supportedSeverities)
userId - user that is issuing the request.serverName - local server name.supportedSeverities - list of severities that should be logged to this destination (empty list means all)public VoidResponse addSLF4JAuditLogDestination(String userId, String serverName, List<String> supportedSeverities)
userId - user that is issuing the request.serverName - local server name.supportedSeverities - list of severities that should be logged to this destination (empty list means all)public VoidResponse addFileAuditLogDestination(String userId, String serverName, List<String> supportedSeverities)
userId - user that is issuing the request.serverName - local server name.supportedSeverities - list of severities that should be logged to this destination (empty list means all)public VoidResponse addEventTopicAuditLogDestination(String userId, String serverName, List<String> supportedSeverities)
userId - user that is issuing the request.serverName - local server name.supportedSeverities - list of severities that should be logged to this destination (empty list means all)public VoidResponse addStartUpOpenMetadataArchiveFile(String userId, String serverName, String fileName)
userId - user that is issuing the request.serverName - local server name.fileName - name of the open metadata archive file.public VoidResponse setInMemLocalRepository(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setGraphLocalRepository(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setNoRepositoryMode(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setRepositoryProxyConnection(String userId, String serverName, Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository connector.public VoidResponse setRepositoryProxyConnection(String userId, String serverName, String connectorProvider, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - connector provider class name to the OMRS repository connector.additionalProperties - additional parameters to pass to the repository connectorpublic VoidResponse setLocalRepositoryEventMapper(String userId, String serverName, Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository event mapper.public VoidResponse setLocalRepositoryEventMapper(String userId, String serverName, String connectorProvider, String eventSource, Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - Java class name of the connector provider for the OMRS repository event mapper.eventSource - topic name or URL to the native event source.additionalProperties - additional properties for the event mapper connectionpublic GUIDResponse getLocalMetadataCollectionId(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setLocalMetadataCollectionName(String userId, String serverName, String localMetadataCollectionName)
userId - user that is issuing the request.serverName - local server name.localMetadataCollectionName - metadata collection namepublic VoidResponse enableCohortRegistration(String userId, String serverName, String cohortName, Map<String,Object> configurationProperties)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.configurationProperties - additional properties for the cohortpublic VoidResponse disableCohortRegistration(String userId, String serverName, String cohortName)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.public VoidResponse setAuditLogDestinations(String userId, String serverName, List<Connection> auditLogDestinations)
userId - user that is issuing the request.serverName - local server name.auditLogDestinations - list of connection objectspublic VoidResponse addAuditLogDestination(String userId, String serverName, Connection auditLogDestination)
userId - user that is issuing the request.serverName - local server name.auditLogDestination - connection object for audit log destinationpublic VoidResponse clearAuditLogDestinations(String userId, String serverName)
userId - user that is issuing the request.serverName - local server name.public VoidResponse setOpenMetadataArchives(String userId, String serverName, List<Connection> openMetadataArchives)
userId - user that is issuing the request.serverName - local server name.openMetadataArchives - list of connection objectspublic VoidResponse setLocalRepositoryConfig(String userId, String serverName, LocalRepositoryConfig localRepositoryConfig)
userId - user that is issuing the request.serverName - local server name.localRepositoryConfig - configuration properties for the local repository.public VoidResponse setCohortConfig(String userId, String serverName, String cohortName, CohortConfig cohortConfig)
userId - user that is issuing the requestserverName - local server namecohortName - name of the cohortcohortConfig - configuration for the cohortpublic VoidResponse setOMAGServerConfig(String userId, String serverName, OMAGServerConfig omagServerConfig)
userId - user that is issuing the requestserverName - local server nameomagServerConfig - configuration for the serverpublic VoidResponse deployOMAGServerConfig(String userId, String serverName, URLRequestBody destinationPlatform)
userId - user that is issuing the requestserverName - local server namedestinationPlatform - location of the platform where the config is to be deployed topublic OMAGServerConfigResponse getStoredConfiguration(String userId, String serverName)
userId - user that is issuing the requestserverName - local server nameCopyright © 2018–2020 ODPi. All rights reserved.