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, RelationshipRequestBody 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, MetadataSourceRequestBody requestBody) Detach a nested information supply chain from its parent.deleteInformationSupplyChain
(String serverName, String informationSupplyChainGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete an information supply chain.deleteSolutionBlueprint
(String serverName, String solutionBlueprintGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete a solution blueprint.deleteSolutionComponent
(String serverName, String solutionComponentGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete a solution component.detachSolutionComponentActor
(String serverName, String solutionRoleGUID, String solutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution role.detachSolutionComponentFromBlueprint
(String serverName, String parentSolutionBlueprintGUID, String solutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution blueprint.detachSolutionDesign
(String serverName, String parentGUID, String solutionBlueprintGUID, MetadataSourceRequestBody requestBody) Detach a solution blueprint from the element it describes.detachSolutionLinkingWire
(String serverName, String solutionComponentOneGUID, String solutionComponentTwoGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a peer solution component.detachSubcomponent
(String serverName, String parentSolutionComponentGUID, String subcomponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution component.findInformationSupplyChains
(String serverName, boolean addImplementation, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, FilterRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.findSolutionBlueprints
(String serverName, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, FilterRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.findSolutionComponents
(String serverName, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, FilterRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.getInformationSupplyChainByGUID
(String serverName, String informationSupplyChainGUID, boolean addImplementation, AnyTimeRequestBody requestBody) Return the properties of a specific information supply chain.getInformationSupplyChainsByName
(String serverName, boolean addImplementation, int startFrom, int pageSize, FilterRequestBody requestBody) Returns the list of information supply chains with a particular name.getSolutionBlueprintByGUID
(String serverName, String solutionBlueprintGUID, AnyTimeRequestBody requestBody) Return the properties of a specific solution blueprint.getSolutionBlueprintsByName
(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Returns the list of solution blueprints with a particular name.getSolutionComponentByGUID
(String serverName, String solutionComponentGUID, AnyTimeRequestBody requestBody) Return the properties of a specific solution component.getSolutionComponentImplementations
(String serverName, String solutionComponentGUID, int startFrom, int pageSize, ResultsRequestBody requestBody) Retrieve the list of metadata elements that are associated with the solution component via the ImplementedBy relationship.getSolutionComponentsByName
(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Returns the list of solution components with a particular name.linkPeersInInformationSupplyChain
(String serverName, String peerOneGUID, String peerTwoGUID, RelationshipRequestBody requestBody) Connect two peers in an information supply chains.linkSolutionComponentActor
(String serverName, String solutionRoleGUID, String dataFieldGUID, RelationshipRequestBody requestBody) Attach a solution component to a solution role.linkSolutionComponentToBlueprint
(String serverName, String parentSolutionBlueprintGUID, String solutionComponentGUID, RelationshipRequestBody requestBody) Attach a solution component to a solution blueprint.linkSolutionDesign
(String serverName, String parentGUID, String solutionBlueprintGUID, RelationshipRequestBody requestBody) Attach a solution blueprint to the element that is describes.linkSolutionLinkingWire
(String serverName, String solutionComponentOneGUID, String solutionComponentTwoGUID, RelationshipRequestBody requestBody) Attach a solution component to a solution component as a peer in a solution.linkSubcomponent
(String serverName, String solutionComponentGUID, String subcomponentGUID, RelationshipRequestBody requestBody) Attach a solution component to a nested solution component.unlinkPeerInformationSupplyChains
(String serverName, String peerOneGUID, String peerTwoGUID, MetadataSourceRequestBody requestBody) Detach two peers in an information supply chain from one another.updateInformationSupplyChain
(String serverName, String informationSupplyChainGUID, boolean replaceAllProperties, UpdateElementRequestBody requestBody) Update the properties of an information supply chain.updateSolutionBlueprint
(String serverName, String solutionBlueprintGUID, boolean replaceAllProperties, UpdateElementRequestBody requestBody) Update the properties of a solution blueprint.updateSolutionComponent
(String serverName, String solutionComponentGUID, boolean replaceAllProperties, UpdateElementRequestBody requestBody) Update the properties of a solution component.updateSolutionElementStatus
(String serverName, String solutionElementGUID, SolutionElementStatusRequestBody requestBody) Update the status of a solution blueprint, solution component or solution port.
-
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, @RequestParam(required=false,defaultValue="false") boolean replaceAllProperties, @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)replaceAllProperties
- flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.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) RelationshipRequestBody 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) MetadataSourceRequestBody 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) RelationshipRequestBody 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) MetadataSourceRequestBody 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, @RequestParam(required=false,defaultValue="false") boolean cascadedDelete, @RequestBody(required=false) MetadataSourceRequestBody requestBody) Delete an information supply chain.- Parameters:
serverName
- name of called serverinformationSupplyChainGUID
- unique identifier of the element to deletecascadedDelete
- can information supply chains be deleted if nested elements are attached?requestBody
- 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, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @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?startFrom
- 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)
-
findInformationSupplyChains
@PostMapping(path="/information-supply-chains/by-search-string") public InformationSupplyChainsResponse findInformationSupplyChains(@PathVariable String serverName, @RequestParam(required=false,defaultValue="true") boolean addImplementation, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @RequestParam(required=false,defaultValue="false") boolean startsWith, @RequestParam(required=false,defaultValue="false") boolean endsWith, @RequestParam(required=false,defaultValue="false") boolean ignoreCase, @RequestBody(required=false) FilterRequestBody 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?startsWith
- does the value start with the supplied string?endsWith
- does the value end with the supplied string?ignoreCase
- should the search ignore case?startFrom
- 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)
-
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) AnyTimeRequestBody 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, @RequestParam(required=false,defaultValue="false") boolean replaceAllProperties, @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)replaceAllProperties
- flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.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) RelationshipRequestBody 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) MetadataSourceRequestBody 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) RelationshipRequestBody 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) MetadataSourceRequestBody 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, @RequestParam(required=false,defaultValue="false") boolean cascadedDelete, @RequestBody(required=false) MetadataSourceRequestBody requestBody) Delete a solution blueprint.- Parameters:
serverName
- name of called serversolutionBlueprintGUID
- unique identifier of the element to deletecascadedDelete
- can solution blueprints be deleted if solution components are attached?requestBody
- 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, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @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 tostartFrom
- 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)
-
getSolutionBlueprintByGUID
@PostMapping(path="/solution-blueprints/{solutionBlueprintGUID}/retrieve") public SolutionBlueprintResponse getSolutionBlueprintByGUID(@PathVariable String serverName, @PathVariable String solutionBlueprintGUID, @RequestBody(required=false) AnyTimeRequestBody 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, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @RequestParam(required=false,defaultValue="false") boolean startsWith, @RequestParam(required=false,defaultValue="false") boolean endsWith, @RequestParam(required=false,defaultValue="false") boolean ignoreCase, @RequestBody(required=false) FilterRequestBody 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 tostartsWith
- does the value start with the supplied string?endsWith
- does the value end with the supplied string?ignoreCase
- should the search ignore case?startFrom
- 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)
-
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) RelationshipRequestBody 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) MetadataSourceRequestBody 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, @RequestParam(required=false,defaultValue="false") boolean replaceAllProperties, @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)replaceAllProperties
- flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.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.
-
updateSolutionElementStatus
@PostMapping(path="/solution-elements/{solutionElementGUID}/update-status") public VoidResponse updateSolutionElementStatus(@PathVariable String serverName, @PathVariable String solutionElementGUID, @RequestBody(required=false) SolutionElementStatusRequestBody requestBody) Update the status of a solution blueprint, solution component or solution port.- Parameters:
serverName
- name of called server.solutionElementGUID
- unique identifier of the governance definition (returned from create)requestBody
- properties for the new status.- 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) RelationshipRequestBody 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) MetadataSourceRequestBody 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) RelationshipRequestBody 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) MetadataSourceRequestBody 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, @RequestParam(required=false,defaultValue="false") boolean cascadedDelete, @RequestBody(required=false) MetadataSourceRequestBody requestBody) Delete a solution component.- Parameters:
serverName
- name of called serversolutionComponentGUID
- unique identifier of the element to deletecascadedDelete
- can solution components be deleted if solution components are attached?requestBody
- 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, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @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 tostartFrom
- 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)
-
findSolutionComponents
@PostMapping(path="/solution-components/by-search-string") public SolutionComponentsResponse findSolutionComponents(@PathVariable String serverName, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @RequestParam(required=false,defaultValue="false") boolean startsWith, @RequestParam(required=false,defaultValue="false") boolean endsWith, @RequestParam(required=false,defaultValue="false") boolean ignoreCase, @RequestBody(required=false) FilterRequestBody 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 tostartsWith
- does the value start with the supplied string?endsWith
- does the value end with the supplied string?ignoreCase
- should the search ignore case?startFrom
- 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)
-
getSolutionComponentByGUID
@PostMapping(path="/solution-components/{solutionComponentGUID}/retrieve") public SolutionComponentResponse getSolutionComponentByGUID(@PathVariable String serverName, @PathVariable String solutionComponentGUID, @RequestBody(required=false) AnyTimeRequestBody 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, @RequestParam(required=false,defaultValue="0") int startFrom, @RequestParam(required=false,defaultValue="0") int pageSize, @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 querystartFrom
- 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)
-