Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
content:activity:naf4 [13/07/2014 20:44] Andrew Bettison [Preliminary work] improve description of Serval DNA power consumption |
content:activity:naf4 [21/02/2016 22:40] (current) Andrew Bettison Add disclaimer and links to API pages |
| |
In November 2013, [[:content:about]] commenced a fourth round of work for the [[http://www.newamerica.net/|New America Foundation]]'s [[http://oti.newamerica.net/|Open Technology Institute]] to develop a [[http://en.wikipedia.org/wiki/Representational_state_transfer|RESTful]] [[http://en.wikipedia.org/wiki/Api|API]] for [[:content:tech:Rhizome]]. The aim is to allow Commotion Wireless and other third party Android apps to use Serval's secure, authenticated and non-centralised file distribution. | In November 2013, [[:content:about]] commenced a fourth round of work for the [[http://www.newamerica.net/|New America Foundation]]'s [[http://oti.newamerica.net/|Open Technology Institute]] to develop a [[http://en.wikipedia.org/wiki/Representational_state_transfer|RESTful]] [[http://en.wikipedia.org/wiki/Api|API]] for [[:content:tech:Rhizome]]. The aim is to allow Commotion Wireless and other third party Android apps to use Serval's secure, authenticated and non-centralised file distribution. |
| |
| **THE FOLLOWING DESCRIPTION OF WORK DOES NOT SPECIFY THE CURRENT RHIZOME OR MESHMS REST APIS. SEE [[:content:tech:Rhizome API|RHIZOME API]] AND [[:content:tech:MeshMS API|MESHMS API]] FOR THE UP-TO-DATE DEFINITIONS.** |
| |
===== Section 1: Scope of Work ===== | ===== Section 1: Scope of Work ===== |
* ''POST /restful/meshms/<SID>/<SID>/recv/<offset>/read'' advances the read-offset in a single conversation, to mark a single message (and all its predecessors) as read | * ''POST /restful/meshms/<SID>/<SID>/recv/<offset>/read'' advances the read-offset in a single conversation, to mark a single message (and all its predecessors) as read |
| |
===== PROGRESS REPORT ===== | ===== COMPLETION REPORT ===== |
| |
| The work was completed on 14 July 2014, having been performed concurrently with three other contracts: |
| * [[naf5]] |
| * [[naf6]] |
| * [[openitp2]] |
| |
==== Preliminary work ==== | ==== Preliminary work ==== |
* commit [[https://github.com/servalproject/serval-dna/commit/db8ee79a4ee11bc0ddf48e9c451fa813b9844851#diff-7|db8ee79]] added the new Rhizome Java API test script | * commit [[https://github.com/servalproject/serval-dna/commit/db8ee79a4ee11bc0ddf48e9c451fa813b9844851#diff-7|db8ee79]] added the new Rhizome Java API test script |
* commit [[https://github.com/servalproject/serval-dna/commit/c5d3069d823f52494ed5095529ab60fbdab0a8fd|c5d3069]] ensured that the JNI API library is always built by the ''make all'' command | * commit [[https://github.com/servalproject/serval-dna/commit/c5d3069d823f52494ed5095529ab60fbdab0a8fd|c5d3069]] ensured that the JNI API library is always built by the ''make all'' command |
| |
| The test code coverage for the new C source code created by this contract exceeds the average: |
| |
| ^ ^ Lines ^^ Functions ^^ |
| | ''http_server.c'' | 70% | 927/1325 | 95.5% | 64/67 | |
| | ''meshms_restful.c'' | 89% | 316/355 | 100% | 21/21 | |
| | ''rhizome_restful.c'' | 82% | 410/500 | 100% | 24/24 | |
| ^ Average for all Serval DNA source code ^^^^^ |
| | ''*.c *.h'' | 72.2% | 17904/24796 | 81.9% | 1516/1851 | |
| |
| There are no code coverage statistics for the Java source code. |
| |
**[[#R15]]** -- upgrade Serval Mesh app for Android (completed 25 June 2014) | **[[#R15]]** -- upgrade Serval Mesh app for Android (completed 25 June 2014) |