Announcement : Welcoming Awasum as the new chair of Apache Fineract

2020-08-19 Thread Vishwas Babu
Hello Community,

On behalf of Apache Fineract's PMC, I am pleased to announce that Awasum
Yannick has been appointed as our new chair.

In addition to being one of our most active community members, Awasum is
also a member of the Apache Software Foundation and is actively involved in
Apache's diversity and inclusion initiatives.

Please join me in congratulating Awasum on this new role.

Regards,
Vishwas


Re: Fineract 1.x and RSA Encryption PR review

2020-07-19 Thread Vishwas Babu
>From reading a description of the issue in 1034 (have not looked into the
PR), an example where this functionality could eventually help (and is
distinct from our usage of HTTPS) would be in scenarios involving PCI
compliance in server to server communications.

Assume Org A  offers Fineract on a SaaS model. Further assume that Org A is
PCI SAQ D compliant, which means that this organization may
store/transmit personal details (Card number, CVV code, and expiry date)
linked to cards.

Assume Org B is a lending Fintech that builds on top of the API's offered
by Org A and has use cases like pushing loan disbursals directly to
external debit/credit cards (think of a country like the US where payment
rails provided by card networks are faster/cheaper than account to account
transfer alternatives like ACH or FedWire). To reduce compliance costs, Org
B decides to opt for  PCI compliance level SAQ A, this means that Org B
will not have any card personal data (in un-encrypted format) flow through
their network (or be stored by their servers).

If Org B wants to allow their clients to provide details of their external
debit /credit cards (assume from a mobile device) , these details need to
be encrypted from the Clients device, flow to Org B's backend, from where a
request is made to Org A's API. Org A would then decrypt the card details,
tokenize this card and pass an identifying token back to Org B's
backend, which is then used for identifying this card for future
transactions.

Regards,
Vishwas

On Thu, 16 Jul 2020 at 09:58, Awasum Yannick  wrote:

> Hi All,
>
> Is there anyone here with experience on how this PR can help Fineract?
> https://github.com/apache/fineract/pull/1032
>
> This might be valuable work but I don't understand the use case and
> am reaching out to you all to see if someone can help.
>
> I tried to review it but could not understand it adequately to comfortably
> merge.
>
>
> Here is the JIRA: https://issues.apache.org/jira/browse/FINERACT-1034
>
> Thanks.
> Awasum
>


Re: Migration to latest

2020-05-16 Thread Vishwas Babu A J
Hi Guys,

>>Only 5.7 and 8.0 still available at the community edition.

I am not sure if this is an issue. Ext. support for MySQL 5.6 is scheduled to 
end on Feb 2021, so we would also likely drop support for MySQL 5.6 in the very 
near future. 

>> Aws Aurora Serverless only supports 5.6
Ah, I see. I would guess the wouldn’t be too far away.  As a workaround, Aurora 
MySQL 2.* database engine is compatible with MySQL 5.7 and available in most 
regions.

Regards,
Vishwas



> On May 16, 2020, at 12:04 PM, Sergio Junior  wrote:
> 
> Michael,
> 
> Its specified here:
> https://flywaydb.org/documentation/database/mysql 
> <https://flywaydb.org/documentation/database/mysql>
> 
> Only 5.7 and 8.0 still available at the community edition.
> 
> Aws Aurora Serverless only supports 5.6
> 
> 
> On Sat, May 16, 2020, 11:35 Michael Vorburger  <mailto:m...@vorburger.ch>> wrote:
> On Sat, May 16, 2020 at 2:19 AM Sergio Junior  <mailto:readyh...@gmail.com>> wrote:
> Also, i can make a script if you need.
> 
> A SQL script to rename the table would have that problem that Awasum noticed 
> - it's a "chicken and egg" - we can't easily use Flyway to run a migration 
> script to fix a problem with Flyway... ;-) 
> 
> Just making it the new version of Flyway use its old table name via that 
> property which Petri discovered (thanks!) seemed the most "pragmatic" 
> solution, to me. 
> 
> I've just done this in https://github.com/apache/fineract/pull/897 
> <https://github.com/apache/fineract/pull/897>, and can confirm it does fix 
> https://issues.apache.org/jira/browse/FINERACT-979 
> <https://issues.apache.org/jira/browse/FINERACT-979> (I've locally reproduced 
> the problem, and seen it solved with that PR).
> 
> We had 2 scenarios. 
> From Mifos X to fineract (gotta check, we used a docker version from March, 
> dont know exactly which one) i had to manually diff schema and data using 
> dbForge to make it work.
> 
> Then to fineract develop, need to rename schema_version tables to 
> Flyway_schema_history.
> Just the tenants db that i let Fineract create from scratch. 
> 
> On Fri, May 15, 2020, 21:14 Sergio Junior  <mailto:readyh...@gmail.com>> wrote:
> Michael,
> 
> Sharing more info with you, i had multiple problems with Flyway. 
> 
> We were using Aws aurora serverless and it's Mysql 5.6
> With the Drizzle driver, the error was unfriendly. Changing to the Mysql 
> driver, Flyway returned that the Community Version doesn't support 5.6 
> anymore, just the enterprise version.
> 
> Do you want to file a JIRA issue with details including the error message you 
> encountered re ^^^ this other point? https://flywaydb.org/download/ 
> <https://flywaydb.org/download/> does not mention their Community Edition not 
> supporting MySQL 5.6 anymore. In fact, the project's Docker Compose set-up 
> uses 5.7, and Flyway seems to work fine.
>  
> I upgraded our Db (lost the serverless capability :( and then had to rename 
> tables manually. 
> 
> Imho, Flyway seems a bad option because they can keep removing mysql versions 
> from the community edition, forcing people to the enterprise. 
> 
> Im from the dotnet world, do not have much experience with java libs, but we 
> should have a better alternative. 
> 
> Thanks! 
> 
> 
> On Fri, May 15, 2020, 17:28 Awasum Yannick  <mailto:awa...@apache.org>> wrote:
> This will need a new migration script or file...I dont think Flyway will even 
> run automatically...Was just a thought
> 
> On Fri, May 15, 2020 at 9:27 PM Awasum Yannick  <mailto:awa...@apache.org>> wrote:
> can we just rename schema_version to flyway_schema_history ? How practical is 
> that? see : 
> https://blog.marceloaltmann.com/en-how-to-rename-table-in-mysql-pt-como-renomear-tabelas-no-mysql/
>  
> <https://blog.marceloaltmann.com/en-how-to-rename-table-in-mysql-pt-como-renomear-tabelas-no-mysql/>
> 
> So we use updated naming convention by Flyway?
> 
> 
> 
> On Fri, May 15, 2020 at 9:02 PM Michael Vorburger  <mailto:m...@vorburger.ch>> wrote:
> Petri, that sounds like the kind of thing I was hoping someone looking into 
> it would find... not sure what "property" they are referring to here - is 
> this something we could put into... TenantDatabaseUpgradeService is guess 
> where this would go. Fancy putting a PR together, perhaps?
> 
> Sergio, would you be interested in contributing to the project by helping to 
> such a PR, if you still have or can build an "old" database?
> 
> On Fri, May 15, 2020 at 9:31 PM Petri Tuomola  <mailto:pe...@tuomola.org>> wrote:
> Hi
> 
> Looking at the Flyway docu

Re: [ANNOUNCE] New committer: Yemdjih Kaze Nasser

2020-05-11 Thread Vishwas Babu A J
Welcome Nasser :)


Regards,
Vishwas



> On May 11, 2020, at 12:41 AM, Yemdjih Kaze Nasser  
> wrote:
> 
> Thank you all. I'm glad to be part of this community.
> I had alot of support from incredible mentors who where always available to 
> provide insightful feedbacks for each of my contributions
> 
> Looking for forward to taking the community even further.
> 
> On Mon, 11 May 2020 at 08:37, Manthan Surkar  <mailto:manthan.sur...@gmail.com>> wrote:
> Congrats Nasser.
> Looking forward to working with you this summer!
> 
> -thanks
> Manthan
> 
> On Mon, 11 May 2020, 12:59 pm Percy Enoabane,  <mailto:percyayuka...@gmail.com>> wrote:
> Congrats Nasser well deserved. 
> 
> On Mon, May 11, 2020, 08:25 collins chuwa  <mailto:collinsch...@gmail.com>> wrote:
> Congratulations Nasser. 
> 
> On Mon, 11 May 2020 at 8:07 AM Awasum Yannick  <mailto:awa...@apache.org>> wrote:
> Congratulations Nasser. You have improved our project significantly. Keep up 
> the good work and thank you very much.
> 
> I have never seen anyone learn and contribute this fast after joining a new 
> project. You are a wizard 
> 
> On Mon, May 11, 2020, 07:51 Juhan Aasaru  <mailto:ju...@apache.org>> wrote:
> The Project Management Committee (PMC) for Apache Fineract
> has invited Yemdjih Kaze Nasser to become a committer and we are pleased 
> to announce that he has accepted.
> 
> He has been involved in the community for over half a year and 
> has submitted several significant pieces of work to Fineract 1.x.
> He is also leading the development efforts in migrating Fineract-CN to
> Spring Boot 2, which would enable upgrading Java version later.
> Thank you for that!
> 
> Being a committer enables easier contribution to the
> project since there is no need to go via the patch
> submission process (for example one can create branches and push code
> into github.com/apache/fineract* <http://github.com/apache/fineract*> 
> repositories).
> This should enable better productivity.
> 
> Please join me in welcoming Yemdjih Kaze Nasser as a new Committer on 
> Fineract.
> 
> Regards
> Juhan Aasaru
> PMC Member, Apache Fineract
> -- 
> Thanks
> Collins C. Wandji
> No: +237672965154



Re: General questions on using Fineract for new project

2020-04-17 Thread Vishwas Babu A J
Vinayak,

Can you please elaborate on the business use case you are trying to support ?

While the approach you describe is certainly feasible, you would likely run 
into a number of issues with reconciliation depending on how the other loan 
management systems are used.

Based on the kind of financial institutions whose data is tracked in the other 
LMS and the process they follow you might run into issues ranging from exotic 
products whose calculations you might not be able to match a 100% in Mifos to 
cascading effects around editing/ adding backdated transactions causing 
mismatches around appropriation of payments across different systems. IMO, if 
all you are trying to do is to get a consolidated view of loan portfolios 
across different systems and running an accounting process on top of them, 
skipping the need to reprocesses all transactions again in what is effectively 
a  “Data warehouse” should simplify the process.

Regards,
Vishwas



> On Apr 16, 2020, at 4:01 PM, Vinayak Javaly  wrote:
> 
> Hello all.  I hope this email finds you all well.
> 
> I'm looking for general advice.
> 
> I'm building a new system that will aggregate loan information from several 
> different Loan Management Systems.  Some of these systems may be from other 
> LMS vendors (e.g. Mambu, LendFoundry).  I'm planning to use Fineract as the 
> core LMS in my new system.  Here's my planned workflow:
> Each LMS will periodically send loan product, loan, repayment, etc. info in a 
> standardized format
> Our system will receive each LMS' data and input it into Fineract
> We're planning on performing the loan accounting for these loans in Fineract, 
> AND have a periodic reconciliation process with the source LMS'
> My questions:
> Is this a good idea?  Does this seem feasible?
> Do you see any major or minor issues with this plan?
> Thank you in advance.
> 
> Stay safe.
> 
> Vinayak



Re: From Persistent Systems for new CBS

2020-04-17 Thread Vishwas Babu A J
Pratap,

The answer would largely depend on your use case and expected time to market.

If your CBS needs to have a full fledged loans module, deposit module including 
current accounts / savings accounts / recurring & fixed deposits and you expect 
to go live in couple of months, you should go with Fineract 1.x

If your CBS is going to be used primarily for high transactional wallets and 
you expect to have 20 million customer accounts on a single tenant, you would 
ideally build on top of Fineract CN.

Regards,
Vishwas



> On Apr 17, 2020, at 1:46 AM, Pratap Madgulkar 
>  wrote:
> 
> Hi Fineract Dev,
>  
> If we want to start building new CBS around Fineract is Fineract 1.2 
> monolithic application serves the purpose?
>  
> Fineract – CN is not having any release candidate till date . So we are 
> thinking not to build with open issues.
>  
> Please guide.
>  
> Regards, 
> -
> Pratap Madgulkar
> Technical Project Manger
> 
> +91 89567 12149
> pratap_madgul...@persistent.com <mailto:pratap_madgul...@persistent.com>
> Connect with me on Twitter  <https://twitter.com/MadgulkarPratap>| LinkedIn 
> <https://www.linkedin.com/in/pratap-madgulkar-86573615/>
>  
>  <http://www.persistent.com/>
>  
> See Beyond, Rise Above
>  
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which is the 
> property of Persistent Systems Ltd. It is intended only for the use of the 
> individual or entity to which it is addressed. If you are not the intended 
> recipient, you are not authorized to read, retain, copy, print, distribute or 
> use this message. If you have received this communication in error, please 
> notify the sender and delete all copies of this message. Persistent Systems 
> Ltd. does not accept any liability for virus infected mails.



Re: Can long in community app

2020-03-29 Thread Vishwas Babu
Guys,

Please ensure that your fineract platform is up and running before
connecting with the community app.

Instructions for setting up and verifying the installation by using the
code from the develop branch or
https://github.com/apache/fineract/tree/1.3.1 (1.3.1) follow :

1) Ensure the requisite software is set up as described in
https://github.com/apache/fineract#requirements
Please ensure that your MySQL credentials match those listed at
https://github.com/apache/fineract/blob/develop/fineract-provider/build.gradle#L141


2) Start the fineract platform by running the 3 commands listed at
https://github.com/apache/fineract#instructions-how-to-run-for-local-development
 .

3) Try running
https://localhost:8443/fineract-provider/api/v1/clients?tenantIdentifier=default
on
your browser (with credentials mifos/password).
At this step, you might have to accept the validity of the locally signed
certificate.

If you are not able to get a 200 OK, there is an issue with your Fineract
installation. Please share the log file at server startup and we can help.

Following this, you should be able to log in from the community app as well.

@scott: Tomcat might be logging the port it is listening to as 8080.
However, tomcat would only be listening on https://localhost:8443
(irrespective of which instructions you followed)

Regards,
Vishwas


On Sun, 29 Mar 2020 at 09:55, Eugene Adjei-Djan 
wrote:

> Thanks Percy, will try and give you feedback
>
> On Sun, Mar 29, 2020 at 12:54 PM Percy Enoabane 
> wrote:
>
>> Eugene I am running one I forked from fineract github repo
>> <https://github.com/apache/fineract> .Maybe your branch is behind.
>>
>> On Sun, Mar 29, 2020 at 5:45 PM Eugene Adjei-Djan 
>> wrote:
>>
>>> Hi Percy which version of the api are I running? I’m running the one I
>>> downloaded from the website and the community app is the one I forked from
>>> github. Tried severally and can’t log in
>>>
>>> On Sun, Mar 29, 2020 at 12:42 PM Scott Dunbar 
>>> wrote:
>>>
>>>> Thanks Percy - I'm missing where it shows you how to run a local
>>>> Fineract platform.  The readme's are all a mess and they all say to use
>>>> https but nothing actually works.  I'll keep digging - thanks for another
>>>> pointer.
>>>>
>>>> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <
>>>> percyayuka...@gmail.com> wrote:
>>>>
>>>>> I run according to ReadMe and then follow the steps using postman as
>>>>> shown here
>>>>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>>>>> .
>>>>>
>>>>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar 
>>>>> wrote:
>>>>>
>>>>>> Percy - how are you running the Fineract side of this?  If I run
>>>>>> according to the README it only listens on port 8080.
>>>>>>
>>>>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <
>>>>>> percyayuka...@gmail.com> wrote:
>>>>>>
>>>>>>> Hello Eugene
>>>>>>> Using the community app with local Fineract 1.x platform the
>>>>>>> credential mifos / password works for me. Even the demo
>>>>>>> <https://demo.openmf.org/> website works with those credentials.
>>>>>>> But running the community app with the API running elsewhere
>>>>>>> credentials doesn't work.
>>>>>>> You can try with local Fineract and community app running at the
>>>>>>> same time using
>>>>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443=default
>>>>>>> .
>>>>>>>
>>>>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <
>>>>>>> eadjeid...@gmail.com> wrote:
>>>>>>>
>>>>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>>>>> baseApiUrl is set to my local fineract installation or to
>>>>>>>> demo.mifos.io
>>>>>>>> I get error 401 using credential mifos / password
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Scott Dunbar
>>>>>> Cell: 303 667 6343
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Scott Dunbar
>>>> Cell: 303 667 6343
>>>>
>>>


Re: Integration - Retry/Repeated/concurrent calls

2020-03-26 Thread Vishwas Babu A J
Sergio,

A quick clarification:

https://github.com/apache/fineract/pull/515 
<https://github.com/apache/fineract/pull/515> allows setting a globally unique 
client generated identifier for a command. This allows the client to later 
query for the status of the execution of the command associated with this guid 
if the response is lost in transit etc. At the server side, the guid is assumed 
to be unique.

By adding a unique constraint to the command source table, we can enforce the 
uniqueness of the client generated identifier at the server side, thereby 
ensuring duplicate requests are not served. However, this approach would likely 
result in a write penalty for very large installations.

Alternatives could be to check the presence of this key in an in memory key 
value store, something along the lines of setnx in Redis (assuming duplicates 
requests are sent in a fixed time interval). We could maybe handle this from an 
infrastructure level too, by carrying out this check at the API gateway,

Regards,
Vishwas



> On Mar 25, 2020, at 6:54 PM, Vishwas Babu  wrote:
> 
> >>Question, before this PR, no one have this kind of problem before?
> I am sure people would have faced this issue and figured out solutions like 
> this PR.
> 
> >>A simple retry or double click at any of the apps would cause issues, right?
> It might not have been so obvious as clients like the Mifos community-app 
> (most common UI used with Fineract) handle double clicks at their end. 
> However, your point is valid
> 
> Regards,
> Vishwas
> 
> 
> On Wed, 25 Mar 2020 at 07:19, Sergio Junior  <mailto:readyh...@gmail.com>> wrote:
> Vishwas,
> 
> I really appreciate your response, missed that PR because it was closed, i 
> will take a look.
> 
> Question, before this PR, no one have this kind of problem before? A simple 
> retry or double click at any of the apps would cause issues, right?
> 
> Thanks!
> 
> Em qua., 25 de mar. de 2020 às 01:24, Vishwas Babu A J 
> mailto:vishwasbab...@gmail.com>> escreveu:
> Hello Sergio,
> 
> Here is a pr https://github.com/apache/fineract/pull/515 
> <https://github.com/apache/fineract/pull/515> which aimed to address this 
> problem by relying on the client to optionally supply a unique id with each 
> request. Maybe you can build on the same (it was missing test cases and api 
> doc updates) and get it merged ?
> 
> Regards,
> Vishwas
> 
> 
> 
>> On Mar 24, 2020, at 7:39 PM, Sergio Junior > <mailto:readyh...@gmail.com>> wrote:
>> 
>> Hello everyone,
>> 
>> Im integrating a system with Fineract, and doing some tests with the Savings 
>> API (Deposit/Withdrawal functions), nothing is considered “Unique”, so if 
>> for any reason my system interpret a call as failed (maybe a reverse proxy 
>> fault, tcp issues etc) and perform a retry, Fineract will Credit (or Debit) 
>> a transaction multiple times, no field is considered an Identifier and i 
>> couldnt find any resource to notify the API that a transaction is a retry or 
>> a new one.
>> 
>> Whats the idea for such scenario, to maintain consistency and avoid 
>> duplicates?
>> 
>> Thanks!
> 
> 
> 
> -- 
> Atenciosamente,
> Sergio Luiz Miziara Junior
> Tel.: (011) 8727.6447



Re: Integration - Retry/Repeated/concurrent calls

2020-03-24 Thread Vishwas Babu A J
Hello Sergio,

Here is a pr https://github.com/apache/fineract/pull/515 
<https://github.com/apache/fineract/pull/515> which aimed to address this 
problem by relying on the client to optionally supply a unique id with each 
request. Maybe you can build on the same (it was missing test cases and api doc 
updates) and get it merged ?

Regards,
Vishwas



> On Mar 24, 2020, at 7:39 PM, Sergio Junior  wrote:
> 
> Hello everyone,
> 
> Im integrating a system with Fineract, and doing some tests with the Savings 
> API (Deposit/Withdrawal functions), nothing is considered “Unique”, so if for 
> any reason my system interpret a call as failed (maybe a reverse proxy fault, 
> tcp issues etc) and perform a retry, Fineract will Credit (or Debit) a 
> transaction multiple times, no field is considered an Identifier and i 
> couldnt find any resource to notify the API that a transaction is a retry or 
> a new one.
> 
> Whats the idea for such scenario, to maintain consistency and avoid 
> duplicates?
> 
> Thanks!



Re: Fineract-CN - ActiveMQ vs Kafka

2020-03-21 Thread Vishwas Babu
Hello Giorgio,

>>1. do you think feasible to replace/mantain Kafka support instead
ActiveMQ for increasing scalability and ScyllaDB instead Cassandra? For
what reason do you use Cassandra? (with those changes i bet you can gain
10% performance on heavy load).

Cassandra is primarily used for logging commands ( see
https://cwiki.apache.org/confluence/display/FINERACT/CQRS+in+Fineract+CN )
and journal entries.

+1 for Kafka
Tentative +1 for ScyllaDB (considering potential licensing issues with
ScyllaDB primarily using AGPL. Drivers, etc seem to use Apache 2.0 though).

>> 3. Which is the bare minimum to run / refactor for fineract-cn?

Depends on the approach taken for running fineract-cn
->
https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
needs
the most resources
-> Docker-based approaches need similar / slightly lesser (?) resources.
https://cwiki.apache.org/confluence/display/FINERACT/Bare+minimum+to+run+Fineract-CN+locally
has
instructions for bringing up the minimal set of services
-> For development, manually bringing up the required services from the
command line requires the least resources. Instructions at
https://cwiki.apache.org/confluence/display/FINERACT/Running+Fineract+CN+Locally+on+Windows

Regards,
Vishwas



On Sat, 21 Mar 2020 at 14:55, Giorgio Zoppi  wrote:

> Hello Gents,
> I have a couple of questions:
> 1. do you think feasible to replace/mantain Kafka support instead ActiveMQ
> for increasing scalability and ScyllaDB instead Cassandra? For what reason
> do you use Cassandra? (with those changes i bet you can gain 10%
> performance on heavy load).
> 2. have experience with Gradle 5 and Java 11 compiling fineract-cn?
> 3. Which is the bare minimum to run / refactor for fineract-cn?
>
> BR,
> Giorgio
>


Re: Getting started challenges

2020-03-14 Thread Vishwas Babu
Hi Scott,

Sorry you are facing these issues in getting started !

It looks like the last commit made on the develop branch on Fineract
platfrom has broken the build. For the time being, you can either

-> Locally revert the last commit
-> Use the codebase of an older release like
https://github.com/apache/fineract/commits/1.3.1

Regarding the community-app, you might probably be facing some issues with
node / ruby dependencies. Maybe share the errors you see when running grunt
serve ?

Regards,
Vishwas

On Sat, 14 Mar 2020 at 14:26, Scott Dunbar  wrote:

> Hi all,
> I'm attempting to try to run a local version of the Fineract platform with
> the code from Gitlab.  It appears that there are very frequent changes and
> I've yet to be able to get anything to run.
>
> On the server side the current develop branch has a Flyway issue.  On the
> community app there is an error running grunt serve.  The flyway issue is
> new as I was able to compile and run earlier.  The community app has been
> broken for a few weeks now.
>
> Is there a branch or tag that is a bit more stable for those of us just
> starting out?
>
> Thanks for any help.
>
> --
> Scott Dunbar
> Cell: 303 667 6343
>


Re: Client Credit Score API Information needed

2020-02-28 Thread Vishwas Babu
Hi Sharon,

Fineract does not have any API’s for credit scoring

Regards,
Vishwas

> On Feb 27, 2020, at 9:45 PM, Sharon Moniz  wrote:
> 
> Hi team,
> 
> We were looking at integrations to determine the credit score of a customer. 
> Currently we use Mifos and Apache Fineract service to issues loans to 
> customers. Do you have any APIs in Mifos to determine the customer's credit 
> score. If yes, is this score across other financial systems or is it specific 
> to Mifos only. Could you share with us the APIs, if any.
> 
> Regards,
> Sharon
> 
> 
>  
> <https://www.avast.com/en-in/recommend?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=default3=5f0c2408-480a-480f-b6d4-ddcd547aef84>
>I’m protected online with Avast Free Antivirus. Get it here — it’s 
> free forever. 
> <https://www.avast.com/en-in/recommend?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=default3=5f0c2408-480a-480f-b6d4-ddcd547aef84>
>  


Fineract board report for Jan 2020

2020-01-07 Thread Vishwas Babu
Hello,

Hope all of you are having a great beginning to the new year!

The Apache Fineract board report for the previous quarter is due on
Wednesday the 8th of Jan (PST). A draft of the report is shared at
https://cwiki.apache.org/confluence/display/FINERACT/2020-01+January+Report ,
please feel free to add to the same.

Regards,
Vishwas


Reminder : Fineract Survey , due date extended to Nov 21st

2019-11-18 Thread Vishwas Babu (Apache)
Hello All,

James had earlier shared the below link for a quick survey to help us
better understand our community
https://docs.google.com/forms/d/e/1FAIpQLScTWTaNds_YlMUdJ6UJvRgJsNJLKyRqmYeH_MgEvQWySriuWQ/viewform?vc=0=0=1=mail_form_link
.

We request you to please make some time to fill out this survey if you have
not done so already.

We have so far recorded 33 responses to the same and will be extending the
deadline for completion to Thursday the 21st of November.

Regards,
Vishwas


Re: Record api traffic (Fineract 1.x)

2019-10-21 Thread Vishwas Babu A J
Niklas,

I am not entirely sure what you mean, Fineract works only on HTTPS . If you 
want it to work on HTTP, you would have to remove all requires-channel="https" 
attributes from 
https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/resources/META-INF/spring/securityContext.xml#L37

Regards,
Vishwas

On 2019/10/10 14:37:13, Niklas Uhrberg  wrote: 
> Hello!
> 
> I have done some activities running Fineract 1.x and the community app 
> locally on my workstation.
> 
> Now I would like to record a set of activities in order to create a quicker 
> way to jumpstart a simple setup . Say a loan product , a few clients with 
> their loans.
> 
> (In the same way there are Postman scrips for Fineract CN)
> 
> I have not done this before and my initial findings made me try running the 
> Community App -> Finract communication over HTTP (instead of HTTPS) . E.g. 
> Postman will require HTTP in proxy mode.
> 
> I have not been able to pull this off.
> Have anyone of you done this kind of operation and can show the way to go 
> about this?
> 
> Once I configure docker-compose to with the port mapping 8080:8080 I can at 
> least point my browser to fineract-provider, but the login screen (in the 
> community app) says:
> "Couldn't connect to server. Make sure you are using correct settings."
> 
> I use the URL : 
> http://localhost/?baseApiUrl=http://localhost:8080=default#/
> 
> (And I have indeed verifed that I can login using the standard: 
> http://localhost/?baseApiUrl=https://localhost:8443=default )
> 
> Best regards Niklas
> 
> 
> 
> [cid:image78d5a6.PNG@47014c70.41b3d67d]
> Niklas Uhrberg
> Konsult
> IT Development | Loans & Credit
> 
> 
> 
> 
> Resurs Bank AB
> 
> 
> 
> 
> Växel:  +46 42 38 20 00
> E-post: niklas.uhrb...@resurs.se<mailto:niklas.uhrb...@resurs.se>
> Webb:   www.resursbank.se<http://www.resursbank.se>
> 
> 
> 
> 


Re: About support for revolving credit in Fineract

2019-10-21 Thread Vishwas Babu A J
That is correct. You would need to make changes similar to those at 
https://cwiki.apache.org/confluence/display/FINERACT/Line+of+Credit to support 
this functionality in Fineract

On 2019/10/21 14:39:06, Niklas Uhrberg  wrote: 
> Hello, this question is more about the functionality offered by Fineract (1.x 
> or CN) than a technical question.
> 
> Reading the documentation and looking at the Community App interface I 
> conclude that there is no support for credit card type of credit a.k.a. 
> revolving credit. In this type of credit product there is usually no fixed 
> repayment plan e.t.c.
> 
> I want to be certain that I don't conclude in error here.
> 
> Best regards Niklas
> 
> 
> 
> [cid:image5a20fc.PNG@c9f095bb.45a3dd82]
> Niklas Uhrberg
> Konsult
> IT Development | Loans & Credit
> 
> 
> 
> 
> Resurs Bank AB
> 
> 
> 
> 
> Växel:  +46 42 38 20 00
> E-post: niklas.uhrb...@resurs.se
> Webb:   www.resursbank.se
> 
> 
> 
> 


Re: Should we archive MariaDB and Data-jpa repositories ?

2019-10-21 Thread Vishwas Babu A J
Hello All,

Adding some context regarding the review comments made on the approach taken 
for the MySQL to PostgreSQL migration during a code walkthrough with Ed and 
Isaac.
In the context of each microservice (take accounting for example) , the changes 
required are encapsulated in 
https://github.com/apache/fineract-cn-accounting/commit/9c23639f71981e3dc74a6351df35d9af624ff0d6.
 At a high level , these changes are limited to
1) Updating dependencies to the DB specific library (i.e the equivalent of 
https://github.com/apache/fineract-cn-mariadb) in the gradle build and the 
connection settings2) Updating a bunch of imports related to classes used from 
the DB specific library (essentially replacing each occurrence of 
*.mariadb.config.EnableMariaDB with *.postgresql.config.EnablePostgreSQL,  
MariaDBInitializer with PostgreSQLInitializer etc)3) Tweaking Flyway SQL 
scripts to work on the particular database engine
I would have preferred if
(a) Before doing (2) , we had refactored 
https://github.com/apache/fineract-cn-mariadb to be the reference 
implementation (generalize symbols likeMariaDBInitializer -> RDBMSInitializer 
etc) and then have https://github.com/apache/fineract-cn-postgresql implement 
the same specification.(b) Setup build profiles on each microservice to pick up 
the right DB dependency (1) and set the root context for SQL scripts picked by 
Flyway (3)
The goal being that at the end of the exercise, we would have a POC to run with 
both the existing MySQL and the new PostgreSQL libraries based on the build 
profile selected. 
Going forward, the community would only ship and maintain PostgreSQL as the 
default RDBMs. However, those interested in supporting alternate databases 
could quickly have an initial version running on the database of their choice 
without the need to tweak any code other than gradle property files. They could 
also supply alternate DB connectors (implementing the fineract-cn-mariadb RI) 
and flyway scripts which could be hosted on our / related community 
repositories.

