Sync Gateway has a REST API 
<https://developer.couchbase.com/documentation/mobile/current/references/sync-gateway/rest-api/index.html>,
 
and so if your CLI application has the same Sync Gateway credentials as the 
iOS app, it can detect when new changes appear on Sync Gateway, which would 
tell you when you need to open the iOS app to pull new information.  


On Monday, May 21, 2018 at 11:12:08 AM UTC-7, [email protected] 
wrote:
>
> For an iOS project that is having multiple sync replication to different 
> buckets, is it possible to create a mac os x service that monitors all sync 
> gateway replications being used in the iOS project. The Couchbase server is 
> on a remote machine. By having a mac os x service/process/daemon we can 
> monitor all sync gateway replication and can log errors through CBLManager 
> class's logging methods.
> Is it possible to create such mac os x service/process/deaemon?
>
> If we opt for mac os x command line tool such that it will take 
> sync-gateway url and its credentials as input and start monitoring for 
> replication, is it possible?
>
> Note: The purpose of this monitor is to be able to see the sync gateway 
> status at any point without running the respective iOS application and 
> checking through logs.
>
> Thanks
>

-- 
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/3be2e60f-c2d5-4274-b2a3-b35c7b6289a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to