Confluence w Fineract-CN and Fineract

2018-07-05 Thread James Dailey
Hi all -

I believe a decision was taken to have both Fineract and the new
Fineract-CN on the same confluence pages and on the same listserv.  Unless
we can get a new Fineract-CN namespace on the apache confluence
established, this means that we will have pages showing up in various
places for Fineract-CN and discussions on this list also covering both code
bases.

My first suggestion - after watching the email traffic for a few months -
is to include in emails and the documentation pages a tag of either
[Fineract-1.x] or [Fineract-CN].   This may be best in the header or merely
somewhere in the top of the message so that it is searchable.  This is
already occurring in the ticketing on jira, right?

My second suggestion is to restructure the pages on
https://cwiki.apache.org/confluence/display/FINERACT.  I think we
should create a structure where Fineract-1.x and Fineract-CN are top level
entries and then all of the content follows as children of those. I'd be
happy to try to work on that.  It means almost everything must be moved one
level deeper, but I think that will help given that this is a rather large
architectural departure.  That said, I know there are a few things that are
shared at the top, i.e.
https://cwiki.apache.org/confluence/display/FINERACT/Committer%27s+Zone and
much of Contributor Zone.

If we don't do this, then I believe we need to tag pages carefully and to
have notes saying "this is Fineract-1.x or Fineract-CN" throughout.  Right
now we have Fineract-CN entries showing up in various places on the pages
and I suspect more will come as we develop that further.  To anticipate -
yes, most of the content is under the page
https://cwiki.apache.org/confluence/display/FINERACT/Fineract+CN but not
all, and in any case, having this be a secondary level where everything
else is Fineract-1.x is confusing.

Lastly, I do believe we should try to have the authoritative fineract and
fineract-CN documentation be sufficient and complete, and therefore a place
where others will link to.

Thanks,
James


Re: Apache Fineract CN API Documentation

2018-07-05 Thread Isaac Kamga
Hello there,

Trust that this email finds you in good health.

I just hosted the Apache Fineract CN API documentation
 which I've been working on
so Fineracters can view and give some feedback. This will be quite helpful
for GSoC students and developers working with Fineract CN as well as
business persons who want a feel of the API Documentation. Note that this
is just a temporary site for these docs, they'll eventually be hosted on
Apache infrastructure.

@Myrle Kindly take some time to review the aforementioned Pull Request so
we make progress on that front.

I hope this helps.

At Your Service,
Isaac Kamga.

On Thu, Jun 28, 2018 at 11:21 AM Isaac Kamga  wrote:

> Hi James,
>
> Thanks for your email.
>
> Yes, I think the API documentation can be an important part of the Apache
> Fineract CN project.
>
> The document
> 
> I wrote which you quoted above helps anyone generate the snippets and view
> the api docs...developers would be okay with it.
> When I'm done with another iteration of the project, I'll update the
> community on how the documentation actually looks.
>
> At Your Service,
> Isaac Kamga.
>
> On Fri, May 25, 2018 at 10:42 PM James Dailey 
> wrote:
>
>> Isaac - This is a thread I am trying to follow.  Thank you for all the
>> work
>> you're putting in, and to Myrle for being a mentor on this work.  Seems
>> like it is leading to something really important for the project.
>>
>> I wonder if this <
>>
>> https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+API+Documentation
>> >
>> should or could be expanded to explain and document the API or if we
>> should
>> have a separate API Documentation File.
>>
>> At a requirements level, I'm trying to figure out how Mojaloop APIs and
>> Fineract-CN APIs would interact, perhaps as a model for how Fineract-CN
>> and
>> other outside API driven systems will function together.  On the Mojaloop
>> project they have a 190 page documentation of the standard API starting
>> with some statements that I think may also be relevant to how the
>> Fineract-CN services architecture is set up.
>>
>> https://github.com/mojaloop/mojaloop-specification/blob/master/API%20Definition%20v1.0.pdf
>>
>>
>> Specifically, I'm referring to section 3.1.1. .  Of those characteristics
>> mentioned, which apply to Fineract-CN? :
>>
>>- Fully Asychronous (esp for long running processes) :  my guess, seems
>>likely yes on Fineract-CN - yes?
>>- Decentralized (no central authority):  My current understanding is
>>that Fineract-CN has dependencies but not centralization?
>>- Service Oriented :  that seems like a given in Fineract-CN as it is
>>also a micro-services arch.
>>- Not fully stateless (some info required to be kept client and server
>>side to complete fin tranx):  Hmm...
>>- Client (side) decided common ID (complexity reduced by relying on
>>client to initiate tranx calls):  Maybe not yet in our thinking ?
>> contrary?
>>
>> Similarly, there is a reference to how generic URI's are formed with a
>> given example:
>> scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
>>
>> and other things like max header size and so forth.
>>
>> As I lack the skills to actually work on this code, I'm hoping I can
>> contribute at the level of conceptual understanding and requirements, and
>> perhaps add to the Documentation if I can understand what is actually
>> going
>> on here.  If this is already documented, please send me there.
>>
>> ( Myrle - hope this is helpful, if not, let me know please.  )
>>
>> Thanks,
>> - James
>>
>>
>> On Thu, May 24, 2018 at 6:00 AM Isaac Kamga 
>> wrote:
>>
>> > Hello Myrle,
>> >
>> > Trust that you're doing great.
>> >
>> > Following your recommendations, I intended solving the issue using a
>> 3-step
>> > approach;
>> >
>> > 1. Obtain token
>> > 2. Validate token
>> > 3. Add token to MockMvc call as a header.
>> >
>> > However, I've been unable to get status different from 404 (Not Found)
>> and
>> > 403 (Forbidden) in the MockMvc calls...so I think I'm getting at least
>> one
>> > of the 3 steps above wrong.
>> >
>> > Regarding 1.), I used TenantApplicationSecurityTestRule's
>> > getPermissionToken() method to obtain some tokens based on Allowed
>> > operations (Read, Change and Delete) and they were each of the form
>> > "*Bearer
>> > eyJhbGciOiJSU*". Which service actually generates tokens ?
>> > TenantAccessTokenSerializer
>> > in anubis ?
>> >
>> > Concerning 2.), The tokens I obtained failed the
>> > SystemSecurityEnvironment's isValidToken() method.  So how can we
>> validate
>> > the obtained tokens ?
>> >
>> > Regarding 3.), I noticed that Spring MVC Test provides an interface
>> called
>> > the RequestPostProcessor
>> > <
>> >
>> https://github.com/spring-projects/spring-framework/blob/master/spring-test/src/main/java/org/springframewo