The business need behind this being the preferred approach was as follows:
As long as we are thinking of small MFI's, co-operatives , banks in smaller 
countries etc who are comfortable working on SaaS models etc, any database 
works. However, given the complexity of Fineract CN , I would assume that it 
would eventually be targeted towards mid size / larger banks who tend to be 
very opinionated on their tech stack. 
For example, in the company I worked for-> We came across reputed financial 
institutes who were simply unwilling to use MySQL forks as their OLTP database 
even if we met all the required performance benchmarks -> Over the years, we 
have built up a lot of expertise in fine-tuning MySQL replacement databases for 
high concurrency scenarios. Think Percona for banks having challenging 
performance benchmarks for 4 million active clients etc, skills which do not 
easily translate to tuning PostgreSQL for similar loads.
This being said, I don't really have any issue with any library being archived. 
Mainly because talk is cheap and I currently cannot commit the time to 
addressing these review comments.

On 2019/10/21 08:58:28, Isaac Kamga  wrote: 
> Thanks for your input Michael and Juhan,
> 
> I agree with you that adding more complexity to Fineract CN would slow down
> development even further so sticking to one RDBMs is better.
> 
> Cheers,
> Isaac Kamga.
> 
> On Sun, Oct 20, 2019 at 11:16 PM Juhan Aasaru  wrote:
> 
> > Hi!
> >
> > I agree with Michael on this.
> > We have very limited resources - let's spend them on work that gives back
> > the most value.
> >
> > Also we should keep in mind that if we add complexity to the system the
> > slower the development speed is going to be.
> > And more complexity sets the bar higher for any newcomer to come in and
> > start contributing.
> >
> > fineract-cn-data-jpa is not used by any library so I think we should
> > archive this as well.
> >
> > Also archiving repository doesn't mean it is deleted. If we change our
> > mind later then we can always unarchive it
> > at any point.
> >
> > Juhan
> >
> > Kontakt Michael Vorburger () kirjutas kuupäeval P, 20.
> > oktoober 2019 kell 14:31:
> >
> >> On Sun, 20 Oct 2019, 03:03 Isaac Kamga,  wrote:
> >>
> >>> Happy weekend fineracters,
> >>>
> >>> After migrating our RDBMS from MariaDB to PostgreSQL, Michael (CC'ed
> >>> here) suggested we stick to one RDBMS in this discussion [1]
> >>>
> >>
> >> so my PoV on this is just that in any universe where resources are
> >> limited (such as ours, excluding possible parallel universes), focusing
> >> energies e.g. on a single FLOSS DB makes sense.
> >>
> 

Re: [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0

2019-10-21 Thread Vishwas Babu A J
> Apparently your announcement was not accepted to the annou...@apache.org
> list

It was, see 
http://mail-archives.us.apache.org/mod_mbox/www-announce/201910.mbox/%3CCACqpLwJGBRp9cpyhVwxvc0SSrTbUoDxAr%2BYnywXjj%3DBRFhiyPw%40mail.gmail.com%3E

On 2019/10/16 08:19:54, Myrle Krantz  wrote: 
> Hey Vishwas,
> 
> Apparently your announcement was not accepted to the annou...@apache.org
> list.  If you've received an explanation for why, I'd be curious to know
> what it is.  I assume you are working on formulating a mail that is
> accepted?
> 
> If you need help with anything, let me know.
> 
> Also if you want examples of successful announcements, you can use:
> https://lists.apache.org/list.html?annou...@apache.org  Go to advanced
> search and look for mails with CVE in the subject line.
> 
> Best Regards,
> Myrle
> 
> 
> On Wed, Oct 16, 2019 at 8:26 AM Vishwas Babu (Apache) <
> vishwasb...@apache.org> wrote:
> 
> > Hello,
> >
> > The Apache Fineract project would like to hereby disclose that our 1.3.0
> >
> > release includes a fix for CVE-2016-4977 : A known vulnerability in spring
> >
> > security upstream dependencies allowed malicious users to trigger remote 
> > code
> >
> > execution. See https://nvd.nist.gov/vuln/detail/CVE-2016-4977 for details of
> >
> > the upstream CVE.
> >
> > We would like to thank Roberto (extranewb...@gmail.com) for reporting
> >
> > this issue and the Apache Security team for their assistance.
> >
> > Additional details at 
> > https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+Security+Report.
> >
> > Regards,
> > Vishwas
> >
> >
> 


Re: Typical chart of accounts for fineract-cn-fims-web-app

2019-09-12 Thread Vishwas Babu A J
Hi Juhan,

The sample charts of accounts used by the demo server is at 
https://github.com/apache/fineract-cn-default-setup/blob/develop/accounting/src/main/resources/standardChartOfAccounts/ledgers.csv
 . I had been meaning to update my provisioning scripts with these details + 
provisioning of the portfolio micro-service, but haven't gotten around to the 
same yet :)

Regards,
Vishwas

On 2019/09/11 18:49:56, Juhan Aasaru  wrote: 
> Hi!
> 
> I want to create Postman scripts that provision a structure for fineract-cn
> playground tenant. I want to do this for demonstration purposes - as
> currently when you start up fims-web-app it is quite empty. Running postman
> scripts can be later automated [2] - so once we get a demo server up we
> could wipe the contents of it every now and then and re-create sample
> structure.
> 
> I took scripts from Vishwas repository [1] and developed them further but I
> ran into a problem that I have no idea how chart of accounts of a typical
> company using fineract looks like.
> 
> I wonder if anyone here could point me to some article/graph/etc that
> describes the typical setup in the language of different types of ledgers,
> subledgers, accounts, journal entries etc
> 
> Thanks!
> Juhan
> 
> 
> 
> [1] https://github.com/vishwasbabu/ProvisioningFineractCN
> 
> [2]
> https://learning.getpostman.com/docs/postman/collection_runs/command_line_integration_with_newman/
> 


Re: Apache Fineract and Outreachy Internships at the ASF

2019-08-22 Thread Vishwas Babu
>> What other ideas do you think will be good for Outreachy?

A low complexity and high priority issue that we want to fix is at
https://issues.apache.org/jira/browse/FINERACT-726 . Since this is a very
small task, it could be added into one of the projects as a started task

Regards,
Vishwas
+1 (202) 716 6675


On Tue, Aug 20, 2019 at 8:50 PM Awasum Yannick  wrote:

> Hi All,
>
> The Apache Software Foundation is planning to participate in its first
> Outreachy round beginning this September 2019. See here
> <https://lists.apache.org/thread.html/dbba6f4fd358737fddcb3da4b78df4f87fe384d59a35469a0d131545@%3Cdev.diversity.apache.org%3E>
> for details.
>
> Outreachy is similar to GSoC but organized for people from
> underrepresented communities. See more here
> <https://www.outreachy.org/apply/eligibility/> about the rules. The goal
> of Outreachy is to improve diversity and inclusion in the Software industry.
>
> Outreachy takes place twice a year:
>
> 1.) February to August, Coding from May to August.
> 2.) September to March, coding from November to March
>
> I think this program which is new to Apache projects can help us improve
> our diversity and also help us do some work on our software. The Apache
> foundation is going in for the next Outreachy round which starts formally
> in September 2019 for interns and ends in March 2020.
>
> I want to hear what you all think about Fineract participating in
> Outreachy this year.
>
> For committers, will you be able to mentor an Intern?
>
> If the community likes to go in for this then I am calling on committers
> who will be interested to mentor interns this upcoming round for Apache
> Fineract to start putting down their project ideas on wiki.
>
> From the top of my head, Fineract 1.x has some key issues which could be
> fixed. This include:
>
> 1.) Upgrading Fineract 1.x to Spring Boot 2 and updating other
> dependencies.
> 2.) Code Quality and Static Code Analysis for Fineract 1.x
> 3.) Enhancing Unit and Integration tests for  Fineract 1.x
>
> What other ideas do you think will be good for Outreachy?
>
>
>


Re: Identity service not found during microservice provisioning

2019-08-15 Thread Vishwas Babu
Hello Ebenezer,

Try starting the microservices in debug mode (either from the command line
or from IDE like Intellij) and then provisioning them via the API's
(essentially the equivalent of what the demo server does).

I follow the instructions at
https://github.com/vishwasbabu/ProvisioningFineractCN to do the same.

Regards,
Vishwas



On Sat, Aug 10, 2019 at 6:29 AM Ebenezer Graham 
wrote:

> Hello Devs,
>
> I am currently facing an error during the provision stage within the demo
> server.
>
> All microservices start successfully but fails at
> https://github.com/ebenezergraham/fineract-cn-demo-server/blob/FINCN-2/src/main/java/org/apache/fineract/cn/dev/ServiceRunner.java#L433
>
> Please see the full error log here. https://pastebin.com/rw2NxMYB
>
> I would like to get insights into how to resolve this issue.
> --
>
> *Regards,*
>
> *Ebenezer Graham*
>
>
> *“Talk is cheap, show me the Code” *- *Linus Torvalds*
>
>


Fineract Board Report for the month of July 2019

2019-07-09 Thread Vishwas Babu
Hi All,

Our Board report for July is shared at
https://cwiki.apache.org/confluence/display/FINERACT/2019-07+July+Report

Please feel free to update with any relevant information that might have
been missed out.

Regards,
Vishwas


Help identify possible issues with the release process for 1.3.0 release

2019-07-09 Thread Vishwas Babu
Hi Folks,

I was trying to generate the report template for this quarter's Fineract
board report and noticed that the last release as per the template is

 - Last release was 1.2.0 on Thu Dec 06 2018

This might likely mean that something went wrong with the release process
for 1.3.0 release which was announced on the 30th of April.

>From the checklist at http://www.apache.org/dev/release-publishing.html ,
the following requirements seem to be met

1) Release announcement was sent out ( See
https://lists.apache.org/api/source.lua/443eff0ff061c0af46895b723397602b337dd2b0ccd820273a80ac69@%3Cannounce.apache.org%3E
)

2) Downloads are available and our website is updated

The gap seems to be at

>>The proposed release is offered for a binding vote by the PMC

A vote was started at
https://lists.apache.org/thread.html/69179a2c3c6f39c286c2e2c32d6ed85bae5a439c060851d829484a50@%3Cdev.fineract.apache.org%3E
.
However, it does not look like the same was closed ?

Santosh, Can you please close the vote if not already done , we can then
check if that makes any difference to the latest release as identified by
https://reporter.apache.org/#reporttemplate_fineract

Regards,
Vishwas


Re: FINERACT-779 Travis CI broken, again

2019-07-09 Thread Vishwas Babu
Mike,

Looks like the additional logging causing Travis to fail is due to the
changes in the pr , i.e the introduction of spring boot actuator and the
associated logging of audit events

Ex :

01:12:25.848 [SimpleAsyncTaskExecutor-11025] INFO
o.s.b.a.audit.listener.AuditListener - AuditEvent [timestamp=Sat Feb
23 01:12:25 IST 2019, principal=mifos, type=AUTHENTICATION_SUCCESS,
data={details=org.springframework.security.web.authentication.WebAuthenticationDetails@957e:
RemoteIpAddress: 127.0.0.1; SessionId: null}

Sorry, I can't look into it further (traveling and don't have a
fineract 1.x setup)


Regards,
Vishwas



On Wed, Jul 10, 2019 at 3:22 AM Michael Vorburger  wrote:

> Would anyone like to step up and help sort out
> https://jira.apache.org/jira/browse/FINERACT-779 ?
>
> ___
> Michael Vorburger
> http://www.vorburger.ch
>


Re: Thoughts on updating Flyway Gradle dependency in order to isolate state between integration tests?

2019-06-22 Thread Vishwas Babu
Dylan,

Good job on identifying the root cause :)

While upgrading Flyway is definitely a good idea (purely from the
perspective of having the latest versions of dependencies), it probably
isn't required for the problem you are trying to solve.

Restoring the entire database (~350 Migrations) before running a TestSuite
would significantly increase the time taken for the Integration tests to
run. This could lead to other problems, ex: Travis times out jobs running
for more than 50 mins on public repos.

Would it be a better idea to fix the GlobalConfigurationTest instead ? The
change required would be to ensure that upon successful completion, this
test case has not modified any configurations (which is causing other test
cases to fail),
-> i.e update a configuration
-> validate it has been updated
-> then update the configuration back to its original value and validate
the same

Regards,
Vishwas



On Fri, Jun 21, 2019 at 7:59 AM dylanrobson  wrote:

> I forgot to mention that I have seen the open PR about upgrading Flyway at
> https://github.com/apache/fineract/pull/550
> With that in mind should I just try to find a way to accomplish this with
> the current Flyway version?
>


Re: Running IntegrationTest using different locale values

2019-06-22 Thread Vishwas Babu
Hi Angel,

>>Recently I’ve been running the integrationTest gradle task and noticed
that some tests were failing for me, however it seems that they work
perfectly for other people
This could be caused by

1) Integration tests fail when the default tenant has a different time-zone
than the system(s) running the application and database servers -
Additional details and suggested fixes at
https://issues.apache.org/jira/browse/FINERACT-723
2) Integration test cases fail when run on the 1st of a month -
https://issues.apache.org/jira/browse/FINERACT-722

To ensure Integration tests are stable on Travis, we hardcode the system
timezone to Asia/Kolkata (which is the same timezone of the default tenant)
and set the system date to the 23rd of Feb 2019.

Regards,
Vishwas

On Wed, Jun 19, 2019 at 11:22 AM Angel Cajas  wrote:

> Hi developers,
>
>
>
> Recently I’ve been running the integrationTest gradle task and noticed
> that some tests were failing for me, however it seems that they work
> perfectly for other people.
>
>
>
> I noticed that most of those test failed because of the date format being
> used: “dd   “  and because there seems to be some locale
> differences between my computer and the ones being used in Fineract
> responses which causes some tests to fail. Adding a locale parameter to the
> some StringFormat objects helped me to reduce the number of test but that
> only make me question if are there some computer settings that I should
> have to run integration test these integration tests?
>
>
>
> I would really appreciate you answers
>
>
>
> Regards, Angel
>


Fineract CN : Missing integration test suites on Apache infra

2019-06-20 Thread Vishwas Babu
Hi Myrle,

I was going through
https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure
and
was unable to find the following projects related to integration tests on
https://github.com/apache

1)
https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-test-accounting-portfolio
2)
https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-test-provisioner-identity-rhythm-portfolio-accounting
3)
https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN+Project+Structure#FineractCNProjectStructure-test-provisioner-identity-organization

I did find these projects on personal repos at

https://github.com/myrle-krantz/test-accounting-portfolio
https://github.com/myrle-krantz/test-provisioner-identity-rhythm-portfolio-accounting
https://github.com/myrle-krantz/test-provisioner-identity-organization

Were the projects migrated to Apache under a different name ?

Regards,
Vishwas


Re: How to update from http://fineract.apache.org from apache/fineract-site git?

2019-06-13 Thread Vishwas Babu
Michael,

Changes made to https://github.com/apache/fineract-site/tree/asf-site are
automatically published. Master has now been merged back to asf-site.

Regards,
Vishwas



On Thu, Jun 13, 2019 at 1:20 AM Michael Vorburger  wrote:

> Vishwas or Myrle,
>
> how do we update http://fineract.apache.org to reflect e.g.
> https://github.com/apache/fineract-site/pull/19 ?
>
> Tx!
> ___
> Michael Vorburger
> http://www.vorburger.ch
>


Re: help jump starting?

2019-06-06 Thread Vishwas Babu
Hi Eric,

>> Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused
For a quick fix, try locally installing ActiveMQ

>>17:57:13.148 [pool-9-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper -
Table 'seshat.khepri_beats' doesn't exist
Can you verify if https://github.com/apache/fineract-cn-rhythm has been
provisioned? if you had initially started the demo server (
https://github.com/apache/fineract-cn-demo-server/) with the
flag -Ddemoserver.lite=true , rhythm would not have been provisioned

Regards,
Vishwas



On Thu, Jun 6, 2019 at 1:52 PM Eric Owhadi  wrote:

> Hi Fineracteers,
>
> I am trying to build and install Fineract-cn using this:
>
>
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
>
>
>
> But I am stuck, in both with or without persistence mode, with this stdout
> (collected without persistence):
>
>
>
> Looking at Jiras, FAQs and list serv did not help,
>
>
>
> If I finger point the ERROR tags in stdout attached, I get the following:
>
>
>
> *Line 20:*
>
> .17:41:14.394 [pool-3-thread-1] ERROR o.a.cassandra.service.StartupChecks
> - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start
> local JMX service.
>
> Resolving artifact
> org.apache.fineract.cn.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT
>
> Resolving metadata
> org.apache.fineract.cn.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
> from /home/ubuntu/.m2/repository (enhanced)
>
> Resolved metadata
> org.apache.fineract.cn.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
> from /home/ubuntu/.m2/repository (enhanced)
>
> Resolved artifact
> org.apache.fineract.cn.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT
> from /home/ubuntu/.m2/repository (enhanced)
>
>
>
>
>
> *Line 2287:*
>
> 17:57:13.148 [pool-9-thread-1] WARN  o.h.e.jdbc.spi.SqlExceptionHelper -
> SQL Error: 1146, SQLState: 42S02
>
> 17:57:13.148 [pool-9-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper -
> Table 'seshat.khepri_beats' doesn't exist
>
> Query is : select beatentity0_.id as id1_1_, beatentity0_.alignment_hour
> as alignmen2_1_, beatentity0_.application_identifier as applicat3_1_,
> beatentity0_.beat_identifier as beat_ide4_1_, beatentity0_.next_beat as
> next_bea5_1_, beatentity0_.tenant_identifier as tenant_i6_1_ from
> khepri_beats beatentity0_ where beatentity0_.next_beat<'2019-06-06
> 17:57:12.359' for update
>
> Resolving artifact
> org.apache.fineract.cn.notification:service-boot:jar:0.1.0-BUILD-SNAPSHOT
>
> Resolving metadata
> org.apache.fineract.cn.notification:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
> from /home/ubuntu/.m2/repository (enhanced)
>
> Resolved metadata
> org.apache.fineract.cn.notification:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
> from /home/ubuntu/.m2/repository (enhanced)
>
> Resolved artifact
> org.apache.fineract.cn.notification:service-boot:jar:0.1.0-BUILD-SNAPSHOT
> from /home/ubuntu/.m2/repository (enhanced)
>
>
>
> *Line 2596:*
>
> 2019-06-06 18:01:31.704 ERROR 24935 --- [scoveryClient-0]
> c.netflix.discovery.TimedSupervisorTask  : task supervisor threw an
> exception
>
>
>
> java.lang.InterruptedException: null
>
> at
> java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)
> [na:1.8.0_211]
>
> at
> java.util.concurrent.FutureTask.get(FutureTask.java:204) [na:1.8.0_211]
>
> at
> com.netflix.discovery.TimedSupervisorTask.run(TimedSupervisorTask.java:64)
> ~[eureka-client-1.4.11.jar!/:1.4.11]
>
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [na:1.8.0_211]
>
> at
> java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_211]
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> [na:1.8.0_211]
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> [na:1.8.0_211]
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [na:1.8.0_211]
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [na:1.8.0_211]
>
> at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]
>
>
>
> *Line 2822:*
>
> 18:02:11.497 [AsyncResolver-bootstrap-0] ERROR
> c.n.discovery.TimedSupervisorTask - tas

Re: Client retrieval endpoint fix

2019-05-28 Thread Vishwas Babu
Apologies, meant to address the mail to Santosh :)

Regards,
Vishwas



On Tue, May 28, 2019 at 9:29 PM Vishwas Babu <
vish...@confluxtechnologies.com> wrote:

> Sampath,
>
> Angel has raised this issue at FINERACT-757 . The fix for the same has
> been cherry-picked into the 1.3.1 branch. Can you please test it out and
> ship it as a part of the 1.3.1 patch release?
>
> Regards,
> Vishwas
>
>
>
> On Wed, May 22, 2019 at 1:49 PM Angel Cajas  wrote:
>
>> Hi Awasum.
>>
>>
>>
>> Thanks for your response, I will create the issue and ask for your review
>> after fixing it.
>>
>>
>>
>>
>>
>> *From:* Awasum Yannick 
>> *Sent:* miércoles, 22 de mayo de 2019 12:30
>> *To:* Dev 
>> *Subject:* Re: Client retrieval endpoint fix
>>
>>
>>
>> Hi Angel,
>>
>>
>>
>> Create an issue ASAP. If you are convinced its a problem, create an issue
>> and fix it.
>>
>> If it turns out to be a false alarm, you can always close the issue again.
>>
>>
>>
>> Thanks for investigating.
>>
>>
>>
>> On Wed, May 22, 2019 at 4:52 PM Angel Cajas 
>> wrote:
>>
>> Hi everyone.
>>
>>
>>
>> Recently I’ve been testing the client retrieval endpoint sending a GET
>> request to the path  “/fineract-provider/api/v1/clients” and noticed
>> that when you provide extra parameters to the search like firstName or
>> lastName the result is empty. Should I create an issue in Jira by myself
>> and fix it? Or is someone in charge of reviewing the problem described
>> before creating the issue?
>>
>>
>>
>> Regards, Angel
>>
>>


Re: Client retrieval endpoint fix

2019-05-28 Thread Vishwas Babu
Sampath,

Angel has raised this issue at FINERACT-757 . The fix for the same has been
cherry-picked into the 1.3.1 branch. Can you please test it out and ship it
as a part of the 1.3.1 patch release?

Regards,
Vishwas



On Wed, May 22, 2019 at 1:49 PM Angel Cajas  wrote:

> Hi Awasum.
>
>
>
> Thanks for your response, I will create the issue and ask for your review
> after fixing it.
>
>
>
>
>
> *From:* Awasum Yannick 
> *Sent:* miércoles, 22 de mayo de 2019 12:30
> *To:* Dev 
> *Subject:* Re: Client retrieval endpoint fix
>
>
>
> Hi Angel,
>
>
>
> Create an issue ASAP. If you are convinced its a problem, create an issue
> and fix it.
>
> If it turns out to be a false alarm, you can always close the issue again.
>
>
>
> Thanks for investigating.
>
>
>
> On Wed, May 22, 2019 at 4:52 PM Angel Cajas  wrote:
>
> Hi everyone.
>
>
>
> Recently I’ve been testing the client retrieval endpoint sending a GET
> request to the path  “/fineract-provider/api/v1/clients” and noticed that
> when you provide extra parameters to the search like firstName or lastName
> the result is empty. Should I create an issue in Jira by myself and fix it?
> Or is someone in charge of reviewing the problem described before creating
> the issue?
>
>
>
> Regards, Angel
>
>


Re: Fineract CN Fims Web App: Angular 7 Upgrade

2019-05-28 Thread Vishwas Babu
Hello Ruphine,

Done!

Regards,
Vishwas



On Mon, May 27, 2019 at 2:39 AM Ruphine Kengne 
wrote:

> Hello Vishwas,
>
> I have added some commits to this PR
> <https://github.com/apache/fineract-cn-fims-web-app/pull/15> which
> reduces some of the errors I faced and upgraded the ngrx to v7.
> Please can you merged that to the FINCN-154 branch you created so that
> anyone can clone that branch to contribute.
>
> Thanks.
>
> On Tue, 7 May 2019 at 19:48, Ruphine Kengne 
> wrote:
>
>> Thanks Vishwas
>>
>> On Tue, 7 May 2019 at 17:23, Vishwas Babu <
>> vish...@confluxtechnologies.com> wrote:
>>
>>> Hello Ruphine,
>>>
>>> >>Can a new branch be created on the Apache repository for me to push
>>> the changes there so as to enable other people to contribute?
>>> Done,  https://github.com/apache/fineract-cn-fims-web-app/tree/FINCN-154
>>>  .
>>>
>>> Regards,
>>> Vishwas
>>>
>>>
>>>
>>> On Tue, May 7, 2019 at 6:52 AM Ruphine Kengne 
>>> wrote:
>>>
>>>> Hello Everyone,
>>>>
>>>> Hope this email finds you in good health.
>>>>
>>>> I have started upgrading fims web-app from angular v4 to v7 to solve
>>>> the errors I faced when writing unit test. Here,
>>>> https://issues.apache.org/jira/browse/FINCN-102
>>>>
>>>> I have created a Jira ticket :
>>>> https://issues.apache.org/jira/browse/FINCN-154 to keep track.
>>>> Here, is the link to my github repository :
>>>> https://github.com/kengneruphine/fineract-cn-fims-web-app/tree/angular-7-upgrade
>>>> with the new branch I created to contain the upgrade.
>>>>
>>>> Can a new branch be created on the Apache repository for me to push the
>>>> changes there so as to enable other people to contribute?
>>>>
>>>> Right now, am facing some errors with ngrx and here is the link to the
>>>> paste bin containing  the errors : https://pastebin.com/uvZLCwy5.
>>>>
>>>> Please, Mark can you help with the errors above?
>>>>
>>>> Thanks
>>>> Ruphine Kengne
>>>>
>>>>


Re: Upgrade Apache Tomcat Version for Fineract

2019-05-28 Thread Vishwas Babu
Hi Angel,

Thanks for looking into this issue. As you have rightly summarized, the
changes made to dependencies.gradle were not reflected in
dev-dependencies.gradle. The same has been updated with
https://github.com/apache/fineract/pull/573

Regards,
Vishwas



On Tue, May 28, 2019 at 9:53 AM Angel Cajas  wrote:

> Hi again.
>
>
>
> Continuing with this issue I described yesterday, apparently different
> versions of tomcat-embed libraries are packaged in the jar because of this
> line in the dev-dependencies file :
>
>
>
>  providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
>
>
>
> The version isn’t provided for the spring-boot-starter-tomcat libraries so
> since it isn’t specified and it is using the same version from the
> spring-boot-gradle-plugin which hasn’t been upgraded and continues to be
> the 1.1.6.RELEASE version.
>
>
>
> Like I said before this may not be a major issue but this can be fixed
> either by specifying the spring-boot-starter-tomcat version in the dev
> dependencies or bumping the spring-boot-gradle-plugin version to 1.2.8. You
> tell If we should any of this changes it’s necessary.
>
>
>
> Thank you all for your attention
>
>
>
>
>
>
>
> *From:* Angel Cajas 
> *Sent:* lunes, 27 de mayo de 2019 16:05
> *To:* dev@fineract.apache.org
> *Subject:* RE: Upgrade Apache Tomcat Version for Fineract
>
>
>
> Hi,
>
>
>
> I run the tomcatRunWar task and is running Ok.  Also I checked the
> generated files and the version packaged inside them it’s the right one
> 8.0.30 compatible with the current Spring version.
>
>
>
> However when I run the build task with this command: -Penv=dev clean build
> dist
>
>
>
> It seems that is packaging 8.0.3 and 7.0.55 versions of tomcat-embed
> libraries in the jar and war files as seen in this picture.
>
>
>
> [image: cid:image001.png@01D51541.5303E780]
>
>
>
> This only happens when the files are built with env parameter as dev. It
> may not be a big issue since apparently I’m the only one running the build
> task with this parameter. I will continue checking this issue and I’ll let
> you know if I find something else.
>
>
>
> Thanks for your attention
>
>
>
>
>
> *From:* Awasum Yannick 
> *Sent:* lunes, 27 de mayo de 2019 14:04
> *To:* Dev 
> *Subject:* Re: Upgrade Apache Tomcat Version for Fineract
>
>
>
> Hi,
>
>
>
> Does tomcatRunWar task not work with the current code base?
>
>
>
> If this is the case, then create an issue, send a PR and we will review
> together.
>
>
>
> Thanks
>
>
>
> On Mon, May 27, 2019, 16:59 Angel Cajas  wrote:
>
> Hello devs,
>
>
>
> I’ve been testing some features recently and tried to deploy Fineract
> using the embedded Tomcat server that it’s used while building the project
> with dev environment. However the next error was thrown when I tried to
> start the app with embedded Tomcat server:
>
>
>
> Caused by: java.lang.IllegalStateException: Expected method not found:
> java.lang .NoSuchMethodException
>
>
>
> It seems that Spring and Spring Boot versions were upgraded some months
> ago and that change also required the upgrade of Tomcat from version 7.0.54
> to version 8.0.30 in the project dependencies.  I changed the version and
> it worked for me, however I would like to know your opinions and if this
> change and if this has also happened to you while trying to start Fineract
> with the embedded server.
>
>
>
> Thanks for you attention
>
>
>
> Regards, Angel.
>
>
>
>
>
>


Re: Unable to find Pentaho Processing Service in apache/fineract

2019-05-09 Thread Vishwas Babu
Parth,

Fineract does not ship Pentaho reports or the related libraries (compliance
issues with Apache licence) . Head over to the Mifos community who
maintains distributions that include pentaho.

Regards,
Vishwas



On Thu, May 9, 2019 at 10:59 AM Parth Mangroliya <
parth.mangrol...@kuliza.com> wrote:

> Hello ,
>
> I was going through reporting service feature and found
> no ReportingProcessService for Pentaho Reports in "apache/fineract".
> However, I am able to find class PentahoReportingProcessServiceImpl.java in
> "incubator-fineract" repository which is forked from "apache/fineract"
> along with pentaho report files for core reports.
>
> My query is : Is it fine to use Pentaho with apache/fineract without
> forking from "incubator-fineract" ?
>
>
> --
> Regards,
> Parth Mangroliya
>


Re: CORS Error

2019-05-09 Thread Vishwas Babu
Hi Abhay,

The commit
https://github.com/apache/fineract/commit/eb5ad448fa6cb365dad7e2691f4c6f7e9bb1c196
was
causing the CORS preflight request to fail. I have now reverted the same
and you should be able to work with the latest develop branch or
https://github.com/apache/fineract/commits/1.3.1

@ Santosh: The latest fineract release (1.3.0) which ships this change is
broken, can you please start the process for shipping a patch release with
the newly created branch at https://github.com/apache/fineract/commits/1.3.1
(created from 1.3 branch with the pr for reverting
https://github.com/apache/fineract/commit/eb5ad448fa6cb365dad7e2691f4c6f7e9bb1c196
 cherry-picked)

Regards,
Vishwas



On Thu, May 9, 2019 at 2:48 AM Abhay Chawla 
wrote:

> Hi Vishwas,
>
> Could you please help us figure out the issue and resolve the same? I am
> not very much familiar with the backend code.
>
> Thanks,
> Abhay.
>
> On Thu, May 9, 2019 at 2:11 PM Santosh Math <
> sant...@confluxtechnologies.com> wrote:
>
>> +vishwas 
>>
>> Hi Abhay,
>>
>> Yes, we have updated staging/mobile with latest code from Fineract
>> develop branch. At least 10 PRs are merged in Fineract branch since March
>> 15(last update of staging)  out of which one of them may be causing you the
>> error. Here are the PRs which were merged :
>>
>>
>> https://github.com/apache/fineract/pulls?utf8=%E2%9C%93=is%3Apr+is%3Aclosed
>>
>>
>> On Thu, May 9, 2019 at 1:48 PM Abhay Chawla 
>> wrote:
>>
>>> @Santosh Math  has there been some
>>> change in the latest deployment of the staging and mobile server for the
>>> latest release? We are unable to send cross-origin requests as the header
>>> is no longer present in the response due to which we cannot use it for
>>> development. Could you please assist?
>>> Headers are present in the demo server but it frequently becomes
>>> inaccessible.
>>>
>>> On Thu, May 9, 2019 at 12:36 PM Abhay Chawla 
>>> wrote:
>>>
>>>> Adding to the discussion. +Jivjyot Singh 
>>>>
>>>> On Wed, May 8, 2019 at 11:19 PM Abhay Chawla 
>>>> wrote:
>>>>
>>>>> Hi Chirag/Ed/Sampath/Santosh/Nayan,
>>>>>
>>>>> I rechecked and now I have started to face the same issue. I verified
>>>>> that we are getting the required headers within the demo server only now,
>>>>> it seems like there has been some change with the staging/mobile servers.
>>>>>
>>>>> Ed/Santosh/Sampath/Nayan has there been any change within the
>>>>> configurations of the staging and mobile servers in the past few days?
>>>>> Earlier we had these headers and we were able to send cross-origin 
>>>>> requests
>>>>> but now they seem to be absent in these servers and that is why it has
>>>>> become inaccessible. Could you please assist?
>>>>>
>>>>> Also, if possible we should work on stabilizing the demo server before
>>>>> the coding period.
>>>>>
>>>>> Thanks
>>>>> Abhay.
>>>>>
>>>>> On Wed, May 8, 2019 at 9:54 PM Chirag Gupta 
>>>>> wrote:
>>>>>
>>>>>> Hi Abhay and all,
>>>>>>
>>>>>> I checked the response headers coming from both the servers (staging
>>>>>> and mobile) and I am quite sure that above-mentioned header isn't being
>>>>>> passed. As of now, I am using the demo server but it is highly unstable.
>>>>>>
>>>>>> I am not sure what possible mistake could be there in my system.
>>>>>> Could you or anyone please point me in the right direction?
>>>>>>
>>>>>> Chirag
>>>>>>
>>>>>> On Wed, May 8, 2019 at 9:42 PM Abhay Chawla 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Chirag,
>>>>>>>
>>>>>>> I am pretty sure it is already being passed otherwise it wouldn't
>>>>>>> have worked at all. Please check and ensure there is no issue within 
>>>>>>> your
>>>>>>> system.
>>>>>>>
>>>>>>> Abhay.
>>>>>>>
>>>>>>> On Tue, May 7, 2019 at 3:46 PM Chirag Gupta <
>>>>>>> guptachirag2...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hello all,
>>>>>>>>
>>>&

Re: Fineract CN Fims Web App: Angular 7 Upgrade

2019-05-07 Thread Vishwas Babu
Hello Ruphine,

>>Can a new branch be created on the Apache repository for me to push the
changes there so as to enable other people to contribute?
Done,  https://github.com/apache/fineract-cn-fims-web-app/tree/FINCN-154 .

Regards,
Vishwas



On Tue, May 7, 2019 at 6:52 AM Ruphine Kengne 
wrote:

> Hello Everyone,
>
> Hope this email finds you in good health.
>
> I have started upgrading fims web-app from angular v4 to v7 to solve the
> errors I faced when writing unit test. Here,
> https://issues.apache.org/jira/browse/FINCN-102
>
> I have created a Jira ticket :
> https://issues.apache.org/jira/browse/FINCN-154 to keep track.
> Here, is the link to my github repository :
> https://github.com/kengneruphine/fineract-cn-fims-web-app/tree/angular-7-upgrade
> with the new branch I created to contain the upgrade.
>
> Can a new branch be created on the Apache repository for me to push the
> changes there so as to enable other people to contribute?
>
> Right now, am facing some errors with ngrx and here is the link to the
> paste bin containing  the errors : https://pastebin.com/uvZLCwy5.
>
> Please, Mark can you help with the errors above?
>
> Thanks
> Ruphine Kengne
>
>


Re: [ANNOUNCE] Welcome Juhan Aasaru as Fineract committer

2019-04-30 Thread Vishwas Babu
Congrats Juhan !

On Tuesday, April 30, 2019, Isaac Kamga  wrote:

> Congratulations Juhan. Welcome aboard !
>
> On Tue, Apr 30, 2019 at 8:20 AM Awasum Yannick  wrote:
>
>> Hi All,
>>
>> I am happy to announce that Juhan Aasaru has been voted in as a Fineract
>> Committer.
>>
>> Juhan has been in the community for just over 6 months now and has
>> already shown how valuable they are to our project.
>>
>> Juhan has contributed to Fineract 1.x as well as Fineract CN in areas
>> like Containerization and recently enabled Continuous Integration on
>> Fineract CN. Juhan has also contributed to key discussions on the mailing
>> list and also created and updated documentations to unblock new
>> contributors. Thank you very much Juhan.
>>
>> Please join me in welcoming Juhan as a new Committer on Fineract.
>>
>> Thanks.
>> Awasum Yannick.
>> PMC Member, Apache Fineract
>>
>>
>>
>>
>>

-- 
Sent from my iPad


Re: Optimistic lock error

2019-04-25 Thread Vishwas Babu
Patrick had reached out on Skype where he explained that they are facing
these issues as their number of transactions increase. Adding some details
of the conversation along with additional context back to the list

1) Possible Temporary fix: Fineract can be configured to automatically
retry such transactions

The table `tenant_server_connections` under the schema
`mifosplatform-tenants` has two columns `deadlock max_retries` and
`deadlock_max_retry_interval` which can be configured to control the number
of times and intervals at which such failed transactions can be retried.

These settings control the retrying of transactions throwing the following
exceptions
-> `org.springframework.dao.CannotAcquireLockException`
-> `org.springframework.orm.ObjectOptimisticLockingFailureException`.

They worked earlier (in the original MifosX distributions) when Hibernate
was the ORM used and Hibernate's exceptions like StaleObjectStateException,
StaleStateException and OptimisticEntityLockException were converted to
org.springframework.orm.ObjectOptimisticLockingFailureException. I am not
sure if they work post the change to using OpenJPA on Fineract (this is
unclear in the log snippet shared)

2) Possible Temporary fixes to improve performance:

Patrick seemed to be having an average response time of 3 sec.  They seem
to have sufficient hardware resources on AWS dedicated to the application
server, so areas, where we could optimize, would include

-> Consider using either MySQL or MariaDB driver which should perform
better than the drizzle driver used by Fineract.
-> Ensure MySQL is configured correctly for the available hardware. While
tools like https://github.com/major/MySQLTuner-perl would help identify
basic issues, consider moving to a managed enterprise MySQL compliant
database like https://aws.amazon.com/rds/aurora/


3) Permanent fix:
Deposit accounts on Fineract were originally designed for use as
Micro-finance savings accounts. After every deposit or withdrawal on
Fineract, interest calculation is carried out on the fly, starting from the
creation of the account. This approach wouldn't scale for a use case like a
mobile wallet for merchants etc. The only solution would be to make a code
level changes to decouple interest calculation (for total interest earned)
from deposits/withdrawals.

Regards,
Vishwas


On Tue, Apr 23, 2019 at 7:49 AM Patrick Asare-Frimpong 
wrote:

> Hi team,
>
>
>
> I am getting the error below when I try withdrawing multiple times from an
> account
>
>
>
> [http-bio-8443-exec-206] ERROR o.s.boot.context.web.ErrorPageFilter -
> Forwarding to error page from request
> [/api/v1/savingsaccounts/11673/transactions] due to exception [Optimistic
> locking errors were detected when flushing to the data store.  The
> following objects may have been concurrently modified in another
> transaction:
> [org.apache.fineract.portfolio.savings.domain.SavingsAccount-11673]]
> org.apache.openjpa.persistence.OptimisticLockException: Optimistic locking
> errors were detected when flushing to the data store.  The following
> objects may have been concurrently modified in another transaction:
> [org.apache.fineract.portfolio.savings.domain.SavingsAccount-11673]
> at
> org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2357)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2205)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2103)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1874)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:599)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:686)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1692)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1624)
> ~[openjpa-all-2.4.1.jar:2.4.1]
> at
> org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom.pcGetid(AbstractPersistableCustom.java)
> ~[classes/:na]
> at
> org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom.getId(AbstractPersistableCustom.java:45)
> ~[classes/:na]
> at
> org.apache.fineract.portfolio.savings.domain.SavingsAccountDomainServiceJpa.saveTransactionToGenerateTransactionId(SavingsAccountDomainServiceJpa.java:2
>
>
>
>
>
> Please help.
>
>
>
> Patrick
>
>
> --
> *Patrick Asare-Frimpong*
> Senior Product Manager
> [image: Hubtel] <https://www.hubtel.com/>
> T: (+233) 302 256 859
> M:+233 208 800 414
> www.hubtel.com
> [image: Facebook] <https://web.facebook.com/hubtelghana/> [image: Twitter]
> <https://twitter.com/HubtelGhana>
> <https://hubtel.com/mall/deal/easter-deals/>
>


Re: Building and serving fineract-cn artifacts with jitpack.io

2019-04-11 Thread Vishwas Babu
+1
Looks good to me


Regards,
Vishwas



On Thu, Apr 11, 2019 at 9:13 AM Juhan Aasaru  wrote:

> Hi!
>
> I have proof-of-concept ready and I have managed to build and publish
> fineract-cn-identity artifacts with Travis.
> All the fineract-cn-* projects that idenity depends on I made forks and set
> Travis to build and publish those artifacts.
> Before I go over rest of the projects and create pull requests please have
> a look and comment if you have time
> (I think most important is to agree on artifact naming for non-develop
> brannches and review changes to *.gradle files)
>
> The idea is that Travis builds snapshot artifacts and uploads them to
> https://mifos.jfrog.io/mifos/libs-snapshot/org/apache/fineract/cn/
> (I created user "travis-ci" to artifactory with upload permissions and
> encrypted its password for each repository)
> Travis detects branch automatically and if branch=develop (in my code
> currently i have set branch=travis) then it uses version set in
> build.gradle
> For any other branch it sets artifact version to branchname-SNAPSHOT
> If one creates a release in github then it uses tag as version and uploads
> it under different repoKey,
> so that it will be available here:
> https://mifos.jfrog.io/mifos/libs-release/org/apache/fineract/cn/
> Travis will also build all pull requests but those artifacts are not
> uploaded anywhere.
>
> I have documented the usage and setup here:
>
> https://cwiki.apache.org/confluence/display/FINERACT/Fineract-CN+Artifactory
>
> Here is travis build log for Idenity project:
> https://travis-ci.com/aasaru/fineract-cn-identity
>
> And the code changes of fineract-cn-idenity:
>
> https://github.com/apache/fineract-cn-identity/compare/develop...aasaru:travis
> All the other repos github.com/aasaru/fineract-cn-* will have similar
> changes
> (travis.sh will be identical everywhere and .travis.yml as well (except the
> encrypted password)
>
> Please let me know if you have any comments or if you have none then I will
> create pull requests next week.
>
> Kind regards
> Juhan
>
>
> Kontakt Isaac Kamga () kirjutas kuupäeval P, 31.
> märts 2019 kell 18:59:
>
> > Hello Juhan,
> >
> > Yes, get started with the proof of concept. You'll also need to create
> > issues for the CI/CD work you're doing and probably name branches after
> the
> > issue number.
> >
> > Vishwas mentioned that a Jfrog open source license is available for
> Apache
> > Fineract. I think he's best placed to get those details though to you.
> >
> > More grease to your elbows.
> >
> > Cheers,
> > Isaac Kamga.
> >
>


Apache Board report for April 2019

2019-04-10 Thread Vishwas Babu
Hello All,

The contents of the board report for the month of April is shared at
https://cwiki.apache.org/confluence/display/FINERACT/2019-04+April+Report

Please feel free to update the same with any information you deem relevant
(and let me know) and I shall update the submitted report accordingly.

Regards,
Vishwas


Re: GSoC Doubts

2019-04-04 Thread Vishwas Babu
Prashant,

Sharing details of the codebase and specific pull requests you are
referring to might help committers respond to your query.

Regards,
Vishwas



On Wed, Apr 3, 2019 at 8:24 AM PRASHANT KHANDELWAL <
f2016...@pilani.bits-pilani.ac.in> wrote:

> Hello everyone,
> I wanted to ask if we should consider existing Pull Requests (which aren't
> merged yet, like previous year's gsoc project unmerged PRs) while writing
> proposals.
> Thank You.
> --
> Regards,
> *Prashant Khandelwal*
> M.Sc.(Hons.) Mathematics and B.E.(Hons.) Computer Science
>
> Mobile: +91 8077653023 | +91 8267851475
>
> Email: Personal  | BITS Mail
> 
>
> *Birla Institute of Technology and Science Pilani*
>
> *Vidya Vihar, Pilani*
> *Rajasthan - 333031, India*
>


Re: Does anyone know about this error?

2019-04-02 Thread Vishwas Babu
This doesn’t work since the move to Fineract (using OpenJPA in lieu of
hibernate) . You would have to start Fineract using Gradle and then debug
the same as a remote java application .

On Monday, April 1, 2019, Saransh Sharma  wrote:

> What about from the IDE I am unable to run fineract as Application
> configuration.
>
> On Tue, 2 Apr 2019, 00:49 Vishwas Babu, 
> wrote:
>
> > You should be able to debug Fineract platform as a remote Java
> application.
> >
> > Regards,
> > Vishwas
> >
> >
> >
> > On Mon, Apr 1, 2019 at 10:28 AM Saransh Sharma 
> > wrote:
> >
> > > Just want to confirm that because of openJPA enhancer we cannot use IDE
> > > based debugging?
> > >
> > > Correct please let me know.
> > >
> > > Thanks
> > >
> > > On Mon, Apr 1, 2019 at 1:53 AM Saransh Sharma 
> > > wrote:
> > >
> > > > I got the Fineract running finally.
> > > >
> > > > Now this seems little complicated.
> > > >
> > > > All around on the Fineract Documentation , it says visit and install
> > > > ActiveMQ , I did not use Active MQ, although I had the error related
> to
> > > > OPEN JPA,  but it did not stop the server.
> > > >
> > > > Though previously I was importing the project in IntelliJ only
> notable
> > > > change is that I followed the Readme from git repository and did not
> > > import
> > > > the project.
> > > >
> > > > Thanks
> > > >
> > > > On Sun, Mar 31, 2019 at 10:55 PM Saransh Sharma <
> sara...@theupscale.in
> > >
> > > > wrote:
> > > >
> > > >> I have followed almost all config style.
> > > >>
> > > >> First I tried 5.5 with JDK 1.8
> > > >> Second I tried 5.6 with 1.8 with Active MQ
> > > >> ..tried and spent almost 12 hours with above configuration.
> > > >>
> > > >> It seems like we cannot debug it directly from the IDE , ok not bad
> ,
> > > but
> > > >> tomcatRunwar is also failing now what to do?  Then no connecting
> with
> > > >> remote debugging.
> > > >>
> > > >> Thanks
> > > >>
> > > >>
> > > >>
> > > >> On Sun, Mar 31, 2019 at 10:48 PM Saransh Sharma <
> > sara...@theupscale.in>
> > > >> wrote:
> > > >>
> > > >>> Oh, oops.
> > > >>>
> > > >>> I am trying to setup local development for Fineract and I am
> getting
> > > >>> exception as below.
> > > >>>
> > > >>> Caused by: 
> > > >>> org.apache.openjpa.util.MetaDataException: The type "class
> > > >>>
> > > org.apache.fineract.infrastructure.core.domain.
> AbstractPersistableCustom"
> > > >>> has not been enhanced.
> > > >>>
> > > >>> Now after researching a bit on the forum , I have come to the
> > > conclusion
> > > >>> that with mysql 5.7 and JDK 1.8 I cannot run this from IDE.
> > > >>>
> > > >>> Now, I am trying to do ./gradlew clean tomcatrunwar also throwing
> > > >>> exception of failed to start child container.
> > > >>>
> > > >>> I think information is bit scattered when it comes to setup
> Fineract.
> > > >>>
> > > >>> Let me know if you have some solution for this.
> > > >>>
> > > >>>
> > > >>> On Sun, Mar 31, 2019 at 10:35 PM Awasum Yannick <
> > > >>> awasum.yann...@skylabase.com> wrote:
> > > >>>
> > > >>>> Hey Saransh,
> > > >>>>
> > > >>>> You attachment is not visible because this mailing list does not
> > > accept
> > > >>>> attachments. Please use an external service or paste the error in
> > the
> > > >>>> body of the email.
> > > >>>>
> > > >>>> Thanks.
> > > >>>>
> > > >>>> On Sun, Mar 31, 2019 at 9:43 AM Saransh Sharma <
> > sara...@theupscale.in
> > > >
> > > >>>> wrote:
> > > >>>>
> > > >>>> > Trying to setup apache Fineract on (local instance) IntelliJ
> while
> > > >>&g

Re: Does anyone know about this error?

2019-04-01 Thread Vishwas Babu
You should be able to debug Fineract platform as a remote Java application.

Regards,
Vishwas



On Mon, Apr 1, 2019 at 10:28 AM Saransh Sharma 
wrote:

> Just want to confirm that because of openJPA enhancer we cannot use IDE
> based debugging?
>
> Correct please let me know.
>
> Thanks
>
> On Mon, Apr 1, 2019 at 1:53 AM Saransh Sharma 
> wrote:
>
> > I got the Fineract running finally.
> >
> > Now this seems little complicated.
> >
> > All around on the Fineract Documentation , it says visit and install
> > ActiveMQ , I did not use Active MQ, although I had the error related to
> > OPEN JPA,  but it did not stop the server.
> >
> > Though previously I was importing the project in IntelliJ only notable
> > change is that I followed the Readme from git repository and did not
> import
> > the project.
> >
> > Thanks
> >
> > On Sun, Mar 31, 2019 at 10:55 PM Saransh Sharma 
> > wrote:
> >
> >> I have followed almost all config style.
> >>
> >> First I tried 5.5 with JDK 1.8
> >> Second I tried 5.6 with 1.8 with Active MQ
> >> ..tried and spent almost 12 hours with above configuration.
> >>
> >> It seems like we cannot debug it directly from the IDE , ok not bad ,
> but
> >> tomcatRunwar is also failing now what to do?  Then no connecting with
> >> remote debugging.
> >>
> >> Thanks
> >>
> >>
> >>
> >> On Sun, Mar 31, 2019 at 10:48 PM Saransh Sharma 
> >> wrote:
> >>
> >>> Oh, oops.
> >>>
> >>> I am trying to setup local development for Fineract and I am getting
> >>> exception as below.
> >>>
> >>> Caused by: 
> >>> org.apache.openjpa.util.MetaDataException: The type "class
> >>>
> org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom"
> >>> has not been enhanced.
> >>>
> >>> Now after researching a bit on the forum , I have come to the
> conclusion
> >>> that with mysql 5.7 and JDK 1.8 I cannot run this from IDE.
> >>>
> >>> Now, I am trying to do ./gradlew clean tomcatrunwar also throwing
> >>> exception of failed to start child container.
> >>>
> >>> I think information is bit scattered when it comes to setup Fineract.
> >>>
> >>> Let me know if you have some solution for this.
> >>>
> >>>
> >>> On Sun, Mar 31, 2019 at 10:35 PM Awasum Yannick <
> >>> awasum.yann...@skylabase.com> wrote:
> >>>
> >>>> Hey Saransh,
> >>>>
> >>>> You attachment is not visible because this mailing list does not
> accept
> >>>> attachments. Please use an external service or paste the error in the
> >>>> body of the email.
> >>>>
> >>>> Thanks.
> >>>>
> >>>> On Sun, Mar 31, 2019 at 9:43 AM Saransh Sharma  >
> >>>> wrote:
> >>>>
> >>>> > Trying to setup apache Fineract on (local instance) IntelliJ while
> >>>> > starting the Application Server it comes up with this.
> >>>> >
> >>>> > I am using OS X 10.14.2
> >>>> > Mysql 5.6
> >>>> > JDK. is 1.8
> >>>> >
> >>>> >
> >>>> > [image: Screenshot 2019-03-31 at 2.12.13 PM.png]
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> > --
> >>>> >
> >>>> >
> >>>> > Saransh Sharma
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>>
> --
> >>>> >
> >>>> >
> >>>> >
> >>>>
> --
> >>>> >
> >>>> >
> >>>> >
> >>>>
> >>>
> >>>
> >>> --
> >>>
> >>>
> >>> Saransh Sharma
> >>>
> >>>
> >>>
> >>>
> --
> >>>
> >>> You know what I. love a woman whose name is simran,
> >>>
> >>>
> --
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >>
> >>
> >> Saransh Sharma
> >>
> >>
> >>
> >>
> --
> >>
> >> The idea of separation of me and you is amazing.
> >>
> >>
> --
> >>
> >>
> >>
> >
> >
> > --
> >
> >
> > Saransh Sharma
> >
> >
> >
> >
> --
> >
> > The idea of separation of me and you is amazing.
> >
> >
> --
> >
> >
> >
>
>
> --
>
>
> Saransh Sharma
>
>
>
> --
>
> The idea of separation of me and you is amazing.
>
> --
>


Re: Building and serving fineract-cn artifacts with jitpack.io

2019-03-31 Thread Vishwas Babu
Juhan,

You should have received a mail from jFrog with the login details. Please
let me know if you have any trouble logging in.

Regards,
Vishwas



On Sun, Mar 31, 2019 at 8:59 AM Isaac Kamga  wrote:

> Hello Juhan,
>
> Yes, get started with the proof of concept. You'll also need to create
> issues for the CI/CD work you're doing and probably name branches after the
> issue number.
>
> Vishwas mentioned that a Jfrog open source license is available for Apache
> Fineract. I think he's best placed to get those details though to you.
>
> More grease to your elbows.
>
> Cheers,
> Isaac Kamga.
>


Re: Mifos community app issues

2019-03-29 Thread Vishwas Babu
Hello Piyush,

The community app is maintained by https://mifos.org

Please forward your query to the Mifos developer mailing list. Details at
https://mifos.org/resources/community/communications/

Regards,
Vishwas



On Fri, Mar 29, 2019 at 3:57 AM Piyush Bhagade  wrote:

> Hello,
>
> I am a GSOC aspirant and working on fixing this issue
> <https://github.com/openMF/community-app/issues/2921>.
>
> I am not able to satisfy the submission guidelines criteria.
> A couple of problems
> 1. 'grunt validate' skips evaluation for all files and gives a 'Network
> error' message
> 2. There are no tests running when I hit 'test/SpecRunner.html' on my local
> setup
>
> Can anyone please help me resolve these?
>
> Thanks,
> Piyush
>


Re: [ANNOUNCE] Myrle Krantz is a Board Member at the Apache Software Foundation.

2019-03-28 Thread Vishwas Babu
Congrats Myrle !

Regards,
Vishwas



On Thu, Mar 28, 2019 at 2:50 PM Javier Borkenztain  wrote:

> Congratulations Myrle!!
>
> On Thu, Mar 28, 2019, 18:39 Kevin A. McGrail  wrote:
>
> > +1
> >
> > On 3/28/2019 5:25 PM, Ruphine Kengne wrote:
> > > Congratulations Myrle,
> > > All the best in your new role
> > >
> > > Regards
> > >
> > > On Thu, 28 Mar 2019 at 22:07, Zayyad A. Said <
> > > zay...@intrasofttechnologies.com> wrote:
> > >
> > >> This is good news.
> > >>
> > >>
> > >>
> > >> Congratulations Myrle, keep up with the spirit of the community.
> > >>
> > >>
> > >>
> > >> Regards;
> > >>
> > >>
> > >>
> > >> *
> > >>
> > >> *Zayyad A. Said | Chairman & C.E.O*
> > >>
> > >>
> > >>
> > >> Cell No.: +254 716 615274 | Skype: *zsaid2011*
> > >>
> > >> Email: zay...@intrasofttechnologies.com
> > >>
> > >> Schedule Meetings: https://calendly.com/zayyadsaid
> > >>
> > >> [image: Description: Email banner]
> > >>
> > >> -Original Message-
> > >> From: Ed Cable [mailto:edca...@mifos.org]
> > >> Sent: 28 March 2019 11:54 PM
> > >> To: Dev
> > >> Subject: Re: [ANNOUNCE] Myrle Krantz is a Board Member at the Apache
> > >> Software Foundation.
> > >>
> > >>
> > >>
> > >> Congrats Myrle!
> > >>
> > >>
> > >>
> > >> Thanks for sharing the news Awasum.
> > >>
> > >>
> > >>
> > >> On Thu, Mar 28, 2019 at 1:42 PM Isaac Kamga 
> > wrote:
> > >>
> > >>
> > >>
> > >>> Congratulations Myrle Krantz,
> > >>> We're happy for your progress and we also trust that your newly found
> > >>> role will help Apache Fineract grow by leaps and bounds.
> > >>> Cheers,
> > >>> Isaac Kamga.
> > >>> On Thu, Mar 28, 2019 at 9:36 PM Ebenezer Graham
> > >>> 
> > >>> wrote:
> > >>>> Congratulations Myrle. :)
> > >>>> On Fri, 29 Mar 2019 at 00:32, Awasum Yannick 
> > >> wrote:
> > >>
> > >>>>> Hello Everyone,
> > >>>>> At The Apache Software Foundation (ASF) Members' Meeting held this
> > >>>>> week
> > >>>> and
> > >>>>> one of our Community members was elected to the ASF Board.
> > >>>>> Please, Join me in Congratulating Myrle Krantz on becoming an ASF
> > >>>>> Board
> > >>>> of
> > >>>>> Director.
> > >>>>> https://blogs.apache.org/foundation/entry/announcing-new-asf-board
> > >>>>> -of1
> > >>>>> We know you will keep doing great things.
> > >>>>> Thanks.
> > >>>>> Awasum Yannick.
> > >>>>> PMC Member, Apache Fineract.
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >>
> > >> *Ed Cable*
> > >>
> > >> President/CEO, Mifos Initiative
> > >>
> > >> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> > >>
> > >>
> > >>
> > >> *Collectively Creating a World of 3 Billion Maries | *
> http://mifos.org
> > <
> > >> http://facebook.com/mifos>  <http://www.twitter.com/mifos>
> > >>
> >
> > --
> > Kevin A. McGrail
> > Member, Apache Software Foundation
> > Chair Emeritus Apache SpamAssassin Project
> > https://www.linkedin.com/in/kmcgrail - 703.798.0171
> >
> >
>


Re: Error executing Containerized version of Fineract 1.x on GKE

2019-03-28 Thread Vishwas Babu
>>Does someone have an idea of what can cause the error? Maybe something
that
>> changed between the last release and the current version?

The only changes to dependencies between the two was made with this commit
https://github.com/apache/fineract/commit/8bfc1f63ab51f3f67ef600f3e94537fcd7f61e2e
 .
The war is built with the command ./gradlew clean war

Regards,
Vishwas



On Tue, Mar 26, 2019 at 6:14 AM Patrick Finken 
wrote:

> Hello,
>
> I have a containerized version of Fineract 1.x that's works well locally
> with docker-compose or minikube. But not when I deploy it to Google
> Kubernetes Engine. I have an error (cf end of the email).
> To create my docker image, I use the fineract-provider.war file that I've
> built from a recent code source.
> On the other hand, it seems to work if I build my docker image with the
> file fineract-provider.war from the official mifos release.
>
> Does someone have an idea of what can cause the error? Maybe something that
> changed between the last release and the current version?
>
> Error on GKE:
>
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name
> >
> 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor':
> > Invocation of init method failed; nested exception is
> > java.lang.AbstractMethodError:
> >
> org.apache.bval.jsr303.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider;
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
> > ~[spring-beans-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:199)
> > ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:619)
> > ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:465)
> > ~[spring-context-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
> > ~[spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.boot.SpringApplication.refresh(SpringApplication.java:690)
> > ~[spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
> > ~[spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:135)
> > [spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:126)
> > [spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:82)
> > [spring-boot-1.2.8.RELEASE.jar:1.2.8.RELEASE] at
> >
> org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
> > [spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE] at
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5229)
> > [catalina.jar:8.5.30] at
> > org.apache.catalina.util.LifecycleB

Re: Building and serving fineract-cn artifacts with jitpack.io

2019-03-28 Thread Vishwas Babu
Hi Juhan,

Thanks for taking this on!

I would agree that 2 (changing the artifact name) and 3 aren't major
concerns. Changing the group name, however, is less than ideal as both you
and Isaac have pointed out.

If you are considering alternatives, we do have an open-source license for
https://jfrog.com/artifactory/ .

Regards,
Vishwas



On Thu, Mar 21, 2019 at 7:53 AM Juhan Aasaru  wrote:

> Hi community!
>
> I created a proof-of-concept how we could use jitpack.io for fineract-cn
> projects. With this email I would start a discussion if and how we could
> get these changes done. I hope you have some time to go through my rather
> long email and maybe even look at the proof-of-concept that I put together
> (references in the end of email) and join the discussion.
>
> My opinion is that although some changes are needed I feel that the
> benefits are worth some of the inconveniences that come with some of the
> renamings.
>
> So let's start from the beginning. I was looking into jitpack.io for two
> reasons:
>
> 1) to add travis-ci to fineract-cn projects we need a mechanism to keep and
> serve all the dependencies to other fineract-cn projects.
> 2) to publish public docker images for fineract-cn projects then we need
> some service (that is not someones personal computer) to build the jar-s
> first.
>
> If you are not familiar with fineract-cn then I can give you a quick
> example of the problem:
> In order to build fineract-cn-portfolio you need (among other things)
> fineract-cn-rhythm built first.
> In order to build fineract-cn-rhythm you need fineract-cn-identity.
> In order to build fineract-cn-identity you need fineract-cn-anubis.
> In order to build fineract-cn-anubis you need fineract-cn-api
> In order to build fineract-cn-api you need fineract-cn-lang.
>
> So jitpack.io should be just the service what is needed for this. While in
> maven central you have to publish each version then jitpack just clones the
> code from a public repo, builds it and if the build is successful starts to
> serve it. You can refer to both latest successful build of a branch, to a
> tagged version or use commit hash instead of a version number. So the
> service is very flexible.
>
> My goal was to find out what changes (if any) would be needed to adapt. And
> also build a proof-of-concept (not to stay only theoretical).
>
> 1. The first problem was that fineract-ch projects are hosted in github but
> fineract-cn uses a domain name (org.apache.fineract.cn) instead of
> com.github.username. Jitpack supports custom domain names but after some
> tests and contacting with them (
> https://github.com/jitpack/jitpack.io/issues/3781) it came clear that they
> don't (yet) support subdomains (so org.apache would work but not
> org.apache.fineract.cn).
>
> To overcome the first issue fineract-cn projects should change group names
> of artifacts from org.apache.fineract.cn to com.github.apache (until
> jitpack.io starts to support subdomains). For official releases in Maven
> Central it would be possible still to use org.apache.fineract.cn group
> names. Of course, it would be inconvenient but in my opinion it would be
> doable.
>
> 2. The second problem of using jitpack.io is that the repository name is
> built deeply into its logic. If you have a public repository:
> https://github.com/username/repository-name
> then "repository-name" has to appear either in the group name or in the
> artifact name.
>
> So for fineract-cn projects it would mean changes. Currently simpler
> projects (lang, async, api, test) you require like this:
>
> [group: 'org.apache.fineract.cn', name: 'lang', version:
> versions.frameworklang],
> to use jitpack.io these would change to:
> [group: 'com.github.apache', name: 'fineract-cn-lang', version:
> versions.frameworklang],
>
> And the main projects (that have sub-projects) that are currently required
> like this:
>
>  [group: 'org.apache.fineract.cn.identity', name: 'api'],
> would change to:
> [group: 'com.github.apache.fineract-cn-identity', name: 'api', version:
> rootProject.version],
> (and in released versions and once jitpack would start to support
> subdomains it would change to:
> [group: 'org.apache.fineract.cn.fineract-cn-identity', name: 'api'],
>
> 3. A third change is also needed. Jitpack has snapshots in a form of:
> branchname-SNAPSHOT
> since fineract-cn projects are all in develop branch it would mean changing
> to
> 0.1.0-BUILD-SNAPSHOT -> develop-SNAPSHOT
> In my opinion this shouldn't be a problem - this is just matter of whatever
> we agree to use.
>
>
> So I created a (rather-huge) proof-of-concept to get this list of changes.
> I created a separate github user "mobjex" 

Re: Release Status of Fineract 1.3.0

2019-03-25 Thread Vishwas Babu
Hi Santosh ,

Yes , we can close 574 .
719 and 720 are existing issues , we can proceed with the release process
without waiting for them to be fixed

Regards ,
Vishwas

On Sunday, March 24, 2019, Santosh Math 
wrote:

> Hi Vishwas,
> Test case is updated, Can the following ticket be closed which is reopened?
>
> https://issues.apache.org/jira/browse/FINERACT-574
>
> As I referred in the followng epic link:
>
> https://issues.apache.org/jira/browse/FINERACT-707 (Integration Test
> Cases)
>
> There are two more tickets still open (719, 720) . Once they resolved, I
> think we can branch it out and call for vote, right?
>
> Thanks
> Santosh
>
>
>
> On Thu, Mar 21, 2019 at 2:20 PM Santosh Math <
> sant...@confluxtechnologies.com> wrote:
>
> > Dear Community,
> >>
> >> 1) All integration tests have been done successfully with new Travis
> >> Build.
> >>
> >>
> >> https://lists.apache.org/thread.html/917e48daba8c5b0fc0f2a9a791b90c
> a1ef6b4f4c12627a498a24c9df@%3Cdev.fineract.apache.org%3E
> >>
> >> 2) Security related issues have been resolved.
> >>
> >> 3) The QA is also done and it's status can be seen here with Release
> >> Notes:
> >>
> >> https://issues.apache.org/jira/projects/FINERACT/versions/12342874
> >>
> >> We will branch it out and call for a vote in next one or two days.
> >>
> >
> > We will also return to the discussion that was began on Fineract
> 1.4.0
> > so we can plan what will be shipped in that next release.
> >
> > Thanks & Regards
> >
> > Santosh Math
> >
> > *QA Engineer*
> >
> > *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
> > | *Office*: +91-080-41208662 |
> >
> > *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
> > Bengaluru, Karnataka, 560043 INDIA
> >
>
>
> --
> Thanks & Regards
>
> Santosh Math
>
> *QA Engineer*
>
> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
> | *Office*: +91-080-41208662 |
>
> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
> Bengaluru, Karnataka, 560043 INDIA
>


