@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/repository-services/users/{userId}/metadata-highway")
public class MetadataHighwayServicesResource
extends Object
| Constructor and Description |
|---|
MetadataHighwayServicesResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
CohortListResponse |
getCohorts(String serverName,
String userId)
Return the details of the cohorts that this server is participating in.
|
CohortMembershipResponse |
getLocalRegistration(String serverName,
String userId)
Return the local registration information used by this server to register with open metadata repository cohorts.
|
CohortMembershipResponse |
getLocalRegistration(String serverName,
String userId,
String cohortName)
Return the local registration information used by this server to register with the requested
open metadata repository cohort.
|
CohortMembershipListResponse |
getRemoteRegistrations(String serverName,
String userId,
String cohortName)
Return the list of registrations received from remote members of the cohort.
|
public MetadataHighwayServicesResource()
@GetMapping(path="/cohort-descriptions") public CohortListResponse getCohorts(@PathVariable String serverName, @PathVariable String userId)
serverName - name of serveruserId - calling user@GetMapping(path="/local-registration") public CohortMembershipResponse getLocalRegistration(@PathVariable String serverName, @PathVariable String userId)
serverName - server to queryuserId - calling user@GetMapping(path="/cohorts/{cohortName}/local-registration")
public CohortMembershipResponse getLocalRegistration(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String cohortName)
serverName - server to queryuserId - calling usercohortName - name of the specific cohort to query for the registration information@GetMapping(path="/cohorts/{cohortName}/remote-members")
public CohortMembershipListResponse getRemoteRegistrations(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String cohortName)
serverName - server to queryuserId - calling usercohortName - name of the specific cohortCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.