Package com.evolveum.midpoint.rest.impl
Class SmartIntegrationRestController
java.lang.Object
com.evolveum.midpoint.rest.impl.AbstractRestController
com.evolveum.midpoint.rest.impl.SmartIntegrationRestController
@RestController
@RequestMapping({"/ws/smart-integration","/rest/smart-integration","/api/smart-integration"})
public class SmartIntegrationRestController
extends AbstractRestController
REST service used for the communication with the smart integration service.
The typical client is midPoint Studio.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.rest.impl.AbstractRestController
auditService, logger, prismContext, securityHelper, taskManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>suggestAssociations(String resourceOid) Suggests association type for the given resource Returned body contains the serialized form ofAssociationSuggestionType.org.springframework.http.ResponseEntity<?>suggestCorrelations(String resourceOid, String kind, String intent) Suggests correlation for the given resource, kind and intent.org.springframework.http.ResponseEntity<?>suggestFocusType(String resourceOid, String kind, String intent) Suggests a discrete focus type for the application (resource) object type.org.springframework.http.ResponseEntity<?>suggestMappings(String resourceOid, String kind, String intent, Boolean isInbound) Suggests mapping for the given resource, kind and intent.org.springframework.http.ResponseEntity<?>suggestObjectTypes(String resourceOid, String objectClass) Suggests object types (and their delineations) for the given resource and object class.Methods inherited from class com.evolveum.midpoint.rest.impl.AbstractRestController
controllerBasePath, createBody, createErrorResponseBuilder, createErrorResponseBuilder, createResponse, createResponse, createResponse, createResponse, createResponseWithLocation, createSubresult, finishRequest, handleException, handleException, handleExceptionNoLog, initRequest
-
Constructor Details
-
SmartIntegrationRestController
public SmartIntegrationRestController()
-
-
Method Details
-
suggestObjectTypes
@GetMapping("/rpc/suggestObjectTypes") public org.springframework.http.ResponseEntity<?> suggestObjectTypes(@RequestParam("resourceOid") String resourceOid, @RequestParam("objectClass") String objectClass) Suggests object types (and their delineations) for the given resource and object class. Returned body contains the serialized form ofObjectTypesSuggestionType. -
suggestCorrelations
@GetMapping("/rpc/suggestCorrelations") public org.springframework.http.ResponseEntity<?> suggestCorrelations(@RequestParam("resourceOid") String resourceOid, @RequestParam("kind") String kind, @RequestParam("intent") String intent) Suggests correlation for the given resource, kind and intent. Returned body contains the serialized form ofCorrelationSuggestionsType. -
suggestMappings
@GetMapping("/rpc/suggestMappings") public org.springframework.http.ResponseEntity<?> suggestMappings(@RequestParam("resourceOid") String resourceOid, @RequestParam("kind") String kind, @RequestParam("intent") String intent, @RequestParam("isInbound") Boolean isInbound) Suggests mapping for the given resource, kind and intent. Returned body contains the serialized form ofMappingsSuggestionType. -
suggestAssociations
@GetMapping("/rpc/suggestAssociationType") public org.springframework.http.ResponseEntity<?> suggestAssociations(@RequestParam("resourceOid") String resourceOid) Suggests association type for the given resource Returned body contains the serialized form ofAssociationSuggestionType. -
suggestFocusType
@GetMapping("/rpc/suggestFocusType") public org.springframework.http.ResponseEntity<?> suggestFocusType(@RequestParam("resourceOid") String resourceOid, @RequestParam("kind") String kind, @RequestParam("intent") String intent) Suggests a discrete focus type for the application (resource) object type. Returned body contains the local part of the QName representing the focus type, e.g. `UserType`. In the future, we may return a full QName, but for now we keep it simple. We spare the client from having to parse the string representing the QName.
-