Hi everyone,... my 2 cents:3. https://github.com/openMF/fineract-client was an earlier effort (don't remember which community member created it); the Swagger descriptor was there already for a couple of years (got added to Fineract as a GSoC project), but we (actually Michael) just recently added a separate module to the Fineract repo to do this in one build; all in all I'd say they should be pretty much the same... maybe the one in https://github.com/openMF/fineract/tree/develop/fineract-client could be a little fresher given that it's automatically updated when the Swagger file is updated.
4. Automatic or not... kind of both: the challenge with the current REST resource classes in Fineract is that pretty much all of them are not type safe; there's a lot of manual JSON de-/serialization done; in most cases the HTTP body lands in a String variable first, and as there's no way for the Swagger annotation processor to detect what's going on in those String blobs we had to handcraft some mock classes that are only there to give context/type info to the Swagger annotation processor. This was done that way to maintain 100% backward Java source compatibility. It should cover most of Fineract's API, but there are for sure parts that are a bit out of sync. Note: there's been a discussion to introduce type safety in the REST resource classes, using Jackson instead of GSON, get rid of those mock Java type classes and most (if not all) of the handcrafted JSON de-/serialization... there'll soon be a first PR to try this out with a small self-contained module (maybe client API or something similar).5. See my previous point; the Java code generation is fully automatic in the Fineract repo, but the mock type classes that are used to generate the Swagger file are handcrafted... if something is missing then it was already missing in the Swagger file (aka the mock classes).
6. I know that the Fineract client (the one from the Fineract repo) was used in commercial projects; I have no numbers about volume and performance though.
Cheers,Aleks
Some % of the questions I see on the Mifos slack are about the
availability of the APIs at Demo or the use of Swagger, or something
about the status of the work on
https://github.com/apache/fineract/tree/develop/fineract-client -->
Looking at the GitHub, I see that there were some changes made in
January 2023 on the dev branch.
Meanwhile, the site is down at
https://demo.fineract.dev/fineract-provider/swagger-ui/index.html ,
which should be pulling from the dev branch.
I also note the documentation effort at
https://fineract.apache.org/docs/current/#_fineract_client_documentation
So, can someone comment? What is the focus now or the immediate next steps?
Thanks,
jdailey
James Dailey
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer