SAP/neonbee

Support creating entity collections in the EntityProcessor

s4heid opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

With the current implementation of EntityProcessor.createEntity, a 204 (No Content) HTTP status code is always returned, also when an entity collection is attempted to be created with a POST request.

Describe the solution you'd like

The entity should actually be created. This is not yet implemented, but should be similar to handleReadEntityResult(). Maybe this method can be reused.

Following aspects should be taken in account:

  • EntityVerticle.requestEntity should be changed to not allow for multiple verticles for create request.
  • It should be clear if CREATE operation is supported by verticle and/or satellite or storage
  • The notion of entity identity over all satellite systems supporting create operation should be created
  • How the feature is to be tested: should the verticle responsible for entity creation store the entity in memory and providing read operation?