-- 
Sent from my iPad


[ANNOUNCE] New Fineract PMC member Santosh Math

2019-03-24 Thread Vishwas Babu
Hello All,

It gives me great pleasure to announce the addition of Santosh Math as the
newest member of  Fineract's Project Management Committee. Please join me
in giving him a warm welcome.

Santosh has been a part of the community since forever (2014!). For those
of you who do not know of him, here's a snippet from Ed Cable's
announcement of Santosh's committer status back in 2017.

Santosh has been an active member of the community since 2014 playing many roles
initially as the lead support resource, guiding documentation for the
platform. Most recently in his role as lead QA engineer for the community,
he has gone well beyond those duties doing triage and product management
for Apache Fineract (as well as the Mifos X distribution and apps that
consume it). Santosh is patient, thorough, and a deeply committed community
member. He has greatly enhanced the quality of the software and has helped
to streamline contributions by improving our triage and release management
processes. He is continually helping other partners, assisting volunteers
and interns, and most importantly supporting users of Apache Fineract. You
can see his active presence on the mailing lists, the issue trackers, and
our wikis.


Regards,
Vishwas


Updates to code review guidelines : pull request size limits

2019-03-22 Thread Vishwas Babu
Hi All,

The PMC has recently updated the code review guidelines at
https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide with
details of pull request size limits. Please let us know if you have any
concerns regarding the same.

Regards,
Vishwas


Re: FINERACT-614

2019-03-22 Thread Vishwas Babu
My bad ! I must have done so accidentally while deleting a few stale
branches I had created.

I am on my phone right now and will restore the same first think tomorrow
morning

Regards ,
Vishwas

On Friday, March 22, 2019, Myrle Krantz  wrote:

> Hey Vishwas,
>
> I'm a bit confused right now.  Perhaps you can help me.  After creating a
> branch for FINERACT-614 I was going to sit down today to work on the
> findbugs issues it contained, and maybe update the branch from develop so
> that it can be merged.
>
> But it seems that you've deleted that branch.  I can't find any indication
> that you merged it.  I'm probably missing something.  Can you help me
> understand what?
>
> Here's the pull request I used to create the branch:
> https://github.com/apache/fineract/pull/465/commits/
> aaa61695cf27419a2bc9e018fc6e2715512a1094
>
> And here's where you (apparently) deleted the branch:
> https://lists.apache.org/thread.html/342f708d3573cb312cdd693bb490b6
> 7fba268d2f88969c67743a60c9@%3Ccommits.fineract.apache.org%3E
>
> Best,
> Myrle
>


-- 
Sent from my iPad


Re: API and Channel Concepts

2019-03-21 Thread Vishwas Babu
+1

Broadly agree with Juhan's line of thinking.

>> So you would have one gateway user for your self-service, another user
for
>> your mobile app and a third user for some integrator.

Or one user who authorizes different apps (including mobile and third-party
processors) to act on his behalf, with their associated permission schemes.

Regards,
Vishwas

On Fri, Mar 15, 2019 at 1:01 AM Juhan Aasaru  wrote:

> Hello!
>
> This is a great discussion topic and definitely worth taking a little time
> to think about it.
>
> I agree that the design of Fineract 1.x APIs is way too weak to be used in
> production
> for anything else besides to serve the in-house back-end API. So I see the
> focus of this
> discussion is about how to do better design decisions for Fineract CN.
>
> I understand the main idea of these services is to provide a solid (extra)
> door for any requests
> coming from the outside. The service takes care of checking every incoming
> request (whether to allow or deny)
> and also provide rate limiting, visual dashboards, and a good mechanism to
> provide API documentation
> for anyone wanting to do an implementation.
>
> Fineract CN own roles and permission system is working on each individual
> user level.
> What I have seen then often the users configured to the API-gateway
> services are channel-specific.
> So you would have one gateway user for your self-service, another user for
> your mobile app and a third user for some integrator.
> And then in the API-gateway system, there would be a list of allowed or
> restricted actions for each user.
> I wonder if we would take the same approach.
>
> In that sense, I think it is important for Fineract-CN project to start
> providing channel-specific users
> for the API gateway and maintain a set of configurations for each different
> user type.
>
> Also providing very good API documentation is a key to any integrations. So
> a single portal
> that pulls the API descriptions from internal system and aggregates them
> together is definitely
> a key aspect and it is important to design the internal API-s in a way that
> the outside system
> can just pull the documentation automatically (like Swagger UI system does
> it)
>
> Regarding the second topic - whether we should be guiding the project
> towards one of them or not.
> My opinion is that we shouldn't fix the project to a single provider since
> many large organizations
> have already picked a specific vendor for all the projects and they would
> prefer to use that.
>
> Instead, I would define this area - API-gateway as a component that you can
> choose from any vendor
> but the project could choose one or two and provide updated configuration
> and instructions for those.
> So let's say we would pick Kong as a preferred project - we would create an
> additional Github repository
> with all the needed configuration. But if I would be an
> organization wanting to use Amazon API Gateway or APigee instead then
> I would have the possibility to configure that instead by looking at the
> maintained configuration.
>
> In design wise - I would suggest Fineract-CN itself wouldn't know that
> API-gateway even exists.
> It would just provide its documentation and API in a manner that any
> gateway can pick it up.
>
> Looking forward to active discussion on the topic
>
> Juhan
>
>
>
>
>
> Kontakt James Dailey () kirjutas kuupäeval N, 14.
> märts 2019 kell 21:53:
>
> > Hi Devs -
> >
> > At a high level I believe that we need to make some decisions about the
> > architecture with regard to APIs and "customer channels" in particular
> and
> > about the choice of external tool sets.
> >
> > There are two things to consider:
> > 1.  In recent discussions several senior devs have pointed out that the
> > fineract1.x architecture,  which provides APIs to internal users has been
> > (inappropriately? for demo reasons?) extended to include APIs that are
> > customer facing. This occurs "without sufficient services isolation" I
> > believe the phrase might be.  Part of the design of FineractCN is to
> avoid
> > this by proposing new (properly isolated, restricted) microservices that
> > consume other microservices.  API endpoints in both projects need to be
> > enhanced and expanded in some way and related to other system APIs.
> Third
> > Party Providers (TPP) are the subject of new banking regulations in a lot
> > of places - providing good API access is becoming a norm.
> >
> > 2.  There are now several toolsets available to manage the API layer
> > (traffic, dashboards, testing, etc).  Some of these are close sourced,
> and

Re: Error: Cannot add task 'integrationTest' as a task with that name already exists.

2019-03-21 Thread Vishwas Babu
Hi Mua,

I probably would setup the Flyway codebase and determine what is causing
the error. Your error log has enough details to get started. i.e a
breakpoint at
>> error at
org.flywaydb.core.internal.database.base.Database.ensureDatabaseIsRecentEnough(Database.java:156)
should help you debug and figure of the issue. Once you have this
information, you can determine if the fix is needed in Flyway or Drizzle
(which is also a relatively small Java codebase).

Regards,
Vishwas


On Thu, Mar 21, 2019 at 8:47 AM Mua Rachmann  wrote:

> Hi Vishwas,
>
> Just got feedback from the flyway team support and it is said they support
> only MySQL officially
> See here -
> https://github.com/flyway/flyway/issues/2332#issuecomment-475271342
>
> Now drizzle is no longer maintained like you said.
>
> Any suggestions on how to proceed. This could be a long term fix on my end.
>
> Regards Mua.
>
>
> On Thu, Mar 21, 2019 at 5:09 AM Vishwas Babu <
> vish...@confluxtechnologies.com> wrote:
>
> > Mua,
> >
> > Regarding https://github.com/flyway/flyway/issues/2332
> >
> > The issue isn't strictly related to the version of the MySQL server,
> rather
> > the driver used. Please provide any other relevant information that would
> > help the Flyway folks determine the root cause. At the minimum
> > -> Mention that you do not get this issue with MySQL connector, MariaDB
> > driver etc and are only facing the issue with drizzle driver (version
> > details etc)
> > -> Mention that the same worked with a previous version of Flyway
> (version
> > X.X) and broke after you upgraded to this version.
> >
> > Since this would most likely be a very low priority issue for Flyway,
> they
> > might not provide a fix for the same. However, you could ask them to help
> > you identify the section of the codebase which is throwing the error and
> > possibly make a fix yourself.
> >
> > >> would love to take up another issue if permitted as the response from
> > the flyway team may slow me down
> > Of course, please feel free to pick up any issue that interests you :)
> >
> > Some issues
> > - > https://jira.apache.org/jira/browse/FINERACT-728
> > - > https://jira.apache.org/jira/browse/FINERACT-726
> >
> >
> > Regards,
> > Vishwas
> >
> >
> >
> > On Wed, Mar 20, 2019 at 7:30 PM Mua Rachmann 
> > wrote:
> >
> > > Hi Vishwas,
> > >
> > > Thanks for your reply. I used mysql-connector in my PR here and it
> works
> > > fine but seems to be GPL licence which is not
> > > compatible with ASF. From all indications the flyway tasks will fail if
> > > gradle is upgraded.
> > >
> > > I did as you said and filed an issue on the flyway repo here -
> > > https://github.com/flyway/flyway/issues/2332
> > > They replied and i hope a solution will spring forth.
> > >
> > > As for the mysql-connector driver. All i have come across is not
> > compatible
> > > with ASF licence. I am still
> > > searching though.
> > >
> > > I would love to take up another issue if permitted as the response from
> > the
> > > flyway team may slow me down
> > >
> > > All issues i have taken so far depends on gradle to be upgraded that is
> > > why.
> > >
> > > Regards Mua
> > >
> > > On Tue, Mar 19, 2019 at 11:03 PM Vishwas Babu <
> > > vish...@confluxtechnologies.com> wrote:
> > >
> > > > Hi Mua,
> > > >
> > > > This topic was discussed earlier at
> > > >
> > > >
> > >
> >
> https://lists.apache.org/thread.html/2d84501386e0479e9016e3c6cbbaafbcea0aa1afdff6f19caadc8658@%3Cdev.fineract.apache.org%3E
> > > > .
> > > >
> > > > Here's the relevant snippet with details of alternatives for
> > > > TaskInternal.execute()
> > > >
> > > > Details of a quick fix I attempted to work around the removed
> > > > TaskInternal.execute() method follow.
> > > >
> > > > Using finalizedBy instead of execute ( i.e
> > > migrateTenantListDB.finalizedBy
> > > > flywayMigrate) led to the error "Could not get unknown property
> > > > 'classesDir' for integration test classes of type
> > > > org.gradle.api.internal.tasks.DefaultSourceSetOutput". This was fixed
> > by
> > > > upgrading flyway plugin to.
> > > >
> > > > apply plugin: 'org.flywaydb.flyway'
> > > > dependenc

Re: Error: Cannot add task 'integrationTest' as a task with that name already exists.

2019-03-20 Thread Vishwas Babu
Mua,

Regarding https://github.com/flyway/flyway/issues/2332

The issue isn't strictly related to the version of the MySQL server, rather
the driver used. Please provide any other relevant information that would
help the Flyway folks determine the root cause. At the minimum
-> Mention that you do not get this issue with MySQL connector, MariaDB
driver etc and are only facing the issue with drizzle driver (version
details etc)
-> Mention that the same worked with a previous version of Flyway (version
X.X) and broke after you upgraded to this version.

Since this would most likely be a very low priority issue for Flyway, they
might not provide a fix for the same. However, you could ask them to help
you identify the section of the codebase which is throwing the error and
possibly make a fix yourself.

>> would love to take up another issue if permitted as the response from
the flyway team may slow me down
Of course, please feel free to pick up any issue that interests you :)

Some issues
- > https://jira.apache.org/jira/browse/FINERACT-728
- > https://jira.apache.org/jira/browse/FINERACT-726


Regards,
Vishwas



On Wed, Mar 20, 2019 at 7:30 PM Mua Rachmann  wrote:

