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.
  • 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 of ObjectTypesSuggestionType.
    • 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 of CorrelationSuggestionsType.
    • 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 of MappingsSuggestionType.
    • 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 of AssociationSuggestionType.
    • 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.