You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Varun Jain (Jira)" <ji...@apache.org> on 2021/06/01 11:14:00 UTC

[jira] [Commented] (FINCN-238) Couchbase integration in Fineract CN Mobile & required changes in Fineract CN

    [ https://issues.apache.org/jira/browse/FINCN-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355015#comment-17355015 ] 

Varun Jain commented on FINCN-238:
----------------------------------

Hey [~jawidMuhammadi] ! The link which you have attached in the 2nd option for instructions regarding the installation and configuring of the Coucbase set up in the local machine, is no more working. Please update this link [https://github.com/apache/fineract-cn-mobile/wiki/Couchbase-Mobile|http://example.com/] instead.

> Couchbase integration in Fineract CN Mobile & required changes in Fineract CN
> -----------------------------------------------------------------------------
>
>                 Key: FINCN-238
>                 URL: https://issues.apache.org/jira/browse/FINCN-238
>             Project: Fineract Cloud Native
>          Issue Type: New Feature
>          Components: fineract-cn-api
>            Reporter: Ahmad Jawid Muhammadi
>            Priority: Major
>              Labels: Couchbase, fineract, gsoc2020
>         Attachments: rsz_screenshot_from_2020-08-22_22-12-56.png, rsz_screenshot_from_2020-08-23_01-52-41.png
>
>
> *What is Couchbase?*
> Couchbase Mobile is the complete NoSQL database solution for all data storage, access, sync, and security across the entire application stack. It includes an Embedded database, Rest API, and Synchronization. 
> *How it is implemented in FCN Mobile?*
> I added a _+String+_ variable named "{color:#00875a}+documentType+{color}" in two Data Classes like:
> {code:java}
> String documentType = "Group"{code}
> and
> {code:java}
> String documentType = "Customer"{code}
> As I described above Couchbase database stores all data models as a JSON so to query data from the client-side and convert the retrieved JSON files to the data models (Kotlin data classes), we need to know the exact class type of each file.   Please take a look at the attached screenshot to see how data are being stored in Coucbase Server locally
> *The required change in Fineract CN:*
>  * In order to sync data between the Mobile app and Fineract Server, developers need to add a variable named +{color:#00875a}documentType{color}+ in all data classes when integrating *Couchbase* and *Sync Gateway* in Fineract CN.{color:#172b4d} {color}
>  * For install and configuring Coucbhase in local machines follow [this|https://gist.github.com/jawidMuhammadi/af6cd34058cacf20b100d335639b3ad] instruction.
>  * Click [here|https://github.com/apache/fineract-cn-mobile/pull/111] to review the pull request of CouchbaseLite implementation in [Fineract CN Mobile|https://github.com/apache/fineract-cn-mobile]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)