@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigRepositoryServicesResource
extends Object
| Constructor and Description |
|---|
ConfigRepositoryServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addStartUpOpenMetadataArchiveFile(String userId,
String serverName,
String fileName)
Add a new open metadata archive to load at startup.
|
VoidResponse |
disableCohortRegistration(String userId,
String serverName,
String cohortName)
Unregister this server from an open metadata repository cohort.
|
VoidResponse |
enableCohortRegistration(String userId,
String serverName,
String cohortName,
Map<String,Object> additionalProperties)
Enable registration of server to an open metadata repository cohort.
|
GUIDResponse |
getLocalMetadataCollectionId(String userId,
String serverName)
Return the local metadata collection id.
|
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 |
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 name)
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 |
setNoRepositoryMode(String userId,
String serverName)
Remove all configuration for a local repository.
|
VoidResponse |
setOpenMetadataArchives(String userId,
String serverName,
List<Connection> openMetadataArchives)
Set up the list of open metadata archives.
|
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 - used when the local repository mode is set to repository proxy.
|
@RequestMapping(method=POST,
path="/audit-log-destinations/default")
public VoidResponse setDefaultAuditLog(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/open-metadata-archives/file")
public VoidResponse addStartUpOpenMetadataArchiveFile(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
String fileName)
userId - user that is issuing the request.serverName - local server name.fileName - name of the open metadata archive file.@RequestMapping(method=DELETE,
path="/local-repository")
public VoidResponse setNoRepositoryMode(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/local-repository/mode/in-memory-repository")
public VoidResponse setInMemLocalRepository(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/local-repository/mode/local-graph-repository")
public VoidResponse setGraphLocalRepository(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/local-repository/mode/repository-proxy/connection")
public VoidResponse setRepositoryProxyConnection(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository connector.@RequestMapping(method=POST,
path="/local-repository/mode/repository-proxy/details")
public VoidResponse setRepositoryProxyConnection(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestParam
String connectorProvider,
@RequestBody(required=false)
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 connector@RequestMapping(method=POST,
path="/local-repository/event-mapper-connection")
public VoidResponse setLocalRepositoryEventMapper(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
Connection connection)
userId - user that is issuing the request.serverName - local server name.connection - connection to the OMRS repository event mapper.@RequestMapping(method=POST,
path="/local-repository/event-mapper-details")
public VoidResponse setLocalRepositoryEventMapper(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestParam
String connectorProvider,
@RequestParam
String eventSource,
@RequestBody(required=false)
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 connection@RequestMapping(method=POST,
path="/local-repository/metadata-collection-name/{name}")
public VoidResponse setLocalMetadataCollectionName(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String name)
userId - user that is issuing the request.serverName - local server name.name - metadata collection name.@RequestMapping(method=GET,
path="/local-repository/metadata-collection-id")
public GUIDResponse getLocalMetadataCollectionId(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/cohorts/{cohortName}")
public VoidResponse enableCohortRegistration(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String cohortName,
@RequestBody(required=false)
Map<String,Object> additionalProperties)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.additionalProperties - additional properties for the event bus connection@RequestMapping(method=DELETE,
path="/cohorts/{cohortName}")
public VoidResponse disableCohortRegistration(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String cohortName)
userId - user that is issuing the request.serverName - local server name.cohortName - name of the cohort.@RequestMapping(method=POST,
path="/audit-log-destinations")
public VoidResponse setAuditLogDestinations(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
List<Connection> auditLogDestinations)
userId - user that is issuing the request.serverName - local server name.auditLogDestinations - list of connection objects@RequestMapping(method=POST,
path="/open-metadata-archives")
public VoidResponse setOpenMetadataArchives(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
List<Connection> openMetadataArchives)
userId - user that is issuing the request.serverName - local server name.openMetadataArchives - list of connection objects@RequestMapping(method=POST,
path="/local-repository/configuration")
public VoidResponse setLocalRepositoryConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
LocalRepositoryConfig localRepositoryConfig)
userId - user that is issuing the request.serverName - local server name.localRepositoryConfig - configuration properties for the local repository.@RequestMapping(method=POST,
path="/cohorts/{cohortName}/configuration")
public VoidResponse setCohortConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String cohortName,
@RequestBody
CohortConfig cohortConfig)
userId - user that is issuing the requestserverName - local server namecohortName - name of the cohortcohortConfig - configuration for the cohortCopyright © 2018–2019 ODPi. All rights reserved.