raphj opened a new issue, #1206:
URL: https://github.com/apache/directory-scimple/issues/1206

   Hi,
   
   The `/Bulk` endpoint currently supports `User` and `Group` SCIM resources 
with the method field set to `POST`. When the method field is set to `PATCH`, 
it is also possible to use `PatchOp` objects in the `data` field.
   
   There's an example at https://scim.dev/playground/bulk.html
   
   This is currently not implemented. Advertising support for `Bulk` without 
this implemented might be out of spec, so the `/ServiceProviderConfig` endpoint 
should probably return false by default for bulk support as long as this is not 
implemented.
   
   I suppose one of the difficulties in supporting this is that the data field 
and the `setData()` and `getData()` methods in the `BulkOperation` class will  
somehow need to support `PatchOp` objects in addition to `ScimResource` 
objects. I started looking into this, possibly `getScimResource` and 
`getPatchOp` methods could be implemented in addition to a generic `getData()` 
method returning `Object` (as there's no proper union type in Java AFAIK). The 
data field could possibly be split into `scimResource` and `patchOp`... or not, 
maybe that's not necessary. I didn't go much further than this as I'm not quite 
sure how the code using `getData()` really works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to