Hi Cajetan Find the path below for self client Api Resource fineract/fineract-provider/src/main/java/org/apache/fineract/portfolio/self/client/api/SelfClientsApiResource.java
On Mon, Aug 5, 2019 at 11:09 AM Cajetan Rodrigues <rigrod1...@gmail.com> wrote: > Can you please point a repo where the self-service APIs are being created > and also let me know who else is working on the backend other than you, so > I get in touch with them. > > Thanks and Regards, > > *Cajetan Christopher Rodrigues* > *B.E Computer Engineering* > *rigrod1...@gmail.com <rigrod1...@gmail.com>* > *Google Summer of code 2019* > > > On Mon, Aug 5, 2019 at 12:18 AM Kang Breder <kangbre...@gmail.com> wrote: > >> Thank you Cajetan for your help. >> I will try that out. The Fineract APIs are on every module of the >> codebase in the api package. >> >> Regards >> >> On Sat, Aug 3, 2019 at 4:31 PM Cajetan Rodrigues <rigrod1...@gmail.com> >> wrote: >> >>> Also, can you point that project where all the fineract APIs have been >>> created? y be, I can try setting it up locally this week if i'm done with >>> my planned tasks with online banking app 3.0. >>> >>> Also let me know which all interns are currently working in the backend >>> more specifically with the self service apis >>> >>> Thanks and Regards, >>> >>> *Cajetan Christopher Rodrigues* >>> *B.E Computer Engineering* >>> *rigrod1...@gmail.com <rigrod1...@gmail.com>* >>> *Google Summer of code 2019* >>> >>> >>> On Sat, Aug 3, 2019 at 8:57 PM Cajetan Rodrigues <rigrod1...@gmail.com> >>> wrote: >>> >>>> Thanks for the update Kang. >>>> >>>> I think you are facing CORS error, because you might have not setup >>>> CORS decorator before each and every entity ie Java Bean. >>>> >>>> Maybe this could help. (To be added before each entity bean defined in >>>> the models folder) >>>> >>>> @CrossOrigin(origins = "*", allowedHeaders = "*") >>>> >>>> Ref : >>>> https://howtodoinjava.com/spring5/webmvc/spring-mvc-cors-configuration/ >>>> >>>> Thanks and Regards, >>>> >>>> *Cajetan Christopher Rodrigues* >>>> *B.E Computer Engineering* >>>> *rigrod1...@gmail.com <rigrod1...@gmail.com>* >>>> *Google Summer of code 2019* >>>> >>>> >>>> On Sat, Aug 3, 2019 at 8:47 PM Kang Breder <kangbre...@gmail.com> >>>> wrote: >>>> >>>>> >>>>> Hi Cajatan, >>>>> >>>>> Swagger has been integrated for the self service API. We are currently >>>>> using swagger-core and swagger-core annotations to generate the swagger >>>>> docs. >>>>> >>>>> The swagger UI has not yet been hosted on Tomcat. I am using python >>>>> SimpleHTTPServer for hosting. See the link below >>>>> http://localhost:8000/ >>>>> But right now calls can not yet be made from swagger UI itself. That >>>>> is one of issues i talked about during the meeting today. It may be CORS >>>>> problem or the UI will have to be hosted on Tomcat. I was wondering >>>>> whether >>>>> CORS has been enabled on server side. May be you try testing too. >>>>> >>>>> >>>>> On Sat, Aug 3, 2019 at 3:49 PM Cajetan Rodrigues <rigrod1...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi Kang, >>>>>> >>>>>> As you said in today's check-in, the self-service APIs have been >>>>>> integrated with swagger. >>>>>> >>>>>> It would be helpful if can provide the link for the same. Since there >>>>>> are ton of apis present on the fineract api doc which is documented as a >>>>>> static page. So it's not practical to copy-paste each and every request >>>>>> and >>>>>> check in postman. >>>>>> >>>>>> A faster way would be swagger where we can have hands-on the apis on >>>>>> the fly. >>>>>> >>>>>> I am not sure if Spring Boot or Spring MVC is being used at >>>>>> the moment. But if it's Spring Boot, the dependency does wonders. Just >>>>>> need >>>>>> to hook in the swagger config file, and it auto generates all the apis in >>>>>> the controllers created. >>>>>> It auto-scans it. >>>>>> >>>>>> Let me know what you think. :) >>>>>> >>>>>> Thanks and Regards, >>>>>> >>>>>> *Cajetan Christopher Rodrigues* >>>>>> *B.E Computer Engineering* >>>>>> *rigrod1...@gmail.com <rigrod1...@gmail.com>* >>>>>> *Google Summer of code 2019* >>>>>> Mifos-developer mailing list >>>>>> mifos-develo...@lists.sourceforge.net >>>>>> Unsubscribe or change settings at: >>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer >>>>> >>>>> Mifos-developer mailing list >>>>> mifos-develo...@lists.sourceforge.net >>>>> Unsubscribe or change settings at: >>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer >>>> >>>>