> Hi Vishwas,
>
> Thanks for your reply. I used mysql-connector in my PR here and it works
> fine but seems to be GPL licence which is not
> compatible with ASF. From all indications the flyway tasks will fail if
> gradle is upgraded.
>
> I did as you said and filed an issue on the flyway repo here -
> https://github.com/flyway/flyway/issues/2332
> They replied and i hope a solution will spring forth.
>
> As for the mysql-connector driver. All i have come across is not compatible
> with ASF licence. I am still
> searching though.
>
> I would love to take up another issue if permitted as the response from the
> flyway team may slow me down
>
> All issues i have taken so far depends on gradle to be upgraded that is
> why.
>
> Regards Mua
>
> On Tue, Mar 19, 2019 at 11:03 PM Vishwas Babu <
> vish...@confluxtechnologies.com> wrote:
>
> > Hi Mua,
> >
> > This topic was discussed earlier at
> >
> >
> https://lists.apache.org/thread.html/2d84501386e0479e9016e3c6cbbaafbcea0aa1afdff6f19caadc8658@%3Cdev.fineract.apache.org%3E
> > .
> >
> > Here's the relevant snippet with details of alternatives for
> > TaskInternal.execute()
> >
> > Details of a quick fix I attempted to work around the removed
> > TaskInternal.execute() method follow.
> >
> > Using finalizedBy instead of execute ( i.e
> migrateTenantListDB.finalizedBy
> > flywayMigrate) led to the error "Could not get unknown property
> > 'classesDir' for integration test classes of type
> > org.gradle.api.internal.tasks.DefaultSourceSetOutput". This was fixed by
> > upgrading flyway plugin to.
> >
> > apply plugin: 'org.flywaydb.flyway'
> > dependencies {
> > classpath
> > "gradle.plugin.com.boxfuse.client:gradle-plugin-publishing:5.2.4"
> > }
> > }
> >
> > However, this does not seem to work with the current drizzle driver on
> the
> > classpath (results in the error "MySQL upgrade required: MySQL 0.1 is
> > outdated and no longer supported by Flyway. Flyway currently supports
> MySQL
> > 5.1 and newer"). It runs without issues if I swap in a MySQL driver
> though.
> >
> >
> > So, the work for completing the gradle upgrade is blocked due to the
> issue
> > with the drizzle driver (at
> > https://github.com/krummas/DrizzleJDBC/blob/master/LICENSE.txt), which
> is
> > no longer maintained.  We cannot change the driver to MySQL connector etc
> > due to licensing issues (GPL v2 used by the driver is not compatible with
> > the Apache license). The other popular alternative i.e MariaDB connector
> > uses an LGPL license, is also not compatible with Apache license.
> >
> > Here are some things we could explore
> >
> > -> Raise an issue with https://github.com/flyway/flyway and explore the
> > fix
> > needed to be made for this error i.e "MySQL upgrade required: MySQL 0.1
> is
> > outdated and no longer supported by Flyway. Flyway currently supports
> MySQL
> > 5.1 and newer" when using Drizzle driver.
> > This error message seems wrong since the MySQL version we are using is
> > greater than 5.1
> > -> (Long term solution) Find another MySQL driver using a permitted
> licence
> > (BSD , MIT etc. permitted licenses at
> > https://www.apache.org/legal/resolved.html#category-a)
> >
> > Regards,
> > Vishwas
> >
> > On Mon, Mar 18, 2019 at 7:38 AM Mua Rachmann 
> > wrote:
> >
>

Re: Error: Cannot add task 'integrationTest' as a task with that name already exists.

2019-03-19 Thread Vishwas Babu
Hi Mua,

This topic was discussed earlier at
https://lists.apache.org/thread.html/2d84501386e0479e9016e3c6cbbaafbcea0aa1afdff6f19caadc8658@%3Cdev.fineract.apache.org%3E
.

Here's the relevant snippet with details of alternatives for
TaskInternal.execute()

Details of a quick fix I attempted to work around the removed
TaskInternal.execute() method follow.

Using finalizedBy instead of execute ( i.e migrateTenantListDB.finalizedBy
flywayMigrate) led to the error "Could not get unknown property
'classesDir' for integration test classes of type
org.gradle.api.internal.tasks.DefaultSourceSetOutput". This was fixed by
upgrading flyway plugin to.

apply plugin: 'org.flywaydb.flyway'
dependencies {
classpath
"gradle.plugin.com.boxfuse.client:gradle-plugin-publishing:5.2.4"
}
}

However, this does not seem to work with the current drizzle driver on the
classpath (results in the error "MySQL upgrade required: MySQL 0.1 is
outdated and no longer supported by Flyway. Flyway currently supports MySQL
5.1 and newer"). It runs without issues if I swap in a MySQL driver though.


So, the work for completing the gradle upgrade is blocked due to the issue
with the drizzle driver (at
https://github.com/krummas/DrizzleJDBC/blob/master/LICENSE.txt), which is
no longer maintained.  We cannot change the driver to MySQL connector etc
due to licensing issues (GPL v2 used by the driver is not compatible with
the Apache license). The other popular alternative i.e MariaDB connector
uses an LGPL license, is also not compatible with Apache license.

Here are some things we could explore

-> Raise an issue with https://github.com/flyway/flyway and explore the fix
needed to be made for this error i.e "MySQL upgrade required: MySQL 0.1 is
outdated and no longer supported by Flyway. Flyway currently supports MySQL
5.1 and newer" when using Drizzle driver.
This error message seems wrong since the MySQL version we are using is
greater than 5.1
-> (Long term solution) Find another MySQL driver using a permitted licence
(BSD , MIT etc. permitted licenses at
https://www.apache.org/legal/resolved.html#category-a)

Regards,
Vishwas

On Mon, Mar 18, 2019 at 7:38 AM Mua Rachmann  wrote:

> Hello everyone,
>
> Trust you are all well. I have been working on MIcheal's PR to upgrade the
> gradle to 5.2.1 here - https://github.com/apache/fineract/pull/525
>
> Currently I upgraded the flyway plugin of which i found a compatible mysql
> connector (mysql-connector 8.0.12) which makes it possible to migrate the
> sql files with some few warnings of which i handled in the PR. see here -
> https://github.com/apache/fineract/pull/550
>
> For some reasons I don't know why the migrations perform the same stuffs.I
> would love for someone to please review and tell me what i am doing wrong.
>
> Also due to the execute() method being removed in gradle 5. I keep on
> getting this error when i run any command like ./gradlew flywayMigrate,
> ./gradlew tomcatRunWar. See sample here - https://pastebin.com/VfyGXG9j
>
> I would love to know how to make the default execute() functions in the
> build.gradle file work thanks
>
> Best regards, Mua
>


Re: Adding a new Resource in Fineract 1.x

2019-03-13 Thread Vishwas Babu
Larry,

There is a typo in the path parameter of your resource class, i.e
heathCheck instead
of healthCheck

Regards,
Vishwas


On Wed, Mar 13, 2019 at 5:08 AM ivange larry  wrote:

> Hi all,
>
> I'm trying to add a new endpoint /healthCheck which will always respond
> with 200 to confirm that the server is reachable. I have implemented a
> HealthCheckResource.java in org.apache.fineract.system.api. I created the
> package system.api. Here's my resource class
>
> https://gist.github.com/ivange94/3b67a80c6d9f90adeceddf052c6026d5
>
> I keep getting a 404 when I try to access the endpoint at
>
> https://localhost:8443/fineract-provider/api/v1/healthCheck?tenantIdentifier=default
> .
>
> Is there anything I'm missing?
>
> Thanks,
> Larry
>


Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Vishwas Babu
Adding a minor clarification in case other GSOC students are referring to
this thread. After the installation, Fineract would be available on port
8443 (with only https supported) and NOT 8080. So a valid URL would be
similar to
https://localhost:8443/fineract-provider/api/v1/clients?tenantIdentifier=default

Also, Fineract should run without having ActiveMQ installed (the Travis
build and integration tests, for example, does not setup ActiveMQ)

Regards,
Vishwas



On Tue, Mar 12, 2019 at 8:04 AM Mua Rachmann  wrote:

> Hey Couarage, Juhan, Vishwas, Awasum.
>
> I installed activemq and started it. Now i no longer get the active mq
> error message.
>
> See the new logs here. - https://pastebin.com/4MEjFPSk
>
> Thanks for your guides and prompt response so far. I use postman for
> testing the api and setting suitable headers.
> All works fine. I guess its time for me to pick up my first issue.
>
> Awasum it was with stress as i had to setup my environment on a Mac OS env.
> I learned a lot and I have begun gathering all what i did
> to successfully run the fineract 1.x on Mac and I am documenting
> appropriately - Please see the progress here
>
> https://cwiki.apache.org/confluence/display/FINERACT/Fineract+Installation+on+Mac+OS
>
> I will do any corrections needed. Once more thank you all
>
> Cheers, Mua
>
>
> On Tue, Mar 12, 2019 at 2:06 PM Courage Angeh 
> wrote:
>
> > Hi Mua,
> >
> > I also realized you dont have active MQ installed. So you get an activeMQ
> > network error in your logs.
> >
> > On Tue, Mar 12, 2019, 8:57 AM Courage Angeh 
> > wrote:
> >
> > > Hi Mua,
> > >
> > > Thats the expected response. You wrk with the api doc to see the header
> > > params to set so you can make a succesful request.
> > >
> > > You set tenant id and an authorization header
> > >
> > > On Tue, Mar 12, 2019, 4:01 AM Mua Rachmann 
> > wrote:
> > >
> > >> Hi Juhan,
> > >>
> > >> Thanks for your prompt response but i have opened the url and i get
> this
> > >> Not Found - The requested URL /fineract-provider/api/v1/clients was
> not
> > >> found on this server.
> > >> Nothing logged as it is still at 92% of the build. Anything i need to
> > do?
> > >>
> > >> Thanks
> > >>
> > >> On Tue, Mar 12, 2019 at 8:45 AM Juhan Aasaru 
> wrote:
> > >>
> > >> > Hi Mua
> > >> >
> > >> > this should be expected behaviour.
> > >> > Try to open the browser at
> > >> >
> > >> >
> > >>
> >
> http://localhost:8080/fineract-provider/api/v1/clients?tenantIdentifier=default
> > >> > and if you get a valid JSON (something like "[]" since you don't
> have
> > >> any
> > >> > customers yet in your database) back then you have fineract back-end
> > >> > working.
> > >> >
> > >> > Kind regards
> > >> > Juhan
> > >> >
> > >> > Kontakt Mua Rachmann () kirjutas kuupäeval
> T,
> > >> 12.
> > >> > märts 2019 kell 09:16:
> > >> >
> > >> > > Hi Vishwas,
> > >> > >
> > >> > > I corrected the context.xml file thanks. This time around I ran
> > >> > *./gradlew
> > >> > > tomcatRunWar*
> > >> > >
> > >> > > All builds fine but stucked at 92% of the build. Could there be
> > >> something
> > >> > > wrong?
> > >> > > Or is this the expected behaviour. Should i have to wait again for
> > it
> > >> to
> > >> > > complete?
> > >> > >
> > >> > > Here is the output of the command - https://pastebin.com/MvQB4Rzk
> > >> > >
> > >> > > Thanks
> > >> > >
> > >> > > On Tue, Mar 12, 2019 at 3:43 AM Vishwas Babu <
> > >> > > vish...@confluxtechnologies.com> wrote:
> > >> > >
> > >> > > > Mua,
> > >> > > >
> > >> > > > During tomcatRunwar, the following tasks are carried out
> > >> > > >
> > >> > > > 1) Initialize and upgrade the tenants list database (which lists
> > >> > details
> > >> > > of
> > >> > > > all tenants and their database connection credentials, i.e the
> > >> > equivalent
> >

Re: Error when running *gradlew runTomCat*

2019-03-11 Thread Vishwas Babu
Mua,

During tomcatRunwar, the following tasks are carried out

1) Initialize and upgrade the tenants list database (which lists details of
all tenants and their database connection credentials, i.e the equivalent
of ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants )
 You are stuck here
2) Upgrade each tenant-specific database.


The gradle tasks for migrating databases pick up the db credentials from
build.gradle (root, mysql by default). However, the tomcatrunwar task picks
up the credentials from a different location
(/fineract-provider/src/test/resources/META-INF/context.xml). You would
have to ensure the appropriate credentials are set here too, or that you
are using the default credentials (root,mysql).

Regards,
Vishwas

On Mon, Mar 11, 2019 at 7:19 PM Mua Rachmann  wrote:

> Hi everyone,
>
> I ran the following commands below which built successfully.
>
>
>1. ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants
>2. ./gradlew migrateTenantDB -PdbName=mifostenant-default
>
>
> Upon running *gradlew tomcatRunWar* I get the following error
> https://pastebin.com/ExQZEG6c
>
> From the following error message. I think the connection to mysql-server is
> not obtained but i am confused cause i just ran the migrations and it
> actually populated my database which shows the fineract app actually
> communicates with my database.
>
> Please can anyone help me figure this out?
>
> Thanks Mua.
>


Re: Unable to build Fineract 1.x as documented in README

2019-03-11 Thread Vishwas Babu
Hi Larry,

After the failure, the file at
file:/builds/ivange94/micro-finance-backend/build/reports/rat/rat-report.txt
logs details of the actual file(s) causing the issue (AFAIK rat-report.txt
file shouldn't be the issue). If these are generated files, you could make
a change to ensure that they are ignore from the build (similar to what
Yannick has done at https://github.com/apache/fineract/pull/545 ) and send
a pr for the same. This could be your started task on Fineract :)

Regards,
Vishwas



On Mon, Mar 11, 2019 at 12:31 AM ivange larry  wrote:

> Thanks all for the help so far but still not working.
>
> Deleting the file should fix that error.
>
>
> This is a generated file so deleting is of no effect as it'll be generated
> again in the next build.
>
> This happens when the the build tasks has been run before and later when
> > you run  the rat tasks. It begins failing.
>
>
> This happens wether or not I run the *rat* task first. When I just do
> *gradle
> build* it also runs the *rat *which fails with that error. When I do
> *gradle
> rat* before *gradle build* the same thing happens. I'm using containers and
> a new container is created on every build. So previous executions of gradle
> could hardly be the problem here.
>
> Larry, pull in this PR locally and see if that works:
> > https://github.com/apache/fineract/pull/545
>
>
> I applied this and it still didn't work. I even added this
>
> "**/reports/rat/rat-report.txt"
>
>
> to the ignored files but still same error.
>
> Is it safe to remove the *rat* task completely from the build?
>
> Thanks,
> Larry
>
> On Sun, Mar 10, 2019 at 11:54 PM Awasum Yannick  wrote:
>
> > I think the ./gradlew rat tasks is scanning the git ignore out folder
> which
> > contains some swagger files.
> >
> > This happens when the the build tasks has been run before and later when
> > you run  the rat tasks. It begins failing. Let me ignore the out folder
> in
> > rat config and send a quick PR, you pull and lets see if the thing works.
> >
> > Larry, pull in this PR locally and see if that works:
> > https://github.com/apache/fineract/pull/545
> >
> > Courage is right.
> >
> > On Sun, Mar 10, 2019 at 11:22 PM ivange larry 
> > wrote:
> >
> > > Hi Awasum and Mua,
> > >
> > > I could not downgrade my gradle in my local machine but I was able to
> get
> > > gradle 2.10 on our CI environment. I no longer get that error but the
> > build
> > > still fails with
> > >
> > > Download
> > > >
> > >
> >
> https://jcenter.bintray.com/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
> > > > Download
> > > >
> > >
> >
> https://jcenter.bintray.com/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> > > > Download
> > > >
> > https://jcenter.bintray.com/commons-io/commons-io/2.2/commons-io-2.2.jar
> > > > Download
> > > >
> > >
> >
> https://jcenter.bintray.com/org/apache/commons/commons-compress/1.10/commons-compress-1.10.jar
> > > > Download
> > > >
> > >
> >
> https://jcenter.bintray.com/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
> > > > :rat FAILED
> > > > FAILURE: Build failed with an exception.
> > > > * What went wrong:
> > > > Execution failed for task ':rat'.
> > > > > Found 1 files with unapproved/unknown licenses. See
> > > >
> > >
> >
> file:/builds/ivange94/micro-finance-backend/build/reports/rat/rat-report.txt
> > > > * Try:
> > > > Run with --stacktrace option to get the stack trace. Run with --info
> or
> > > > --debug option to get more log output.
> > > > BUILD FAILED
> > > > Total time: 52.562 secs
> > > > ERROR: Job failed: exit code 1
> > >
> > >
> > > This time it's complaining about unapproved licenses. How do I get that
> > > fixed?
> > >
> > > Thanks,
> > > Larry
> > >
> > > On Sun, Mar 10, 2019 at 10:35 AM Awasum Yannick 
> > wrote:
> > >
> > > > Larry, that makes sense.
> > > >
> > > > Here is a link to an previous mail where Vishwas was helping me solve
> > > > the problem:
> > > >
> > > >
> > >
> >
> https://lists.apache.org/thread.html/1f01897413545729420c66355d3211d625ebbd245a98407220783bfc@%3Cdev.fineract.apache.org%3E
> > > >
> > > > 

Re: Query regarding Gsoc19

2019-03-09 Thread Vishwas Babu
Hello Harshit,

I believe that the particular project you are referring to is being
mentored by the Mifos Initiative.

Apache Fineract and the Mifos Initiative are two separate projects
participating in google summer of code.
https://mifos.org/blog/infrastructure-apache-mifosx/ gives you an overview
of how these projects are related. You can get in touch with the Mifos
developer community and Mark Reynolds on their mailing lists at
https://sourceforge.net/projects/mifos/lists/mifos-developer .

In case you are interested in projects mentored by Apache Fineract,
https://lists.apache.org/thread.html/5907d905e6f51e1b845d9a240920bb4d28c58d3cfceb24bbac2b3bf4@%3Cdev.fineract.apache.org%3E
would
help provide an overview of the type of projects we are planning. While
Penetration testing would be a great project for Fineract 1.x / Fineract CN
, I am not yet sure if we have an available mentor for the same here at
Apache Fineract.

All the very best for google summer of code!

Regards,
Vishwas


On Fri, Mar 8, 2019 at 8:27 AM Sachincool  wrote:

> Hello,
> Greetings of the day, I am Harshit Luthra, a 3rd Year student at Chitkara
> University with specialization in Cybersecurity in Computer Science and
> Passionate about Web-app Pentesting and mobile Pentesting. I wanted to
> contribute to Mifox X by Pen-testing and Make it a safer platform. I wanted
> to reach out to the mentor handling this project, But the email Is
> incorrect on the page for Mark Reynolds. I hope someone can nudge me in
> the right direction.
>
> Thank you
> Harshit Luthra
>


Re: Regarding GSOC'19

2019-03-09 Thread Vishwas Babu
Hi Harshit,

I believe that the project you are referring to is being mentored by the
Mifos Initiative.

Apache Fineract and the Mifos Initiative are two separate projects
participating in the google summer of code.
https://mifos.org/blog/infrastructure-apache-mifosx/ gives you an overview
of how these projects are related. You can get in touch with the Mifos
developer community on their mailing lists at
https://sourceforge.net/projects/mifos/lists/mifos-developer .

In case you are interested in projects mentored by Apache Fineract,
https://lists.apache.org/thread.html/5907d905e6f51e1b845d9a240920bb4d28c58d3cfceb24bbac2b3bf4@%3Cdev.fineract.apache.org%3E
would help provide an overview of the type of projects we are planning. We
are still in the process of consolidating the same and expect to have the
finalized list of projects out by the end of next week.

All the very best for google summer of code!

Regards,
Vishwas

On Fri, Mar 8, 2019 at 10:33 PM HARSHIT BANSAL 
wrote:

> Hi, this is a polite reminder regarding the previous mail. I am eagerly
> waiting for a reply.
>
> Kind regards,
> Harshit
>
> On Fri, Mar 8, 2019 at 9:21 AM HARSHIT BANSAL 
> wrote:
>
> > Hi, I am Harshit, a third-year ECE major at Indian Institute of
> > Technology, Roorkee.
> > I was interested in the project "Computer Vision Based PPI Tool". I had
> > some doubts in my mind regarding the idea:
> > I was thinking of the following protoype:
> > 1.) The user would enter the app, and upload some images.
> > 2.) He would be given the option to select the country, for which he
> > wishes to calculate the PPI. (*Doubt*: How many countries to provide the
> > support for?)
> > 3.) Next, the questions of the specific country would appear with the
> > confident answers to those questions.(e.g. Is refrigerator present?, Is
> gas
> > stove present?)
> > Also some questions would be unanswered, like the education of the lead
> > female member(*Doubt*: Is there a way we can answer such questions?)
> > 4.) The user would be able to manually correct any answer, and then the
> > final PPI would be calculated.
> > I request you to suggest any improvements/changes in it.
> > Secondly, regarding the training on Google Cloud Vision, how would I
> > get/prepare the training set?
> >
> > Thanks in advance.
> > Regards,
> > Harshit
> >
>


Calling all mentors for GSOC

2019-03-08 Thread Vishwas Babu
Committers,

The PMC received the below mail from Apache GSOC team today. Those
interested in mentoring projects through the Apache software foundation are
requested to follow the steps outlined in the trailing mail.

For GSOC, some of our immediate high priority needs include

-> Fineract 1.x: Hardening of the application, improving code coverage,
improving code quality, updating dependencies to their latest stable
releases and cleaning up the API documentation. All of these tasks together
will help us ship maintenance releases more frequently and easily going
forward. I shall expand upon the same on Jira over the weekend.

-> Fineract CN:  The Community roadmap at
https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+Community+Roadmap
might be a bit out of date. Would anyone be interested in updating the same?

We have started collecting starter issues and project idea on Jira with the
label "gsoc2019", see
https://jira.apache.org/jira/browse/FINERACT-135?jql=project%20%3D%20FINERACT%20AND%20labels%20%3D%20gsoc2019
.

Mail from Apache GSOC team follows

Dear PMCs,

I'm happy to announce that the ASF has made it onto the list of accepted
organizations for
Google Summer of Code 2019! [1,2]

It is now time for mentors to sign up, so please pass this email on to your
community and
podlings. If you aren’t already subscribed to ment...@community.apache.org you
should do so now else
you might miss important information.

Mentor signup requires two steps: mentor signup in Google's system [3] and
PMC acknowledgement.

If you want to mentor a project in this year's SoC you will have to

1. Be an Apache committer.
2. Request an acknowledgement from the PMC for which you want to mentor
projects. Use the below
template and *do not forget to copy ment...@community.apache.org*. We will
use the email adress you
indicate to send the invite to be a mentor for Apache.

PMCs, read carefully please.

We request that each mentor is acknowledged by a PMC member. This is to
ensure the mentor is in good
standing with the community. When you receive a request for
acknowledgement, please ACK it and cc
ment...@community.apache.org

Lastly, it is not yet too late to record your ideas in Jira (see previous
emails for details).
Students will now begin to explore ideas so if you haven’t already done so,
record your ideas
immediately!

Cheers,

The Apache GSoC Team

mentor request email template:

to: private@.apache.org
cc: ment...@community.apache.org
subject: GSoC 2019 mentor request for 

 PMC,

please acknowledge my request to become a mentor for Google Summer of Code
2018 projects for Apache
.

I would like to receive the mentor invite to 





[1] https://summerofcode.withgoogle.com/organizations/
[2] https://summerofcode.withgoogle.com/organizations/6614885824200704/
[3] https://summerofcode.withgoogle.com/


Re: Road Map for deploying Fineract CN

2019-03-08 Thread Vishwas Babu
>> I would like to propose this project for a GSoC project.
+1

Courage : Can you please move the project idea to Jira tagged with the
label "gsoc2019"?

Regards,
Vishwas



On Fri, Mar 8, 2019 at 4:14 PM Courage Angeh  wrote:

> Hello guys,
>
> Hope this email finds you well. For the past weeks, I have been working on
> moving the different Fineract CN service Dockerfiles to their respective
> repositories. Here are the PRs, can some please view and merge them:
>
> https://github.com/apache/fineract-cn-rhythm/pull/7
> https://github.com/apache/fineract-cn-identity/pull/8
> https://github.com/apache/fineract-cn-office/pull/8
> https://github.com/apache/fineract-cn-accounting/pull/9
> https://github.com/apache/fineract-cn-deposit-account-management
> https://github.com/apache/fineract-cn-portfolio
> https://github.com/apache/fineract-cn-teller/pull/10
>
> What work is left for successful deployment?
>
> First, we need to configure Docker scripts to deploy and manage the system
> on swarm mode. Then update provision and migration script to work with
> cluster environments and create the chart accounts.
> We also have to add Jenkins to the different Fineract CN services, then
> each service to its image on DockerHub.
> Lastly, we could publish the built Fineract CN services libraries to a
> Maven Artifactory so developers will not have to manually clone and publish
> these services by themselves.
>
> But all this needs resources like a DockerHub and Jenkins account.
> I would like to propose this project for a GSoC project.
>
> Thanks,
> Courage.
>


Re: Repayment of Loans

2019-03-06 Thread Vishwas Babu
Mexina,

Please take my responses with a pinch of salt as I have not used Fineract
for more than 3 years now.

>> 1. What is the effect/use of configuring NPA fields on the loan product?
Once a loan moves into NPA status, accruals are stopped on the same. I
think Fineract leaves the existing accruals that are not yet realized as is.

>>2. After you have put aside some amount by provisioning ( by posting the
provisions on accounts) is there anything happens when a certain loan which
was provisioned get re-payed or written off?
The provisioning process can be automated (through batch jobs) or run
manually. When new provisioning entries are created, any existing
provisioning would be reversed and the latest provisioning is done based on
the current statuses of active loans.

Regards,
Vishwas



On Wed, Mar 6, 2019 at 7:43 AM Mexina Daniel  wrote:

> Dear Vishwas
>
> I was inquiring on:-
>
> 1. What is the effect/use of configuring NPA fields on the loan product?
> am aware that on the system, the recovery repayment is considered as income
> since it was written off ( considered as expense)
>
> Addition
>
> 2. After you have put aside some amount by provisioning ( by posting the
> provisions on accounts) is there anything happens when a certain loan which
> was provisioned get re-payed or written off?( since it won't be on arrears
> anymore)
>
> Tnhaks in advance
>
> On March 6, 2019 at 8:51 AM Vishwas Babu 
> wrote:
>
> Mexina,
>
> I am not sure if you are enquiring about provisioning and/or recovery
> repayments.
>
> Fineract has support for configurable provisioning, see
> https://mifosforge.jira.com/wiki/spaces/docs/pages/110690335/Provisioning+Entries
>
> and
> https://cwiki.apache.org/confluence/display/FINERACT/Loan+Loss+Provisioning
> .
>
> If you are enquiring about Recovery repayments (payments on loans which
> have been written off) which are treated as an income, Fineract has support
> for the same too. See https://mifosforge.jira.com/browse/MIFOSX-281
>
> Regards,
> Vishwas
>
>
> On Tue, Feb 26, 2019 at 4:30 AM Mexina Daniel  wrote:
>
> Dear devs
>
> I have the question like 
> http://mifos.cloud.answerhub.com/questions/794/what-is-the-consequence-of-npa-schedule-job.html
> which was never answered.
>
> Also if the loan has been in NPA for a long time and it has already been
> provisioned as expense, shouldn't its repayment being considered as income?
> does the system support that?
>
> Thanks in advance.
>
> Best Regards
>
> -
>
> Mexina Daniel
>
> Singo Africa Limited
> Block G, Mbezi Beach B | 7 Nakawale Road | P.O BOX 78908 | 14121 Dar es
> salaam
>
> +255 71 211 0791 | +255 22 261 8511
>
> amala.co.tz | singo.africa
>
>
>
>
> Mexina Daniel
>
> Singo Africa Limited
> Block G, Mbezi Beach B | 7 Nakawale Road | P.O BOX 78908 | 14121 Dar es
> salaam
>
> +255 71 211 0791 | +255 22 261 8511
>
> amala.co.tz | singo.africa
>
>
>


Re: Fineract 1.x Dev Environment Setup Problems.

2019-03-06 Thread Vishwas Babu
Awasum,

I ran into the same issues when trying to run the Fineract codebase (having
worked on the MifosX codebase in another lifetime and assuming the same
build process would work). These problems seem to be caused by

1) Changes to project structure
gradlew moved from under /fineract-provider to under the project root.
This causes the issue raised by Juhan at
https://lists.apache.org/thread.html/f4cb9364504a13f71ea7654082274c7ff80c48b19ff76e8cadf3cc7f@%3Cdev.fineract.apache.org%3E
when the project is imported into intellij

The root cause of the gradle failure you are seeing is because the project
expects version 2.1 and your gradle version (based on your log) is 4.10

2) Hibernate replaced with openJPA
This breaks the ability to run Serverapplication.java . You would have to
rely on gradle for deploying fineract (task tomcatrunwar)

Regards,
Vishwas



On Mon, Mar 4, 2019 at 12:43 AM Awasum Yannick  wrote:

> Hello Everyone,
>
> I was trying to setup Fineract 1.x for development this weekend and did not
> succeed cuase of a few errors(I have not touched the code base since
> December 2016).
>
> Firstly, when I run ./gradlew build or bootRun from the top level
> directory, I get the following error:
>
> "FAILURE: Build failed with an exception.
>
> * *Where:*
> *Script
>
> '/home/awasum/apache-projects/fineract-monolith/fineract/fineract-provider/dependencies.gradle'
> line: 30*
>
> ** What went wrong:*
> *A problem occurred evaluating script.*
> *> Could not find method providedCompile() for arguments [] on object of
> type
>
> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.*
>
> ** Try:*
> *Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output. Run with --scan to get full
> insights.*
>
> ** Get more help at https://help.gradle.org <https://help.gradle.org>*
>
> *Deprecated Gradle features were used in this build, making it incompatible
> with Gradle 5.0.*
> *Use '--warning-mode all' to show the individual deprecation warnings.*
> *See
>
> https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings
> <
> https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings
> >*
> "
>
> I deleted the providedComplile() method in both:
> */fineract/fineract-provider/dependencies.gradle'
> line: 30*
> and in the : fineract-provider/dev-dependencies.gradle' line: 30 files.
>
> Then run ./gradle build again and I now get these error:
>
>
> "> Task :compileJava FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Failed to capture fingerprint of input files for task ':compileJava'
> property 'classpath' during up-to-date check.
> > java.lang.UnsupportedOperationException (no error message)
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output. Run with --scan to get full
> insights.
>
> * Get more help at https://help.gradle.org
>
> Deprecated Gradle features were used in this build, making it incompatible
> with Gradle 5.0.
> Use '--warning-mode all' to show the individual deprecation warnings.
> See
>
> https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings
>
> BUILD FAILED in 22s
> "
> Even when I eclipssify or import into IntelliJ using our old dev guides
> here:
>
> https://mifosforge.jira.com/wiki/spaces/MDZ/pages/92012613/Build+Instructions
>
> The IDEs, both STS 4 and IntelliJ cannot find the main class when
> executing.
>
> I dont know what I am missing. Has anyone face this problem or can someone
> help me get upto speed?
>
> I wonder if our prospective GSoC students are facing same problems. Once we
> get this sorted out, I will update the relevant manuals to ease onboarding
> new contributors.
>
> Thanks
> Awasum
>


