Interface ReconciliationService
- All Superinterfaces:
JAXRSService
- All Known Implementing Classes:
ReconciliationServiceImpl
REST operations for reconciliation.
-
Field Summary
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
Method Summary
Modifier and TypeMethodDescriptionpull
(CSVPullSpec spec, InputStream csv) Pulls the CSV input into Syncope according to the provided specification.pull
(ReconQuery query, @NotNull PullTaskTO pullTask) Pulls the matching user, group, any object or linked account from the External Resource into Syncope.push
(AnyQuery anyQuery, CSVPushSpec spec) Export a list of any objects matching the given query as CSV according to the provided specification.push
(ReconQuery query, @NotNull PushTaskTO pushTask) Pushes the matching user, group, any object or linked account in Syncope onto the External Resource.status
(ReconQuery query) Gets compared status between attributes in Syncope and on the given External Resource.
-
Method Details
-
status
@GET @Produces({"application/json","application/yaml","application/xml"}) ReconStatus status(@BeanParam ReconQuery query) Gets compared status between attributes in Syncope and on the given External Resource.- Parameters:
query
- query conditions- Returns:
- reconciliation status
-
push
@POST @Path("push") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) List<ProvisioningReport> push(@BeanParam ReconQuery query, @NotNull @NotNull PushTaskTO pushTask) Pushes the matching user, group, any object or linked account in Syncope onto the External Resource.- Parameters:
query
- query conditionspushTask
- push specification- Returns:
- push report
-
pull
@POST @Path("pull") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) List<ProvisioningReport> pull(@BeanParam ReconQuery query, @NotNull @NotNull PullTaskTO pullTask) Pulls the matching user, group, any object or linked account from the External Resource into Syncope.- Parameters:
query
- query conditionspullTask
- pull specification- Returns:
- pull report
-
push
@GET @Path("csv/push") @Consumes({"application/json","application/yaml","application/xml"}) @Produces("text/csv") Response push(@BeanParam AnyQuery anyQuery, @BeanParam CSVPushSpec spec) Export a list of any objects matching the given query as CSV according to the provided specification.- Parameters:
anyQuery
- query conditionsspec
- CSV push specification- Returns:
- CSV content matching the provided specification
-
pull
@POST @Path("csv/pull") @Consumes("text/csv") @Produces({"application/json","application/yaml","application/xml"}) List<ProvisioningReport> pull(@BeanParam CSVPullSpec spec, InputStream csv) Pulls the CSV input into Syncope according to the provided specification.- Parameters:
spec
- CSV pull specificationcsv
- CSV input- Returns:
- pull report
-