@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/governance-program/users/{userId}/governance-zone-manager")
public class GovernanceZonesResource
extends Object
| Constructor and Description |
|---|
GovernanceZonesResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
createGovernanceZone(String serverName,
String userId,
ZoneRequestBody requestBody)
Create a definition of a governance zone.
|
ZoneResponse |
getGovernanceZone(String serverName,
String userId,
String qualifiedName)
Return information about a specific governance zone.
|
ZoneListResponse |
getGovernanceZones(String serverName,
String userId,
int startingFrom,
int maximumResults)
Return information about all of the governance zones.
|
@PostMapping(path="/governance-zones") public VoidResponse createGovernanceZone(@PathVariable String serverName, @PathVariable String userId, @RequestBody ZoneRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userrequestBody - other properties for a governance zone@GetMapping(path="/governance-zones") public ZoneListResponse getGovernanceZones(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startingFrom, @RequestParam int maximumResults)
serverName - name of the server instance to connect touserId - calling userstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this call@GetMapping(path="/governance-zones/name/{qualifiedName}")
public ZoneResponse getGovernanceZone(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String qualifiedName)
serverName - name of the server instance to connect touserId - calling userqualifiedName - unique name for the zoneCopyright © 2018–2020 ODPi. All rights reserved.