Re: Repayment of Loans

2019-03-05 Thread Vishwas Babu
Mexina,

I am not sure if you are enquiring about provisioning and/or recovery
repayments.

Fineract has support for configurable provisioning, see
https://mifosforge.jira.com/wiki/spaces/docs/pages/110690335/Provisioning+Entries

and
https://cwiki.apache.org/confluence/display/FINERACT/Loan+Loss+Provisioning.

If you are enquiring about Recovery repayments (payments on loans which
have been written off) which are treated as an income, Fineract has support
for the same too. See https://mifosforge.jira.com/browse/MIFOSX-281

Regards,
Vishwas


On Tue, Feb 26, 2019 at 4:30 AM Mexina Daniel  wrote:

> Dear devs
>
> I have the question like 
> http://mifos.cloud.answerhub.com/questions/794/what-is-the-consequence-of-npa-schedule-job.html
> which was never answered.
>
> Also if the loan has been in NPA for a long time and it has already been
> provisioned as expense, shouldn't its repayment being considered as income?
> does the system support that?
>
> Thanks in advance.
>
> Best Regards
>
> -
>
> Mexina Daniel
>
> Singo Africa Limited
> Block G, Mbezi Beach B | 7 Nakawale Road | P.O BOX 78908 | 14121 Dar es
> salaam
>
> +255 71 211 0791 | +255 22 261 8511
>
> amala.co.tz | singo.africa
>
>
>


PR template for https://github.com/apache/fineract

2019-03-05 Thread Vishwas Babu
Devs,

A pr template has been added to https://github.com/apache and you would now
see a checklist similar to https://imgur.com/a/yLC78TV when opening a new
pull request. Please ensure that this checklist is ticked from your end
before it can be merged by a committer.

On a related note, there are 12 open pr's with action items against them.
Owners of these pr's are requested to resend the same after addressing any
review comments. All pr's without updates shall be closed on the 15th of
March to ensure that committers have clear visibility on the active pr's.

Regards,
Vishwas


Integration Tests fixed on Travis

2019-03-05 Thread Vishwas Babu
 Hello All,

The travis build including integration tests is now passing on Fineract
(See
https://travis-ci.org/apache/fineract/builds/502297783?utm_source=github_status_medium=notification).
However, the root causes of intermittent failures have not been permanently
addressed and consistent runs are achieved through temporary hacks. Details
and further action items follow

  1) 1 Test case was failing due to the existing behavior of application of
Annual fees on savings accounts. The same has been fixed by altering the
current functionality and an explanation of the same can be found at
https://jira.apache.org/jira/browse/FINERACT-720

  2) 5 Test case failures were caused by three distinct issues introduced
after 1.2 release. The same has now been fixed and a separate mail has been
sent out with details on improving our PR process to minimize the
introduction of such regression issues.

  3) 1 Test case is failing because of changes related to
https://jira.apache.org/jira/browse/FINERACT-574. The same has now been
ignored while we await a resolution on the issue. This needs to be sorted
before we can ship a new release.

  4) 4 Intermittent test case failures are associated with the Office /
Client /Loan /Savings excel imports and associated test cases. These test
cases have been ignored and an Issue for the same is raised at
https://jira.apache.org/jira/browse/FINERACT-719 . I believe these failures
do not block shipping of Fineract releases.

  5) A number of test cases (>5) fail as a result of Timezone issues. The
cause of the failures and the details of the permanent fix required is
listed at https://issues.apache.org/jira/browse/FINERACT-723.

  6) Some test cases seem to fail on the 1st of every month due to a
combination of issues with test cases themselves, possible(?) application
and Timezone issues. A placeholder issue for the same is created at
https://issues.apache.org/jira/browse/FINERACT-722.

The failures related to (5) and (6) have been overcome by setting a fixed
date and timezone for the travis build. Since these issues are present from
the 1st Fineract release. they shouldn't block us from making new releases.
I am hoping these tickets get picked up as a part of GSOC.

Regards,
Vishwas


Re: community-app for Fineract v1.2

2019-02-28 Thread Vishwas Babu
Hi Peter,

The community app supports multi-tenancy. You can customize the same for
your domain at
https://github.com/openMF/community-app/blob/develop/app/scripts/initialTasks.js#L9
.

The release tags are at https://github.com/openMF/community-app/tags. The
latest release tag, i.e MIFOSX-18.03.01.RELEASE should be compatible with
the latest Fineract release (1.2).

>>As we have seen, in the new web-app project a lot of key-features are not
yet implemented, so we should go with a version of the community-app.
The community-app showcases only a subset of the functionality available in
the MifosX / Fineract Platform.

Regards,
Vishwas

On Thu, Feb 28, 2019 at 12:37 AM Peter Santa  wrote:

> Hello Everyone,
>
> Do we see correctly, that the community-app does not support multiple
> tenants? So the default tenant is hardcoded. Is the recommended way that:
> install v1.2 backend with multi-tenants, then install multiple
> community-app instances and hard-code it's own tenant?
>
> Which is the recommended commit ID of community-app for using with v1.2
> backend? We started to use 3f8ed0be.
> As we have seen, in the new web-app project a lot of key-features are not
> yet implemented, so we should go with a version of the community-app.
>
> Thank you.
>
> Best Regards,
> Péter


Integration tests failing on Fineract

2019-02-25 Thread Vishwas Babu
Hello Devs,

At least 10 integration tests are currently failing on Fineract
(occasionally more since there seems to be inconsistency is how date/time
is used in newer modules like share management).

Travis CI has been updated to now run integration tests (
https://github.com/apache/fineract/commit/26d54592eb76d5dcc574f604f5f533f0d9d172f4)
and would take around 20 minutes to complete compared to the ~4 minutes it
took earlier.

All pull requests would now trigger build failures till these
integration tests are fixed. I shall spend some time on fiixing these
failures over the next couple of days and assistance is greatly appreciated
:)

Regards,
Vishwas


Re: Enable Travis for Fineract repo?

2019-02-25 Thread Vishwas Babu
James,

The tests are run by https://travis-ci.org and the pass/fail can be seen
with each pull request (Ex :
https://github.com/apache/fineract/pull/527). History
is at https://travis-ci.org/apache/fineract .

Regards,
Vishwas



On Sat, Feb 16, 2019 at 2:15 PM James Dailey  wrote:

> Thanks Michael! +1
>
> Is the infra tix already in or does it need to be requested?
>
> Once running is there a URL to check on pass/fail status?
>
>
>
> On Wed, Feb 13, 2019, 2:40 PM Michael Vorburger 
> > Hello everyone,
> >
> > On 2019/02/12 13:38:49, Ed Cable  wrote:
> > > +1>
> > >
> > > Santosh, can you please update community on status of integration
> tests?>
> > >
> > > Ed>
> > >
> > > On Tue, Feb 12, 2019, 01:21 Myrle Krantz 
> > >
> > > > Hey all,>
> > > >>
> > > > Michael has suggested enabling Travis for the Fineract repo.  What
> > this>
> > > > would do is automatically call the build on code submitted with a PR.
> > We>
> > > > could also configure it to automatically run integration tests (that
> > will>
> > > > only be useful if the integration tests are currently working).  This
> > will>
> > > > make merging good PRs a little easier and rejecting PRs which break
> > the>
> > > > build a lot easier.>
> > > >>
> > > > This question is only for Fineract 1.x currently.  Fineract CN will
> > require>
> > > > a bit more work to get CI support running because of the way it is
> > spread>
> > > > across multiple repositories.>
> > > >>
> > > > What do you think?  If there are no objections in the next 72 hours,
> > I'd>
> > > > like to give Infra the go-ahead.>
> > > >>
> > > > Best Regards,>
> > > > Myrle>
> >
> > FYI this is now fully done; hope this small contribution helps this
> > community to be a little more effective.
> >
> > Please see https://issues.apache.org/jira/browse/FINERACT-697 for the
> full
> > details of the work that was required and done for this to work.
> >
> > All the best,
> > M.
> >
> > PS: I'm not actually reading this list (and won't, just due to general
> > load), but am replying to this via web interface; please Reply-To-All if
> > you want me to see replies.
> >
>


Re: Upgrade Gradle version used in Fineract

2019-02-22 Thread Vishwas Babu
On Fri, Feb 22, 2019 at 12:01 AM Juhan Aasaru  wrote:

> Hi!
>
> Vishwas and Myrle, thanks for explanations regarding Gradle version and
> wrapper download instructions.
> I first didn't notice that Michael had changed Gradle version inside
> gradle-wrapper.properties
> Instructions regarding downloading wrapper could include a line:
> "You only need to download wrapper if
> file fineract-provider/gradle/wrapper/gradle-wrapper.jar doesn't already
> exist"
>

+1 . This change has now been made with the commit
https://github.com/apache/fineract/commit/8b14bb88a7528e634ee1c33f69ccb2a9e3e3da71


>
> I had problems with Gradle when I first imported the project.
> I think some of the confusion was caused by the fact that root directory
> contains gradlew and gradlew.bat but the wrapper is
> inside fineract-provider/gradle/wrapper
>
> When I imported the project into IntelliJ IDEA it auto-generated following
> files:
> /gradle/wrapper/gradle-wrapper.jar
> /gradle/wrapper/gradle-wrapper.properties
> /fineract-provider/gradlew
> /fineract-provider/gradlew.bat
>
> This is caused by the fact that the actual root directory of Gradle project
> is fineract-provider
> My proposition would be to include separate gradlew and gradlew.bat in
> fineract-provider directory
>

+1 . It looks like gradlew and gradlew.bat were deliberately moved out from
under /fineract-provider to the project root as a prerequisite for the
migration to Apache. Another option might be to check-in relative symlinks
for gradlew and gradlew.bat (pretty sure git handles it fine, not too sure
about IDE's though)?

(to avoid them being auto generated or considered missing). Or completely
> move them from root to fineract-provider.


> Kind regards
> Juhan
>
>
> Kontakt Myrle Krantz () kirjutas kuupäeval E, 18.
> veebruar 2019 kell 22:59:
>
> > On Mon, Feb 18, 2019 at 8:39 PM Vishwas Babu <
> > vish...@confluxtechnologies.com> wrote:
> >
> > > @Juhan : While I am not sure why the readme has instructions for
> > > downloading gradle wrapper separately (given that it is a part of the
> > > project repo and committed into the code),
> > >
> >
> > ASF policy is that releases should not include binaries.  That includes
> the
> > gradle.jar.  So before a release is cut the gradle jar is deleted.  Many
> > developers work from forks.  We include the gradlel jar for them.  But we
> > don't want two versions of the readme.  That makes it necessary to
> download
> > the gradle wrapper or install gradle locally, and necessary to include
> that
> > in the instructions.
> >
> > Best Regards,
> > Myrle
> >
>


Re: failure to login to mifos community-app

2019-02-22 Thread Vishwas Babu
Hi Victor,

The relevant snippet of the error you are facing is

Caused by: com.googlecode.flyway.core.api.FlywayException: Migration of
schema `mifosplatform-tenants` to version 4 failed! Please restore backups
and roll back database and code!

You can fix the same as follows :

1) Try replaying
https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/resources/sql/migrations/list_db/V4__introduced_oltpId_reportId_columns_and_tenants_server_connection_table.sql
and ensure the same is successful

3) Once you confirm that this script has run successfully (or that the
changes it seeks to make are already present in your database) , you would
proceed to tell Fineract that this patch has been successfully applied as
follows:

In `mifosplatform-tenants` , find the entry from “schema_version" table
where the successful application of this patch is being tracked

Ex: select * from schema_version where script like "V4_%”; (notice that the
value of “success” would be set to false or 0)

Update “succes” to “1” (i.e true)

Ex: update schema_version set success=1 where script like "V4_%”


Regards,
Vishwas


On Fri, Feb 22, 2019 at 3:27 AM Kelvin Ikome  wrote:

>
>
> On Fri, Feb 22, 2019 at 12:24 PM victor ssebugwawo 
> wrote:
>
>> Hi Kelvin,
>>
>> Still no attachment :-(
>>
>> On Fri, Feb 22, 2019 at 2:07 PM Kelvin Ikome  wrote:
>>
>> > Hi Victor,
>> >
>> > Sorry about that. You can find it in the attachment below.
>> >
>> > On Fri, Feb 22, 2019 at 11:24 AM victor ssebugwawo <
>> victorss...@gmail.com>
>> > wrote:
>> >
>> >> Hi Kelvin
>> >>
>> >> Kindly re-attach the image, it didn't come through.
>> >>
>> >>
>> >>
>> >> On Fri, Feb 22, 2019 at 12:47 PM Kelvin Ikome 
>> wrote:
>> >>
>> >> > There seem to be some errors based on what is shown on the logs.
>> >> Probably
>> >> > an issue with dependency injection.
>> >> >
>> >> > [image: image.png]
>> >> >
>> >> >
>> >> > Check any recent modifications you made to the source code.
>> >> >
>> >> > On Fri, Feb 22, 2019 at 9:15 AM victor ssebugwawo <
>> >> victorss...@gmail.com>
>> >> > wrote:
>> >> >
>> >> >>
>> >> >> Hello Kelvin,
>> >> >>
>> >> >> Thank you for the response, yes the back end server is running,
>> please
>> >> >> see attached.
>> >> >>
>> >> >> Looking forward to your feedback.
>> >> >>
>> >> >> thank you
>> >> >>
>> >> >> On Thu, Feb 21, 2019 at 12:00 PM Kelvin Ikome 
>> >> wrote:
>> >> >>
>> >> >>> Hi Victor,
>> >> >>>
>> >> >>> Have you taken a look at your tomcat logs to see if the back
>> >> end/server
>> >> >>> (fineract) is running?
>> >> >>>
>> >> >>>
>> >> >>> On Thu, Feb 21, 2019 at 8:07 AM victor ssebugwawo <
>> >> victorss...@gmail.com
>> >> >>> >
>> >> >>> wrote:
>> >> >>>
>> >> >>> > Hello team,
>> >> >>> >
>> >> >>> > Is there anyone that can be of assistance?
>> >> >>> >
>> >> >>> > Thank you,
>> >> >>> >
>> >> >>> > On Wed, Feb 20, 2019 at 10:13 AM victor ssebugwawo <
>> >> >>> victorss...@gmail.com>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> > >
>> >> >>> > > Hello,
>> >> >>> > >
>> >> >>> > > I seek assistance with my mifos
>> >> (fineractplatform-18.03.01.RELEASE)
>> >> >>> i am
>> >> >>> > > running centos and i have successfully carried out the
>> necessary
>> >> >>> > > installation.
>> >> >>> > > I followed the guide  (
>> >> >>> > >
>> >> >>> >
>> >> >>>
>> >>
>> https://inginpengetahuan.wordpress.com/2013/11/06/install-mifosx-centos-6-x64/
>> >> >>> > )
>> >> >>> > >
>> >> >>> > >
>> >> >>> > > The interface is accessible on :
>> >> >>> > >
>> >> >>> > > https://162.144.34.94:8443/community-app/#/
>> >> >>> > >
>> >> >>> > > however it returns the error " Couldn't connect to server. Make
>> >> sure
>> >> >>> you
>> >> >>> > > are using correct settings."
>> >> >>> > >
>> >> >>> > > I went ahead and loaded the sample data (load_sample_data.sql)
>> >> but
>> >> >>> it
>> >> >>> > > still fails .
>> >> >>> > >
>> >> >>> > > kindly advise
>> >> >>> > >
>> >> >>> >
>> >> >>>
>> >> >>
>> >>
>> >
>>
>


Re: Upgrade Gradle version used in Fineract

2019-02-18 Thread Vishwas Babu
Hi Mike,

One issue would be the removal of TaskInternal.execute() method in Gradle
5.x which is used in all DB related tasks (explicit call to
flywayMigrate.execute() etc).

@Juhan : While I am not sure why the readme has instructions for
downloading gradle wrapper separately (given that it is a part of the
project repo and committed into the code), Mike's pr does update the gradle
version in the checked in wrapper and should be sufficient to ensure that
all developers are using the right gradle version. What you are suggesting
is upgrading the wrapper itself, which while undoubtedly would be good to
have, probably isn't a must do for this pr given that there do not seem to
be any major changes to the features of the wrapper itself.

Details of a quick fix I attempted to work around the removed
TaskInternal.execute() method follow.

Using finalizedBy instead of execute ( i.e migrateTenantListDB.finalizedBy
flywayMigrate) led to the error "Could not get unknown property
'classesDir' for integration test classes of type
org.gradle.api.internal.tasks.DefaultSourceSetOutput". This was fixed by
upgrading flyway plugin to.

apply plugin: 'org.flywaydb.flyway'
dependencies {
classpath
"gradle.plugin.com.boxfuse.client:gradle-plugin-publishing:5.2.4"
}
}

However, this does not seem to work with the current drizzle driver on the
classpath (results in the error "MySQL upgrade required: MySQL 0.1 is
outdated and no longer supported by Flyway. Flyway currently supports MySQL
5.1 and newer"). It runs without issues if I swap in a MySQL driver though.

Regards,
Vishwas


On Mon, Feb 18, 2019 at 1:41 AM Juhan Aasaru  wrote:

> Hello Mike!
>
> That is a great initiative. I checked the pull request and I noticed
> something that you might want to take into account.
>
> Currently, Readme.md has instructions on how to download Gradle Wrapper.
> In my understanding, the correct Gradle Wrapper should be already committed
> to the code and the
> developers shouldn't need to download the Wrapper. This is the whole idea
> behind using Gradle Wrapper
> so that everybody uses the same Gradle version.
>
> I see that the old wrapper is still there under
> /fineract-provider/gradle/wrapper
> and your pull request doesn't touch that.
>
> I think the issue could be solved by:
> 1. run gradle wrapper
> 2. include the changed files (/fineract-provider/gradle/wrapper) in your
> pull request
> 3. update Readme.md and remove the instructions about needing to download
> Gradle Wrapper.
>
> I didn't try it out myself so it might need some changes but I hope you get
> the idea.
>
> Kind regards,
> Juhan
>
>
>
>
> Kontakt Michael Vorburger () kirjutas kuupäeval E, 18.
> veebruar 2019 kell 01:51:
>
> > Hello,
> >
> > I would like to propose https://github.com/apache/fineract/pull/525 to
> > upgrade the Gradle version used in Fineract.
> >
> > It would be good to get some reviews and perhaps manual testing from some
> > people. I does of course build again (see the "green" PR, now that we
> have
> > Travis CI integration), but I have not done any testing of it... would
> > someone like pull it, build it, fire it up and give it a try to make
> sure I
> > didn't break anything?
> >
> > Please see https://issues.apache.org/jira/browse/FINERACT-700 for the
> full
> > details of the work that was required and done.
> >
> > I'll self merge this in 2 weeks if I don't hear any objections from
> anyone.
> >
> > Regards,
> > Michael
> >
> > PS: I'm not actually reading this list (and won't, just due to general
> > load), but am replying to this via web interface; please Reply-To-All if
> > you want me to see replies.
> > ___
> > Michael Vorburger
> > http://www.vorburger.ch
> >
>


Re: Enable Travis for Fineract repo?

2019-02-15 Thread Vishwas Babu
Thanks Mike +1

Regards,
Vishwas


On Wed, Feb 13, 2019 at 2:40 PM Michael Vorburger  wrote:

> Hello everyone,
>
> On 2019/02/12 13:38:49, Ed Cable  wrote:
> > +1>
> >
> > Santosh, can you please update community on status of integration tests?>
> >
> > Ed>
> >
> > On Tue, Feb 12, 2019, 01:21 Myrle Krantz 
> >
> > > Hey all,>
> > >>
> > > Michael has suggested enabling Travis for the Fineract repo.  What
> this>
> > > would do is automatically call the build on code submitted with a PR.
> We>
> > > could also configure it to automatically run integration tests (that
> will>
> > > only be useful if the integration tests are currently working).  This
> will>
> > > make merging good PRs a little easier and rejecting PRs which break
> the>
> > > build a lot easier.>
> > >>
> > > This question is only for Fineract 1.x currently.  Fineract CN will
> require>
> > > a bit more work to get CI support running because of the way it is
> spread>
> > > across multiple repositories.>
> > >>
> > > What do you think?  If there are no objections in the next 72 hours,
> I'd>
> > > like to give Infra the go-ahead.>
> > >>
> > > Best Regards,>
> > > Myrle>
>
> FYI this is now fully done; hope this small contribution helps this
> community to be a little more effective.
>
> Please see https://issues.apache.org/jira/browse/FINERACT-697 for the full
> details of the work that was required and done for this to work.
>
> All the best,
> M.
>
> PS: I'm not actually reading this list (and won't, just due to general
> load), but am replying to this via web interface; please Reply-To-All if
> you want me to see replies.
>


Re: DISCUSS: Architecture/Design for Enabling External Apps to securely access data on Apache Fineract CN

2019-02-12 Thread Vishwas Babu
As Self service functionality for an organization serving SME’s is quite
different from those providing digital wallets or  serving Agent networks,
the bigger question here would be , What is the scope of the customer
facing functionality and if offline first functionality makes sense for the
same ?

On a sidebar, It would help to keep this scope minimal and ideally linked
to a customer looking to take it to production and focus any additional dev
cycles organizations like the Mifos Initiative can spare on deepening the
portfolio / deposits and accounting modules which would have a
significantly larger audience.

Regards,
Vishwas



On Tuesday, February 12, 2019, Myrle Krantz  wrote:

> My current thinking on customer facing functionality is that, for an
> offline-first strategy, we should place a PouchDB/CouchDB database/cache
> between the customer app and any APIs.  Domain-driven design does not
> (necessarily) mean that all self-service functionality must land in one
> microservice.  For example, customer authentication should probably be
> handled in a service separately from retrieving account information (and
> separately from back-office employee authentication).
>
> Best Regards,
> Myrle
>
> On Tue, Feb 12, 2019 at 1:28 PM Vishwas Babu <
> vish...@confluxtechnologies.com> wrote:
>
> > Hi All,
> >
> > Adding some context based on our (Conflux Technologies) experiences with
> > MifosX / Fineract 1.x and summarizing a recent discussion I had with a
> > community member.
> >
> > When it comes to customer self-service, the kind of institutions that we
> > have come across can be broadly divided into three categories
> >
> > Bucket 1:
> > Traditional MFI's and Fintech lenders providing customers views of their
> > accounts through online, USSD and IVR channels. These organizations also
> > offer customers the ability to originate new accounts online.
> > A majority of the current Fineract1.x users would fall into this bucket
> >
> > Bucket 2:
> > Digital banks and Fintech companies which provide additional self-service
> > capabilities including digital wallets, bill payments, money transfers
> and
> > remittances. Interesting needs in this sector include features like money
> > transfers without an active internet connection through channels like
> call
> > back IVR.
> >
> > Bucket 3:
> > Financial Institutions with agents and business correspondents who
> > sometimes model their agents as customers with additional privileges and
> > serve them through enhanced customer self-service apps.
> > This sector occasionally has the need for offline functionality ( which
> is
> > robust only when combined with organization enforced business rules )
> >
> > These applications themselves are built out independently and interface
> > with Fineract 1.x through the available back-office API's (NOT the
> > self-service API's which provide each customer a separate login) and
> > webhook callbacks. Some of the reasoning behind this approach as against
> > thin UI's talking directly to Fineract 1.x are listed below. With the
> > architecture followed in Fineract-CN, when customer self-service API's
> are
> > exposed through a new microservice, a majority of these items would be
> > automatically taken care of and we would then only have to contend with
> the
> > threat list that David alludes to.
> >
> > -> Back-office CBS and customer-self service has clearly demarcated
> > boundaries
> > Tying them up in a single deployable unit would hinder their ability to
> > evolve independently. Organizations tend to be very opinionated about
> > self-service channels and these apps follow short release cycles with
> some
> > amount of customization going into each new implementation.
> > - A customer on the self-service app needn't necessarily be present on
> the
> > CBS.
> > Ex: Self-service apps for organizations like Fintech lenders typically
> > allow users to sign up, create a profile and apply for a loan.
> > - Customer/loans/savings statuses and lifecycle on the self-service app
> do
> > not map directly with those on the CBS.
> > For example, an application initiated by a customer goes through a
> process
> > of automated and manual sanity checks on the self-service apps, after
> which
> > they are moved to the CBS with a predefined state to join the regular
> > workflow (de-duplication, eligibility and credit checks etc). This is
> > typically different from the lifecycle of an application originated by a
> > teller.
> > - Fine-grained control is required on the granularity of information
>

Re: DISCUSS: Architecture/Design for Enabling External Apps to securely access data on Apache Fineract CN

2019-02-12 Thread Vishwas Babu
Hi All,

Adding some context based on our (Conflux Technologies) experiences with
MifosX / Fineract 1.x and summarizing a recent discussion I had with a
community member.

When it comes to customer self-service, the kind of institutions that we
have come across can be broadly divided into three categories

Bucket 1:
Traditional MFI's and Fintech lenders providing customers views of their
accounts through online, USSD and IVR channels. These organizations also
offer customers the ability to originate new accounts online.
A majority of the current Fineract1.x users would fall into this bucket

Bucket 2:
Digital banks and Fintech companies which provide additional self-service
capabilities including digital wallets, bill payments, money transfers and
remittances. Interesting needs in this sector include features like money
transfers without an active internet connection through channels like call
back IVR.

Bucket 3:
Financial Institutions with agents and business correspondents who
sometimes model their agents as customers with additional privileges and
serve them through enhanced customer self-service apps.
This sector occasionally has the need for offline functionality ( which is
robust only when combined with organization enforced business rules )

These applications themselves are built out independently and interface
with Fineract 1.x through the available back-office API's (NOT the
self-service API's which provide each customer a separate login) and
webhook callbacks. Some of the reasoning behind this approach as against
thin UI's talking directly to Fineract 1.x are listed below. With the
architecture followed in Fineract-CN, when customer self-service API's are
exposed through a new microservice, a majority of these items would be
automatically taken care of and we would then only have to contend with the
threat list that David alludes to.

-> Back-office CBS and customer-self service has clearly demarcated
boundaries
Tying them up in a single deployable unit would hinder their ability to
evolve independently. Organizations tend to be very opinionated about
self-service channels and these apps follow short release cycles with some
amount of customization going into each new implementation.
- A customer on the self-service app needn't necessarily be present on the
CBS.
Ex: Self-service apps for organizations like Fintech lenders typically
allow users to sign up, create a profile and apply for a loan.
- Customer/loans/savings statuses and lifecycle on the self-service app do
not map directly with those on the CBS.
For example, an application initiated by a customer goes through a process
of automated and manual sanity checks on the self-service apps, after which
they are moved to the CBS with a predefined state to join the regular
workflow (de-duplication, eligibility and credit checks etc). This is
typically different from the lifecycle of an application originated by a
teller.
- Fine-grained control is required on the granularity of information
presented on the self-service apps, which is different from that presented
to the back office. Ex: All products in the CBS are not shown as options in
the self-service portal. Similarly, for the products that are shown, the
granularity of information in the terms is a greatly reduced subset of that
available in the product definition at the CBS.

-> Deployment and scalability scenarios
 While these issues can be easily addressed through a combination of code
