Module should provide a CRUD API for the Snapshot entity.
This entity should store information about import job and progress for loading records into storage. All records should be linked to snapshot. During import records, we should create snapshot first of all and send chunks with records which are associated with this snapshot. Also, this entity should store the status of the snapshot. This status will indicate that the process is finished. Job id should be a primary key for a snapshot.
Link to API design
- Add schemas
- Add table to database
- Add endpoint definitions to the raml file
- Add implementations to the endpoints methods
- Create API tests for each endpoint