Wiki » History » Version 10
Tomek Dziemidowicz, 2019-07-04 01:07 PM
1 | 2 | Tomek Dziemidowicz | h1. SQLite-sync documentation |
---|---|---|---|
2 | |||
3 | *Owner* : AMPLIFIER sp. z o.o. |
||
4 | *Contact* : support (at) ampliapps.com |
||
5 | *website* : https://ampliapps.com |
||
6 | |||
7 | 3 | Tomek Dziemidowicz | {{>toc}} |
8 | |||
9 | 9 | Tomek Dziemidowicz | Welcome to the AMPLI-SYNC documentation! |
10 | We have language bindings in JavaScript, .NET C#, Java and Objective-C! |
||
11 | 1 | Tomek Dziemidowicz | |
12 | 9 | Tomek Dziemidowicz | h2. AMPLI-SYNC concept |
13 | |||
14 | h3. Solution diagram |
||
15 | |||
16 | 8 | Tomek Dziemidowicz | !{width:700px}SQLite-sync-structure.png! |
17 | 1 | Tomek Dziemidowicz | |
18 | 9 | Tomek Dziemidowicz | # Devices communicate with server using HTTP/HTTPS protocol. |
19 | # Proxy Load Balancer. If necessary, proxy can redirect request to another instance of SQLite-core. |
||
20 | # Authorization provider will generate token based on response from authorization provider. |
||
21 | |||
22 | h3. Proxy Balancer flowchart |
||
23 | |||
24 | !{width:400px}SQLite-sync-proxy-balancer.png! |
||
25 | |||
26 | h3. Authorization Provider flowchart |
||
27 | |||
28 | !{width:350px}SQLite-sync-authentication-process.png! |
||
29 | |||
30 | 2 | Tomek Dziemidowicz | h2. REST API (server API) |
31 | |||
32 | 10 | Tomek Dziemidowicz | h3. Protocol version |
33 | |||
34 | This document describes integration with the REST API 3.x protocol. |
||
35 | |||
36 | h3. Service description |
||
37 | |||
38 | There are two stages to processing a request: |
||
39 | |||
40 | # Device places an request. |
||
41 | # SQLite-sync server confirms the request has been processed successfully and sends confirmation with eventual conflict list that need to be resolved. |
||
42 | |||
43 | |||
44 | 2 | Tomek Dziemidowicz | h2. Conflict Resolution |
45 | |||
46 | h2. Update procedure |
||
47 | |||
48 | h2. Data filtering |
||
49 | |||
50 | 1 | Tomek Dziemidowicz | h2. Installation |
51 | 9 | Tomek Dziemidowicz | |
52 | h3. Manual |
||
53 | |||
54 | h3. Docker |
||
55 | 2 | Tomek Dziemidowicz | |
56 | h2. Supported databases |
||
57 | |||
58 | h2. Samples |