Class GovernanceOfficerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.governanceofficer.server.GovernanceOfficerRESTServices
The GovernanceOfficerRESTServices provides the server-side implementation of the Governance Officer Open Metadata
View Service (OMVS). This interface provides access to a person's profile, roles, and network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGovernanceDefinitionToElement(String serverName, String urlMarker, String elementGUID, String definitionGUID, NewRelationshipRequestBody requestBody) Link a governance definition to an element using the GovernedBy relationship.addRegulatorToRegulation(String serverName, String urlMarker, String regulationGUID, String regulatorGUID, NewRelationshipRequestBody requestBody) Link a regulation governance definition to an organization using the Regulator relationship.attachSupportingDefinition(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, NewRelationshipRequestBody requestBody) Attach a supporting governance definition.certifyElement(String serverName, String urlMarker, String elementGUID, String certificationTypeGUID, NewRelationshipRequestBody requestBody) Link an element to a certification type and include details of the certification in the relationship properties.clearControlPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the control point designation from an element.clearEnforcementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the enforcement point designation from an element.clearExecutionPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the execution point designation from an element.clearPolicyAdministrationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy administration point designation from an element.clearPolicyDecisionPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy decision point designation from an element.clearPolicyEnforcementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy enforcement point designation from an element.clearPolicyInformationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy information point designation from an element.clearPolicyManagementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy management point designation from an element.clearPolicyRetrievalPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy retrieval point designation from an element.clearVerificationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the verification point designation from an element.createGovernanceDefinition(String serverName, String urlMarker, NewElementRequestBody requestBody) Create a governance definition.createGovernanceDefinitionFromTemplate(String serverName, String urlMarker, TemplateRequestBody requestBody) Create a new metadata element to represent a governance definition using an existing metadata element as a template.decertifyElement(String serverName, String urlMarker, String certificationGUID, DeleteRelationshipRequestBody requestBody) Remove the certification for an element.deleteGovernanceDefinition(String serverName, String urlMarker, String governanceDefinitionGUID, DeleteElementRequestBody requestBody) Delete a governance definition.detachApprovedPurpose(String serverName, String urlMarker, String elementGUID, String dataProcessingPurposeGUID, DeleteRelationshipRequestBody requestBody) Detach an approved purpose from an element.detachDesignFromImplementation(String serverName, String urlMarker, String designGUID, String implementationGUID, DeleteRelationshipRequestBody requestBody) Detach a governance definition from its implementation.detachException(String serverName, String urlMarker, String exceptionGUID, DeleteRelationshipRequestBody requestBody) Detach an element from an exception type that excluded it from a requirement.detachGovernanceResults(String serverName, String urlMarker, String governanceMetricGUID, String dataSourceGUID, DeleteRelationshipRequestBody requestBody) Detach a governance metric from an asset that represents the data store where the measurements are located.detachImplementationResource(String serverName, String urlMarker, String designGUID, String implementationResourceGUID, DeleteRelationshipRequestBody requestBody) Detach a design object such as a governance definition or solution component from one of its implementation resourcesdetachPeerDefinitions(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, DeleteRelationshipRequestBody requestBody) Detach a governance definition from one of its peers.detachRegulationCertificationType(String serverName, String urlMarker, String regulationGUID, String certificationTypeGUID, DeleteRelationshipRequestBody requestBody) Detach a certification type from the regulation that required it.detachSupportingDefinition(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, DeleteRelationshipRequestBody requestBody) Detach a governance definition from a supporting governance definition.findGovernanceDefinitions(String serverName, String urlMarker, SearchStringRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.getGovernanceActionProcessGraph(String serverName, String urlMarker, String processGUID, ResultsRequestBody requestBody) Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation.getGovernanceDefinitionByGUID(String serverName, String urlMarker, String governanceDefinitionGUID, GetRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.getGovernanceDefinitionsByName(String serverName, String urlMarker, FilterRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.licenseElement(String serverName, String urlMarker, String elementGUID, String licenseTypeGUID, NewRelationshipRequestBody requestBody) Link an element to a license type and include details of the license in the relationship properties.linkApprovedPurpose(String serverName, String urlMarker, String elementGUID, String dataProcessingPurposeGUID, NewRelationshipRequestBody requestBody) Attach an approved purpose to an element.linkDesignToImplementation(String serverName, String urlMarker, String designGUID, String implementationGUID, NewRelationshipRequestBody requestBody) Attach a design object such as a solution component or governance definition to its implementation via the ImplementedBy relationship.linkException(String serverName, String urlMarker, String elementGUID, String exceptionTypeGUID, NewRelationshipRequestBody requestBody) Attach an element to an exception type that excludes it from a requirement.linkGovernanceResults(String serverName, String urlMarker, String governanceMetricGUID, String dataSourceGUID, NewRelationshipRequestBody requestBody) Attach a governance metric to an asset that represents the data store where the measurements are located.linkImplementationResource(String serverName, String urlMarker, String designGUID, String implementationResourceGUID, NewRelationshipRequestBody requestBody) Attach a design object such as a solution component or governance definition to one of its implementation resource via the ImplementationResource relationship.linkPeerDefinitions(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, NewRelationshipRequestBody requestBody) Attach two peer governance definitions.linkRegulationCertificationType(String serverName, String urlMarker, String regulationGUID, String certificationTypeGUID, NewRelationshipRequestBody requestBody) Attach a certification type to the regulation that requires it.removeGovernanceDefinitionFromElement(String serverName, String urlMarker, String elementGUID, String definitionGUID, DeleteRelationshipRequestBody requestBody) Remove the GovernedBy relationship between a governance definition and an element.removeRegulatorFromRegulation(String serverName, String urlMarker, String regulationGUID, String regulatorGUID, DeleteRelationshipRequestBody requestBody) Remove the Regulator relationship between a regulation governance definition and an organization.setControlPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a control point where a governance action is performed.setEnforcementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is an enforcement point where a governance requirement is enforced.setExecutionPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is an execution point where governance is executed.setPolicyAdministrationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy administration point where policies are created and maintained.setPolicyDecisionPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy decision point where a policy decision is made.setPolicyEnforcementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy enforcement point where a policy decision is applied.setPolicyInformationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy information point that supplies the information a policy decision needs.setPolicyManagementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy management point.setPolicyRetrievalPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy retrieval point where policies are retrieved for a decision.setVerificationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a verification point where a governance requirement is checked.unlicenseElement(String serverName, String urlMarker, String licenseGUID, DeleteRelationshipRequestBody requestBody) Remove the license for an element.updateCertification(String serverName, String urlMarker, String certificationGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a certification.updateException(String serverName, String urlMarker, String exceptionGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a exception relationship.updateGovernanceDefinition(String serverName, String urlMarker, String governanceDefinitionGUID, UpdateElementRequestBody requestBody) Update the properties of a governance definition.updateLicense(String serverName, String urlMarker, String licenseGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a license.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
GovernanceOfficerRESTServices
public GovernanceOfficerRESTServices()Default constructor
-
-
Method Details
-
createGovernanceDefinition
public GUIDResponse createGovernanceDefinition(String serverName, String urlMarker, NewElementRequestBody requestBody) Create a governance definition.- Parameters:
serverName- name of called server.urlMarker- view service URL markerrequestBody- properties for the governance definition.- Returns:
- unique identifier of the newly created element InvalidParameterException one of the parameters is invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createGovernanceDefinitionFromTemplate
public GUIDResponse createGovernanceDefinitionFromTemplate(String serverName, String urlMarker, TemplateRequestBody requestBody) Create a new metadata element to represent a governance definition using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.- Parameters:
serverName- calling userurlMarker- view service URL markerrequestBody- properties that override the template- Returns:
- unique identifier of the new metadata element InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
updateGovernanceDefinition
public BooleanResponse updateGovernanceDefinition(String serverName, String urlMarker, String governanceDefinitionGUID, UpdateElementRequestBody requestBody) Update the properties of a governance definition.- Parameters:
serverName- name of called server.urlMarker- view service URL markergovernanceDefinitionGUID- unique identifier of the governance definition (returned from create)requestBody- properties for the new element.- Returns:
- boolean or InvalidParameterException one of the parameters is invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkPeerDefinitions
public VoidResponse linkPeerDefinitions(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, NewRelationshipRequestBody requestBody) Attach two peer governance definitions.- Parameters:
serverName- name of called serverurlMarker- view service URL markergovernanceDefinitionOneGUID- unique identifier of the first governance definitiongovernanceDefinitionTwoGUID- unique identifier of the second governance definitionrelationshipTypeName- name of the relationship to userequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachPeerDefinitions
public VoidResponse detachPeerDefinitions(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, DeleteRelationshipRequestBody requestBody) Detach a governance definition from one of its peers.- Parameters:
serverName- name of called serverurlMarker- view service URL markergovernanceDefinitionOneGUID- unique identifier of the first governance definitiongovernanceDefinitionTwoGUID- unique identifier of the second governance definitionrelationshipTypeName- name of the relationship to userequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
attachSupportingDefinition
public VoidResponse attachSupportingDefinition(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, NewRelationshipRequestBody requestBody) Attach a supporting governance definition.- Parameters:
serverName- name of called serverurlMarker- view service URL markergovernanceDefinitionOneGUID- unique identifier of the first governance definitiongovernanceDefinitionTwoGUID- unique identifier of the second governance definitionrelationshipTypeName- name of the relationship to userequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSupportingDefinition
public VoidResponse detachSupportingDefinition(String serverName, String urlMarker, String governanceDefinitionOneGUID, String governanceDefinitionTwoGUID, String relationshipTypeName, DeleteRelationshipRequestBody requestBody) Detach a governance definition from a supporting governance definition.- Parameters:
serverName- name of called serverurlMarker- view service URL markergovernanceDefinitionOneGUID- unique identifier of the first governance definitiongovernanceDefinitionTwoGUID- unique identifier of the second governance definitionrelationshipTypeName- name of the relationship to userequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
addGovernanceDefinitionToElement
public VoidResponse addGovernanceDefinitionToElement(String serverName, String urlMarker, String elementGUID, String definitionGUID, NewRelationshipRequestBody requestBody) Link a governance definition to an element using the GovernedBy relationship.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the metadata element to linkdefinitionGUID- identifier of the governance definition to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
removeGovernanceDefinitionFromElement
public VoidResponse removeGovernanceDefinitionFromElement(String serverName, String urlMarker, String elementGUID, String definitionGUID, DeleteRelationshipRequestBody requestBody) Remove the GovernedBy relationship between a governance definition and an element.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the metadata element to updatedefinitionGUID- identifier of the governance definition to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
addRegulatorToRegulation
public VoidResponse addRegulatorToRegulation(String serverName, String urlMarker, String regulationGUID, String regulatorGUID, NewRelationshipRequestBody requestBody) Link a regulation governance definition to an organization using the Regulator relationship.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerregulationGUID- unique identifier of the regulationregulatorGUID- identifier of the organization to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
removeRegulatorFromRegulation
public VoidResponse removeRegulatorFromRegulation(String serverName, String urlMarker, String regulationGUID, String regulatorGUID, DeleteRelationshipRequestBody requestBody) Remove the Regulator relationship between a regulation governance definition and an organization.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerregulationGUID- unique identifier of the regulationregulatorGUID- identifier of the organization to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
linkGovernanceResults
public VoidResponse linkGovernanceResults(String serverName, String urlMarker, String governanceMetricGUID, String dataSourceGUID, NewRelationshipRequestBody requestBody) Attach a governance metric to an asset that represents the data store where the measurements are located.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markergovernanceMetricGUID- unique identifier of the metric to linkdataSourceGUID- identifier of the asset to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
detachGovernanceResults
public VoidResponse detachGovernanceResults(String serverName, String urlMarker, String governanceMetricGUID, String dataSourceGUID, DeleteRelationshipRequestBody requestBody) Detach a governance metric from an asset that represents the data store where the measurements are located.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markergovernanceMetricGUID- unique identifier of the metricdataSourceGUID- identifier of the asset to unlinkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
licenseElement
public GUIDResponse licenseElement(String serverName, String urlMarker, String elementGUID, String licenseTypeGUID, NewRelationshipRequestBody requestBody) Link an element to a license type and include details of the license in the relationship properties.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the element being licensedlicenseTypeGUID- unique identifier for the license typerequestBody- the properties of the license- Returns:
- guid or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
updateLicense
public VoidResponse updateLicense(String serverName, String urlMarker, String licenseGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a license. Remember to include the licenseId in the properties if the element has multiple licenses for the same license type.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerlicenseGUID- unique identifier for the license typerequestBody- the properties of the license- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
unlicenseElement
public VoidResponse unlicenseElement(String serverName, String urlMarker, String licenseGUID, DeleteRelationshipRequestBody requestBody) Remove the license for an element.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerlicenseGUID- unique identifier for the license typerequestBody- external source information.- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
certifyElement
public GUIDResponse certifyElement(String serverName, String urlMarker, String elementGUID, String certificationTypeGUID, NewRelationshipRequestBody requestBody) Link an element to a certification type and include details of the certification in the relationship properties.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the element being certifiedcertificationTypeGUID- unique identifier for the certification typerequestBody- the properties of the certification- Returns:
- guid or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
updateCertification
public VoidResponse updateCertification(String serverName, String urlMarker, String certificationGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a certification. Remember to include the certificationId in the properties if the element has multiple certifications for the same certification type.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markercertificationGUID- unique identifier for the certification typerequestBody- the properties of the certification- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
decertifyElement
public VoidResponse decertifyElement(String serverName, String urlMarker, String certificationGUID, DeleteRelationshipRequestBody requestBody) Remove the certification for an element.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markercertificationGUID- unique identifier for the certification typerequestBody- external source information.- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
deleteGovernanceDefinition
public VoidResponse deleteGovernanceDefinition(String serverName, String urlMarker, String governanceDefinitionGUID, DeleteElementRequestBody requestBody) Delete a governance definition.- Parameters:
serverName- name of called serverurlMarker- view service URL markergovernanceDefinitionGUID- unique identifier of the element to deleterequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
getGovernanceDefinitionsByName
public OpenMetadataRootElementsResponse getGovernanceDefinitionsByName(String serverName, String urlMarker, FilterRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
getGovernanceDefinitionByGUID
public OpenMetadataRootElementResponse getGovernanceDefinitionByGUID(String serverName, String urlMarker, String governanceDefinitionGUID, GetRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markergovernanceDefinitionGUID- unique identifier of the required elementrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
getGovernanceActionProcessGraph
public GovernanceActionProcessGraphResponse getGovernanceActionProcessGraph(String serverName, String urlMarker, String processGUID, ResultsRequestBody requestBody) Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerprocessGUID- unique identifier of the requested metadata elementrequestBody- effectiveTime- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
findGovernanceDefinitions
public OpenMetadataRootElementsResponse findGovernanceDefinitions(String serverName, String urlMarker, SearchStringRequestBody requestBody) Retrieve the list of governance definition metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tourlMarker- view service URL markerrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
linkDesignToImplementation
public VoidResponse linkDesignToImplementation(String serverName, String urlMarker, String designGUID, String implementationGUID, NewRelationshipRequestBody requestBody) Attach a design object such as a solution component or governance definition to its implementation via the ImplementedBy relationship. Request body is optional.- Parameters:
serverName- name of called serverurlMarker- view service URL markerdesignGUID- unique identifier of the design object such as a governance definition or solution componentimplementationGUID- unique identifier of the second governance definitionrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachDesignFromImplementation
public VoidResponse detachDesignFromImplementation(String serverName, String urlMarker, String designGUID, String implementationGUID, DeleteRelationshipRequestBody requestBody) Detach a governance definition from its implementation.- Parameters:
serverName- name of called serverurlMarker- view service URL markerdesignGUID- unique identifier of the design object such as a governance definition or solution componentimplementationGUID- unique identifier of the second governance definitionrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkImplementationResource
public VoidResponse linkImplementationResource(String serverName, String urlMarker, String designGUID, String implementationResourceGUID, NewRelationshipRequestBody requestBody) Attach a design object such as a solution component or governance definition to one of its implementation resource via the ImplementationResource relationship. Request body is optional.- Parameters:
serverName- name of called serverurlMarker- view service URL markerdesignGUID- unique identifier of the design object such as a governance definition or solution componentimplementationResourceGUID- unique identifier of the implementation resourcerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachImplementationResource
public VoidResponse detachImplementationResource(String serverName, String urlMarker, String designGUID, String implementationResourceGUID, DeleteRelationshipRequestBody requestBody) Detach a design object such as a governance definition or solution component from one of its implementation resources- Parameters:
serverName- name of called serverurlMarker- view service URL markerdesignGUID- unique identifier of the design object such as a governance definition or solution componentimplementationResourceGUID- unique identifier of the implementation resourcerequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkApprovedPurpose
public VoidResponse linkApprovedPurpose(String serverName, String urlMarker, String elementGUID, String dataProcessingPurposeGUID, NewRelationshipRequestBody requestBody) Attach an approved purpose to an element.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the element to linkdataProcessingPurposeGUID- identifier of the purpose to linkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
detachApprovedPurpose
public VoidResponse detachApprovedPurpose(String serverName, String urlMarker, String elementGUID, String dataProcessingPurposeGUID, DeleteRelationshipRequestBody requestBody) Detach an approved purpose from an element.- Parameters:
serverName- name of the server instance to connect tourlMarker- view service URL markerelementGUID- unique identifier of the elementdataProcessingPurposeGUID- identifier of the purpose to unlinkrequestBody- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
linkRegulationCertificationType
public VoidResponse linkRegulationCertificationType(String serverName, String urlMarker, String regulationGUID, String certificationTypeGUID, NewRelationshipRequestBody requestBody) Attach a certification type to the regulation that requires it.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerregulationGUID- unique identifier of the regulationcertificationTypeGUID- unique identifier of the certification type required by the regulationrequestBody- properties for the relationship- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachRegulationCertificationType
public VoidResponse detachRegulationCertificationType(String serverName, String urlMarker, String regulationGUID, String certificationTypeGUID, DeleteRelationshipRequestBody requestBody) Detach a certification type from the regulation that required it.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerregulationGUID- unique identifier of the regulationcertificationTypeGUID- unique identifier of the certification type required by the regulationrequestBody- delete options- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
linkException
public GUIDResponse linkException(String serverName, String urlMarker, String elementGUID, String exceptionTypeGUID, NewRelationshipRequestBody requestBody) Attach an element to an exception type that excludes it from a requirement. This is a multi-link relationship so a new relationship is always created and its unique identifier is returned.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the element that is excluded from the requirementexceptionTypeGUID- unique identifier of the exception typerequestBody- properties for the relationship- Returns:
- unique identifier of the new relationship or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
updateException
public VoidResponse updateException(String serverName, String urlMarker, String exceptionGUID, UpdateRelationshipRequestBody requestBody) Update the properties of a exception relationship.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerexceptionGUID- unique identifier of the relationshiprequestBody- properties for the relationship- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
detachException
public VoidResponse detachException(String serverName, String urlMarker, String exceptionGUID, DeleteRelationshipRequestBody requestBody) Detach an element from an exception type that excluded it from a requirement.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerexceptionGUID- unique identifier of the relationshiprequestBody- delete options- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setControlPoint
public VoidResponse setControlPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a control point where a governance action is performed.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearControlPoint
public VoidResponse clearControlPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the control point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setVerificationPoint
public VoidResponse setVerificationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a verification point where a governance requirement is checked.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearVerificationPoint
public VoidResponse clearVerificationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the verification point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setEnforcementPoint
public VoidResponse setEnforcementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is an enforcement point where a governance requirement is enforced.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearEnforcementPoint
public VoidResponse clearEnforcementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the enforcement point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setExecutionPoint
public VoidResponse setExecutionPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is an execution point where governance is executed.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearExecutionPoint
public VoidResponse clearExecutionPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the execution point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyAdministrationPoint
public VoidResponse setPolicyAdministrationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy administration point where policies are created and maintained.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyAdministrationPoint
public VoidResponse clearPolicyAdministrationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy administration point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyDecisionPoint
public VoidResponse setPolicyDecisionPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy decision point where a policy decision is made.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyDecisionPoint
public VoidResponse clearPolicyDecisionPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy decision point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyEnforcementPoint
public VoidResponse setPolicyEnforcementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy enforcement point where a policy decision is applied.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyEnforcementPoint
public VoidResponse clearPolicyEnforcementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy enforcement point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyInformationPoint
public VoidResponse setPolicyInformationPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy information point that supplies the information a policy decision needs.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyInformationPoint
public VoidResponse clearPolicyInformationPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy information point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyManagementPoint
public VoidResponse setPolicyManagementPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy management point.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyManagementPoint
public VoidResponse clearPolicyManagementPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy management point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
setPolicyRetrievalPoint
public VoidResponse setPolicyRetrievalPoint(String serverName, String urlMarker, String elementGUID, NewClassificationRequestBody requestBody) Classify an element to say that it is a policy retrieval point where policies are retrieved for a decision.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- properties for the classification- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-
clearPolicyRetrievalPoint
public VoidResponse clearPolicyRetrievalPoint(String serverName, String urlMarker, String elementGUID, DeleteClassificationRequestBody requestBody) Remove the policy retrieval point designation from an element.- Parameters:
serverName- name of the server to route the request tourlMarker- view service URL markerelementGUID- unique identifier of the elementrequestBody- options for the request- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException a problem reported in the open metadata server(s)
-