modifications on the self-service API's of Fineract 1.x and deployment
configurations, they have been listed here for completeness.
- Client facing apps need to be scaled independently of back-office facing
CBS and also need to have different configurations for rate limiting etc.
- The client-facing apps should cache all lookup data fetched from the CBS,
route read traffic to a cluster of Fineract1.x servers talking to
replicated databases etc to ensure that the traffic to the cluster serving
the back-office is kept to a minimum and remains largely unaffected by
spikes in customer traffic.
- Easy to turn off, monitor and audit client-self service happening through
a single login at Fineract 1.x

-> Security implications
 While these issues can be easily addressed through a combination of code
modifications on the self-service API's of Fineract 1.x and deployment
configurations, they have been listed here for completeness.
- Organizations might not want to expose their CBS outside of their VPN
- The security needs of client facing apps are radically different from
those of a back-office CBS and vary from organization to organization. Ex:
Organizations serving SME's need separate makers and approvers for each
transaction, organizations need logged in users to enter separate
transaction passwords + OTP's for authorizing each transaction etc.

Regards,
Vishwas



On Mon, Jan 14, 2019 at 10:54 AM Ed Cable  wrote:

> Thank you! Permissions granted.
>
> Ed
>
> On Mon, Jan 14, 2019 at

Re: One-process deployment of Fineract CN

2019-02-10 Thread Vishwas Babu
Hi Myrle, Issac,

For folks like me who are trying to have a quick look at the architecture
and provisioning process in Fineract-CN, having an option for bringing up a
few micro-services relatively quickly using the demo server would be
helpful. The pr at https://github.com/apache/fineract-cn-demo-server/pull/25
adds the ability to restrict the working set of microservices
to Provisioner, Identity, Rhythm, Organization and Customer.

@James Dailey  : Maybe this might work for you
too? Running the demo server for the first time with demoserver.lite flag
turned on takes less than 9 minutes for me on an iMac having a local
Cassandra, MySQL and ActiveMQ and sporting a 2.5GHz Core i5 (late 2014)
processor and 24 GB of RAM.

Regards,
Vishwas



On Fri, Feb 8, 2019 at 11:18 PM Myrle Krantz  wrote:

> My idea was to produce jars without mains and then run them all from one
> main.  This would mean that they all run under the same service name.  This
> in turn makes it necessary to solve problems around collisions:
>
> * In most cases endpoints don't have the same names, but there's an
> "iniitialize" in every service.
> * permissions would need to include the name of the service in
> the @Permittable annotation.
>
> It sounds like a small set of changes, but it's actually quite extensive.
> The changes to @Permittable require a lot of re-engineering in anubis.
>
> If one process can run multiple services and keep their names, that's so
> much better.
>
> Best Regards,
> Myrle
>
> On Fri, Feb 8, 2019 at 3:39 AM Isaac Kamga  wrote:
>
> >
> > Myrle, thanks a million for your input. While I'm digging into ways to
> fix
> > the current errors, can you kindly share the other approach which you
> > thought would be less promising to solve this issue ? Maybe others
> > interested could try that out in parallel too.
> >
> > Cheers,
> > Isaac Kamga.
> >
>


Fwd: Google Summer of Code 2019 is coming

2019-01-29 Thread Vishwas Babu
Hello Fineractors,

GSOC is now upon us!

All committers interested in mentoring students on projects either on
Fineract
or Fineract-CN are requested to respond to this thread before 2019-01-31
19:00 UTC.

You would also need to carry out the steps mentioned in the trailing mail
(including subscribing to ment...@community.apache.org) before the deadline.

Committers who have already expressed interest in mentoring for the Mifos
initiative are
also requested to do the same at Fineract. This ensures that Fineract
community can
accommodate additional students should it so happen that the Mifos
initiative is not selected as a
mentoring organization for GSOC 2019.

The list of issues tagged for GSOC of past years can be found on Jira at
https://bit.ly/2UvL917.
Please add the tag "gsoc2019" for any existing / new issue you would like
to mentor for this years GSOC

Regards,
Vishwas

Begin forwarded message:

*From: *Ulrich Stärk 
*Subject: **Google Summer of Code 2019 is coming*
*Date: *January 29, 2019 at 4:24:37 AM PST
*To: *undisclosed-recipients: ;
*Reply-To: *priv...@fineract.apache.org
*Reply-To: *ment...@community.apache.org

Hello PMCs (incubator Mentors, please forward this email to your podlings),

Google Summer of Code [1] is a program sponsored by Google allowing
students to spend their summer
working on open source software. Students will receive stipends for
developing open source software
full-time for three months. Projects will provide mentoring and
project ideas, and in return have
the chance to get new code developed and - most importantly - to
identify and bring in new committers.

The ASF will apply as a participating organization meaning individual
projects don't have to apply separately.

If you want to participate with your project we ask you to do the
following things by no later than
2019-01-31 19:00 UTC (applications from organizations close a week later)

1. understand what it means to be a mentor [2].

2. record your project ideas.

Just create issues in JIRA, label them with gsoc2019, and they will
show up at [3]. Please be as
specific as possible when describing your idea. Include the
programming language, the tools and
skills required, but try not to scare potential students away. They
are supposed to learn what's
required before the program starts.

Use labels, e.g. for the programming language (java, c, c++, erlang,
python, brainfuck, ...) or
technology area (cloud, xml, web, foo, bar, ...).

Please use the COMDEV JIRA project for recording your ideas if your
project doesn't use JIRA (e.g.
httpd, ooo). Contact d...@community.apache.org if you need assistance.

[4] contains some additional information (will be updated for 2019 shortly).

3. subscribe to ment...@community.apache.org; restricted to potential
mentors, meant to be used as a
private list - general discussions on the public
d...@community.apache.org list as much as possible
please). Use a recognized address when subscribing (@apache.org or one
of your alias addresses on
record).

Note that the ASF isn't accepted as a participating organization yet,
nevertheless you *have to*
start recording your ideas now or we might not get accepted.

Over the years we were able to complete hundreds of projects
successfully. Some of our prior
students are active contributors now! Let's make this year a success again!

P.S.: this email is free to be shared publicly if you want to.

[1] https://summerofcode.withgoogle.com/
[2] http://community.apache.org/guide-to-being-a-mentor.html
[3] https://s.apache.org/gsoc2019ideas
[4] http://community.apache.org/gsoc.html


Re: Mifos/Fineract set-up - Tomcat and MySQL issue

2019-01-26 Thread Vishwas Babu
Hi Supreeth,

Welcome to the Fineract community :).

Fineract 1.2 works with MySQL server version 5.7.x. Can you check the
version of MySQL you have installed?

The relevant error snippet from your log is

Caused by: org.drizzle.jdbc.internal.common.QueryException: Could not
connect: Client does not support authentication protocol requested by
server; consider upgrading MySQL client
at 
org.drizzle.jdbc.internal.mysql.MySQLProtocol.(MySQLProtocol.java:227)
~[drizzle-jdbc-1.3.jar:na]
at org.drizzle.jdbc.DrizzleDriver.connect(DrizzleDriver.java:89)
~[drizzle-jdbc-1.3.jar:na]


Regards,
Vishwas



On Fri, Jan 25, 2019 at 10:47 PM Supreeth Menon 
wrote:

> Hello ,
> Since i had issues with setting up Fineract locally on Ubuntu , and still
> it has not been resolved i have tried it to set up in other machine from
> scratch but got the same result as BUILD FAILED . In this mail i hereby
> attach the log file which would be helpful in finding the error and helpful
> for me to proceed further if anyone can debug the issue.I have been trying
> it for the month long and have been putting up the emails repeatedly in the
> mailing list as well, Also i have requested for the subscription in the
> developer mailing list no one has still replied to it.
> Please help me in this regard.PLEASE
> Looking forward to hear from you. Regards
>
>
> On Sat, Jan 26, 2019 at 12:11 PM Supreeth Menon 
> wrote:
>
>> Hello ,
>> Since i had issues with setting up Fineract locally on Ubuntu , and still
>> it has not been resolved i have tried it to set up in other machine from
>> scratch but got the same result as BUILD FAILED . In this mail i hereby
>> attach the log file which would be helpful in finding the error and helpful
>> for me to proceed further if anyone can debug the issue.I have been trying
>> it for the month long and have been putting up the emails repeatedly in the
>> mailing list as well, Also i have requested for the subscription in the
>> developer mailing list no one has still replied to it.
>> Please help me in this regard.PLEASE
>> Looking forward to hear from you. Regards
>> -Supreeth
>>
>> On Thu, Jan 24, 2019 at 6:29 PM Supreeth Menon 
>> wrote:
>>
>>> Hello ,
>>> I have been trying to install Fineract locally on Ubuntu , but for the
>>> past one month there were many issues with the installation and also when i
>>> executed some commands such as "./gradlew tomcatrunwar"  it shows BUILD
>>> FAILED WITH AN EXCEPTION , i have been trying to reach people to help me in
>>> this so that i can proceed further and fix few bugs before applying for
>>> GSOC 2019 ,
>>> Looking forward to hearing from you please help me in this regard.
>>> Please
>>> Thanks
>>> Supreeth
>>>
>>> On Mon, Jan 21, 2019 at 3:52 PM Supreeth Menon <
>>> supreethmeno...@gmail.com> wrote:
>>>
>>>>
>>>> Hello ,
>>>> I am Supreeth , studying 2nd year at International Institute of
>>>> Information and Technology , Hyderabad. Based on the provided instructions,
>>>> I was trying to set-up Mifos/Fineract. I am getting stuck with Tomcat and
>>>> MySQL. I tried Tomcat 7 and 8, getting similar issues.
>>>>
>>>> I request someone to help me in the set-up so that I can fix few issues
>>>> before I apply for GSOC 2019.
>>>>
>>>> Looking forward to hearing on the support
>>>>
>>>> Regards
>>>> Supreeth
>>>>
>>>> -- Forwarded message -
>>>>
>>>>> From: Santosh Math 
>>>>> Date: Fri, Dec 21, 2018 at 3:35 PM
>>>>> Subject: Re: [Mifos-developer] New Contribution
>>>>> To: Mifos software development 
>>>>>
>>>>>
>>>>> Hi  Akash,
>>>>> Welcome to our community. We are happy to see you here.
>>>>>
>>>>> I would urge you to take a look at these links.
>>>>>
>>>>> This is to get you started as a contributor with Fineract CN: Link
>>>>> <
>>>>> https://cwiki.apache.org/confluence/display/FINERACT/Contributor%27s+Zone
>>>>> >
>>>>>
>>>>>1. Getting Started Doc
>>>>><
>>>>> https://cwiki.apache.org/confluence/display/FINERACT/Getting+Started+Docs?src=contextnavpagetreemode
>>>>> >
>>>>>2. Take Your First Steps
>>>>><
>>>>> https://cwiki.apache.org/confluence/display/FI

Re: My Introduction to the Mifos and Fineract Communities

2019-01-16 Thread Vishwas Babu
Hi Rachit,

Welcome to the Fineract and Mifos communities :)

>>1. So fineract is like the backend platform on top which our partners can
>> create and use their own web or mobile clients (Similar to the Mifos-x
web
>> and mobile client which uses the fineract platform). Am I correct here?

Yes

>> 2. If this is the case then, in case of fineract-cn basically our
platform
>> would be deployed on cloud (and broken down into microservices rather
than
>> the huge monolithic codebase) and then our parters can connect to this
>> platform rather than hosting is privately. Am I correct in the
>> understanding?

Both Fineract 1.x and Fineract-CN can be deployed privately or in the
cloud. At the end of the day, both are RESTful platforms
and an organization like Mifos can choose to host either of them for their
partners.

The key difference is that Fineract-CN is cloud native (microservices
architecture providing the advantages of containerization vs the Fineract
1.x monolith, see https://pivotal.io/cloud-native)

>>3. So in case of fineract-cn *are we taking multi-tenancy into
>> consideration* as part of the design?

Both Fineract 1.x and Fineract-CN are multi-tenant by design

Regards,
Vishwas
+1 (202) 716 6675


On Tue, Jan 15, 2019 at 6:05 AM Rachit Kansal 
wrote:

> Hi Everyone,
>
> My name is Rachit Kansal. I am a working professional, and work at Nutanix
> Inc. a cloud company based in San Jose (I work in the India Office). I am
> basically looking forward to volunteer as a product manager for fineract
> and had a volunteer discovery call with @Ed Cable 
> regarding the same.
>
> *A brief about me: *
> I hold a bachelor's in Computer Science from BITS Pilani, India and
> graduated with distinction. I have been working at my current firm for a
> year and a half now. Already I have led two projects (one of which is
> on-going). I have led the projects in terms of Design, FC (feature
> complete) criteria and project management apart from being a developer.
> Also I have previously contributed to the open-source community during my
> university days. and was a part of Google Summer of Code (GSoC-2017) as a
> contributor.
>
> I have been going through some docs related to fineract and had a few basic
> questions.
>
> 1. So fineract is like the backend platform on top which our partners can
> create and use their own web or mobile clients (Similar to the Mifos-x web
> and mobile client which uses the fineract platform). Am I correct here?
>
> 2. If this is the case then, in case of fineract-cn basically our platform
> would be deployed on cloud (and broken down into microservices rather than
> the huge monolithic codebase) and then our parters can connect to this
> platform rather than hosting is privately. Am I correct in the
> understanding?
>
> 3. So in case of fineract-cn *are we taking multi-tenancy into
> consideration* as part of the design? (Here I am assuming that since
> fineract-cn would be deployed on cloud, we would not deploy multiple
> instances of it for each partner, but rather multiple clients would be
> using the same scaled-out platform and hence all the underlying
> microservices would have to be tenant aware)
>
> I wanted to know if my understanding related to fineract-cn is correct or
> not?
>
> --
> Regards,
> Rachit Kansal
>


Re: How to backup Mifos X db hosted in docker

2019-01-16 Thread Vishwas Babu
https://gist.github.com/spalladino/6d981f7b33f6e0afe6bb

Regards,
Vishwas


On Wed, Jan 16, 2019 at 11:04 AM Frank Nkuyhaga  wrote:

> Hi Devs
>
> How can I take a backup of a Mifos X database for an instance hosted in
> docker. Any pointers are highly appreciated.
>
> Thanks in advance
> --
>
>
>


Re: Fineract 1.3.0 Release Notes Published

2019-01-11 Thread Vishwas Babu
Hi Myrle,

Thanks for bringing this issue to the communities attention. I have sent
out the announce mail for 1.2.0.

Regards,
Vishwas


On Fri, Jan 11, 2019 at 8:30 AM Myrle Krantz  wrote:

> Hey Ed,
>
> The Fineract 1.2 release still isn't complete.
>
> An announce email hasn't been sent to annou...@apache.org.
>
> An attempt at an announcement was made by Santosh here:
>
> https://lists.apache.org/thread.html/20839b7a902de5df175f7bcbed72e1125c01a9b25e390e1e6ea30c93@%3Cdev.fineract.apache.org%3E
>
> But it was unsuccessful.  I explained the reason and gave an example of how
> to do it correctly here:
>
> https://lists.apache.org/thread.html/c6fbe766f5b455d74bdcda99d442d8cb2259403682e751b95a5396bf@%3Cdev.fineract.apache.org%3E
>
> It's actually not difficult.  It's important to me to spread the knowledge
> about how to do it correctly.  So, unlike with 1.1, I'm not going to do it
> myself.
>
> Best Regards,
> Myrle
>
>
> On Wed, Jan 9, 2019 at 1:54 AM Ed Cable  wrote:
>
> > Hello Fineract community,
> >
> > The next release of Fineract is slightly behind schedule but we're
> getting
> > closer to our target of monthly releases. As usual we could use
> assistance
> > with reviewing of outstanding pull requests. The release notes have been
> > published at
> >
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12342874=Html=12319420
> >
> > It's also been added to the release page at
> >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/1.3.0+-+Apache+Fineract
> >
> > Final QA is underway but you can continue with testing process at this
> > staging server located at https://staging.openmf.org (mifos/password).
> >
> > January 7 was the original intended release date but it will now be next
> > week after the Final QA and vote takes place.
> >
> > Emails will be sent out soon with plans for Fineract 1.4 and any tickets
> > that didn't make their way into 1.3 - we'll include a list of outstanding
> > bugs that volunteers could work on.
> >
> > --
> > *Ed Cable*
> > President/CEO, Mifos Initiative
> > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> >
> > *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> > <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
> >
>


Invitation to edit Apache Fineract's board report for Jan 2019

2019-01-04 Thread Vishwas Babu
Hello Fineractors,

Hope all of you are having a great beginning to the new year.

The initial draft of the board report for the previous quarter is shared at
https://cwiki.apache.org/confluence/display/FINERACT/2019-1+January+Report ,
please edit as you see fit. I plan to do a once over on the coming Monday
and submit the report by Tuesday the 8th of Jan (PST).

Wishing you a wonderful weekend,
Vishwas


Re: [Mifos-developer] Hide Sensitive Contents

2019-01-02 Thread Vishwas Babu
Hi Abiy,

Regarding the issues you have raised

1)

>>Credentials leaked in localhost access log

This issue would exist when HTTP basic auth is used on Fineract (username
and password are passed as query parameters over a HTTPS channel) and
access log is enabled on tomcat (where the default pattern logs all
accessed URL's and their associated query parameters). Quick fixes to the
deployment environment ( in order of complexity ) to resolve this issue
would be

-> Disable localhost access log / update access log pattern to not print
URL's in tomcat
-> Extend access log to hide passwords  (Ex :
https://stackoverflow.com/questions/16699113/how-to-configure-tomcat-accesslogvalve-to-hide-passwords
)

If we are particular on handling the same at an application level, the
easiest change would be to change the authentication API to pass the
username and password as part of the post body (which isn't logged by
tomcat access log)

2)

>>And the other is the one that is displaying in catalina
(fineract-provider-log)

I'll let others correct me, but this should not be the case. Logging from
the application (catalina and fineract-provider) would only log the
username (not the password)

3) Lastly, regarding the comment

"My Recommendation is also as follows,
In a system my company is using, the passwords in the xml files are
encrypted. And the system will decrypt them before reading."

Are you referring to the global credentials (database) configured in
tomcat's server.xml  which have the password in plain text ? If so, this
would be a seperate (unrelated)  security related enhancement.

Regards,
Vishwas
+1 (202) 716 6675


On Thu, Dec 13, 2018 at 3:36 AM Abiy Atsbha  wrote:

> Hello Shtuthi,
>
> Yeah one is that, which is from the server.xml,
> (
>
>  prefix="localhost_access_log." suffix=".log"
> pattern="%h %l %u %t %r %s %b" />
> )
>
> And the other is the one that is displaying in catalina,
> (fineract-provider-log)
>
> (
> 166270 [http-bio-8443-exec-7] INFO
> o.a.f.i.s.f.TenantAwareBasicAuthenticationFilter -
> {"startTime":158486351,"totalTime":232,"method":"POST","url":"
> https://localhost:8443/fineract-provider/api/v1/authentication
> ","parameters":{"username":["admin"]}}
>
> )
>
> **
>
> My Recommendation is also as follows,
> In a system my company is using, the passwords in the xml files are
> encrypted. And the system will decrypt them before reading.
> I will attach these files on private email for copyright issues, and hope
> they will give you ideas on how to construct one for Mifos.
>
> Regards,
> Abiy
>
> On Thu, Dec 13, 2018 at 10:05 AM Shruthi M R <
> shru...@confluxtechnologies.com> wrote:
>
> >
> > Thanks Abiy for bringing this to our attention.
> >
> > Are you referring the  API - POST
> > /fineract-provider/api/v1/authentication?username=ABC=78loknbj
> > HTTP/1.1" 200 353 ?
> > being logged in localhost_access_log?
> >
> > Thank You,
> >
> > *Shruthi M R*
> > Senior Software Engineer - Conflux Technologies
> > shru...@confluxtechnologies.com | Skype: Shruthi Rajaram | Mobile:
> > +91-8277012716
> >
> >
> > On Tue, Dec 11, 2018 at 6:24 PM Abiy Atsbha  wrote:
> >
> >> Hi All,
> >>
> >> How can we hide the username & password that is visible in the
> >> localhost_access_log.2018-12-11. log file?
> >>
> >> The Username and Password is visiblebin the log. Any means to hide this
> >> content?
> >>
> >> Thanks in Advance,
> >> Abiy-A
> >>
> > Mifos-developer mailing list
> >> mifos-develo...@lists.sourceforge.net
> >> Unsubscribe or change settings at:
> >> https://lists.sourceforge.net/lists/listinfo/mifos-developer
> >
> >
>


Re: Fineract PMC Chair change: Congratulations Vishwas!

2018-12-23 Thread Vishwas Babu
Thanks All !  I indeed have big shoes to fill and hope to continue the
great job that Myrle has been doing for our community.

Wishing you a merry Christmas and a happy new year,

Vishwas
+1 (202) 716 6675


On Thu, Dec 20, 2018 at 5:25 PM Myrle Krantz  wrote:

> Hello all,
>
> I am ready to pass on the role of Fineract PMC chair.
>
> I believe that a regular change of PMC chair will help to increase
> community empowerment, and develop skills among the Fineract PMC members. I
> am looking forward to having more time for my other roles.  I continue to
> be part of Fineract as a committer and PMC member.
>
> The Fineract PMC has elected Vishwas Babu as my successor.  The ASF board
> has approved his appointment.  Vishwas is an excellent choice.  Vishwas has
> been involved with Fineract for longer than I have, and has a deep
> knowledge of Fineract community dynamics.
>
> Please congratulate Vishwas, and please support him as he serves our
> community in this new role.
>
> Best Regards,
> Myrle
> V.P. Emeritus, Apache Fineract
>


Re: LOAN TRANSACTION IMPORT

2018-10-30 Thread Vishwas Babu
Hi Zayyad ,

Changing the expected type of the repayment and loan Ids to long instead of
Int in LoanRepaymentImportHandler would resolve the issue you are facing

Regards,
Vishwas

On Tuesday, October 30, 2018, Zayyad A. Said <
zay...@intrasofttechnologies.com> wrote:

> Devs,
>
>
>
> Am experiencing a challenge importing loan payments.
>
>
>
> I tried with version 18.03.01, I get this error in catalina log:
>
>
>
> Exception in thread "SimpleAsyncTaskExecutor-258" 
> java.lang.NumberFormatException:
> For input string: "10101"
>
> at java.lang.NumberFormatException.forInputString(
> NumberFormatException.java:65)
>
> at java.lang.Integer.parseInt(Integer.java:583)
>
> at java.lang.Integer.parseInt(Integer.java:615)
>
> at org.apache.fineract.infrastructure.bulkimport.
> importhandler.loanrepayment.(LoanRepaymentImportHandler.java:78)
>
> at org.apache.fineract.infrastructure.bulkimport.
> importhandler.loanrepayment.LoanRepaymentImportHandler.readExcelFile(
> LoanRepaymentImportHandler.java:70)
>
> at org.apache.fineract.infrastructure.bulkimport.
> importhandler.loanrepayment.LoanRepaymentImportHandler.process(
> LoanRepaymentImportHandler.java:60)
>
> at org.apache.fineract.infrastructure.bulkimport.service.
> BulkImportEventListener.onApplicationEvent(BulkImportEventListener.java:
> 144)
>
> at org.apache.fineract.infrastructure.bulkimport.service.
> BulkImportEventListener.onApplicationEvent(BulkImportEventListener.java:
> 48)
>
> at org.springframework.context.event.
> SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticas
> ter.java:93)
>
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> I also tried with version 17.07.01 using the data import tool but I noted
> that once you upload the file the loan account number changes to
> *2147483647* which causes it to fail with an error “*id:Loan with
> identifier 2147483647 does not exist*”.
>
>
>
> Can anyone advise me how we can sort out this issue? We have a huge
> migration exercise that we are carrying out and the client needs all
> transaction history.
>
>
>
> Regards;
>
>
>
> *
>
> *Zayyad A. Said | Chairman & C.E.O*
>
>
>
> Cell No.: +254 716 615274 | Skype: *zsaid2011*
>
> Email: zay...@intrasofttechnologies.com
>
> Schedule Meetings: https://calendly.com/zayyadsaid
>
> [image: Description: Email banner]
>
>
>


-- 
Sent from my iPad


Re: Intergration test

2018-02-14 Thread vishwas
The approach of sleeping for a fixed time does not work well in general as 
Integration test cases must pass on any environment. Depending on random sleep 
values would mean that there is always a probability that the test can fail if 
the system is slow / has other CPU intensive processes running etc.

Ideally , you would handle such scenarios more gracefully . Have the test check 
if the file you are referring to is created , if not sleep for an interval and 
check again etc. 

Please make this change and send out a pull request

Regards,
Vishwas

> On Feb 14, 2018, at 9:39 AM, Kumaranath Fernando 
> <kumaranathferna...@gmail.com> wrote:
> 
> I've tested the develop branch and it's most likely because the result excel 
> file takes a bit of time to be created, after the file is created I'm trying 
> to read a value of a column.
> Since the file is not created by the time FileInputStream reads the file, you 
> get a FileNotException.
> 
> You could fix this issue by increasing the number of milliseconds 1 on 
> Thread.sleep() line in the respective tests.Ping me if this resolves the 
> issue and I'll send PR.
> 
> Vishwas/Nazeer awaiting your confirmation!.
> 
> Regards,
> Kumaranath Fernando
> 
> 
>> On Wed, Feb 14, 2018 at 10:59 AM, vishwas <vish...@confluxtechnologies.com> 
>> wrote:
>> Hi Kumaranath,
>> 
>> You should be able to reproduce this issue if you fetch the latest fineract 
>> code in a seperate workspace.
>> 
>> If the remember correctly, the crux of the issue seemed be be that files you 
>> were referring to in the test cases , i.e 
>> fineract-provider/src/integrationtest/resources/bulkimport/importhandler/officer
>>  are not present and all these tests cases throw a file not found exception.
>> 
>> Regards,
>> Vishwas
>> 
>> 
>> 
>> > On Feb 13, 2018, at 6:43 PM, Kumaranath Fernando 
>> > <kumaranathferna...@gmail.com> wrote:
>> >
>> > Hi Nazeer!
>> >
>> > Could you please send in the stack traces for investigation.
>> >
>> > Regards,
>> > Kumaranath Fernando
>> >
>> > On Wed, Feb 14, 2018 at 12:43 AM, Ed Cable <edca...@mifos.org 
>> > <mailto:edca...@mifos.org>> wrote:
>> >
>> >> Please keep the community posted and try to address as quickly as you can
>> >> we have one other issue we're fixing and then once these integration tests
>> >> pass, we can call for a vote to ship the release.
>> >>
>> >> Ed
>> >>
>> >> On Tue, Feb 13, 2018 at 6:02 AM, Kumaranath Fernando <
>> >> kumaranathferna...@gmail.com> wrote:
>> >>
>> >>> Hello Ed!
>> >>>
>> >>> Sure. I'll take a look at it!
>> >>>
>> >>> Regards,
>> >>> Kumaranath Fernando
>> >>>
>> >>> On Tue, Feb 13, 2018 at 11:40 AM, Ed Cable <edca...@mifos.org> wrote:
>> >>>
>> >>>> Kumaranath,
>> >>>>
>> >>>> Could you please look into these failing integration tests? It's one of
>> >>>> the last items we need to address before we can release.
>> >>>>
>> >>>> Thanks,
>> >>>>
>> >>>> Ed
>> >>>>
>> >>>> On Sat, Feb 10, 2018 at 3:15 AM, Nazeer Hussain Shaik <
>> >>>> nazeerhussain.sh...@gmail.com> wrote:
>> >>>>
>> >>>>> Hi Vishwas,
>> >>>>>
>> >>>>> I can see the below test case failures related to bulk import
>> >>>>> feature(with
>> >>>>> yellow background) which was added recently into Fineract (on both
>> >>>>> Develop
>> >>>>> and 1.1.0 release branch). I don't see any other issue mentioned by 
>> >>>>> you.
>> >>>>>
>> >>>>>   - FixedDepositTest
>> >>>>>  > >>>>> st.html>.
>> >>>>>  testMaturityAmountForDailyCompoundingAndMonthlyPosting_With_
>> >>>>> 360_Days
>> >>>>>  > >>>>> st.html#testMaturityAmountForDailyCompoundingAndMonthlyPosti
>> >>>>> ng_With_360_Days>
>> >>>>>  - SchedulerJobsTest
>> >>>>>  > >>>>> est.html>.
>> >>>>>   testSchedulerJobs
>> >>>>>

