Class SolutionArchitectRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.solutionarchitect.server.SolutionArchitectRESTServices
The SolutionArchitectRESTServices provides the server-side implementation of the Solution Architect Open Metadata
View Service (OMVS). This interface provides access to information supply chains, solution blueprints,
solution components and solution roles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInformationSupplyChain
(String serverName, NewInformationSupplyChainRequestBody 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.createInformationSupplyChainSegment
(String serverName, String informationSupplyChainGUID, InformationSupplyChainSegmentRequestBody requestBody) Create an information supply chain segment.createSolutionBlueprint
(String serverName, NewSolutionBlueprintRequestBody 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, NewSolutionComponentRequestBody 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.createSolutionRole
(String serverName, NewActorRoleRequestBody requestBody) Create a solution role.createSolutionRoleFromTemplate
(String serverName, TemplateRequestBody requestBody) Create a new metadata element to represent a solution role using an existing metadata element as a template.deleteInformationSupplyChain
(String serverName, String informationSupplyChainGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete an information supply chain.deleteInformationSupplyChainSegment
(String serverName, String segmentGUID, MetadataSourceRequestBody requestBody) Delete an information supply chain segment.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.deleteSolutionRole
(String serverName, String solutionRoleGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete a solution role.detachSegments
(String serverName, String segment1GUID, String segment2GUID, MetadataSourceRequestBody requestBody) Detach two information supply chain segments from one another.detachSolutionComponentActor
(String serverName, String solutionRoleGUID, String solutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution role.detachSolutionComponentFromBlueprint
(String serverName, String parentSolutionBlueprintGUID, String nestedSolutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution blueprint.detachSubcomponent
(String serverName, String parentSolutionComponentGUID, String nestedSolutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution component.findInformationSupplyChains
(String serverName, boolean addImplementation, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.findSolutionBlueprints
(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.findSolutionComponents
(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.findSolutionRoles
(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of actor roles metadata elements that contain the search string and show which solution components (if any) are attached to it.getInformationSupplyChainByGUID
(String serverName, String informationSupplyChainGUID, boolean addImplementation, AnyTimeRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.getInformationSupplyChainsByName
(String serverName, boolean addImplementation, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of information supply chain metadata elements that contain the search string.getSolutionBlueprintByGUID
(String serverName, String solutionComponentGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.getSolutionBlueprintsByName
(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.getSolutionComponentByGUID
(String serverName, String solutionComponentGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.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) Retrieve the list of solution component metadata elements that contain the search string.getSolutionRoleByGUID
(String serverName, String solutionRoleGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution role metadata elements that contain the search string.getSolutionRolesByName
(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution role metadata elements that contain the search string.linkSegments
(String serverName, String segment1GUID, String segment2GUID, InformationSupplyChainLinkRequestBody requestBody) Connect two information supply chain segments.linkSolutionComponentActor
(String serverName, String solutionRoleGUID, String solutionComponentGUID, SolutionComponentActorRequestBody requestBody) Attach a solution component to a solution role.linkSolutionComponentToBlueprint
(String serverName, String parentSolutionBlueprintGUID, String nestedSolutionComponentGUID, SolutionBlueprintCompositionRequestBody requestBody) Attach a solution component to a solution blueprint.linkSubcomponent
(String serverName, String parentSolutionComponentGUID, String nestedSolutionComponentGUID, RelationshipRequestBody requestBody) Attach a solution component to a solution component.updateInformationSupplyChain
(String serverName, String informationSupplyChainGUID, boolean replaceAllProperties, UpdateInformationSupplyChainRequestBody requestBody) Update the properties of an information supply chain.updateInformationSupplyChainSegment
(String serverName, String segmentGUID, boolean replaceAllProperties, InformationSupplyChainSegmentRequestBody requestBody) Update the properties of an information supply chain segment.updateSolutionBlueprint
(String serverName, String solutionBlueprintGUID, boolean replaceAllProperties, UpdateSolutionBlueprintRequestBody requestBody) Update the properties of a solution blueprint.updateSolutionComponent
(String serverName, String solutionComponentGUID, boolean replaceAllProperties, UpdateSolutionComponentRequestBody requestBody) Update the properties of a solution component.updateSolutionRole
(String serverName, String solutionRoleGUID, boolean replaceAllProperties, UpdateActorRoleRequestBody requestBody) Update the properties of a solution role.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
SolutionArchitectRESTServices
public SolutionArchitectRESTServices()Default constructor
-
-
Method Details
-
createInformationSupplyChain
public GUIDResponse createInformationSupplyChain(String serverName, NewInformationSupplyChainRequestBody 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
public GUIDResponse createInformationSupplyChainFromTemplate(String serverName, 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
public VoidResponse updateInformationSupplyChain(String serverName, String informationSupplyChainGUID, boolean replaceAllProperties, UpdateInformationSupplyChainRequestBody 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.
-
createInformationSupplyChainSegment
public GUIDResponse createInformationSupplyChainSegment(String serverName, String informationSupplyChainGUID, InformationSupplyChainSegmentRequestBody requestBody) Create an information supply chain segment.- Parameters:
serverName
- name of called server.informationSupplyChainGUID
- unique identifier of optional parent information supply chainrequestBody
- 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.
-
updateInformationSupplyChainSegment
public VoidResponse updateInformationSupplyChainSegment(String serverName, String segmentGUID, boolean replaceAllProperties, InformationSupplyChainSegmentRequestBody requestBody) Update the properties of an information supply chain segment.- Parameters:
serverName
- name of called server.segmentGUID
- unique identifier of the information supply chain segment (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.
-
linkSegments
public VoidResponse linkSegments(String serverName, String segment1GUID, String segment2GUID, InformationSupplyChainLinkRequestBody requestBody) Connect two information supply chain segments.- Parameters:
serverName
- name of called serversegment1GUID
- unique identifier of the first segmentsegment2GUID
- unique identifier of the second segmentrequestBody
- 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.
-
detachSegments
public VoidResponse detachSegments(String serverName, String segment1GUID, String segment2GUID, MetadataSourceRequestBody requestBody) Detach two information supply chain segments from one another.- Parameters:
serverName
- name of called serversegment1GUID
- unique identifier of the first segmentsegment2GUID
- unique identifier of the second segmentrequestBody
- 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.
-
deleteInformationSupplyChainSegment
public VoidResponse deleteInformationSupplyChainSegment(String serverName, String segmentGUID, MetadataSourceRequestBody requestBody) Delete an information supply chain segment.- Parameters:
serverName
- name of called serversegmentGUID
- unique identifier of the segmentrequestBody
- 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
public VoidResponse deleteInformationSupplyChain(String serverName, String informationSupplyChainGUID, boolean cascadedDelete, 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 segments 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
public InformationSupplyChainsResponse getInformationSupplyChainsByName(String serverName, boolean addImplementation, int startFrom, int pageSize, 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?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
public InformationSupplyChainsResponse findInformationSupplyChains(String serverName, boolean addImplementation, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, 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
public InformationSupplyChainResponse getInformationSupplyChainByGUID(String serverName, String informationSupplyChainGUID, boolean addImplementation, AnyTimeRequestBody 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 toinformationSupplyChainGUID
- unique identifier of the required elementaddImplementation
- should details of the implementation of the information supply chain be extracted too?requestBody
- time values for the query- 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
public GUIDResponse createSolutionBlueprint(String serverName, NewSolutionBlueprintRequestBody 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
public GUIDResponse createSolutionBlueprintFromTemplate(String serverName, 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
public VoidResponse updateSolutionBlueprint(String serverName, String solutionBlueprintGUID, boolean replaceAllProperties, UpdateSolutionBlueprintRequestBody 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
public VoidResponse linkSolutionComponentToBlueprint(String serverName, String parentSolutionBlueprintGUID, String nestedSolutionComponentGUID, SolutionBlueprintCompositionRequestBody requestBody) Attach a solution component to a solution blueprint.- Parameters:
serverName
- name of called serverparentSolutionBlueprintGUID
- unique identifier of the parent solution blueprint.nestedSolutionComponentGUID
- unique identifier of the nested solution component.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.
-
detachSolutionComponentFromBlueprint
public VoidResponse detachSolutionComponentFromBlueprint(String serverName, String parentSolutionBlueprintGUID, String nestedSolutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution blueprint.- Parameters:
serverName
- name of called serverparentSolutionBlueprintGUID
- unique identifier of the parent solution blueprint.nestedSolutionComponentGUID
- unique identifier of the nested solution component.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.
-
deleteSolutionBlueprint
public VoidResponse deleteSolutionBlueprint(String serverName, String solutionBlueprintGUID, boolean cascadedDelete, 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
public SolutionBlueprintsResponse getSolutionBlueprintsByName(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.- 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
public SolutionBlueprintResponse getSolutionBlueprintByGUID(String serverName, String solutionComponentGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution blueprint metadata elements that contain the search string.- 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)
-
findSolutionBlueprints
public SolutionBlueprintsResponse findSolutionBlueprints(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, 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)
-
createSolutionRole
Create a solution role.- Parameters:
serverName
- name of called server.requestBody
- properties for the solution role.- 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.
-
createSolutionRoleFromTemplate
public GUIDResponse createSolutionRoleFromTemplate(String serverName, TemplateRequestBody requestBody) Create a new metadata element to represent a solution role 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)
-
updateSolutionRole
public VoidResponse updateSolutionRole(String serverName, String solutionRoleGUID, boolean replaceAllProperties, UpdateActorRoleRequestBody requestBody) Update the properties of a solution role.- Parameters:
serverName
- name of called server.solutionRoleGUID
- unique identifier of the solution role (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.
-
linkSolutionComponentActor
public VoidResponse linkSolutionComponentActor(String serverName, String solutionRoleGUID, String solutionComponentGUID, SolutionComponentActorRequestBody requestBody) Attach a solution component to a solution role.- Parameters:
serverName
- name of called serversolutionRoleGUID
- unique identifier of the parent solution role.solutionComponentGUID
- unique identifier of the nested solution component.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.
-
detachSolutionComponentActor
public VoidResponse detachSolutionComponentActor(String serverName, String solutionRoleGUID, String solutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution role.- Parameters:
serverName
- name of called serversolutionRoleGUID
- unique identifier of the parent solution role.solutionComponentGUID
- unique identifier of the nested solution component.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.
-
deleteSolutionRole
public VoidResponse deleteSolutionRole(String serverName, String solutionRoleGUID, boolean cascadedDelete, MetadataSourceRequestBody requestBody) Delete a solution role.- Parameters:
serverName
- name of called serversolutionRoleGUID
- unique identifier of the element to deletecascadedDelete
- can solution roles 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.
-
getSolutionRolesByName
public SolutionRolesResponse getSolutionRolesByName(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution role metadata elements that contain the search string.- 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)
-
findSolutionRoles
public SolutionRolesResponse findSolutionRoles(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of actor roles metadata elements that contain the search string and show which solution components (if any) are attached to 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)
-
getSolutionRoleByGUID
public SolutionRoleResponse getSolutionRoleByGUID(String serverName, String solutionRoleGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution role metadata elements that contain the search string.- Parameters:
serverName
- name of the service to route the request tosolutionRoleGUID
- 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)
-
createSolutionComponent
public GUIDResponse createSolutionComponent(String serverName, NewSolutionComponentRequestBody 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
public GUIDResponse createSolutionComponentFromTemplate(String serverName, 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
public VoidResponse updateSolutionComponent(String serverName, String solutionComponentGUID, boolean replaceAllProperties, UpdateSolutionComponentRequestBody 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.
-
linkSubcomponent
public VoidResponse linkSubcomponent(String serverName, String parentSolutionComponentGUID, String nestedSolutionComponentGUID, RelationshipRequestBody requestBody) Attach a solution component to a solution component.- Parameters:
serverName
- name of called serverparentSolutionComponentGUID
- unique identifier of the parent solution component.nestedSolutionComponentGUID
- unique identifier of the nested solution component.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.
-
detachSubcomponent
public VoidResponse detachSubcomponent(String serverName, String parentSolutionComponentGUID, String nestedSolutionComponentGUID, MetadataSourceRequestBody requestBody) Detach a solution component from a solution component.- Parameters:
serverName
- name of called serverparentSolutionComponentGUID
- unique identifier of the parent solution component.nestedSolutionComponentGUID
- unique identifier of the nested solution component.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.
-
deleteSolutionComponent
public VoidResponse deleteSolutionComponent(String serverName, String solutionComponentGUID, boolean cascadedDelete, 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
public SolutionComponentsResponse getSolutionComponentsByName(String serverName, int startFrom, int pageSize, FilterRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.- 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)
-
getSolutionComponentByGUID
public SolutionComponentResponse getSolutionComponentByGUID(String serverName, String solutionComponentGUID, AnyTimeRequestBody requestBody) Retrieve the list of solution component metadata elements that contain the search string.- 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)
-
findSolutionComponents
public SolutionComponentsResponse findSolutionComponents(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, 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)
-
getSolutionComponentImplementations
public RelatedMetadataElementsResponse 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.- 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)
-