Class SolutionArchitectResource
java.lang.Object
org.odpi.openmetadata.viewservices.solutionarchitect.server.spring.SolutionArchitectResource
@RestController
@RequestMapping("/servers/{serverName}/api/open-metadata/solution-architect")
public class SolutionArchitectResource
extends Object
The SolutionArchitectResource provides part of the server-side implementation of the Solution Architect OMVS.
=
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomposeInformationSupplyChains
(String serverName, String informationSupplyChainGUID, String nestedInformationSupplyChainGUID, NewRelationshipRequestBody requestBody) Connect a nested information supply chain to its parent.createInformationSupplyChain
(String serverName, NewElementRequestBody requestBody) Create an information supply chain.createInformationSupplyChainFromTemplate
(String serverName, TemplateRequestBody requestBody) Create a new metadata element to represent an information supply chain using an existing metadata element as a template.createSolutionBlueprint
(String serverName, NewElementRequestBody requestBody) Create a solution blueprint.createSolutionBlueprintFromTemplate
(String serverName, TemplateRequestBody requestBody) Create a new metadata element to represent a solution blueprint using an existing metadata element as a template.createSolutionComponent
(String serverName, NewElementRequestBody requestBody) Create a solution component.createSolutionComponentFromTemplate
(String serverName, TemplateRequestBody requestBody) Create a new metadata element to represent a solution component using an existing metadata element as a template.decomposeInformationSupplyChains
(String serverName, String informationSupplyChainGUID, String nestedInformationSupplyChainGUID, DeleteRequestBody requestBody) Detach a nested information supply chain from its parent.deleteInformationSupplyChain
(String serverName, String informationSupplyChainGUID, DeleteRequestBody requestBody) Delete an information supply chain.deleteSolutionBlueprint
(String serverName, String solutionBlueprintGUID, DeleteRequestBody requestBody) Delete a solution blueprint.deleteSolutionComponent
(String serverName, String solutionComponentGUID, DeleteRequestBody requestBody) Delete a solution component.detachSolutionComponentActor
(String serverName, String solutionRoleGUID, String solutionComponentGUID, DeleteRequestBody requestBody) Detach a solution component from a solution role.detachSolutionComponentFromBlueprint
(String serverName, String parentSolutionBlueprintGUID, String solutionComponentGUID, DeleteRequestBody requestBody) Detach a solution component from a solution blueprint.detachSolutionDesign
(String serverName, String parentGUID, String solutionBlueprintGUID, DeleteRequestBody requestBody) Detach a solution blueprint from the element it describes.detachSolutionLinkingWire
(String serverName, String solutionComponentOneGUID, String solutionComponentTwoGUID, DeleteRequestBody requestBody) Detach a solution component from a peer solution component.detachSubcomponent
(String serverName, String parentSolutionComponentGUID, String subcomponentGUID, DeleteRequestBody requestBody) Detach a solution component from a solution component.findInformationSupplyChains
(String serverName, boolean addImplementation, SearchStringRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.findSolutionBlueprints
(String serverName, SearchStringRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.findSolutionComponents
(String serverName, SearchStringRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.getInformationSupplyChainByGUID
(String serverName, String informationSupplyChainGUID, boolean addImplementation, GetRequestBody requestBody) Return the properties of a specific information supply chain.getInformationSupplyChainsByName
(String serverName, boolean addImplementation, FilterRequestBody requestBody) Returns the list of information supply chains with a particular name.getSolutionBlueprintByGUID
(String serverName, String solutionBlueprintGUID, GetRequestBody requestBody) Return the properties of a specific solution blueprint.getSolutionBlueprintsByName
(String serverName, FilterRequestBody requestBody) Returns the list of solution blueprints with a particular name.getSolutionComponentByGUID
(String serverName, String solutionComponentGUID, GetRequestBody requestBody) Return the properties of a specific solution component.getSolutionComponentImplementations
(String serverName, String solutionComponentGUID, ResultsRequestBody requestBody) Retrieve the list of metadata elements that are associated with the solution component via the ImplementedBy relationship.getSolutionComponentsByName
(String serverName, FilterRequestBody requestBody) Returns the list of solution components with a particular name.linkPeersInInformationSupplyChain
(String serverName, String peerOneGUID, String peerTwoGUID, NewRelationshipRequestBody requestBody) Connect two peers in an information supply chains.linkSolutionComponentActor
(String serverName, String solutionRoleGUID, String dataFieldGUID, NewRelationshipRequestBody requestBody) Attach a solution component to a solution role.linkSolutionComponentToBlueprint
(String serverName, String parentSolutionBlueprintGUID, String solutionComponentGUID, NewRelationshipRequestBody requestBody) Attach a solution component to a solution blueprint.linkSolutionDesign
(String serverName, String parentGUID, String solutionBlueprintGUID, NewRelationshipRequestBody requestBody) Attach a solution blueprint to the element that is describes.linkSolutionLinkingWire
(String serverName, String solutionComponentOneGUID, String solutionComponentTwoGUID, NewRelationshipRequestBody requestBody) Attach a solution component to a solution component as a peer in a solution.linkSubcomponent
(String serverName, String solutionComponentGUID, String subcomponentGUID, NewRelationshipRequestBody requestBody) Attach a solution component to a nested solution component.unlinkPeerInformationSupplyChains
(String serverName, String peerOneGUID, String peerTwoGUID, DeleteRequestBody requestBody) Detach two peers in an information supply chain from one another.updateInformationSupplyChain
(String serverName, String informationSupplyChainGUID, UpdateElementRequestBody requestBody) Update the properties of an information supply chain.updateSolutionBlueprint
(String serverName, String solutionBlueprintGUID, UpdateElementRequestBody requestBody) Update the properties of a solution blueprint.updateSolutionComponent
(String serverName, String solutionComponentGUID, UpdateElementRequestBody requestBody) Update the properties of a solution component.
-
Constructor Details
-
SolutionArchitectResource
public SolutionArchitectResource()Default constructor
-
-
Method Details
-
createInformationSupplyChain
@PostMapping(path="/information-supply-chains") public GUIDResponse createInformationSupplyChain(@PathVariable String serverName, @RequestBody(required=false) NewElementRequestBody requestBody) Create an information supply chain.- Parameters:
serverName
- name of called server.requestBody
- properties for the information supply chain.- Returns:
- unique identifier of the newly created element InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createInformationSupplyChainFromTemplate
@PostMapping(path="/information-supply-chains/from-template") public GUIDResponse createInformationSupplyChainFromTemplate(@PathVariable String serverName, @RequestBody(required=false) TemplateRequestBody requestBody) Create a new metadata element to represent an information supply chain using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.- Parameters:
serverName
- calling userrequestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateInformationSupplyChain
@PostMapping(path="/information-supply-chains/{informationSupplyChainGUID}/update") public VoidResponse updateInformationSupplyChain(@PathVariable String serverName, @PathVariable String informationSupplyChainGUID, @RequestBody(required=false) UpdateElementRequestBody requestBody) Update the properties of an information supply chain.- Parameters:
serverName
- name of called server.informationSupplyChainGUID
- unique identifier of the information supply chain (returned from create)requestBody
- properties for the new element.- Returns:
- void or InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkPeersInInformationSupplyChain
@PostMapping(path="/information-supply-chains/{peerOneGUID}/peer-links/{peerTwoGUID}/attach") public VoidResponse linkPeersInInformationSupplyChain(@PathVariable String serverName, @PathVariable String peerOneGUID, @PathVariable String peerTwoGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Connect two peers in an information supply chains. The linked elements are of type 'Referenceable' to allow significant data stores to be included in the definition of the information supply chain.- Parameters:
serverName
- name of called serverpeerOneGUID
- unique identifier of the end one element in the relationshippeerTwoGUID
- unique identifier of the end two element in the relationshiprequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
unlinkPeerInformationSupplyChains
@PostMapping(path="/information-supply-chains/{peerOneGUID}/peer-links/{peerTwoGUID}/detach") public VoidResponse unlinkPeerInformationSupplyChains(@PathVariable String serverName, @PathVariable String peerOneGUID, @PathVariable String peerTwoGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach two peers in an information supply chain from one another. The linked elements are of type 'Referenceable' to allow significant data stores to be included in the definition of the information supply chain.- Parameters:
serverName
- name of called serverpeerOneGUID
- unique identifier of the end one element in the relationshippeerTwoGUID
- unique identifier of the end two element in the relationshiprequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
composeInformationSupplyChains
@PostMapping(path="/information-supply-chains/{informationSupplyChainGUID}/compositions/{nestedInformationSupplyChainGUID}/attach") public VoidResponse composeInformationSupplyChains(@PathVariable String serverName, @PathVariable String informationSupplyChainGUID, @PathVariable String nestedInformationSupplyChainGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Connect a nested information supply chain to its parent.- Parameters:
serverName
- name of called serverinformationSupplyChainGUID
- unique identifier of the parent information supply chainnestedInformationSupplyChainGUID
- unique identifier of the child information supply chainrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
decomposeInformationSupplyChains
@PostMapping(path="/information-supply-chains/{informationSupplyChainGUID}/compositions/{nestedInformationSupplyChainGUID}/detach") public VoidResponse decomposeInformationSupplyChains(@PathVariable String serverName, @PathVariable String informationSupplyChainGUID, @PathVariable String nestedInformationSupplyChainGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a nested information supply chain from its parent.- Parameters:
serverName
- name of called serverinformationSupplyChainGUID
- unique identifier of the parent information supply chainnestedInformationSupplyChainGUID
- unique identifier of the child information supply chainrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
deleteInformationSupplyChain
@PostMapping(path="/information-supply-chains/{informationSupplyChainGUID}/delete") public VoidResponse deleteInformationSupplyChain(@PathVariable String serverName, @PathVariable String informationSupplyChainGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Delete an information supply chain.- Parameters:
serverName
- name of called serverinformationSupplyChainGUID
- unique identifier of the element to deleterequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
getInformationSupplyChainsByName
@PostMapping(path="/information-supply-chains/by-name") public InformationSupplyChainsResponse getInformationSupplyChainsByName(@PathVariable String serverName, @RequestParam(required=false,defaultValue="true") boolean addImplementation, @RequestBody(required=false) FilterRequestBody requestBody) Returns the list of information supply chains with a particular name.- Parameters:
serverName
- name of the service to route the request toaddImplementation
- should details of the implementation of the information supply chain be extracted too?requestBody
- 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)
-
findInformationSupplyChains
@PostMapping(path="/information-supply-chains/by-search-string") public InformationSupplyChainsResponse findInformationSupplyChains(@PathVariable String serverName, @RequestParam(required=false,defaultValue="true") boolean addImplementation, @RequestBody(required=false) SearchStringRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.- Parameters:
serverName
- name of the service to route the request toaddImplementation
- should details of the implementation of the information supply chain be extracted too?requestBody
- 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)
-
getInformationSupplyChainByGUID
@PostMapping(path="/information-supply-chains/{informationSupplyChainGUID}/retrieve") public InformationSupplyChainResponse getInformationSupplyChainByGUID(@PathVariable String serverName, @PathVariable String informationSupplyChainGUID, @RequestParam(required=false,defaultValue="true") boolean addImplementation, @RequestBody(required=false) GetRequestBody requestBody) Return the properties of a specific information supply chain.- Parameters:
serverName
- name of the service to route the request toinformationSupplyChainGUID
- unique identifier of the required elementaddImplementation
- should details of the implementation of the information supply chain be extracted too?requestBody
- 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)
-
createSolutionBlueprint
@PostMapping(path="/solution-blueprints") public GUIDResponse createSolutionBlueprint(@PathVariable String serverName, @RequestBody(required=false) NewElementRequestBody requestBody) Create a solution blueprint.- Parameters:
serverName
- name of called server.requestBody
- properties for the solution blueprint.- Returns:
- unique identifier of the newly created element InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createSolutionBlueprintFromTemplate
@PostMapping(path="/solution-blueprints/from-template") public GUIDResponse createSolutionBlueprintFromTemplate(@PathVariable String serverName, @RequestBody(required=false) TemplateRequestBody requestBody) Create a new metadata element to represent a solution blueprint using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.- Parameters:
serverName
- calling userrequestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateSolutionBlueprint
@PostMapping(path="/solution-blueprints/{solutionBlueprintGUID}/update") public VoidResponse updateSolutionBlueprint(@PathVariable String serverName, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) UpdateElementRequestBody requestBody) Update the properties of a solution blueprint.- Parameters:
serverName
- name of called server.solutionBlueprintGUID
- unique identifier of the solution blueprint (returned from create)requestBody
- properties for the new element.- Returns:
- void or InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkSolutionComponentToBlueprint
@PostMapping(path="/solution-blueprints/{parentSolutionBlueprintGUID}/solution-components/{solutionComponentGUID}/attach") public VoidResponse linkSolutionComponentToBlueprint(@PathVariable String serverName, @PathVariable String parentSolutionBlueprintGUID, @PathVariable String solutionComponentGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach a solution component to a solution blueprint.- Parameters:
serverName
- name of called serverparentSolutionBlueprintGUID
- unique identifier of the first solution blueprintsolutionComponentGUID
- unique identifier of the second solution blueprintrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSolutionComponentFromBlueprint
@PostMapping(path="/solution-blueprints/{parentSolutionBlueprintGUID}/solution-components/{solutionComponentGUID}/detach") public VoidResponse detachSolutionComponentFromBlueprint(@PathVariable String serverName, @PathVariable String parentSolutionBlueprintGUID, @PathVariable String solutionComponentGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a solution component from a solution blueprint.- Parameters:
serverName
- name of called serverparentSolutionBlueprintGUID
- unique identifier of the first solution blueprintsolutionComponentGUID
- unique identifier of the second solution blueprintrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkSolutionDesign
@PostMapping(path="/elements/{parentGUID}/solution-designs/{solutionBlueprintGUID}/attach") public VoidResponse linkSolutionDesign(@PathVariable String serverName, @PathVariable String parentGUID, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach a solution blueprint to the element that is describes.- Parameters:
serverName
- name of called serverparentGUID
- unique identifier of the element being describedsolutionBlueprintGUID
- unique identifier of the solution blueprintrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSolutionDesign
@PostMapping(path="/elements/{parentGUID}/solution-designs/{solutionBlueprintGUID}/detach") public VoidResponse detachSolutionDesign(@PathVariable String serverName, @PathVariable String parentGUID, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a solution blueprint from the element it describes.- Parameters:
serverName
- name of called serverparentGUID
- unique identifier of the element being describedsolutionBlueprintGUID
- unique identifier of the solution blueprintrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
deleteSolutionBlueprint
@PostMapping(path="/solution-blueprints/{solutionBlueprintGUID}/delete") public VoidResponse deleteSolutionBlueprint(@PathVariable String serverName, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Delete a solution blueprint.- Parameters:
serverName
- name of called serversolutionBlueprintGUID
- unique identifier of the element to deleterequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
getSolutionBlueprintsByName
@PostMapping(path="/solution-blueprints/by-name") public SolutionBlueprintsResponse getSolutionBlueprintsByName(@PathVariable String serverName, @RequestBody(required=false) FilterRequestBody requestBody) Returns the list of solution blueprints with a particular name.- Parameters:
serverName
- name of the service to route the request torequestBody
- 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)
-
getSolutionBlueprintByGUID
@PostMapping(path="/solution-blueprints/{solutionBlueprintGUID}/retrieve") public SolutionBlueprintResponse getSolutionBlueprintByGUID(@PathVariable String serverName, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) GetRequestBody requestBody) Return the properties of a specific solution blueprint.- Parameters:
serverName
- name of the service to route the request tosolutionBlueprintGUID
- unique identifier of the required elementrequestBody
- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findSolutionBlueprints
@PostMapping(path="/solution-blueprints/by-search-string") public SolutionBlueprintsResponse findSolutionBlueprints(@PathVariable String serverName, @RequestBody(required=false) SearchStringRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string. The returned blueprints include a list of the components that are associated with it.- Parameters:
serverName
- name of the service to route the request torequestBody
- 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)
-
linkSolutionComponentActor
@PostMapping(path="/solution-roles/{solutionRoleGUID}/solution-component-actors/{dataFieldGUID}/attach") public VoidResponse linkSolutionComponentActor(@PathVariable String serverName, @PathVariable String solutionRoleGUID, @PathVariable String dataFieldGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach a solution component to a solution role.- Parameters:
serverName
- name of called serversolutionRoleGUID
- unique identifier of the first solution roledataFieldGUID
- unique identifier of the second solution rolerequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSolutionComponentActor
@PostMapping(path="/solution-roles/{solutionRoleGUID}/solution-component-actors/{solutionComponentGUID}/detach") public VoidResponse detachSolutionComponentActor(@PathVariable String serverName, @PathVariable String solutionRoleGUID, @PathVariable String solutionComponentGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a solution component from a solution role.- Parameters:
serverName
- name of called serversolutionRoleGUID
- unique identifier of the first solution rolesolutionComponentGUID
- unique identifier of the second solution rolerequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createSolutionComponent
@PostMapping(path="/solution-components") public GUIDResponse createSolutionComponent(@PathVariable String serverName, @RequestBody(required=false) NewElementRequestBody requestBody) Create a solution component.- Parameters:
serverName
- name of called server.requestBody
- properties for the solution component.- Returns:
- unique identifier of the newly created element InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
createSolutionComponentFromTemplate
@PostMapping(path="/solution-components/from-template") public GUIDResponse createSolutionComponentFromTemplate(@PathVariable String serverName, @RequestBody(required=false) TemplateRequestBody requestBody) Create a new metadata element to represent a solution component using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new element.- Parameters:
serverName
- calling userrequestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateSolutionComponent
@PostMapping(path="/solution-components/{solutionComponentGUID}/update") public VoidResponse updateSolutionComponent(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @RequestBody(required=false) UpdateElementRequestBody requestBody) Update the properties of a solution component.- Parameters:
serverName
- name of called server.solutionComponentGUID
- unique identifier of the solution component (returned from create)requestBody
- properties for the new element.- Returns:
- void or InvalidParameterException one of the parameters is invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkSubcomponent
@PostMapping(path="/solution-components/{solutionComponentGUID}/subcomponents/{subcomponentGUID}/attach") public VoidResponse linkSubcomponent(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @PathVariable String subcomponentGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach a solution component to a nested solution component.- Parameters:
serverName
- name of called serversolutionComponentGUID
- unique identifier of the first solution componentsubcomponentGUID
- unique identifier of the second solution componentrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSubcomponent
@PostMapping(path="/solution-components/{parentSolutionComponentGUID}/subcomponents/{subcomponentGUID}/detach") public VoidResponse detachSubcomponent(@PathVariable String serverName, @PathVariable String parentSolutionComponentGUID, @PathVariable String subcomponentGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a solution component from a solution component.- Parameters:
serverName
- name of called serverparentSolutionComponentGUID
- unique identifier of the first solution componentsubcomponentGUID
- unique identifier of the second solution componentrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkSolutionLinkingWire
@PostMapping(path="/solution-components/{solutionComponentOneGUID}/wired-to/{solutionComponentTwoGUID}/attach") public VoidResponse linkSolutionLinkingWire(@PathVariable String serverName, @PathVariable String solutionComponentOneGUID, @PathVariable String solutionComponentTwoGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Attach a solution component to a solution component as a peer in a solution.- Parameters:
serverName
- name of called serversolutionComponentOneGUID
- unique identifier of the first solution componentsolutionComponentTwoGUID
- unique identifier of the second solution componentrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachSolutionLinkingWire
@PostMapping(path="/solution-components/{solutionComponentOneGUID}/wired-to/{solutionComponentTwoGUID}/detach") public VoidResponse detachSolutionLinkingWire(@PathVariable String serverName, @PathVariable String solutionComponentOneGUID, @PathVariable String solutionComponentTwoGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Detach a solution component from a peer solution component.- Parameters:
serverName
- name of called serversolutionComponentOneGUID
- unique identifier of the first solution componentsolutionComponentTwoGUID
- unique identifier of the second solution componentrequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
deleteSolutionComponent
@PostMapping(path="/solution-components/{solutionComponentGUID}/delete") public VoidResponse deleteSolutionComponent(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @RequestBody(required=false) DeleteRequestBody requestBody) Delete a solution component.- Parameters:
serverName
- name of called serversolutionComponentGUID
- unique identifier of the element to deleterequestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
getSolutionComponentsByName
@PostMapping(path="/solution-components/by-name") public SolutionComponentsResponse getSolutionComponentsByName(@PathVariable String serverName, @RequestBody(required=false) FilterRequestBody requestBody) Returns the list of solution components with a particular name.- Parameters:
serverName
- name of the service to route the request torequestBody
- 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)
-
findSolutionComponents
@PostMapping(path="/solution-components/by-search-string") public SolutionComponentsResponse findSolutionComponents(@PathVariable String serverName, @RequestBody(required=false) SearchStringRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string. The solutions components returned include information about the consumers, actors and other solution components that are associated with them.- Parameters:
serverName
- name of the service to route the request torequestBody
- 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)
-
getSolutionComponentByGUID
@PostMapping(path="/solution-components/{solutionComponentGUID}/retrieve") public SolutionComponentResponse getSolutionComponentByGUID(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @RequestBody(required=false) GetRequestBody requestBody) Return the properties of a specific solution component.- Parameters:
serverName
- name of the service to route the request tosolutionComponentGUID
- unique identifier of the required elementrequestBody
- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getSolutionComponentImplementations
@PostMapping(path="/solution-components/{solutionComponentGUID}/implementations") public RelatedMetadataElementsResponse getSolutionComponentImplementations(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @RequestBody(required=false) ResultsRequestBody requestBody) Retrieve the list of metadata elements that are associated with the solution component via the ImplementedBy relationship.- Parameters:
serverName
- name of the service to route the request tosolutionComponentGUID
- unique identifier of the solution component to queryrequestBody
- 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)
-