Re: Intergration test

2018-02-13 Thread vishwas
Hi Kumaranath,

You should be able to reproduce this issue if you fetch the latest fineract 
code in a seperate workspace.

If the remember correctly, the crux of the issue seemed be be that files you 
were referring to in the test cases , i.e 
fineract-provider/src/integrationtest/resources/bulkimport/importhandler/officer
 are not present and all these tests cases throw a file not found exception. 

Regards,
Vishwas



> On Feb 13, 2018, at 6:43 PM, Kumaranath Fernando 
> <kumaranathferna...@gmail.com> wrote:
> 
> Hi Nazeer!
> 
> Could you please send in the stack traces for investigation.
> 
> Regards,
> Kumaranath Fernando
> 
> On Wed, Feb 14, 2018 at 12:43 AM, Ed Cable <edca...@mifos.org 
> <mailto:edca...@mifos.org>> wrote:
> 
>> Please keep the community posted and try to address as quickly as you can
>> we have one other issue we're fixing and then once these integration tests
>> pass, we can call for a vote to ship the release.
>> 
>> Ed
>> 
>> On Tue, Feb 13, 2018 at 6:02 AM, Kumaranath Fernando <
>> kumaranathferna...@gmail.com> wrote:
>> 
>>> Hello Ed!
>>> 
>>> Sure. I'll take a look at it!
>>> 
>>> Regards,
>>> Kumaranath Fernando
>>> 
>>> On Tue, Feb 13, 2018 at 11:40 AM, Ed Cable <edca...@mifos.org> wrote:
>>> 
>>>> Kumaranath,
>>>> 
>>>> Could you please look into these failing integration tests? It's one of
>>>> the last items we need to address before we can release.
>>>> 
>>>> Thanks,
>>>> 
>>>> Ed
>>>> 
>>>> On Sat, Feb 10, 2018 at 3:15 AM, Nazeer Hussain Shaik <
>>>> nazeerhussain.sh...@gmail.com> wrote:
>>>> 
>>>>> Hi Vishwas,
>>>>> 
>>>>> I can see the below test case failures related to bulk import
>>>>> feature(with
>>>>> yellow background) which was added recently into Fineract (on both
>>>>> Develop
>>>>> and 1.1.0 release branch). I don't see any other issue mentioned by you.
>>>>> 
>>>>>   - FixedDepositTest
>>>>>  >>>> st.html>.
>>>>>  testMaturityAmountForDailyCompoundingAndMonthlyPosting_With_
>>>>> 360_Days
>>>>>  >>>> st.html#testMaturityAmountForDailyCompoundingAndMonthlyPosti
>>>>> ng_With_360_Days>
>>>>>  - SchedulerJobsTest
>>>>>  >>>> est.html>.
>>>>>   testSchedulerJobs
>>>>>  >>>> est.html#testSchedulerJobs>
>>>>>  - ClientEntityImportHandlerTest
>>>>>  >>>> orthandler.client.ClientEntityImportHandlerTest.html>
>>>>>  . testClientImport
>>>>>  >>>> orthandler.client.ClientEntityImportHandlerTest.html#testClientImport>
>>>>>  - LoanImportHandlerTest
>>>>>  >>>> orthandler.loan.LoanImportHandlerTest.html>
>>>>>  . testLoanImport
>>>>>  >>>> orthandler.loan.LoanImportHandlerTest.html#testLoanImport>
>>>>>  - SavingsImportHandlerTest
>>>>>  >>>> orthandler.savings.SavingsImportHandlerTest.html>
>>>>>  . testSavingsImport
>>>>>  >>>> orthandler.savings.SavingsImportHandlerTest.html#testSavingsImport>
>>>>>  - LoanWorkbookPopulatorTest
>>>>>  >>>> ulator.loan.LoanWorkbookPopulatorTest.html>
>>>>>  . testLoanWorkbookPopulate
>>>>>  >>>> ulator.loan.LoanWorkbookPopulatorTest.html#testLoanWorkbookPopulate>
>>>>>  - SavingsWorkbookPopulateTest
>>>>>  >>>> ulator.savings.SavingsWorkbookPopulateTest.html>
>>>>>  . testSavingsWorkbookPopulate
>>>>>  >>>> ulator.savings.SavingsWorkbookPopulateTest.html#testSavingsW
>>>>> orkbookPopulate>
>>>>> 
>>>>> 
>>>>> Regards.
>>>>> Nazeer
>>>>> 
>>>>> 
>>>>> On Sat, Feb 10, 2018 at 8:50 AM, Steve Conrad <sconr...@gmail.com>
>>>>> wrote:
>>>>> 
>>>>>> Vishwas,
>>>>>> Thanks for updating the integration tests relating to the FINERACT-590
>>>>>> change. I'll make sure to run integration tests before any prom

Re: Difficulty running Apache Fineract

2018-02-11 Thread vishwas
Hi Cabrel ,

Can you try dropping and recreating your mifosplatform-tenants database ? 

Regards,
Vishwas

> On Feb 10, 2018, at 8:43 AM, Cabrel Kemfang <cabrel.kemf...@skylabase.com> 
> wrote:
> 
> Hi all 
>  Following this  link "https://github.com/apache/fineract; to install the 
> Apache Fineract platform using this command
>  
> ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants
> 
> I get the following error...
> 
> Listening for transport dt_socket at address: 8005
> :migrateTenantDB FAILED
> 
> FAILURE: Build failed with an exception.
> 
> * Where:
> Build file '/home/admin123/fineract/fineract-provider/build.gradle' line: 446
> 
> * What went wrong:
> Execution failed for task ':flywayMigrate'.
> > Error occurred while executing flywayMigrate
>   Validate failed. Found differences between applied migrations and available 
> migrations: Migration Checksum mismatch for migration 
> V1__mifosplatform-core-ddl-latest.sql: DB=955277628, Classpath=-1243364190
> 
> 
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> 
> BUILD FAILED


Re: Intergration test

2018-02-09 Thread vishwas
Hi Mexina,

Many of the failures were related to recent changes made for FINERACT-590. I 
have fixed the same now.

However, I still see 15 failures (details below)

@Nazeer, Ed, Any devs active on the codebase recently : Do we know how long 
these test cases have been failing ? Do we having any CI setup for Fineract (we 
had Travis CI for the erstwhile Mifos codebase, the same seems to be down now) ?

ClientUndoRejectAndWithdrawalIntegrationTest 
.
 testClientUndoRejectWithFutureDate 

ClientUndoRejectAndWithdrawalIntegrationTest 
.
 testClientUndoWithDrawnWithFutureDate 

FixedDepositTest 
.
 testMaturityAmountForDailyCompoundingAndMonthlyPosting_With_360_Days 

GroupSavingsIntegrationTest 
.
 testSavingsAccountCharges 

SchedulerJobsTest 
.
 testSchedulerJobs 

SchedulerJobsTestResults 
.
 testApplyDueFeeChargesForSavingsJobOutcome 

ClientEntityImportHandlerTest 
.
 testClientImport 

LoanImportHandlerTest 
.
 testLoanImport 

OfficeImportHandlerTest 
.
 testOfficeImport 

SavingsImportHandlerTest 
.
 testSavingsImport 

LoanWorkbookPopulatorTest 
.
 testLoanWorkbookPopulate 

SavingsWorkbookPopulateTest 
.
 testSavingsWorkbookPopulate 

ShareAccountIntegrationTests 
.
 rejectShareAccount 

ShareAccountIntegrationTests 
.
 testShareAccountApproval 

ShareAccountIntegrationTests 
.
 testShareAccountUndoApproval 




Regards,
Vishwas



> On Feb 8, 2018, at 6:03 AM, Mexina Daniel <mexina@singo.africa> wrote:
> 
> Hello Devs 
> 
> What does it mean when the intergration test is failing? 
> 
> Because i tried to run intergaration test on develop branch and it gives 
> errors 
> 
> Regards 
> 
> -- 
> Mexina M Daniel 
> Lead Software Developer 
> Research & Development 
> 
> Office: +255 22 261 8511 | Mobile: +255 712 110 791 
> 
> Singo Africa Limited 
> Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es 
> salaam 
> 
> singo.africa | amala.co.tz 
> 
> Let's grow together 



Re: [Mifos-developer] Updates on Release Timing for Apache Fineract 1.1

2018-02-04 Thread vishwas
Thanks for the fix Steve ! The same has been merged.

@Santosh / Ed : https://issues.apache.org/jira/browse/FINERACT-574 
<https://issues.apache.org/jira/browse/FINERACT-574> is probably an issue which 
has been existing for a while now ? Given that the large majority of fineract 
users do no use the share management module, I would suggest that we proceed 
with this release without waiting for the same to be fixed.

Regards,
Vishwas



> On Feb 3, 2018, at 4:19 PM, Steve Conrad <sconr...@gmail.com> wrote:
> 
> I made a fix for FINERACT-590 and submitted a PR this afternoon. Please let
> me know if you have any questions.
> Thanks,
> Steve
> 
> On Fri, Feb 2, 2018 at 2:03 AM Nikhil Pawar <nickr...@gmail.com> wrote:
> 
>> Ed,
>> 
>> Apologies for delay!
>> Our new feature is scheduled to go live this weekend, so was busy meeting
>> the deadline.
>> Will get back to you latest by Sunday evening.
>> 
>> Regards,
>> Nikhil
>> 
>> On Thu, Feb 1, 2018 at 8:01 AM, Ed Cable <edca...@mifos.org> wrote:
>> 
>>> Nikhil,
>>> 
>>> Any progress on issue 590 that you were looking into? I know you had some
>>> outstanding questions.
>>> 
>>> Ed
>>> 
>>> On Tue, Jan 30, 2018 at 2:09 AM, Santosh Math <
>>> sant...@confluxtechnologies.com> wrote:
>>> 
>>>> Hi Ed,
>>>> 
>>>> As discussed earlier, the following issues yet to be fixed.
>>>> 
>>>> https://issues.apache.org/jira/browse/FINERACT-590
>>>> 
>>>> https://issues.apache.org/jira/browse/FINERACT-574
>>>> 
>>>> Regards
>>>> Santosh
>>>> 
>>>> On Tue, Jan 30, 2018 at 1:45 PM, Ed Cable <edca...@mifos.org> wrote:
>>>> 
>>>>> Santosh, Avik, or Madhukar,
>>>>> 
>>>>> As you know the entire community has been eagerly awaiting the latest
>>>>> release of Apache Fineract.
>>>>> 
>>>>> With transition of responsibilities and difficulty in accessing the QA
>>>>> infrastructure, these delays have slipped further.
>>>>> 
>>>>> So the community can be fully aware of the progress and delays facing
>>>>> the release, can you please update on this thread, what the remaining
>> tasks
>>>>> are to issue this release and what are the blockers so others in the
>>>>> community could assist.
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Ed
>>>>> 
>>>>> --
>>>>> *Ed Cable*
>>>>> President/CEO, Mifos Initiative
>>>>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>>>>> <(484)%20477-8649>
>>>>> 
>>>>> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>>>>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> Mifos-developer mailing list
>>>>> mifos-develo...@lists.sourceforge.net
>>>>> Unsubscribe or change settings at:
>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> Mifos-developer mailing list
>>>> mifos-develo...@lists.sourceforge.net
>>>> Unsubscribe or change settings at:
>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> *Ed Cable*
>>> President/CEO, Mifos Initiative
>>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>>> <(484)%20477-8649>
>>> 
>>> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>>> 
>>> 
>> 



Re: [VOTE] Accept Android Client 2.0 (Fineract CN Mobile) into Apache Fineract

2018-01-12 Thread vishwas
+1

Regards,
Vishwas

> On Jan 12, 2018, at 10:59 AM, Nayan Ambali <nayan.amb...@gmail.com> wrote:
> 
> +1
> 
>> On 11-Jan-2018 12:42 PM, "ayuk etta" <ettaa...@gmail.com> wrote:
>> 
>> +1
>> 
>>> On 11 Jan 2018 7:57 a.m., "Avik Ganguly" <avikganguly...@gmail.com> wrote:
>>> 
>>> +1
>>> 
>>> Regards,
>>> Avik.
>>> 
>>>> On Sat, Jan 6, 2018 at 3:53 AM, Ed Cable <edca...@mifos.org> wrote:
>>>> 
>>>> Hello all,
>>>> 
>>>> Now that the discussion thread on this topic has concluded and Rajan
>> has
>>>> answered Myrle's questions regarding licenses, headers, and Rajan's
>>>> continued desires to contribute and move existing tickets over to the
>>>> Apache Fineract JIRA infrastructure, I'd like to open the vote once
>> again
>>>> to accept the codebase at https://github.com/openMF/Fineract-CN-mobile
>>> as
>>>> Apache Fineract CN mobile.
>>>> 
>>>> Read this blog post for an overview of Rajan's contributions on the
>>>> project.
>>>> 
>>>> https://medium.com/@therajanmaurya/apache-gsoc-
>>> 2017-blog-post-f2791dc136b5
>>>> 
>>>> Here's the original thread:
>>>> 
>>>>>>>>>>>>>>>>>>>>> 
>>>> 
>>>> Hello all,
>>>> 
>>>> In case you didn't know (which I think is the case for many of you),
>>>> longtime Mifos contributor, GSOC student and GCI mentor, Rajan Maurya
>>>> completed a GSOC internship this past summer under the mentorship of
>>> Markus
>>>> Geiss for Apache Fineract with the Apache Software Foundation as the
>>>> mentoring organization.
>>>> 
>>>> His project centered around building an Android Mobile Field Operations
>>> App
>>>> for the generation 3 architecture which we were referring to as
>> Fineract
>>>> 2.0 at the time but will now be Fineract CN.
>>>> 
>>>> All of his commits were made in a personal repository (since there was
>> no
>>>> Apache Fineract CN repo yet) so they can't simply fall under Apache and
>>>> must go through the formal IP clearance process which starts with a
>> vote
>>>> from the PMC before they can be part of Apache Fineract.
>>>> 
>>>> Rajan has transferred ownership of the repository over to the Mifos
>>>> Initiative so we will be providing the software grant agreement to
>>>> contribute if and when we get approval from the PMC.
>>>> 
>>>> So if you'd like to see the first incarnation of a mobile field
>>> operations
>>>> app for the new architecture be a part of Apache Fineract, please vote
>>>> accordingly.
>>>> 
>>>> You can view the repo at https://github.com/openMF/Fineract-CN-mobile
>>> and
>>>> test out the latest APK from https://github.com/
>>>> openMF/Fineract-CN-mobile/wiki
>>>> 
>>>> The APK has been updated to point to the baseURL with the most recent
>>> demo
>>>> credentials provided by Markus:
>>>> 
>>>>> Tenant: playground
>>>>> Username: apache.demo
>>>>> Password ven3t1@n
>>>> 
>>>> A list of all the pull requests can be found at
>>>> *https://github.com/openMF/Fineract-CN-mobile/pulls?q=is%
>>> 3Apr+is%3Aclosed
>>>> <https://github.com/openMF/Fineract-CN-mobile/pulls?q=is%
>>> 3Apr+is%3Aclosed
>>>>> *
>>>> 
>>>> and learn more about the project's original goals in his GSOC
>> application
>>>> at https://goo.gl/qsUw2C
>>>> 
>>>> Cheers,
>>>> 
>>>> Ed
>>>> 
>>>> --
>>>> *Ed Cable*
>>>> President/CEO, Mifos Initiative
>>>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>>>> 
>>>> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>>>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>>>> 
>>> 
>> 


Re: [VOTE] Accept Mifos I/O code into the Apache Fineract project as Fineract CN

2017-10-19 Thread vishwas
+1

Regards,
Vishwas

> On Oct 19, 2017, at 1:11 AM, Sharan Foga <sharan.f...@gmail.com> wrote:
> 
> +1
> 
> Thanks
> Sharan
> 
>> On 18/10/17 11:29, Myrle Krantz wrote:
>> Please vote whether you wish to accept into the Fineract project all
>> of the repositories found at
>> 
>> https://github.com/mifosio
>> 
>> A yes vote means that we as Apache Fineract will:
>> * Begin the software grant process via the Apache Incubator and the
>> Mifos Initiative.
>> * Collect the necessary software grants, CLA's, and ICLA's from
>> companies and individual contributors to mifosio.
>> * Create Infra tickets to create repositories to move the code into
>> with a preference for gitbox repositories.
>> * Transfer the code to the new repositories.
>> 
>> Please be aware that developers are still actively developing, so new
>> commits may come into those repositories during the voting process.
>> With apologies, but I believe this is better than keeping new code out
>> of those repositories for the duration of the vote and dumping it in
>> afterward.
>> 
>> Further discussion/votes will be held before we release, make
>> adjustments to JIRA, or make any other significant requests to Infra.
>> 
>> Voting will continue until 2/3's of committers have responded but for
>> at least 72 hours.  Non-committers are welcome to provide non-binding
>> votes as well.
>> 
>> This is my +1 vote.
>> 
>> Best Regards,
>> Myrle Krantz
>> Committer, Apache Fineract
> 


Re: Upping our truck factor

2017-09-15 Thread vishwas
Thanks Myrle !

Regards,
Vishwas



> On Sep 15, 2017, at 12:20 AM, Myrle Krantz <my...@apache.org> wrote:
> 
> Ed and vishwas,
> 
> I've filed an Infra ticket to request moderation privileges for both of you.
> 
> Here:
> https://issues.apache.org/jira/browse/INFRA-15089
> 
> Moderation is done via a klugy email interface.  Instructions on how
> to use ezmlm to moderate once you have those privileges can be found
> here:
> https://reference.apache.org/pmc/ml
> 
> Regards,
> Myrle
> 
> 
> On Thu, Sep 14, 2017 at 6:43 PM, vishwas
> <vish...@confluxtechnologies.com> wrote:
>> Hello All,
>> 
>>>>> 1.) Are you doing something that only you are doing, and that you
>>>>> believe should be shared more widely?
>> 
>> No
>> 
>>>>> 2.) What are the reasons why you aren't doing one of the activities on
>>>>> our "bottleneck" list?
>> 
>> I am currently focusing on a few other things I really want to do and would 
>> not be able to take up time consuming activity like reviewing pull requests.
>> 
>> I would be happy to help with moderating lists though.
>> 
>> Regards,
>> Vishwas
>> 
>> 
>> 
>>> On Aug 31, 2017, at 9:05 AM, Gaurav Saini <gauravsain...@gmail.com> wrote:
>>> 
>>> Hello Myrle,
>>> 
>>> Sorry for delayed reply. Below are my answers
>>> 
>>> On Tue, Aug 29, 2017 at 6:57 PM, Myrle Krantz <my...@apache.org> wrote:
>>> 
>>>> Hi Fineracters,
>>>> 
>>>> There are 9 PMC members who have not responded (8 if we excuse
>>>> Nazeer).  As a reminder, the questions are:
>>>> 
>>>> 1.) Are you doing something that only you are doing, and that you
>>>> believe should be shared more widely?
>>>> 
>>> 
>>> No
>>> 
>>> 
>>>> 2.) What are the reasons why you aren't merging PRs or helping out
>>>> with releases?
>>>> 
>>>> 
>>> My main expertise was on frontend mainly, but recently after looking in
>>> Fineract CN I am really interested to get started with Fineract CN.
>>> 
>>> Also, I saw that new Fineract CN has a frontend project based on
>>> typescript, material so I am really to interested to contribute on that
>>> right now also.
>>> 
>>> Thanks
>>> Gaurav
>>> 
>>> 
>>>> I would appreciate a response.  You might also want to say, "I'm too
>>>> busy right now", or "I'm waiting for Fineract CN", or "I've lost
>>>> confidence that the project can help me achieve my goals".  If that's
>>>> the case, then it is important information too.
>>>> 
>>>> Thanks,
>>>> Myrle Krantz
>>>> 
>>>> On Thu, Aug 17, 2017 at 10:06 AM, Myrle Krantz <my...@apache.org> wrote:
>>>>> Hi all,
>>>>> 
>>>>> We have an awesome community.  In particular, we've been very good at
>>>>> responding to people's request for help getting Fineract working for
>>>>> their use cases.  But we also have some things we need to work on.
>>>>> 
>>>>> Specifically we have several bottlenecks in our community:
>>>>> 
>>>>> 1.) Only Nazeer is merging PR's.
>>>>> 2.) Only Nazeer is serving as a release manager.
>>>>> 3.) Only Myrle is moderating the lists (apart from the mentors who
>>>>> will eventually step out).
>>>>> 
>>>>> This is called "having a truck factor of one", because if a truck hits
>>>>> one of us (or if we win the lottery and decide never to do anything
>>>>> for Fineract again), then the entire project would fail (1).  This is
>>>>> already causing us problems in some areas: for example our PR's are
>>>>> backed up
>>>>> 
>>>>> I'm not writing this to lecture anyone.  I know there are reasons for
>>>>> the way things are.  That doesn't mean we should just accept it
>>>>> though.
>>>>> 
>>>>> Let's start by improving our understanding of the problem.  Would each
>>>>> committer please say:
>>>>> 1.) Are you doing something that only you are doing, and that you
>>>>> believe should be shared more widely?
>>>>> 2.) What are the reasons why you aren't doing one of the activities on
>>>>> our "bottleneck" list?
>>>>> 
>>>>> 
>>>>> I'll start:
>>>>> 1.) List moderation.
>>>>> 2.) I'm not merging PR's because I'm not sufficiently familiar with
>>>>> the current generation Fineract code to feel comfortable evaluating
>>>>> those PR's.  I'm not serving as a release manager, because I don't
>>>>> have enough insight into when we are release-ready, and because there
>>>>> are several pieces of technical knowledge I'd need to acquire to be a
>>>>> release manager which I don't yet have.  For these reasons, I've
>>>>> chosen to focus my energies on Fineract CN instead.
>>>>> 
>>>>> Best Regards,
>>>>> Myrle Krantz
>>>>> 
>>>>> P.S. After we have a list of causes, I'll initiate a round of
>>>>> discussion about how we can resolve the causes.
>>>>> 
>>>>> 1.) http://www.agileadvice.com/2005/05/15/agilemanagement/truck-factor/
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Regards,
>>> *Gaurav Saini*
>> 



Re: Upping our truck factor

2017-09-14 Thread vishwas
Hello All,

>>> 1.) Are you doing something that only you are doing, and that you
>>> believe should be shared more widely?

No

>>> 2.) What are the reasons why you aren't doing one of the activities on
>>> our "bottleneck" list?

I am currently focusing on a few other things I really want to do and would not 
be able to take up time consuming activity like reviewing pull requests.

I would be happy to help with moderating lists though.

Regards,
Vishwas



> On Aug 31, 2017, at 9:05 AM, Gaurav Saini <gauravsain...@gmail.com> wrote:
> 
> Hello Myrle,
> 
> Sorry for delayed reply. Below are my answers
> 
> On Tue, Aug 29, 2017 at 6:57 PM, Myrle Krantz <my...@apache.org> wrote:
> 
>> Hi Fineracters,
>> 
>> There are 9 PMC members who have not responded (8 if we excuse
>> Nazeer).  As a reminder, the questions are:
>> 
>> 1.) Are you doing something that only you are doing, and that you
>> believe should be shared more widely?
>> 
> 
> No
> 
> 
>> 2.) What are the reasons why you aren't merging PRs or helping out
>> with releases?
>> 
>> 
> My main expertise was on frontend mainly, but recently after looking in
> Fineract CN I am really interested to get started with Fineract CN.
> 
> Also, I saw that new Fineract CN has a frontend project based on
> typescript, material so I am really to interested to contribute on that
> right now also.
> 
> Thanks
> Gaurav
> 
> 
>> I would appreciate a response.  You might also want to say, "I'm too
>> busy right now", or "I'm waiting for Fineract CN", or "I've lost
>> confidence that the project can help me achieve my goals".  If that's
>> the case, then it is important information too.
>> 
>> Thanks,
>> Myrle Krantz
>> 
>> On Thu, Aug 17, 2017 at 10:06 AM, Myrle Krantz <my...@apache.org> wrote:
>>> Hi all,
>>> 
>>> We have an awesome community.  In particular, we've been very good at
>>> responding to people's request for help getting Fineract working for
>>> their use cases.  But we also have some things we need to work on.
>>> 
>>> Specifically we have several bottlenecks in our community:
>>> 
>>> 1.) Only Nazeer is merging PR's.
>>> 2.) Only Nazeer is serving as a release manager.
>>> 3.) Only Myrle is moderating the lists (apart from the mentors who
>>> will eventually step out).
>>> 
>>> This is called "having a truck factor of one", because if a truck hits
>>> one of us (or if we win the lottery and decide never to do anything
>>> for Fineract again), then the entire project would fail (1).  This is
>>> already causing us problems in some areas: for example our PR's are
>>> backed up
>>> 
>>> I'm not writing this to lecture anyone.  I know there are reasons for
>>> the way things are.  That doesn't mean we should just accept it
>>> though.
>>> 
>>> Let's start by improving our understanding of the problem.  Would each
>>> committer please say:
>>> 1.) Are you doing something that only you are doing, and that you
>>> believe should be shared more widely?
>>> 2.) What are the reasons why you aren't doing one of the activities on
>>> our "bottleneck" list?
>>> 
>>> 
>>> I'll start:
>>> 1.) List moderation.
>>> 2.) I'm not merging PR's because I'm not sufficiently familiar with
>>> the current generation Fineract code to feel comfortable evaluating
>>> those PR's.  I'm not serving as a release manager, because I don't
>>> have enough insight into when we are release-ready, and because there
>>> are several pieces of technical knowledge I'd need to acquire to be a
>>> release manager which I don't yet have.  For these reasons, I've
>>> chosen to focus my energies on Fineract CN instead.
>>> 
>>> Best Regards,
>>> Myrle Krantz
>>> 
>>> P.S. After we have a list of causes, I'll initiate a round of
>>> discussion about how we can resolve the causes.
>>> 
>>> 1.) http://www.agileadvice.com/2005/05/15/agilemanagement/truck-factor/
>> 
> 
> 
> 
> -- 
> Regards,
> *Gaurav Saini*



Re: [Mifos-users] Mifos Install Files for Offline Ubuntu Installation

2017-06-18 Thread Vishwas Babu A J
Hi Moses,

You can download the install files directly from sourceforge at 
https://sourceforge.net/projects/mifos/files/latest/download 

Regards,
Vishwas



> On Jun 17, 2017, at 6:06 PM, Moses Billy <abil...@gmail.com> wrote:
> 
> Dear all,
> 
> I have an offline Ubuntu box. I would like to load on MIFOS however the Box 
> has no Internet access. 
> 
> However I can download  the install files from another source and transfer 
> using Flash Drive./ USB storage media
> 
> Could any one with Install files share on google drive so I can download. 
> 
> Thanks in advance.
> 
> Regards
> Moses
> 
> -- 
>  Ambition is so powerful a passion in the human breast, that however high we 
> reach we are never satisfied. Machiavelli, Niccolo 
> <http://quotationsbook.com/quotes/author/4591/> 
> No Life ever grows great until it is focused, dedicated, and desciplined. - 
> Henry Ermerson Fosdick
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> Mifos-users mailing list
> mifos-us...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users