Closed PC-Chiu closed 2 months ago
I am not sure what you are asking.
Do you want to use the Bulk-Endpoint? Simply add a BulkConfig
to the ServiceProvider
implementation and set bulkSupported=true
Bulk-Endpoint invoke Resources-endpoint with loop(iterator) mode, I want to do somethings after all bulk operations finished, eg., submit transaction, publish event...
you could try this:
ScimResponse scimResponse = resourceEndpoint.handleRequest(request.getRequestURL().toString() + query,
HttpMethod.valueOf(request.getMethod()),
requestBody,
httpHeaders,
(scimResponseNode, aBoolean) -> {
if (scimResponseNode instanceof BulkResponse)
{
// do your stuff
}
},
new Context(scimAuthentication));
OK, thx.
If I need do somethings after all bulk operations? How to implement or config the SCIM server?