Class ITInfrastructureResource
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.server.spring.ITInfrastructureResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/access-services/it-infrastructure/users/{userId}")
public class ITInfrastructureResource
extends Object
The ITInfrastructureResource provides the server-side implementation of the IT Infrastructure Open Metadata Assess Service (OMAS).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclearAssetConnection
(String serverName, String userId, String assetGUID, String connectionGUID, ExternalSourceRequestBody requestBody) Remove a relationship between an asset and its connection.clearConnectorType
(String serverName, String userId, String connectionGUID, String connectorTypeGUID, ExternalSourceRequestBody requestBody) Remove a relationship between a connection and a connector type.clearEmbeddedConnection
(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, ExternalSourceRequestBody requestBody) Remove a relationship between a virtual connection and an embedded connection.clearEndpoint
(String serverName, String userId, String connectionGUID, String endpointGUID, ExternalSourceRequestBody requestBody) Remove a relationship between a connection and an endpoint.createConnection
(String serverName, String userId, ConnectionRequestBody requestBody) Create a new metadata element to represent a connection.createConnectionFromTemplate
(String serverName, String userId, String templateGUID, TemplateRequestBody requestBody) Create a new metadata element to represent a connection using an existing metadata element as a template.createConnectorType
(String serverName, String userId, ConnectorTypeRequestBody requestBody) Create a new metadata element to represent a endpoint.createConnectorTypeFromTemplate
(String serverName, String userId, String templateGUID, TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.createEndpoint
(String serverName, String userId, String infrastructureGUID, EndpointRequestBody requestBody) Create a new metadata element to represent a endpoint.createEndpoint
(String serverName, String userId, EndpointRequestBody requestBody) Create a new metadata element to represent a endpoint.createEndpointFromTemplate
(String serverName, String userId, String infrastructureGUID, String networkAddress, String templateGUID, TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.createEndpointFromTemplate
(String serverName, String userId, String networkAddress, String templateGUID, TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.createServerAssetUse
(String serverName, String userId, String capabilityGUID, String assetGUID, boolean infrastructureManagerIsHome, ServerAssetUseRequestBody requestBody) Create a new metadata relationship to represent the use of an asset by a software capability.createSoftwareCapability
(String serverName, String userId, boolean infrastructureManagerIsHome, SoftwareCapabilityRequestBody requestBody) Create a new metadata element to represent a software capability.createSoftwareCapabilityFromTemplate
(String serverName, String userId, String templateGUID, boolean infrastructureManagerIsHome, TemplateRequestBody requestBody) Create a new metadata element to represent a software capability using an existing metadata element as a template.findConnections
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of connection metadata elements that contain the search string.findConnectorTypes
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of connector type metadata elements that contain the search string.findEndpoints
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements that contain the search string.findSoftwareCapabilities
(String serverName, String userId, int startFrom, int pageSize, SearchStringRequestBody requestBody) Retrieve the list of software capability metadata elements that contain the search string.getCapabilityUsesForAsset
(String serverName, String userId, String assetGUID, int startFrom, int pageSize, UseTypeRequestBody requestBody) Return the list of software capabilities that make use of a specific asset.getConnectionByGUID
(String serverName, String userId, String guid) Retrieve the connection metadata element with the supplied unique identifier.getConnectionsByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of connection metadata elements with a matching qualified or display name.getConnectorTypeByGUID
(String serverName, String userId, String guid) Retrieve the connector type metadata element with the supplied unique identifier.getConnectorTypesByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of connector type metadata elements with a matching qualified or display name.getEndpointByGUID
(String serverName, String userId, String guid) Retrieve the endpoint metadata element with the supplied unique identifier.getEndpointsByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements with a matching qualified or display name.getEndpointsByNetworkAddress
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements with a matching network address.getEndpointsForInfrastructure
(String serverName, String userId, String infrastructureGUID, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements that are attached to a specific infrastructure element.getOutTopicConnection
(String serverName, String userId, String callerId) Return the connection object for the IT Infrastructure OMAS's out topic.getServerAssetUseByGUID
(String serverName, String userId, String guid) Retrieve the server asset use type relationship with the supplied unique identifier.getServerAssetUsesForCapability
(String serverName, String userId, String capabilityGUID, int startFrom, int pageSize, UseTypeRequestBody requestBody) Return the list of server asset use relationships associated with a software capability.getServerAssetUsesForElements
(String serverName, String userId, String capabilityGUID, String assetGUID, int startFrom, int pageSize, EffectiveTimeRequestBody requestBody) Retrieve the list of relationships between a specific software capability and a specific asset.getSoftwareCapabilitiesByName
(String serverName, String userId, int startFrom, int pageSize, NameRequestBody requestBody) Retrieve the list of software capability metadata elements with a matching qualified or display name.getSoftwareCapabilityByGUID
(String serverName, String userId, String guid) Retrieve the software capability metadata element with the supplied unique identifier.removeConnection
(String serverName, String userId, String connectionGUID, ExternalSourceRequestBody requestBody) Remove the metadata element representing a connection.removeConnectorType
(String serverName, String userId, String connectorTypeGUID, ExternalSourceRequestBody requestBody) Remove the metadata element representing a connector type.removeEndpoint
(String serverName, String userId, String endpointGUID, ExternalSourceRequestBody requestBody) Remove the metadata element representing a endpoint.removeServerAssetUse
(String serverName, String userId, String serverAssetUseGUID, ExternalSourceRequestBody requestBody) Remove the metadata relationship to represent the use of an asset by a software capability.removeSoftwareCapability
(String serverName, String userId, String capabilityGUID, ExternalSourceRequestBody requestBody) Remove the metadata element representing a software capability.setupAssetConnection
(String serverName, String userId, String assetGUID, String connectionGUID, AssetConnectionRequestBody requestBody) Create a relationship between an asset and its connection.setupConnectorType
(String serverName, String userId, String connectionGUID, String connectorTypeGUID, ExternalSourceRequestBody requestBody) Create a relationship between a connection and a connector type.setupEmbeddedConnection
(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, EmbeddedConnectionRequestBody requestBody) Create a relationship between a virtual connection and an embedded connection.setupEndpoint
(String serverName, String userId, String connectionGUID, String endpointGUID, ExternalSourceRequestBody requestBody) Create a relationship between a connection and an endpoint.updateConnection
(String serverName, String userId, String connectionGUID, boolean isMergeUpdate, ConnectionRequestBody requestBody) Update the metadata element representing a connection.updateConnectorType
(String serverName, String userId, String connectorTypeGUID, boolean isMergeUpdate, ConnectorTypeRequestBody requestBody) Update the metadata element representing a endpoint.updateEndpoint
(String serverName, String userId, String endpointGUID, boolean isMergeUpdate, EndpointRequestBody requestBody) Update the metadata element representing a endpoint.updateServerAssetUse
(String serverName, String userId, String serverAssetUseGUID, boolean isMergeUpdate, ServerAssetUseRequestBody requestBody) Update the metadata relationship to represent the use of an asset by a software capability.updateSoftwareCapability
(String serverName, String userId, String capabilityGUID, boolean isMergeUpdate, SoftwareCapabilityRequestBody requestBody) Update the metadata element representing a software capability.
-
Constructor Details
-
ITInfrastructureResource
public ITInfrastructureResource()Default constructor
-
-
Method Details
-
getOutTopicConnection
@GetMapping(path="/topics/out-topic-connection/{callerId}") public OCFConnectionResponse getOutTopicConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String callerId) Return the connection object for the IT Infrastructure OMAS's out topic.- Parameters:
serverName
- name of the server to route the request touserId
- identifier of calling usercallerId
- unique identifier for the caller- Returns:
- connection object for the out topic or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem retrieving the discovery engine definition.
-
createConnection
@PostMapping(path="/connections") public GUIDResponse createConnection(@PathVariable String serverName, @PathVariable String userId, @RequestBody ConnectionRequestBody requestBody) Create a new metadata element to represent a connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- 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)
-
createConnectionFromTemplate
@PostMapping(path="/connections/from-template/{templateGUID}") public GUIDResponse createConnectionFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a connection using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usertemplateGUID
- unique identifier of the metadata element to copyrequestBody
- 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)
-
updateConnection
@PostMapping(path="/connections/{connectionGUID}") public VoidResponse updateConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @RequestParam boolean isMergeUpdate, @RequestBody ConnectionRequestBody requestBody) Update the metadata element representing a connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the metadata element to updateisMergeUpdate
- 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)
-
setupConnectorType
@PostMapping(path="/connections/{connectionGUID}/connector-types/{connectorTypeGUID}") public VoidResponse setupConnectorType(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String connectorTypeGUID, @RequestBody ExternalSourceRequestBody requestBody) Create a relationship between a connection and a connector type.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the connection in the external data managerconnectorTypeGUID
- unique identifier of the connector type in the external data managerrequestBody
- data manager 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)
-
clearConnectorType
@PostMapping(path="/connections/{connectionGUID}/connector-types/{connectorTypeGUID}/delete") public VoidResponse clearConnectorType(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String connectorTypeGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove a relationship between a connection and a connector type.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the connection in the external data managerconnectorTypeGUID
- unique identifier of the connector type in the external data managerrequestBody
- data manager 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)
-
setupEndpoint
@PostMapping(path="/connections/{connectionGUID}/endpoints/{endpointGUID}") public VoidResponse setupEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String endpointGUID, @RequestBody ExternalSourceRequestBody requestBody) Create a relationship between a connection and an endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the connection in the external data managerendpointGUID
- unique identifier of the endpoint in the external data managerrequestBody
- data manager 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)
-
clearEndpoint
@PostMapping(path="/connections/{connectionGUID}/endpoints/{endpointGUID}/delete") public VoidResponse clearEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String endpointGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove a relationship between a connection and an endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the connection in the external data managerendpointGUID
- unique identifier of the endpoint in the external data managerrequestBody
- data manager 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)
-
setupEmbeddedConnection
@PostMapping(path="/connections/{connectionGUID}/embedded-connections/{embeddedConnectionGUID}") public VoidResponse setupEmbeddedConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String embeddedConnectionGUID, @RequestBody EmbeddedConnectionRequestBody requestBody) Create a relationship between a virtual connection and an embedded connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the virtual connection in the external data managerembeddedConnectionGUID
- unique identifier of the embedded connection in the external data managerrequestBody
- data manager identifiers and properties for the embedded connection- 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)
-
clearEmbeddedConnection
@PostMapping(path="/connections/{connectionGUID}/embedded-connections/{embeddedConnectionGUID}/delete") public VoidResponse clearEmbeddedConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @PathVariable String embeddedConnectionGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove a relationship between a virtual connection and an embedded connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the virtual connection in the external data managerembeddedConnectionGUID
- unique identifier of the embedded connection in the external data managerrequestBody
- data manager 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)
-
setupAssetConnection
@PostMapping(path="assets/{assetGUID}/connections/{connectionGUID}") public VoidResponse setupAssetConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String assetGUID, @PathVariable String connectionGUID, @RequestBody AssetConnectionRequestBody requestBody) Create a relationship between an asset and its connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userassetGUID
- unique identifier of the assetconnectionGUID
- unique identifier of the connectionrequestBody
- data manager identifiers and asset summary- 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)
-
clearAssetConnection
@PostMapping(path="assets/{assetGUID}/connections/{connectionGUID}/delete") public VoidResponse clearAssetConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String assetGUID, @PathVariable String connectionGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove a relationship between an asset and its connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userassetGUID
- unique identifier of the assetconnectionGUID
- unique identifier of the connectionrequestBody
- data manager 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)
-
removeConnection
@PostMapping(path="/connections/{connectionGUID}/delete") public VoidResponse removeConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectionGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove the metadata element representing a connection.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectionGUID
- unique identifier of the metadata element to removerequestBody
- 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)
-
findConnections
@PostMapping(path="/connections/by-search-string") public ConnectionsResponse findConnections(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of connection 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 userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- 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)
-
getConnectionsByName
@PostMapping(path="/connections/by-name") public ConnectionsResponse getConnectionsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of connection 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 userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- 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)
-
getConnectionByGUID
@GetMapping(path="/connections/{guid}") public ConnectionResponse getConnectionByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid) Retrieve the connection metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userguid
- 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)
-
createConnectorType
@PostMapping(path="/connector-types") public GUIDResponse createConnectorType(@PathVariable String serverName, @PathVariable String userId, @RequestBody ConnectorTypeRequestBody requestBody) Create a new metadata element to represent a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- properties about the endpoint- Returns:
- unique identifier of the new endpoint 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)
-
createConnectorTypeFromTemplate
@PostMapping(path="/connector-types/from-template/{templateGUID}") public GUIDResponse createConnectorTypeFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usertemplateGUID
- unique identifier of the metadata element to copyrequestBody
- properties that override the template- Returns:
- unique identifier of the new endpoint 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)
-
updateConnectorType
@PostMapping(path="/connector-types/{connectorTypeGUID}") public VoidResponse updateConnectorType(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectorTypeGUID, @RequestParam boolean isMergeUpdate, @RequestBody ConnectorTypeRequestBody requestBody) Update the metadata element representing a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectorTypeGUID
- unique identifier of the metadata element to updateisMergeUpdate
- 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)
-
removeConnectorType
@PostMapping(path="/connector-types/{connectorTypeGUID}/delete") public VoidResponse removeConnectorType(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectorTypeGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove the metadata element representing a connector type.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userconnectorTypeGUID
- unique identifier of the metadata element to removerequestBody
- 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)
-
findConnectorTypes
@PostMapping(path="/connector-types/by-search-string") public ConnectorTypesResponse findConnectorTypes(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of connector type 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 userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- 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)
-
getConnectorTypesByName
@PostMapping(path="/connector-types/by-name") public ConnectorTypesResponse getConnectorTypesByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of connector type 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 userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- 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)
-
getConnectorTypeByGUID
@GetMapping(path="/connector-types/{guid}") public ConnectorTypeResponse getConnectorTypeByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid) Retrieve the connector type metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userguid
- 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)
-
createEndpoint
@PostMapping(path="/endpoints") public GUIDResponse createEndpoint(@PathVariable String serverName, @PathVariable String userId, @RequestBody EndpointRequestBody requestBody) Create a new metadata element to represent a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- properties about the endpoint- Returns:
- unique identifier of the new endpoint 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)
-
createEndpoint
@PostMapping(path="/endpoints/for-infrastructure/{infrastructureGUID}") public GUIDResponse createEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String infrastructureGUID, @RequestBody EndpointRequestBody requestBody) Create a new metadata element to represent a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userinfrastructureGUID
- unique identifier of the infrastructure element that has this endpointrequestBody
- properties about the endpoint- Returns:
- unique identifier of the new endpoint 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)
-
createEndpointFromTemplate
@PostMapping(path="/endpoints/network-address/{networkAddress}/from-template/{templateGUID}") public GUIDResponse createEndpointFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String networkAddress, @PathVariable String templateGUID, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usernetworkAddress
- location of the endpointtemplateGUID
- unique identifier of the metadata element to copyrequestBody
- properties that override the template- Returns:
- unique identifier of the new endpoint 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)
-
createEndpointFromTemplate
@PostMapping(path="/endpoints/for-infrastructure/{infrastructureGUID}/network-address/{networkAddress}/from-template/{templateGUID}") public GUIDResponse createEndpointFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String infrastructureGUID, @PathVariable String networkAddress, @PathVariable String templateGUID, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a endpoint using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userinfrastructureGUID
- unique identifier of the infrastructure element that has this endpointnetworkAddress
- location of the endpointtemplateGUID
- unique identifier of the metadata element to copyrequestBody
- properties that override the template- Returns:
- unique identifier of the new endpoint 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)
-
updateEndpoint
@PostMapping(path="/endpoints/{endpointGUID}") public VoidResponse updateEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String endpointGUID, @RequestParam boolean isMergeUpdate, @RequestBody EndpointRequestBody requestBody) Update the metadata element representing a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userendpointGUID
- unique identifier of the metadata element to updateisMergeUpdate
- 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)
-
removeEndpoint
@PostMapping(path="/endpoints/{endpointGUID}/delete") public VoidResponse removeEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String endpointGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove the metadata element representing a endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userendpointGUID
- unique identifier of the metadata element to removerequestBody
- 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)
-
findEndpoints
@PostMapping(path="/endpoints/by-search-string") public EndpointsResponse findEndpoints(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of endpoint 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 userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- 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)
-
getEndpointsByName
@PostMapping(path="/endpoints/by-name") public EndpointsResponse getEndpointsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of endpoint 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 userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- 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)
-
getEndpointsByNetworkAddress
@PostMapping(path="/endpoints/by-network-address") public EndpointsResponse getEndpointsByNetworkAddress(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements with a matching network address.- Parameters:
serverName
- name of calling serveruserId
- calling userrequestBody
- url to search forstartFrom
- paging start pointpageSize
- 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 make this request or PropertyServerException the repository is not available or not working properly.
-
getEndpointsForInfrastructure
@GetMapping(path="/endpoints/for-infrastructure/{infrastructureGUID}") public EndpointsResponse getEndpointsForInfrastructure(@PathVariable String serverName, @PathVariable String userId, @PathVariable String infrastructureGUID, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of endpoint metadata elements that are attached to a specific infrastructure element.- Parameters:
serverName
- name of calling serveruserId
- calling userinfrastructureGUID
- element to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- 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 there is a problem reported in the open metadata server(s)
-
getEndpointByGUID
@GetMapping(path="/endpoints/{guid}") public EndpointResponse getEndpointByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid) Retrieve the endpoint metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userguid
- 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)
-
createSoftwareCapability
@PostMapping(path="/software-capabilities") public GUIDResponse createSoftwareCapability(@PathVariable String serverName, @PathVariable String userId, @RequestParam boolean infrastructureManagerIsHome, @RequestBody SoftwareCapabilityRequestBody requestBody) Create a new metadata element to represent a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userinfrastructureManagerIsHome
- should the software capability be marked as owned by the infrastructure manager 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 UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createSoftwareCapabilityFromTemplate
@PostMapping(path="/software-capabilities/from-template/{templateGUID}") public GUIDResponse createSoftwareCapabilityFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestParam boolean infrastructureManagerIsHome, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a software capability using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userinfrastructureManagerIsHome
- should the software capability be marked as owned by the infrastructure manager so others can not update?templateGUID
- unique identifier of the metadata element to copyrequestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateSoftwareCapability
@PostMapping(path="/software-capabilities/{capabilityGUID}") public VoidResponse updateSoftwareCapability(@PathVariable String serverName, @PathVariable String userId, @PathVariable String capabilityGUID, @RequestParam boolean isMergeUpdate, @RequestBody SoftwareCapabilityRequestBody requestBody) Update the metadata element representing a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usercapabilityGUID
- unique identifier of the metadata element to updateisMergeUpdate
- are unspecified properties unchanged (true) or removed?requestBody
- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeSoftwareCapability
@PostMapping(path="/software-capabilities/{capabilityGUID}/delete") public VoidResponse removeSoftwareCapability(@PathVariable String serverName, @PathVariable String userId, @PathVariable String capabilityGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove the metadata element representing a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usercapabilityGUID
- unique identifier of the metadata element to removerequestBody
- unique identifier of software capability representing the caller- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findSoftwareCapabilities
@PostMapping(path="/software-capabilities/by-search-string") public SoftwareCapabilitiesResponse findSoftwareCapabilities(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody SearchStringRequestBody requestBody) Retrieve the list of software capability 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 userstartFrom
- paging start pointpageSize
- maximum results that can be returnedrequestBody
- 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 there is a problem reported in the open metadata server(s)
-
getSoftwareCapabilitiesByName
@PostMapping(path="/software-capabilities/by-name") public SoftwareCapabilitiesResponse getSoftwareCapabilitiesByName(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody NameRequestBody requestBody) Retrieve the list of software capability 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 userstartFrom
- paging start pointpageSize
- maximum results that can be returnedrequestBody
- values to search for- 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 there is a problem reported in the open metadata server(s)
-
getSoftwareCapabilityByGUID
@GetMapping(path="/software-capabilities/{guid}") public SoftwareCapabilityResponse getSoftwareCapabilityByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid) Retrieve the software capability metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userguid
- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createServerAssetUse
@PostMapping(path="/server-asset-uses/software-capabilities/{capabilityGUID}/assets/{assetGUID}") public GUIDResponse createServerAssetUse(@PathVariable String serverName, @PathVariable String userId, @PathVariable String capabilityGUID, @PathVariable String assetGUID, @RequestParam boolean infrastructureManagerIsHome, @RequestBody ServerAssetUseRequestBody requestBody) Create a new metadata relationship to represent the use of an asset by a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userinfrastructureManagerIsHome
- should the software capability be marked as owned by the infrastructure manager so others can not update?capabilityGUID
- unique identifier of a software capabilityassetGUID
- unique identifier of an assetrequestBody
- properties about the ServerAssetUse relationship- Returns:
- unique identifier of the new ServerAssetUse relationship or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateServerAssetUse
@PostMapping(path="/server-asset-uses/{serverAssetUseGUID}") public VoidResponse updateServerAssetUse(@PathVariable String serverName, @PathVariable String userId, @PathVariable String serverAssetUseGUID, @RequestParam boolean isMergeUpdate, @RequestBody ServerAssetUseRequestBody requestBody) Update the metadata relationship to represent the use of an asset by a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userserverAssetUseGUID
- unique identifier of the relationship between a software capability and an assetisMergeUpdate
- are unspecified properties unchanged (true) or removed?requestBody
- new properties for the ServerAssetUse relationship- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeServerAssetUse
@PostMapping(path="/server-asset-uses/{serverAssetUseGUID}/delete") public VoidResponse removeServerAssetUse(@PathVariable String serverName, @PathVariable String userId, @PathVariable String serverAssetUseGUID, @RequestBody ExternalSourceRequestBody requestBody) Remove the metadata relationship to represent the use of an asset by a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userserverAssetUseGUID
- unique identifier of the relationship between a software capability and an assetrequestBody
- unique identifier of software capability representing the caller- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getServerAssetUsesForCapability
@PostMapping(path="/server-asset-uses/software-capabilities/{capabilityGUID}") public ServerAssetUsesResponse getServerAssetUsesForCapability(@PathVariable String serverName, @PathVariable String userId, @PathVariable String capabilityGUID, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody UseTypeRequestBody requestBody) Return the list of server asset use relationships associated with a software capability.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usercapabilityGUID
- unique identifier of the software capability to querystartFrom
- paging start pointpageSize
- maximum results that can be returnedrequestBody
- values to search for.- Returns:
- list of matching relationships or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getCapabilityUsesForAsset
@PostMapping(path="/server-asset-uses/assets/{assetGUID}") public ServerAssetUsesResponse getCapabilityUsesForAsset(@PathVariable String serverName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody UseTypeRequestBody requestBody) Return the list of software capabilities that make use of a specific asset.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userassetGUID
- unique identifier of the asset to querystartFrom
- paging start pointpageSize
- maximum results that can be returnedrequestBody
- values to search for- Returns:
- list of matching relationships or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getServerAssetUsesForElements
@PostMapping(path="/server-asset-uses/software-capabilities/{capabilityGUID}/assets/{assetGUID}/by-elements") public ServerAssetUsesResponse getServerAssetUsesForElements(@PathVariable String serverName, @PathVariable String userId, @PathVariable String capabilityGUID, @PathVariable String assetGUID, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody EffectiveTimeRequestBody requestBody) Retrieve the list of relationships between a specific software capability and a specific asset.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usercapabilityGUID
- unique identifier of a software capabilityassetGUID
- unique identifier of an assetstartFrom
- paging start pointpageSize
- maximum results that can be returnedrequestBody
- effective time for the query- Returns:
- list of matching relationships or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getServerAssetUseByGUID
@GetMapping(path="/server-asset-uses/{guid}") public ServerAssetUseResponse getServerAssetUseByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid) Retrieve the server asset use type relationship with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userguid
- unique identifier of the requested metadata element- Returns:
- requested relationship or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-