[asterisk-dev] [Code Review] Sorcery Data Access Abstraction Layer

jcolp reviewboard at asterisk.org
Wed Jan 23 08:29:07 CST 2013

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 23, 2013, 8:29 a.m.)

Review request for Asterisk Developers.


Sorcery is a new API which provides a generic data access/persistence mechanism. A user of this API defines their objects with some special sorcery specific contents. The object types themselves and the fields within the objects are then registered with sorcery. Operations can then occur to create, retrieve, update, or delete objects. There's also other aspects present such as configuration for mapping object types to different persistence mechanisms (with the current one available being in-memory). Other operations also exist which allow objects to be copied and diffed.

* I will run whitespace-cleanup on this :P red blobs will be gone.

Diffs (updated)

  /trunk/res/res_sorcery_memory.c PRE-CREATION 
  /trunk/tests/test_sorcery.c PRE-CREATION 
  /trunk/res/res_sorcery_config.c PRE-CREATION 
  /trunk/main/asterisk.c 380001 
  /trunk/main/sorcery.c PRE-CREATION 
  /trunk/configs/sorcery.conf.sample PRE-CREATION 
  /trunk/configs/test_sorcery.conf.sample PRE-CREATION 
  /trunk/include/asterisk/sorcery.h PRE-CREATION 

Diff: https://reviewboard.asterisk.org/r/2259/diff


Ran unit tests, confirmed they all passed and made changes to ensure the tests are valid.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130123/c5c5ff1c/attachment.htm>

More information about the asterisk-dev mailing list