Change request #714

Implement test database as unique JSON object

Added by David Demelier 11 months ago. Updated about 2 months ago.

Status:ClosedStart date:10/04/2017
Priority:NormalDue date:
Assignee:David Demelier% Done:

100%

Category:Server libraryEstimated time:3.00 h
Target version:-
MFD after: Bookmark:@
MFD revision: Submitted by:
Branch:default

Description

Rewrite the storage of object in test_database using a unique JSON object.

Associated revisions

Revision 137:0f9a8ddee022
Added by David Demelier 11 months ago

Server: rework storage of test_database, closes #714

Do not store any objects in maps, instead store a unique nlohmann::json object
in the test_database class, update that object from any model object.

Unify access to the objects with the following functions:

- test_database::ref, access the JSON object,
- test_database::dict, access the parent JSON object.

History

#1 Updated by David Demelier 10 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by David Demelier 10 months ago

  • Status changed from Resolved to Closed

#3 Updated by David Demelier about 2 months ago

  • Target version deleted (0.1)

Also available in: Atom PDF