openmf / fineract-client Goto Github PK
View Code? Open in Web Editor NEWMifos Fineract Client is a Java based library that provides a simple interface to interact with the Apache Fineract 1.x Platform APIs
License: Mozilla Public License 2.0
Mifos Fineract Client is a Java based library that provides a simple interface to interact with the Apache Fineract 1.x Platform APIs
License: Mozilla Public License 2.0
@Grandolf49 make sure that https://github.com/openMF/fineract-client/blob/767943e88793350fd6b0e36dd8d370e541a54995/src/main/java/org/mifos/fineract/FineractApiClient.java OAuth support doesn't pass secrets in URL but in x-www-form-urlencoded Body, see https://issues.apache.org/jira/browse/FINERACT-1145 for https://issues.apache.org/jira/browse/FINERACT-629.
Summary
Currently, the API response is wrapped in Call<ApiResponse>
object.
Expectation
It would be very helpful for the Android Applications to get the response in either Observable
or LiveData
The Spec File used to generate the library should be added to the project in case if anyone wants to try out customizing the library
To use the SDK, we have to follow these steps:
FineractApiClient
FineractApiClient
User should not have to create the Service. The library should handle service creation and provide getter methods for the user.
Example: https://github.com/openMF/android-client/blob/master/mifosng-android/src/main/java/com/mifos/api/BaseApiManager.java
The major issues with the fineract swagger resources are fixed, which need to be included here also. This issue focuses on regenerating and updating the SDK after including all those fixes.
Below are the tickets
@Grandolf49 perhaps it would be useful to add something to the top of the https://github.com/openMF/fineract-client/blob/master/README.md which clarifies how this project relates to https://github.com/apache/fineract/blob/develop/docs/developers/swagger/client.md ?
Because it's actually not clear e.g. to me (and perhaps to others, in the future). From what little I understand, this looks like it may be a Git repo containing the output of the code that one can generate by following https://github.com/apache/fineract/blob/develop/docs/developers/swagger/client.md, is that right? But you seem to also be making manual extensions here (like #11), and letting Dependabot upgrade many 3rd-parties (which, ideally, should better be made "upstream" in Swagger Codegen, which would then release new versions, which Apache Fineract would, eventually, pick up through Dependabot upgrades of Swagger Codegen).
Swagger Codegen generated blank test files to test the APIs. It is up to us to write the tests according to our needs. Currently, the APIs are not being tested although, test files are present.
To build the project, the user is expected to have Maven installed in their system.
Ideally, the project should contain a Maven Wrapper which will allow a user to build the project by executing the command ./mvnw package
The documentation generated by Swagger Codegen is incorrect.
Eg: AccountNumberFormatApi.md
In the documentation, the Base URL contains an additional http:// string. This was because the API Spec File was incorrect. It has been fixed now.
This might be a tedious task to solve. This file was used to generate the client library.
Possible Resolution
Currently this markdown is generated.
But instead the latest released version has more convenient and clear documentation.
Hence its better to modify README.mustache template in corder to make future sdk release easy and consistent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.