Project

General

Profile

Change request #714

Implement test database as unique JSON object

Added by David Demelier over 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
libmlk-server
Target version:
-
Start date:
10/04/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
MFD after:
MFD revision:
Branch:
default
Bookmark:
@
Platform:

Description

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

Associated revisions

Revision 137:0f9a8ddee022 (diff)
Added by David Demelier over 1 year 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 about 1 year ago

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

Updated by David Demelier about 1 year ago

  • Status changed from Resolved to Closed
#3

Updated by David Demelier 7 months ago

  • Target version deleted (0.1)

Also available in: Atom PDF