Hello, We are developing an application with the following architecture:
Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer According to this post: https://groups.google.com/forum/#!searchin/mobile-couchbase/curl $20-X$20PUT$20admin_channels/mobile-couchbase/1QuAuoh6lbI/y2VQeq5G270J I've found that my mobile app only recognizes data sent directly through Sync_Gateway to the Couchbase Server, so all data previously inserted into CouchbaseServer (configuration mostly: User Data, etc) using "external" tools (e.g. JAVA SDK) cannot be read by the mobile App. How can I read the previous/existent data without having to re-enter it using Sync_Gateway? Thanks in advance! - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer I've found that my mobile app only recognizes data sent directly through Sync_Gateway to the Couchbase Server, but it doesn´t "see" any previous data inserted to the CouchbaseServer. So I have two options to get all my data in sync: 1. Both (Web Portal and Mobile Devices) entering data via Sync_Gateway 2. Using method called "Bucket Shadowing" (preferred) Right now I'm using a bucket named "Restaurant" on Couchbase Server, and my local Sync_Gateway connects to it. According to the documentation I need to create a new "shadow" bucket on Couchbase Server and update my config.json to tell Sync_Gateway to connect to existing bucket "Restaurant". Then I have some questions: 1. Will I end up having two buckets, the original "Restaurant" and a new one "Shadow_Restaurant" on my Couchbase Server, right? 2. Will the Mobile device (via Sync_Gateway) read/write data from the new "Shadow_Restaurant" or from original "Restaurant" bucket? 3. Will the Web Portal still writing to the original "Restaurant" bucket as it does today or it will write data to the new "Shadow_Restaurant" bucket? 4. Using this approach, the Mobile device will be able to "see" the data from the original "Restaurant" bucket, right? Kind Regards! //Javier We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer According to this post: https://groups.google.com/forum/#!searchin/mobile-couchbase/curl $20-X$20PUT$20admin_channels/mobile-couchbase/1QuAuoh6lbI/y2VQeq5G270J I've found that my mobile app only recognizes data sent directly through Sync_Gateway to the Couchbase Server, so all data previously inserted into CouchbaseServer (configuration mostly: User Data, etc) using "external" tools (e.g. JAVA SDK) cannot be read by the mobile App. How can I read the previous/existent data without having to re-enter it using Sync_Gateway? Thanks in advance! - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf We are developing an application with the following architecture: Admin Web Portal --> CouchbaseServer Mobile Device (using CouchBase Lite for iOS) --> Sync_Gateway --> CouchbaseServer According to this post: https://groups.google.com/forum/#!searchin/mobile-couchbase/curl $20-X$20PUT$20admin_channels/mobile-couchbase/1QuAuoh6lbI/y2VQeq5G270J I've found that my mobile app only recognizes data sent directly through Sync_Gateway to the Couchbase Server, so all data previously inserted into CouchbaseServer (configuration mostly: User Data, etc) using "external" tools (e.g. JAVA SDK) cannot be read by the mobile App. How can I read the previous/existent data without having to re-enter it using Sync_Gateway? Thanks in advance! - See more at: http://www.couchbase.com/communities/q-and-a/it-mandatory-use-syncgateway-now#sthash.I6sG8PxE.dpuf -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3b326a5b-797b-4e77-9496-a2e923637823%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
