Class DisplayApplicationResource

java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.server.spring.DisplayApplicationResource

@RestController @RequestMapping("/servers/{serverName}/open-metadata/access-services/data-manager/users/{userId}") public class DisplayApplicationResource extends Object
DisplayApplicationResource is the server-side implementation of the Data Manager OMAS's support for forms, reports and queries. It matches the DisplayApplicationClient.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createDataContainer(String serverName, String userId, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerRequestBody requestBody)
    Create a new metadata element to represent a data field.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createDataContainerFromTemplate(String serverName, String userId, String templateGUID, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
    Create a new metadata element to represent a data field using an existing metadata element as a template.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createForm(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.FormRequestBody requestBody)
    Create a new metadata element to represent a form.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createFormFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
    Create a new metadata element to represent a form using an existing metadata element as a template.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createQuery(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.QueryRequestBody requestBody)
    Create a new metadata element to represent a query.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createQueryFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
    Create a new metadata element to represent a query using an existing metadata element as a template.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createReport(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.ReportRequestBody requestBody)
    Create a new metadata element to represent a report.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createReportFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
    Create a new metadata element to represent a report using an existing metadata element as a template.
    org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse
    findDataContainers(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of data field metadata elements that contain the search string.
    org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse
    findForms(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of form metadata elements that contain the search string.
    org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse
    findQueries(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of query metadata elements that contain the search string.
    org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse
    findReports(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of report metadata elements that contain the search string.
    org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerResponse
    getDataContainerByGUID(String serverName, String userId, String dataContainerGUID)
    Retrieve the data field metadata element with the supplied unique identifier.
    org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse
    getDataContainersByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of data field metadata elements with a matching qualified or display name.
    org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse
    getDataContainersForParent(String serverName, String userId, String parentGUID, int startFrom, int pageSize)
    Return the list of schemas associated with a parent element .
    org.odpi.openmetadata.accessservices.datamanager.rest.FormResponse
    getFormByGUID(String serverName, String userId, String formGUID)
    Retrieve the form metadata element with the supplied unique identifier.
    org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse
    getFormsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of form metadata elements with a matching qualified or display name.
    org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse
    getFormsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize)
    Retrieve the list of forms created by this caller.
    org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse
    getQueriesByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of query metadata elements with a matching qualified or display name.
    org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse
    getQueriesForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize)
    Retrieve the list of queries created by this caller.
    org.odpi.openmetadata.accessservices.datamanager.rest.QueryResponse
    getQueryByGUID(String serverName, String userId, String queryGUID)
    Retrieve the query metadata element with the supplied unique identifier.
    org.odpi.openmetadata.accessservices.datamanager.rest.ReportResponse
    getReportByGUID(String serverName, String userId, String reportGUID)
    Retrieve the report metadata element with the supplied unique identifier.
    org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse
    getReportsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize)
    Retrieve the list of report metadata elements with a matching qualified or display name.
    org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse
    getReportsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize)
    Retrieve the list of reports created by this caller.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    publishForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the form asset so that it becomes visible to consumers.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    publishQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the query asset so that it becomes visible to consumers.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    publishReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the report asset so that it becomes visible to consumers.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    removeDataContainer(String serverName, String userId, String dataContainerGUID, String qualifiedName, org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
    Remove the metadata element representing a data container.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    removeForm(String serverName, String userId, String formGUID, String qualifiedName, org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
    Remove the metadata element representing a form.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    removeQuery(String serverName, String userId, String queryGUID, String qualifiedName, org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
    Remove the metadata element representing a query.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    removeReport(String serverName, String userId, String reportGUID, String qualifiedName, org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
    Remove the metadata element representing a report.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateDataContainer(String serverName, String userId, String dataContainerGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerRequestBody requestBody)
    Update the metadata element representing a data field.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateForm(String serverName, String userId, String formGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.datamanager.rest.FormRequestBody requestBody)
    Update the metadata element representing a form.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateQuery(String serverName, String userId, String queryGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.datamanager.rest.QueryRequestBody requestBody)
    Update the metadata element representing a query.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateReport(String serverName, String userId, String reportGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.datamanager.rest.ReportRequestBody requestBody)
    Update the metadata element representing a report.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    withdrawForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the form asset so that it is no longer visible to consumers.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    withdrawQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the query asset so that it is no longer visible to consumers.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    withdrawReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
    Update the zones for the report asset so that it is no longer visible to consumers.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DisplayApplicationResource

      public DisplayApplicationResource()
      Default constructor
  • Method Details

    • createForm

      @PostMapping(path="/forms") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createForm(@PathVariable String serverName, @PathVariable String userId, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.FormRequestBody requestBody)
      Create a new metadata element to represent a form.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationIsHome - should the form be marked as owned by the application so others can not update?
      requestBody - properties to store
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createFormFromTemplate

      @PostMapping(path="/forms/by-template/{templateGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createFormFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
      Create a new metadata element to represent a form using an existing metadata element as a template.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      templateGUID - unique identifier of the metadata element to copy
      applicationIsHome - should the form be marked as owned by the application so others can not update?
      requestBody - properties that override the template
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • updateForm

      @PostMapping(path="/forms/{formGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateForm(@PathVariable String serverName, @PathVariable String userId, @PathVariable String formGUID, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.FormRequestBody requestBody)
      Update the metadata element representing a form.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      formGUID - unique identifier of the metadata element to update
      isMergeUpdate - should the new properties be merged with the existing properties of overlay them?
      requestBody - new properties for this element
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • publishForm

      @PostMapping(path="/forms/{formGUID}/publish") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishForm(@PathVariable String serverName, @PathVariable String userId, @PathVariable String formGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the form asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      formGUID - unique identifier of the metadata element to publish
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • withdrawForm

      @PostMapping(path="/forms/{formGUID}/withdraw") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawForm(@PathVariable String serverName, @PathVariable String userId, @PathVariable String formGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the form asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the form is first created).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      formGUID - unique identifier of the metadata element to withdraw
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • removeForm

      @PostMapping(path="/forms/{formGUID}/{qualifiedName}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeForm(@PathVariable String serverName, @PathVariable String userId, @PathVariable String formGUID, @PathVariable String qualifiedName, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
      Remove the metadata element representing a form.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      formGUID - unique identifier of the metadata element to remove
      qualifiedName - unique name of the metadata element to remove
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • findForms

      @PostMapping(path="/forms/by-search-string") public org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse findForms(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of form metadata elements that contain the search string. The search string is treated as a regular expression.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - string to find in the properties
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getFormsByName

      @PostMapping(path="/forms/by-name") public org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse getFormsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of form metadata elements with a matching qualified or display name. There are no wildcards supported on this request.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - name to search for
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getFormsForApplication

      @GetMapping(path="/forms/applications/{applicationGUID}/{applicationName}") public org.odpi.openmetadata.accessservices.datamanager.rest.FormsResponse getFormsForApplication(@PathVariable String serverName, @PathVariable String userId, @PathVariable String applicationGUID, @PathVariable String applicationName, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of forms created by this caller.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationGUID - unique identifier of software server capability representing the application
      applicationName - unique name of software server capability representing the application
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getFormByGUID

      @GetMapping(path="/forms/{formGUID}") public org.odpi.openmetadata.accessservices.datamanager.rest.FormResponse getFormByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String formGUID)
      Retrieve the form metadata element with the supplied unique identifier.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      formGUID - unique identifier of the requested metadata element
      Returns:
      matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createReport

      @PostMapping(path="/reports") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createReport(@PathVariable String serverName, @PathVariable String userId, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.ReportRequestBody requestBody)
      Create a new metadata element to represent a report.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationIsHome - should the report be marked as owned by the application so others can not update?
      requestBody - properties to store
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createReportFromTemplate

      @PostMapping(path="/reports/from-template/{templateGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createReportFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
      Create a new metadata element to represent a report using an existing metadata element as a template.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      templateGUID - unique identifier of the metadata element to copy
      applicationIsHome - should the report be marked as owned by the application so others can not update?
      requestBody - properties that override the template
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • updateReport

      @PostMapping(path="/reports/{reportGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateReport(@PathVariable String serverName, @PathVariable String userId, @PathVariable String reportGUID, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.ReportRequestBody requestBody)
      Update the metadata element representing a report.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      reportGUID - unique identifier of the metadata element to update
      isMergeUpdate - should the new properties be merged with the existing properties of overlay them?
      requestBody - new properties for this element
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • publishReport

      @PostMapping(path="/reports/{reportGUID}/publish") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishReport(@PathVariable String serverName, @PathVariable String userId, @PathVariable String reportGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the report asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      reportGUID - unique identifier of the metadata element to publish
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • withdrawReport

      @PostMapping(path="/reports/{reportGUID}/withdraw") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawReport(@PathVariable String serverName, @PathVariable String userId, @PathVariable String reportGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the report asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the report is first created).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      reportGUID - unique identifier of the metadata element to withdraw
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • removeReport

      @PostMapping(path="/reports/{reportGUID}/{qualifiedName}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeReport(@PathVariable String serverName, @PathVariable String userId, @PathVariable String reportGUID, @PathVariable String qualifiedName, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
      Remove the metadata element representing a report.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      reportGUID - unique identifier of the metadata element to remove
      qualifiedName - unique name of the metadata element to remove
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • findReports

      @PostMapping(path="/reports/by-search-string") public org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse findReports(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of report metadata elements that contain the search string. The search string is treated as a regular expression.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - string to find in the properties
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getReportsByName

      @PostMapping(path="/reports/by-name") public org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse getReportsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of report metadata elements with a matching qualified or display name. There are no wildcards supported on this request.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - name to search for
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getReportsForApplication

      @GetMapping(path="/reports/applications/{applicationGUID}/{applicationName}") public org.odpi.openmetadata.accessservices.datamanager.rest.ReportsResponse getReportsForApplication(@PathVariable String serverName, @PathVariable String userId, @PathVariable String applicationGUID, @PathVariable String applicationName, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of reports created by this caller.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationGUID - unique identifier of software server capability representing the application
      applicationName - unique name of software server capability representing the application
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getReportByGUID

      @GetMapping(path="/reports/{reportGUID}") public org.odpi.openmetadata.accessservices.datamanager.rest.ReportResponse getReportByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String reportGUID)
      Retrieve the report metadata element with the supplied unique identifier.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      reportGUID - unique identifier of the requested metadata element
      Returns:
      matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createQuery

      @PostMapping(path="/queries") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createQuery(@PathVariable String serverName, @PathVariable String userId, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.QueryRequestBody requestBody)
      Create a new metadata element to represent a query.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationIsHome - should the query be marked as owned by the application so others can not update?
      requestBody - properties to store
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createQueryFromTemplate

      @PostMapping(path="/queries/from-template/{templateGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createQueryFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
      Create a new metadata element to represent a query using an existing metadata element as a template.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      templateGUID - unique identifier of the metadata element to copy
      applicationIsHome - should the query be marked as owned by the application so others can not update?
      requestBody - properties that override the template
      Returns:
      unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • updateQuery

      @PostMapping(path="/queries/{queryGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateQuery(@PathVariable String serverName, @PathVariable String userId, @PathVariable String queryGUID, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.QueryRequestBody requestBody)
      Update the metadata element representing a query.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      queryGUID - unique identifier of the metadata element to update
      isMergeUpdate - should the new properties be merged with the existing properties of overlay them?
      requestBody - new properties for this element
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • publishQuery

      @PostMapping(path="/queries/{queryGUID}/publish") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishQuery(@PathVariable String serverName, @PathVariable String userId, @PathVariable String queryGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the query asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      queryGUID - unique identifier of the metadata element to publish
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • withdrawQuery

      @PostMapping(path="/queries/{queryGUID}/withdraw") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawQuery(@PathVariable String serverName, @PathVariable String userId, @PathVariable String queryGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody)
      Update the zones for the query asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the query is first created).
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      queryGUID - unique identifier of the metadata element to withdraw
      nullRequestBody - empty request body
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • removeQuery

      @PostMapping(path="/queries/{queryGUID}/{qualifiedName}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeQuery(@PathVariable String serverName, @PathVariable String userId, @PathVariable String queryGUID, @PathVariable String qualifiedName, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
      Remove the metadata element representing a query.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      queryGUID - unique identifier of the metadata element to remove
      qualifiedName - unique name of the metadata element to remove
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • findQueries

      @PostMapping(path="/queries/by-search-string") public org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse findQueries(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of query metadata elements that contain the search string. The search string is treated as a regular expression.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - string to find in the properties
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getQueriesByName

      @PostMapping(path="/queries/by-name") public org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse getQueriesByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of query metadata elements with a matching qualified or display name. There are no wildcards supported on this request.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - name to search for
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getQueriesForApplication

      @GetMapping(path="/queries/applications/{applicationGUID}/{applicationName}") public org.odpi.openmetadata.accessservices.datamanager.rest.QueriesResponse getQueriesForApplication(@PathVariable String serverName, @PathVariable String userId, @PathVariable String applicationGUID, @PathVariable String applicationName, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of queries created by this caller.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationGUID - unique identifier of software server capability representing the application
      applicationName - unique name of software server capability representing the application
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getQueryByGUID

      @GetMapping(path="/queries/{queryGUID}") public org.odpi.openmetadata.accessservices.datamanager.rest.QueryResponse getQueryByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String queryGUID)
      Retrieve the query metadata element with the supplied unique identifier.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      queryGUID - unique identifier of the requested metadata element
      Returns:
      matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createDataContainer

      @PostMapping(path="/schemas/elements/{parentGUID}/data-containers") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createDataContainer(@PathVariable String serverName, @PathVariable String userId, @PathVariable String parentGUID, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerRequestBody requestBody)
      Create a new metadata element to represent a data field.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      applicationIsHome - should the data field be marked as owned by the event broker so others can not update?
      parentGUID - unique identifier of the parent element where the schema is located
      requestBody - properties about the data field
      Returns:
      unique identifier of the new data field or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • createDataContainerFromTemplate

      @PostMapping(path="/schemas/elements/{parentGUID}/data-containers/from-template/{templateGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createDataContainerFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @PathVariable String parentGUID, @RequestParam boolean applicationIsHome, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody)
      Create a new metadata element to represent a data field using an existing metadata element as a template.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      templateGUID - unique identifier of the metadata element to copy
      parentGUID - unique identifier of the parent where the schema is located
      applicationIsHome - should the data field be marked as owned by the event broker so others can not update?
      requestBody - properties that override the template
      Returns:
      unique identifier of the new data field or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • updateDataContainer

      @PostMapping(path="/schemas/data-containers/{dataContainerGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateDataContainer(@PathVariable String serverName, @PathVariable String userId, @PathVariable String dataContainerGUID, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerRequestBody requestBody)
      Update the metadata element representing a data field.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      dataContainerGUID - unique identifier of the metadata element to update
      isMergeUpdate - are unspecified properties unchanged (true) or removed?
      requestBody - new properties for the metadata element
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • removeDataContainer

      @PostMapping(path="/schemas/data-containers/{dataContainerGUID}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeDataContainer(@PathVariable String serverName, @PathVariable String userId, @PathVariable String dataContainerGUID, @PathVariable String qualifiedName, @RequestBody org.odpi.openmetadata.accessservices.datamanager.rest.MetadataSourceRequestBody requestBody)
      Remove the metadata element representing a data container.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      dataContainerGUID - unique identifier of the metadata element to remove
      qualifiedName - unique name of the metadata element to remove
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • findDataContainers

      @PostMapping(path="/schemas/data-containers/by-search-string") public org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse findDataContainers(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of data field metadata elements that contain the search string. The search string is treated as a regular expression.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - string to find in the properties
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getDataContainersForParent

      @GetMapping(path="/schemas/data-containers/by-parent-element/{parentGUID}") public org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse getDataContainersForParent(@PathVariable String serverName, @PathVariable String userId, @PathVariable String parentGUID, @RequestParam int startFrom, @RequestParam int pageSize)
      Return the list of schemas associated with a parent element .
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      parentGUID - unique identifier of the parent element to query
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of metadata elements describing the schemas associated with the requested parent element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getDataContainersByName

      @PostMapping(path="/schemas/data-containers/by-name") public org.odpi.openmetadata.accessservices.datamanager.rest.DataContainersResponse getDataContainersByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize)
      Retrieve the list of data field metadata elements with a matching qualified or display name. There are no wildcards supported on this request.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      requestBody - name to search for
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
    • getDataContainerByGUID

      @GetMapping(path="/schemas/data-containers/{dataContainerGUID}") public org.odpi.openmetadata.accessservices.datamanager.rest.DataContainerResponse getDataContainerByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String dataContainerGUID)
      Retrieve the data field metadata element with the supplied unique identifier.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      dataContainerGUID - unique identifier of the requested metadata element
      Returns:
      requested metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)