You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Danish Jamal (Jira)" <ji...@apache.org> on 2021/06/03 04:46:00 UTC
[jira] [Commented] (FINERACT-1356) Fineract Client Java SDK needs
manual intervention after generating SDK to make it functional
[ https://issues.apache.org/jira/browse/FINERACT-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356155#comment-17356155 ]
Danish Jamal commented on FINERACT-1356:
----------------------------------------
Their are two major changes in *buildJavaSdk* Gradle task:
# Automatically copy and paste the external service and utils files in generated directory, for this we can make use of copy{} block in Gradle.
# Since the generated sdk has some external file as mentioned in above points, we need to resolve the dependencies and hence need to modify [pom.mustache|https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Java/pom.mustache] and placed it in resource directory, and add templateDir attribute in Gradle task.
> Fineract Client Java SDK needs manual intervention after generating SDK to make it functional
> ---------------------------------------------------------------------------------------------
>
> Key: FINERACT-1356
> URL: https://issues.apache.org/jira/browse/FINERACT-1356
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Chinmay Kulkarni
> Priority: Major
> Labels: fineract-client-sdk, gsoc2021
>
> After generating the Fineract Client Java SDK by using *buildJavaSdk* gradle task, the sdk should work without having to modify any files manually. Currently, the generated SDK contains missing dependencies due to which the build fails.
> We also have several files under *fineract-client/src/main/java/org/apache/fineract/client/* which need to be pasted in the generated SDK.
> All these manual tasks should become a part of the Gradle task and using mustache templates, we should eliminate the missing dependencies.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)