Re: Gitbox repo for fineract-site

2018-07-05 Thread Santosh Math
+1

On Thu 5 Jul, 2018, 6:24 PM Ed Cable,  wrote:

> +1
>
> On Wed, Jul 4, 2018 at 7:35 AM Myrle Krantz  wrote:
>
> > Does anyone have any objections to my requesting a gitbox repo for the
> > fineract-site?
> >
> > The mirrored repo is unpleasant to merge PR's for.  I like the
> > two-click UI better than the multiple CLI commands.
> >
> > Best Regards,
> > Myrle
> >
>
>
> --
> *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
>   
>


Re: Gitbox repo for fineract-site

2018-07-05 Thread Ed Cable
+1

On Wed, Jul 4, 2018 at 7:35 AM Myrle Krantz  wrote:

> Does anyone have any objections to my requesting a gitbox repo for the
> fineract-site?
>
> The mirrored repo is unpleasant to merge PR's for.  I like the
> two-click UI better than the multiple CLI commands.
>
> Best Regards,
> Myrle
>


-- 
*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
  


Re: [Mifos-users] hi , i have created the DayBook report, Active clients on date report and also Demand sheet for for JLG loans .

2018-07-05 Thread Santosh Math
Hi Sifiso,

Ramesh modified  the  query  for 'Active Query' report  and it's working
fine. It displays active group loans on a given date. Ramesh shared
another  two reports - Demand sheet and Day sheet - in excel format. I need
to check those  reports and get back  to him. Then he would share  the
respective queries which you  can use it to build pentaho reports.

Thanks
Santosh


On Thu, Jul 5, 2018 at 1:39 PM,  wrote:

