rhosync 2.0.0.beta4 → 2.0.0.beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/doc/protocol.html +81 -81
- data/lib/rhosync/generator.rb +1 -0
- data/lib/rhosync/tasks.rb +8 -8
- data/lib/rhosync/version.rb +1 -1
- metadata +4 -3
data/Rakefile
CHANGED
data/doc/protocol.html
CHANGED
@@ -99,7 +99,7 @@
|
|
99
99
|
</tr>
|
100
100
|
<tr>
|
101
101
|
<td style='text-align: left;'>Cookie</td>
|
102
|
-
<td style='text-align: left;'>rhosync_session=
|
102
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
103
103
|
</tr>
|
104
104
|
</tbody>
|
105
105
|
</table>
|
@@ -134,7 +134,7 @@
|
|
134
134
|
</tr>
|
135
135
|
<tr>
|
136
136
|
<td style='text-align: left;'>Set-Cookie</td>
|
137
|
-
<td style='text-align: left;'>rhosync_session=
|
137
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMT</td>
|
138
138
|
</tr>
|
139
139
|
</tbody>
|
140
140
|
</table>
|
@@ -171,7 +171,7 @@
|
|
171
171
|
</tr>
|
172
172
|
<tr>
|
173
173
|
<td style='text-align: left;'>Cookie</td>
|
174
|
-
<td style='text-align: left;'>rhosync_session=
|
174
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
175
175
|
</tr>
|
176
176
|
</tbody>
|
177
177
|
</table>
|
@@ -206,7 +206,7 @@
|
|
206
206
|
</tr>
|
207
207
|
<tr>
|
208
208
|
<td style='text-align: left;'>Set-Cookie</td>
|
209
|
-
<td style='text-align: left;'>rhosync_session=
|
209
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luMA%3D%3D%0A--604ccfeb391234cc664339bdc9b12bc0435926f0; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luMA%3D%3D%0A--604ccfeb391234cc664339bdc9b12bc0435926f0; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luMA%3D%3D%0A--604ccfeb391234cc664339bdc9b12bc0435926f0; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luMA%3D%3D%0A--604ccfeb391234cc664339bdc9b12bc0435926f0; path=/; expires=Sat, 21-May-2011 20:25:18 GMT</td>
|
210
210
|
</tr>
|
211
211
|
</tbody>
|
212
212
|
</table>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
</tr>
|
244
244
|
<tr>
|
245
245
|
<td style='text-align: left;'>Cookie</td>
|
246
|
-
<td style='text-align: left;'>rhosync_session=
|
246
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
247
247
|
</tr>
|
248
248
|
</tbody>
|
249
249
|
</table>
|
@@ -278,7 +278,7 @@
|
|
278
278
|
</tr>
|
279
279
|
<tr>
|
280
280
|
<td style='text-align: left;'>Set-Cookie</td>
|
281
|
-
<td style='text-align: left;'>rhosync_session=
|
281
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMT</td>
|
282
282
|
</tr>
|
283
283
|
</tbody>
|
284
284
|
</table>
|
@@ -290,7 +290,7 @@
|
|
290
290
|
</thead>
|
291
291
|
<tbody>
|
292
292
|
<tr>
|
293
|
-
<td style='text-align: left;'>{"sources":{"FixedSchemaAdapter":{"schema":{"property":[{"name":"string"},{"brand":"string"},{"price":"string"},{"image_url":"blob"}],"unique_index":[{"by_price":"price"}],"version":"1.0","index":[{"by_name_brand":"name,brand"}]},"poll_interval":300},"SampleAdapter":{"poll_interval":300},"SimpleAdapter":{"partition_type":"app","poll_interval":600}},"client":{"client_id":"
|
293
|
+
<td style='text-align: left;'>{"sources":{"FixedSchemaAdapter":{"schema":{"property":[{"name":"string"},{"brand":"string"},{"price":"string"},{"image_url":"blob"}],"unique_index":[{"by_price":"price"}],"version":"1.0","index":[{"by_name_brand":"name,brand"}]},"poll_interval":300},"SampleAdapter":{"poll_interval":300},"SimpleAdapter":{"partition_type":"app","poll_interval":600}},"client":{"client_id":"1e5d5f8558924315b8cc81cf899655be"}}</td>
|
294
294
|
</tr>
|
295
295
|
</tbody>
|
296
296
|
</table>
|
@@ -315,7 +315,7 @@
|
|
315
315
|
</tr>
|
316
316
|
<tr>
|
317
317
|
<td style='text-align: left;'>Cookie</td>
|
318
|
-
<td style='text-align: left;'>rhosync_session=
|
318
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
319
319
|
</tr>
|
320
320
|
</tbody>
|
321
321
|
</table>
|
@@ -350,7 +350,7 @@
|
|
350
350
|
</tr>
|
351
351
|
<tr>
|
352
352
|
<td style='text-align: left;'>Set-Cookie</td>
|
353
|
-
<td style='text-align: left;'>rhosync_session=
|
353
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMT</td>
|
354
354
|
</tr>
|
355
355
|
</tbody>
|
356
356
|
</table>
|
@@ -362,7 +362,7 @@
|
|
362
362
|
</thead>
|
363
363
|
<tbody>
|
364
364
|
<tr>
|
365
|
-
<td style='text-align: left;'>{"sources":{"FixedSchemaAdapter":{"schema":{"property":[{"name":"string"},{"brand":"string"},{"price":"string"},{"image_url":"blob"}],"unique_index":[{"by_price":"price"}],"version":"1.0","index":[{"by_name_brand":"name,brand"}]},"poll_interval":300},"SampleAdapter":{"poll_interval":300},"SimpleAdapter":{"partition_type":"app","poll_interval":600}},"client":{"client_id":"
|
365
|
+
<td style='text-align: left;'>{"sources":{"FixedSchemaAdapter":{"schema":{"property":[{"name":"string"},{"brand":"string"},{"price":"string"},{"image_url":"blob"}],"unique_index":[{"by_price":"price"}],"version":"1.0","index":[{"by_name_brand":"name,brand"}]},"poll_interval":300},"SampleAdapter":{"poll_interval":300},"SimpleAdapter":{"partition_type":"app","poll_interval":600}},"client":{"client_id":"19b28811b02b4fb287f58e4d040c3d4e"}}</td>
|
366
366
|
</tr>
|
367
367
|
</tbody>
|
368
368
|
</table>
|
@@ -387,7 +387,7 @@
|
|
387
387
|
</tr>
|
388
388
|
<tr>
|
389
389
|
<td style='text-align: left;'>Cookie</td>
|
390
|
-
<td style='text-align: left;'>rhosync_session=
|
390
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
391
391
|
</tr>
|
392
392
|
</tbody>
|
393
393
|
</table>
|
@@ -399,7 +399,7 @@
|
|
399
399
|
</thead>
|
400
400
|
<tbody>
|
401
401
|
<tr>
|
402
|
-
<td>{"device_port":"3333","device_pin":"abcd","device_type":"iPhone","client_id":"
|
402
|
+
<td>{"device_port":"3333","device_pin":"abcd","device_type":"iPhone","client_id":"be7fe099589e4a25a7ac942fd965abfa"}</td>
|
403
403
|
</tr>
|
404
404
|
</tbody>
|
405
405
|
</table>
|
@@ -422,7 +422,7 @@
|
|
422
422
|
</tr>
|
423
423
|
<tr>
|
424
424
|
<td style='text-align: left;'>Set-Cookie</td>
|
425
|
-
<td style='text-align: left;'>rhosync_session=
|
425
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:18 GMT</td>
|
426
426
|
</tr>
|
427
427
|
</tbody>
|
428
428
|
</table>
|
@@ -440,7 +440,7 @@
|
|
440
440
|
</table>
|
441
441
|
<h2 id='6'>6. clientreset - reset client database</h2>
|
442
442
|
|
443
|
-
<h3>Request: GET /application/clientreset?client_id=
|
443
|
+
<h3>Request: GET /application/clientreset?client_id=1c0436e9116c4998abb5361a9843a608</h3>
|
444
444
|
<table>
|
445
445
|
<thead>
|
446
446
|
<tr>
|
@@ -459,7 +459,7 @@
|
|
459
459
|
</tr>
|
460
460
|
<tr>
|
461
461
|
<td style='text-align: left;'>Cookie</td>
|
462
|
-
<td style='text-align: left;'>rhosync_session=
|
462
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
463
463
|
</tr>
|
464
464
|
</tbody>
|
465
465
|
</table>
|
@@ -494,7 +494,7 @@
|
|
494
494
|
</tr>
|
495
495
|
<tr>
|
496
496
|
<td style='text-align: left;'>Set-Cookie</td>
|
497
|
-
<td style='text-align: left;'>rhosync_session=
|
497
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
498
498
|
</tr>
|
499
499
|
</tbody>
|
500
500
|
</table>
|
@@ -531,7 +531,7 @@
|
|
531
531
|
</tr>
|
532
532
|
<tr>
|
533
533
|
<td style='text-align: left;'>Cookie</td>
|
534
|
-
<td style='text-align: left;'>rhosync_session=
|
534
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
535
535
|
</tr>
|
536
536
|
</tbody>
|
537
537
|
</table>
|
@@ -543,7 +543,7 @@
|
|
543
543
|
</thead>
|
544
544
|
<tbody>
|
545
545
|
<tr>
|
546
|
-
<td>{"client_id":"
|
546
|
+
<td>{"source_name":"SampleAdapter","client_id":"fdd0daba63314c9b97a6cbbbb85082f2","create":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}}}</td>
|
547
547
|
</tr>
|
548
548
|
</tbody>
|
549
549
|
</table>
|
@@ -566,7 +566,7 @@
|
|
566
566
|
</tr>
|
567
567
|
<tr>
|
568
568
|
<td style='text-align: left;'>Set-Cookie</td>
|
569
|
-
<td style='text-align: left;'>rhosync_session=
|
569
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
570
570
|
</tr>
|
571
571
|
</tbody>
|
572
572
|
</table>
|
@@ -603,7 +603,7 @@
|
|
603
603
|
</tr>
|
604
604
|
<tr>
|
605
605
|
<td style='text-align: left;'>Cookie</td>
|
606
|
-
<td style='text-align: left;'>rhosync_session=
|
606
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
607
607
|
</tr>
|
608
608
|
</tbody>
|
609
609
|
</table>
|
@@ -615,7 +615,7 @@
|
|
615
615
|
</thead>
|
616
616
|
<tbody>
|
617
617
|
<tr>
|
618
|
-
<td>{"
|
618
|
+
<td>{"source_name":"SampleAdapter","client_id":"c91c5eb1111b4a44b42cf4dc06c68b52","update":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}}}</td>
|
619
619
|
</tr>
|
620
620
|
</tbody>
|
621
621
|
</table>
|
@@ -638,7 +638,7 @@
|
|
638
638
|
</tr>
|
639
639
|
<tr>
|
640
640
|
<td style='text-align: left;'>Set-Cookie</td>
|
641
|
-
<td style='text-align: left;'>rhosync_session=
|
641
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
642
642
|
</tr>
|
643
643
|
</tbody>
|
644
644
|
</table>
|
@@ -675,7 +675,7 @@
|
|
675
675
|
</tr>
|
676
676
|
<tr>
|
677
677
|
<td style='text-align: left;'>Cookie</td>
|
678
|
-
<td style='text-align: left;'>rhosync_session=
|
678
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
679
679
|
</tr>
|
680
680
|
</tbody>
|
681
681
|
</table>
|
@@ -687,7 +687,7 @@
|
|
687
687
|
</thead>
|
688
688
|
<tbody>
|
689
689
|
<tr>
|
690
|
-
<td>{"
|
690
|
+
<td>{"delete":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}},"source_name":"SampleAdapter","client_id":"a0ca140e6594410ca71faeeabc916a02"}</td>
|
691
691
|
</tr>
|
692
692
|
</tbody>
|
693
693
|
</table>
|
@@ -710,7 +710,7 @@
|
|
710
710
|
</tr>
|
711
711
|
<tr>
|
712
712
|
<td style='text-align: left;'>Set-Cookie</td>
|
713
|
-
<td style='text-align: left;'>rhosync_session=
|
713
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
714
714
|
</tr>
|
715
715
|
</tbody>
|
716
716
|
</table>
|
@@ -838,7 +838,7 @@ Content-Disposition: form-data; name="cud"
|
|
838
838
|
</tr>
|
839
839
|
<tr>
|
840
840
|
<td style='text-align: left;'>Cookie</td>
|
841
|
-
<td style='text-align: left;'>rhosync_session=
|
841
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
842
842
|
</tr>
|
843
843
|
</tbody>
|
844
844
|
</table>
|
@@ -850,7 +850,7 @@ Content-Disposition: form-data; name="cud"
|
|
850
850
|
</thead>
|
851
851
|
<tbody>
|
852
852
|
<tr>
|
853
|
-
<td>{"
|
853
|
+
<td>{"delete":{"3":{"price":"299.99","brand":"HTC","name":"Fuze"}},"source_name":"SampleAdapter","client_id":"0ae0b320bd0546df9d5b449e574439a6","create":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}},"update":{"2":{"price":"99.99","brand":"Android","name":"G2"}}}</td>
|
854
854
|
</tr>
|
855
855
|
</tbody>
|
856
856
|
</table>
|
@@ -873,7 +873,7 @@ Content-Disposition: form-data; name="cud"
|
|
873
873
|
</tr>
|
874
874
|
<tr>
|
875
875
|
<td style='text-align: left;'>Set-Cookie</td>
|
876
|
-
<td style='text-align: left;'>rhosync_session=
|
876
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
877
877
|
</tr>
|
878
878
|
</tbody>
|
879
879
|
</table>
|
@@ -891,7 +891,7 @@ Content-Disposition: form-data; name="cud"
|
|
891
891
|
</table>
|
892
892
|
<h2 id='12'>12. create-with-link - send link for created object</h2>
|
893
893
|
|
894
|
-
<h3>Request: GET /application?
|
894
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=2b992cec2d4b4c328676f51fecc0d08d</h3>
|
895
895
|
<table>
|
896
896
|
<thead>
|
897
897
|
<tr>
|
@@ -910,7 +910,7 @@ Content-Disposition: form-data; name="cud"
|
|
910
910
|
</tr>
|
911
911
|
<tr>
|
912
912
|
<td style='text-align: left;'>Cookie</td>
|
913
|
-
<td style='text-align: left;'>rhosync_session=
|
913
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
914
914
|
</tr>
|
915
915
|
</tbody>
|
916
916
|
</table>
|
@@ -945,7 +945,7 @@ Content-Disposition: form-data; name="cud"
|
|
945
945
|
</tr>
|
946
946
|
<tr>
|
947
947
|
<td style='text-align: left;'>Set-Cookie</td>
|
948
|
-
<td style='text-align: left;'>rhosync_session=
|
948
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
949
949
|
</tr>
|
950
950
|
</tbody>
|
951
951
|
</table>
|
@@ -957,13 +957,13 @@ Content-Disposition: form-data; name="cud"
|
|
957
957
|
</thead>
|
958
958
|
<tbody>
|
959
959
|
<tr>
|
960
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
960
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676719557045"},{"count":1},{"progress_count":0},{"total_count":0},{"delete":{"backend_id":{"price":"249.99","brand":"Android","name":"Droid","link":"test link"}},"links":{"4":{"l":"backend_id"}}}]</td>
|
961
961
|
</tr>
|
962
962
|
</tbody>
|
963
963
|
</table>
|
964
964
|
<h2 id='13'>13. query-error - send query error</h2>
|
965
965
|
|
966
|
-
<h3>Request: GET /application?
|
966
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=e3e85ddd220342eba23b37d816997c57</h3>
|
967
967
|
<table>
|
968
968
|
<thead>
|
969
969
|
<tr>
|
@@ -982,7 +982,7 @@ Content-Disposition: form-data; name="cud"
|
|
982
982
|
</tr>
|
983
983
|
<tr>
|
984
984
|
<td style='text-align: left;'>Cookie</td>
|
985
|
-
<td style='text-align: left;'>rhosync_session=
|
985
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
986
986
|
</tr>
|
987
987
|
</tbody>
|
988
988
|
</table>
|
@@ -1017,7 +1017,7 @@ Content-Disposition: form-data; name="cud"
|
|
1017
1017
|
</tr>
|
1018
1018
|
<tr>
|
1019
1019
|
<td style='text-align: left;'>Set-Cookie</td>
|
1020
|
-
<td style='text-align: left;'>rhosync_session=
|
1020
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
1021
1021
|
</tr>
|
1022
1022
|
</tbody>
|
1023
1023
|
</table>
|
@@ -1035,7 +1035,7 @@ Content-Disposition: form-data; name="cud"
|
|
1035
1035
|
</table>
|
1036
1036
|
<h2 id='14'>14. login-error - send login error</h2>
|
1037
1037
|
|
1038
|
-
<h3>Request: GET /application?
|
1038
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=57beff58f3904aff945a46e49ea65037</h3>
|
1039
1039
|
<table>
|
1040
1040
|
<thead>
|
1041
1041
|
<tr>
|
@@ -1054,7 +1054,7 @@ Content-Disposition: form-data; name="cud"
|
|
1054
1054
|
</tr>
|
1055
1055
|
<tr>
|
1056
1056
|
<td style='text-align: left;'>Cookie</td>
|
1057
|
-
<td style='text-align: left;'>rhosync_session=
|
1057
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1058
1058
|
</tr>
|
1059
1059
|
</tbody>
|
1060
1060
|
</table>
|
@@ -1089,7 +1089,7 @@ Content-Disposition: form-data; name="cud"
|
|
1089
1089
|
</tr>
|
1090
1090
|
<tr>
|
1091
1091
|
<td style='text-align: left;'>Set-Cookie</td>
|
1092
|
-
<td style='text-align: left;'>rhosync_session=
|
1092
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
1093
1093
|
</tr>
|
1094
1094
|
</tbody>
|
1095
1095
|
</table>
|
@@ -1107,7 +1107,7 @@ Content-Disposition: form-data; name="cud"
|
|
1107
1107
|
</table>
|
1108
1108
|
<h2 id='15'>15. logoff-error - send logoff error</h2>
|
1109
1109
|
|
1110
|
-
<h3>Request: GET /application?
|
1110
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=ac3e31ffac6f48d1b3cf48dcdd0f50cc</h3>
|
1111
1111
|
<table>
|
1112
1112
|
<thead>
|
1113
1113
|
<tr>
|
@@ -1126,7 +1126,7 @@ Content-Disposition: form-data; name="cud"
|
|
1126
1126
|
</tr>
|
1127
1127
|
<tr>
|
1128
1128
|
<td style='text-align: left;'>Cookie</td>
|
1129
|
-
<td style='text-align: left;'>rhosync_session=
|
1129
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1130
1130
|
</tr>
|
1131
1131
|
</tbody>
|
1132
1132
|
</table>
|
@@ -1161,7 +1161,7 @@ Content-Disposition: form-data; name="cud"
|
|
1161
1161
|
</tr>
|
1162
1162
|
<tr>
|
1163
1163
|
<td style='text-align: left;'>Set-Cookie</td>
|
1164
|
-
<td style='text-align: left;'>rhosync_session=
|
1164
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
1165
1165
|
</tr>
|
1166
1166
|
</tbody>
|
1167
1167
|
</table>
|
@@ -1173,13 +1173,13 @@ Content-Disposition: form-data; name="cud"
|
|
1173
1173
|
</thead>
|
1174
1174
|
<tbody>
|
1175
1175
|
<tr>
|
1176
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
1176
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676719823020"},{"count":1},{"progress_count":0},{"total_count":1},{"source-error":{"logoff-error":{"message":"Error logging off"}},"insert":{"0_broken_object_id":{"name":"logoff error","an_attribute":"Error logging off"}}}]</td>
|
1177
1177
|
</tr>
|
1178
1178
|
</tbody>
|
1179
1179
|
</table>
|
1180
1180
|
<h2 id='16'>16. create-error - send create error</h2>
|
1181
1181
|
|
1182
|
-
<h3>Request: GET /application?
|
1182
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=9b74717d9c1242f39f74616592f80541</h3>
|
1183
1183
|
<table>
|
1184
1184
|
<thead>
|
1185
1185
|
<tr>
|
@@ -1198,7 +1198,7 @@ Content-Disposition: form-data; name="cud"
|
|
1198
1198
|
</tr>
|
1199
1199
|
<tr>
|
1200
1200
|
<td style='text-align: left;'>Cookie</td>
|
1201
|
-
<td style='text-align: left;'>rhosync_session=
|
1201
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1202
1202
|
</tr>
|
1203
1203
|
</tbody>
|
1204
1204
|
</table>
|
@@ -1233,7 +1233,7 @@ Content-Disposition: form-data; name="cud"
|
|
1233
1233
|
</tr>
|
1234
1234
|
<tr>
|
1235
1235
|
<td style='text-align: left;'>Set-Cookie</td>
|
1236
|
-
<td style='text-align: left;'>rhosync_session=
|
1236
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:19 GMT</td>
|
1237
1237
|
</tr>
|
1238
1238
|
</tbody>
|
1239
1239
|
</table>
|
@@ -1251,7 +1251,7 @@ Content-Disposition: form-data; name="cud"
|
|
1251
1251
|
</table>
|
1252
1252
|
<h2 id='17'>17. update-error - send update error</h2>
|
1253
1253
|
|
1254
|
-
<h3>Request: GET /application?
|
1254
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=0ab8eebcd90546588173d27175867120</h3>
|
1255
1255
|
<table>
|
1256
1256
|
<thead>
|
1257
1257
|
<tr>
|
@@ -1270,7 +1270,7 @@ Content-Disposition: form-data; name="cud"
|
|
1270
1270
|
</tr>
|
1271
1271
|
<tr>
|
1272
1272
|
<td style='text-align: left;'>Cookie</td>
|
1273
|
-
<td style='text-align: left;'>rhosync_session=
|
1273
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1274
1274
|
</tr>
|
1275
1275
|
</tbody>
|
1276
1276
|
</table>
|
@@ -1305,7 +1305,7 @@ Content-Disposition: form-data; name="cud"
|
|
1305
1305
|
</tr>
|
1306
1306
|
<tr>
|
1307
1307
|
<td style='text-align: left;'>Set-Cookie</td>
|
1308
|
-
<td style='text-align: left;'>rhosync_session=
|
1308
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1309
1309
|
</tr>
|
1310
1310
|
</tbody>
|
1311
1311
|
</table>
|
@@ -1323,7 +1323,7 @@ Content-Disposition: form-data; name="cud"
|
|
1323
1323
|
</table>
|
1324
1324
|
<h2 id='18'>18. delete-error - send delete error</h2>
|
1325
1325
|
|
1326
|
-
<h3>Request: GET /application?
|
1326
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=886999451df847b89ee9862b617e0ea8</h3>
|
1327
1327
|
<table>
|
1328
1328
|
<thead>
|
1329
1329
|
<tr>
|
@@ -1342,7 +1342,7 @@ Content-Disposition: form-data; name="cud"
|
|
1342
1342
|
</tr>
|
1343
1343
|
<tr>
|
1344
1344
|
<td style='text-align: left;'>Cookie</td>
|
1345
|
-
<td style='text-align: left;'>rhosync_session=
|
1345
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1346
1346
|
</tr>
|
1347
1347
|
</tbody>
|
1348
1348
|
</table>
|
@@ -1377,7 +1377,7 @@ Content-Disposition: form-data; name="cud"
|
|
1377
1377
|
</tr>
|
1378
1378
|
<tr>
|
1379
1379
|
<td style='text-align: left;'>Set-Cookie</td>
|
1380
|
-
<td style='text-align: left;'>rhosync_session=
|
1380
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1381
1381
|
</tr>
|
1382
1382
|
</tbody>
|
1383
1383
|
</table>
|
@@ -1395,7 +1395,7 @@ Content-Disposition: form-data; name="cud"
|
|
1395
1395
|
</table>
|
1396
1396
|
<h2 id='19'>19. insert objects - send insert objects</h2>
|
1397
1397
|
|
1398
|
-
<h3>Request: GET /application?
|
1398
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=e853910aa15d4f2eab7514d73daa9073</h3>
|
1399
1399
|
<table>
|
1400
1400
|
<thead>
|
1401
1401
|
<tr>
|
@@ -1414,7 +1414,7 @@ Content-Disposition: form-data; name="cud"
|
|
1414
1414
|
</tr>
|
1415
1415
|
<tr>
|
1416
1416
|
<td style='text-align: left;'>Cookie</td>
|
1417
|
-
<td style='text-align: left;'>rhosync_session=
|
1417
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1418
1418
|
</tr>
|
1419
1419
|
</tbody>
|
1420
1420
|
</table>
|
@@ -1449,7 +1449,7 @@ Content-Disposition: form-data; name="cud"
|
|
1449
1449
|
</tr>
|
1450
1450
|
<tr>
|
1451
1451
|
<td style='text-align: left;'>Set-Cookie</td>
|
1452
|
-
<td style='text-align: left;'>rhosync_session=
|
1452
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1453
1453
|
</tr>
|
1454
1454
|
</tbody>
|
1455
1455
|
</table>
|
@@ -1461,13 +1461,13 @@ Content-Disposition: form-data; name="cud"
|
|
1461
1461
|
</thead>
|
1462
1462
|
<tbody>
|
1463
1463
|
<tr>
|
1464
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
1464
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676720200361"},{"count":2},{"progress_count":0},{"total_count":2},{"insert":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"},"2":{"brand":"Android","price":"99.99","name":"G2"}}}]</td>
|
1465
1465
|
</tr>
|
1466
1466
|
</tbody>
|
1467
1467
|
</table>
|
1468
1468
|
<h2 id='20'>20. metadata - send metadata</h2>
|
1469
1469
|
|
1470
|
-
<h3>Request: GET /application?
|
1470
|
+
<h3>Request: GET /application?source_name=SampleAdapter&version=3&client_id=7116271a62b040d6a7683f63999ef227</h3>
|
1471
1471
|
<table>
|
1472
1472
|
<thead>
|
1473
1473
|
<tr>
|
@@ -1486,7 +1486,7 @@ Content-Disposition: form-data; name="cud"
|
|
1486
1486
|
</tr>
|
1487
1487
|
<tr>
|
1488
1488
|
<td style='text-align: left;'>Cookie</td>
|
1489
|
-
<td style='text-align: left;'>rhosync_session=
|
1489
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1490
1490
|
</tr>
|
1491
1491
|
</tbody>
|
1492
1492
|
</table>
|
@@ -1521,7 +1521,7 @@ Content-Disposition: form-data; name="cud"
|
|
1521
1521
|
</tr>
|
1522
1522
|
<tr>
|
1523
1523
|
<td style='text-align: left;'>Set-Cookie</td>
|
1524
|
-
<td style='text-align: left;'>rhosync_session=
|
1524
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1525
1525
|
</tr>
|
1526
1526
|
</tbody>
|
1527
1527
|
</table>
|
@@ -1533,13 +1533,13 @@ Content-Disposition: form-data; name="cud"
|
|
1533
1533
|
</thead>
|
1534
1534
|
<tbody>
|
1535
1535
|
<tr>
|
1536
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
1536
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676720335975"},{"count":3},{"progress_count":0},{"total_count":3},{"metadata":"{\"foo\":\"bar\"}","insert":{"1":{"name":"iPhone","brand":"Apple","price":"199.99"},"2":{"name":"G2","brand":"Android","price":"99.99"},"3":{"name":"Fuze","price":"299.99","brand":"HTC"}}}]</td>
|
1537
1537
|
</tr>
|
1538
1538
|
</tbody>
|
1539
1539
|
</table>
|
1540
1540
|
<h2 id='21'>21. delete objects - send delete objects</h2>
|
1541
1541
|
|
1542
|
-
<h3>Request: GET /application?
|
1542
|
+
<h3>Request: GET /application?token=43676720406441&source_name=SampleAdapter&version=3&client_id=0195234773be4abe807c81d2852224ad</h3>
|
1543
1543
|
<table>
|
1544
1544
|
<thead>
|
1545
1545
|
<tr>
|
@@ -1558,7 +1558,7 @@ Content-Disposition: form-data; name="cud"
|
|
1558
1558
|
</tr>
|
1559
1559
|
<tr>
|
1560
1560
|
<td style='text-align: left;'>Cookie</td>
|
1561
|
-
<td style='text-align: left;'>rhosync_session=
|
1561
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1562
1562
|
</tr>
|
1563
1563
|
</tbody>
|
1564
1564
|
</table>
|
@@ -1593,7 +1593,7 @@ Content-Disposition: form-data; name="cud"
|
|
1593
1593
|
</tr>
|
1594
1594
|
<tr>
|
1595
1595
|
<td style='text-align: left;'>Set-Cookie</td>
|
1596
|
-
<td style='text-align: left;'>rhosync_session=
|
1596
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1597
1597
|
</tr>
|
1598
1598
|
</tbody>
|
1599
1599
|
</table>
|
@@ -1605,13 +1605,13 @@ Content-Disposition: form-data; name="cud"
|
|
1605
1605
|
</thead>
|
1606
1606
|
<tbody>
|
1607
1607
|
<tr>
|
1608
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
1608
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676720427155"},{"count":2},{"progress_count":0},{"total_count":0},{"delete":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"},"2":{"name":"G2","price":"99.99","brand":"Android"}}}]</td>
|
1609
1609
|
</tr>
|
1610
1610
|
</tbody>
|
1611
1611
|
</table>
|
1612
1612
|
<h2 id='22'>22. insert-delete objects - send insert and delete objects</h2>
|
1613
1613
|
|
1614
|
-
<h3>Request: GET /application?
|
1614
|
+
<h3>Request: GET /application?token=43676720498301&source_name=SampleAdapter&version=3&client_id=e6beeae349144f7db22c0dca95a03b20</h3>
|
1615
1615
|
<table>
|
1616
1616
|
<thead>
|
1617
1617
|
<tr>
|
@@ -1630,7 +1630,7 @@ Content-Disposition: form-data; name="cud"
|
|
1630
1630
|
</tr>
|
1631
1631
|
<tr>
|
1632
1632
|
<td style='text-align: left;'>Cookie</td>
|
1633
|
-
<td style='text-align: left;'>rhosync_session=
|
1633
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1634
1634
|
</tr>
|
1635
1635
|
</tbody>
|
1636
1636
|
</table>
|
@@ -1665,7 +1665,7 @@ Content-Disposition: form-data; name="cud"
|
|
1665
1665
|
</tr>
|
1666
1666
|
<tr>
|
1667
1667
|
<td style='text-align: left;'>Set-Cookie</td>
|
1668
|
-
<td style='text-align: left;'>rhosync_session=
|
1668
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1669
1669
|
</tr>
|
1670
1670
|
</tbody>
|
1671
1671
|
</table>
|
@@ -1677,13 +1677,13 @@ Content-Disposition: form-data; name="cud"
|
|
1677
1677
|
</thead>
|
1678
1678
|
<tbody>
|
1679
1679
|
<tr>
|
1680
|
-
<td style='text-align: left;'>[{"version":3},{"token":"
|
1680
|
+
<td style='text-align: left;'>[{"version":3},{"token":"43676720585674"},{"count":2},{"progress_count":1},{"total_count":2},{"delete":{"2":{"name":"G2","brand":"Android","price":"99.99"}},"insert":{"3":{"name":"Fuze","price":"299.99","brand":"HTC"}}}]</td>
|
1681
1681
|
</tr>
|
1682
1682
|
</tbody>
|
1683
1683
|
</table>
|
1684
1684
|
<h2 id='23'>23. search result - send search results</h2>
|
1685
1685
|
|
1686
|
-
<h3>Request: GET /application/search?
|
1686
|
+
<h3>Request: GET /application/search?search[name]=iPhone&sources[][name]=SampleAdapter&version=3&client_id=c7180f79306d438db0b538aee8c8352b</h3>
|
1687
1687
|
<table>
|
1688
1688
|
<thead>
|
1689
1689
|
<tr>
|
@@ -1702,7 +1702,7 @@ Content-Disposition: form-data; name="cud"
|
|
1702
1702
|
</tr>
|
1703
1703
|
<tr>
|
1704
1704
|
<td style='text-align: left;'>Cookie</td>
|
1705
|
-
<td style='text-align: left;'>rhosync_session=
|
1705
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1706
1706
|
</tr>
|
1707
1707
|
</tbody>
|
1708
1708
|
</table>
|
@@ -1737,7 +1737,7 @@ Content-Disposition: form-data; name="cud"
|
|
1737
1737
|
</tr>
|
1738
1738
|
<tr>
|
1739
1739
|
<td style='text-align: left;'>Set-Cookie</td>
|
1740
|
-
<td style='text-align: left;'>rhosync_session=
|
1740
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1741
1741
|
</tr>
|
1742
1742
|
</tbody>
|
1743
1743
|
</table>
|
@@ -1749,13 +1749,13 @@ Content-Disposition: form-data; name="cud"
|
|
1749
1749
|
</thead>
|
1750
1750
|
<tbody>
|
1751
1751
|
<tr>
|
1752
|
-
<td style='text-align: left;'>[[{"version":3},{"token":"
|
1752
|
+
<td style='text-align: left;'>[[{"version":3},{"token":"43676720643934"},{"source":"SampleAdapter"},{"count":1},{"insert":{"1":{"brand":"Apple","name":"iPhone","price":"199.99"}}}]]</td>
|
1753
1753
|
</tr>
|
1754
1754
|
</tbody>
|
1755
1755
|
</table>
|
1756
1756
|
<h2 id='24'>24. search error - send search error</h2>
|
1757
1757
|
|
1758
|
-
<h3>Request: GET /application/search?
|
1758
|
+
<h3>Request: GET /application/search?search[name]=iPhone&sources[][name]=SampleAdapter&version=3&client_id=4319da4b9048472295fc26042dc10a87</h3>
|
1759
1759
|
<table>
|
1760
1760
|
<thead>
|
1761
1761
|
<tr>
|
@@ -1774,7 +1774,7 @@ Content-Disposition: form-data; name="cud"
|
|
1774
1774
|
</tr>
|
1775
1775
|
<tr>
|
1776
1776
|
<td style='text-align: left;'>Cookie</td>
|
1777
|
-
<td style='text-align: left;'>rhosync_session=
|
1777
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1778
1778
|
</tr>
|
1779
1779
|
</tbody>
|
1780
1780
|
</table>
|
@@ -1809,7 +1809,7 @@ Content-Disposition: form-data; name="cud"
|
|
1809
1809
|
</tr>
|
1810
1810
|
<tr>
|
1811
1811
|
<td style='text-align: left;'>Set-Cookie</td>
|
1812
|
-
<td style='text-align: left;'>rhosync_session=
|
1812
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1813
1813
|
</tr>
|
1814
1814
|
</tbody>
|
1815
1815
|
</table>
|
@@ -1827,7 +1827,7 @@ Content-Disposition: form-data; name="cud"
|
|
1827
1827
|
</table>
|
1828
1828
|
<h2 id='25'>25. multi source search - send multiple sources in search results</h2>
|
1829
1829
|
|
1830
|
-
<h3>Request: GET /application/search?
|
1830
|
+
<h3>Request: GET /application/search?search[search]=bar&sources[][name]=SimpleAdapter&sources[][name]=SampleAdapter&version=3&client_id=0aaddb306c574976a0a23ea3cd53e4fb</h3>
|
1831
1831
|
<table>
|
1832
1832
|
<thead>
|
1833
1833
|
<tr>
|
@@ -1846,7 +1846,7 @@ Content-Disposition: form-data; name="cud"
|
|
1846
1846
|
</tr>
|
1847
1847
|
<tr>
|
1848
1848
|
<td style='text-align: left;'>Cookie</td>
|
1849
|
-
<td style='text-align: left;'>rhosync_session=
|
1849
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1850
1850
|
</tr>
|
1851
1851
|
</tbody>
|
1852
1852
|
</table>
|
@@ -1881,7 +1881,7 @@ Content-Disposition: form-data; name="cud"
|
|
1881
1881
|
</tr>
|
1882
1882
|
<tr>
|
1883
1883
|
<td style='text-align: left;'>Set-Cookie</td>
|
1884
|
-
<td style='text-align: left;'>rhosync_session=
|
1884
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1885
1885
|
</tr>
|
1886
1886
|
</tbody>
|
1887
1887
|
</table>
|
@@ -1893,13 +1893,13 @@ Content-Disposition: form-data; name="cud"
|
|
1893
1893
|
</thead>
|
1894
1894
|
<tbody>
|
1895
1895
|
<tr>
|
1896
|
-
<td style='text-align: left;'>[[{"version":3},{"token":"
|
1896
|
+
<td style='text-align: left;'>[[{"version":3},{"token":"43676720765507"},{"source":"SimpleAdapter"},{"count":1},{"insert":{"obj":{"foo":"bar"}}}],[{"version":3},{"token":"43676720770539"},{"source":"SampleAdapter"},{"count":1},{"insert":{"1":{"brand":"Apple","name":"iPhone","price":"199.99"}}}]]</td>
|
1897
1897
|
</tr>
|
1898
1898
|
</tbody>
|
1899
1899
|
</table>
|
1900
1900
|
<h2 id='26'>26. multi source search ack - acknowledge search result on multiple sources</h2>
|
1901
1901
|
|
1902
|
-
<h3>Request: GET /application/search?
|
1902
|
+
<h3>Request: GET /application/search?sources[][name]=SimpleAdapter&sources[][token]=43676720892402&sources[][name]=SampleAdapter&sources[][token]=43676720897012&version=3&client_id=657c37b3cce0463ea3115072c0ced891</h3>
|
1903
1903
|
<table>
|
1904
1904
|
<thead>
|
1905
1905
|
<tr>
|
@@ -1918,7 +1918,7 @@ Content-Disposition: form-data; name="cud"
|
|
1918
1918
|
</tr>
|
1919
1919
|
<tr>
|
1920
1920
|
<td style='text-align: left;'>Cookie</td>
|
1921
|
-
<td style='text-align: left;'>rhosync_session=
|
1921
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941</td>
|
1922
1922
|
</tr>
|
1923
1923
|
</tbody>
|
1924
1924
|
</table>
|
@@ -1953,7 +1953,7 @@ Content-Disposition: form-data; name="cud"
|
|
1953
1953
|
</tr>
|
1954
1954
|
<tr>
|
1955
1955
|
<td style='text-align: left;'>Set-Cookie</td>
|
1956
|
-
<td style='text-align: left;'>rhosync_session=
|
1956
|
+
<td style='text-align: left;'>rhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMTrhosync_session=BAh7CDoJYXV0aCIOZGVsZWdhdGVkOg1hcHBfbmFtZSIQYXBwbGljYXRpb246%0ACmxvZ2luIg10ZXN0dXNlcg%3D%3D%0A--352115e65a41340d45ce71ee0057858b9a5dc941; path=/; expires=Sat, 21-May-2011 20:25:20 GMT</td>
|
1957
1957
|
</tr>
|
1958
1958
|
</tbody>
|
1959
1959
|
</table>
|
@@ -0,0 +1 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../generators/rhosync'
|
data/lib/rhosync/tasks.rb
CHANGED
@@ -118,14 +118,14 @@ namespace :rhosync do
|
|
118
118
|
RhosyncApi.delete_client($url,$token,user_id,device_id)
|
119
119
|
end
|
120
120
|
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
121
|
+
desc "Updates an existing user in rhosync"
|
122
|
+
task :update_user => :config do
|
123
|
+
login = ask "login: "
|
124
|
+
password = ask "password: "
|
125
|
+
new_password = ask "new password: "
|
126
|
+
post("/api/update_user", {:app_name => $appname, :api_token => $token,
|
127
|
+
:login => login, :password => password, :attributes => {:new_password => new_password}})
|
128
|
+
end
|
129
129
|
|
130
130
|
desc "Reset source refresh time"
|
131
131
|
task :reset_refresh => :config do
|
data/lib/rhosync/version.rb
CHANGED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 2
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.0.
|
9
|
+
- beta6
|
10
|
+
version: 2.0.0.beta6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rhomobile
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-05-
|
18
|
+
date: 2010-05-21 00:00:00 -07:00
|
19
19
|
default_executable: rhosync
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -359,6 +359,7 @@ files:
|
|
359
359
|
- lib/rhosync/console/server.rb
|
360
360
|
- lib/rhosync/credential.rb
|
361
361
|
- lib/rhosync/document.rb
|
362
|
+
- lib/rhosync/generator.rb
|
362
363
|
- lib/rhosync/indifferent_access.rb
|
363
364
|
- lib/rhosync/jobs/bulk_data_job.rb
|
364
365
|
- lib/rhosync/jobs/ping_job.rb
|