We're updating the issue view to help you get more done. 

Add versioning to FTAP resource

Description

Acceptance criteria

  • add new field version to the FTAP resource based on design in OLMIS‌-3884

  • each time when a field in FTAP is changed a new version should be created

    • changing the value for the active flag also increments the version

  • for update, the version field should be ignored

  • the old version should be available in the system even if the flag is inactive (it will be used by requisitions)

  • changes in orderable do not affect FTAP version

  • search endpoint by default returns the newest versions

  • search endpoint should supports version parameter

    • probably the POST search endpoint should be added

  • get by id endpoint should support version parameter

  • only the latest FTAP can be active

  • update demo-data

  • delete endpoint should remove all versions when the only id is provided

Status

Assignee

Łukasz Lewczyński

Reporter

Łukasz Lewczyński

Labels

Story Points

5

Time tracking

40h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major