> Hi Ramesh,
>
>
>
> I have made changes to your query to adopt it to pentaho but there are
> some challenges to do with the parameters. Maybe I can liaise with Shruthi
> to find out if she can look into it with us. Together with the reports I
> wanted to add to contribute as well.
>
> @Shruthi are you available to assist us with pentaho reports?
>
>
>
> Kind regards,
>
> Sifiso
>
>
>
> *From:* Ramesh Ram 
> *Sent:* Thursday, July 5, 2018 9:29 AM
> *To:* sif...@skyburgsystems.org
> *Subject:* Re: [Mifos-users] hi , i have created the DayBook report,
> Active clients on date report and also Demand sheet for for JLG loans .
>
>
>
> I have attached the result of Daysheet (Branch wise Daybook) and Demand
> sheet(Demand Testing) Reports.
>
>
>
> Thanks,
>
> Ramesh
>
>
>
>
>
> On Fri, Jun 29, 2018 at 6:26 PM, Ramesh Ram 
> wrote:
>
> Hi Sifiso,
>
> I was saw the query which is shared by you., I think Query don't have any
> errors.,
>
>  I was moved to another company.Now I dont have mifos env.
>
> Mifos has custom report option ., you have run the query in your Report
> panel. I think that works fine.First of all I dont have knowledge about
> middleware program.I'm a database developer.
>
>
>
> Thanks,
>
> Ramesh
>
>
>
> On Mon, Jun 25, 2018 at 4:05 PM,  wrote:
>
> Noted Ramesh,
>
>
>
> Let me check your query now. Meanwhile please check the standard reports
> that I have made changes to above. Does it run on your environment. I think
> we’re having a driver compatibility challenge because those changes don’t
> seem to run in Mifos.
>
>
>
> Kind regards,
>
> Sifiso
>
>
>
>
>
>
>
> *From:* Ramesh Ram 
> *Sent:* Monday, June 25, 2018 9:11 AM
> *To:* A good place to start for users or folks new to Mifos. <
> mifos-us...@lists.sourceforge.net>
>
>
> *Subject:* Re: [Mifos-users] hi , i have created the DayBook report,
> Active clients on date report and also Demand sheet for for JLG loans .
>
>
>
> This should be work..
>
> please exclude the commented lines.., (start with --)..,
>
>
>
>
>
>
>
>
>
> select
>
>   --od.name as 'Office',
>
> s.display_name as CRO,
>
>  m.display_name as "group_name",
>
>-- m.id as "group_id",
>
>   count(DISTINCT l.client_id) as 'Clients',
>
>   -- count(DISTINCT l.id) as 'loan_id',
>
>   (CASE WHEN SUBSTRING(recurrence,-2)='SU' then 'Sunday' when
> SUBSTRING(recurrence,-2)='MO' then 'Monday'  WHEN
> SUBSTRING(recurrence,-2)='TU' then 'Tuesday' when
> SUBSTRING(recurrence,-2)='WE' then 'Wednesday'
>
>   when SUBSTRING(recurrence,-2)='TH' then 'Thursday'  WHEN
> SUBSTRING(recurrence,-2)='FR' then 'Friday' when
> SUBSTRING(recurrence,-2)='SA' then 'Saturday'  end) as Day
>
>
>
>   -- l.disbursedon_date,
>
>   --gl.LatLong,
>
>   --concat (gl.Address,',',gl.Landmark) as 'Meeting Place',
>
>   --cv.`code_value` as 'Time'
>
>   from m_group m
>
>   inner join m_loan l on l.group_id=m.id
>
>  -- LEFT JOIN (select office_id,id,name from OFFICE_LIST where
> id=${officeId}) od on od.office_id=m.office_id
>
>  -- LEFT JOIN GroupLocation gl ON gl.group_id=m.id
>
>  -- LEFT JOIN MeetingTime on mt.group_id=m.id and
> l.disbursedon_date=mt.Date
>
>  -- LEFT JOIN m_code_value  ON cv.id=mt.MeetingTime_cd_Time
>
>   INNER JOIN (select a.id as 'group_id',a.parent_id from m_group a where
> a.parent_id is not null)b ON b.group_id=m.id
>
> LEFT JOIN m_calendar_instance ci on ci.entity_id=b.parent_id and
> entity_type_enum=4
>
> INNER JOIN m_calendar mc on mc.id=ci.calendar_id
>
> LEFT JOIN m_staff s on s.id=m.staff_id
>
>  where  ((l.expected_maturedon_date>'2018-02-10') or (l.closedon_date
> >'2018-02-10') or 
> >'2018-02-10' and  (l.disbursedon_date<='2018-02-10') and (l.loan_status_id=300 or
> '2018-02-10'
>   group by m.id
>
>
>
> On Sat, Jun 23, 2018 at 1:48 PM,  wrote:
>
> Hi Santosh,
>
>
>
> I have noticed that the select concat queries that run in stretchy reports
> and pentaho do not run in the database directly. They produce errors there.
> All the queries in the pentaho reports in Mifos perform the same way.
>
>
>
> I have a simulation attached for active client loans as at a date report
> that you can test attached for inclusion into fineract.
>
>
>
> I have more if you would like to test and include, if you’re interested.
>
>
>
> Kind regards,
>
>
>
> Sifiso
>
>
>
>
>
> *From:* Santosh Math 
> *Sent:* Saturday, June 23, 2018 2:49 AM
> *To:* mifos-users 
> *Cc:* Mifos software development ;
> Dev 
> *Subject:* Re: [Mifos-users] hi , i have created the DayBook report,
> Active clients on date report and also Demand sheet for for JLG loans .
>
>
>
> Hi Ramesh,
>
>
>
> Could u

Android Client

2018-07-05 Thread Karthik Anathkrishnan
Hello All,

We are trying to connect android client with our application which is OAuth
enabled. Unable to enable Oauth from android client.

Has some one enabled OAuth from Android client or am i missing something.?

Thanks,
Karthik