You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2020/08/01 17:27:27 UTC
[GitHub] [fineract] Grandolf49 opened a new pull request #1228: FINERACT-838 Updated swagger-codegen-cli version
Grandolf49 opened a new pull request #1228:
URL: https://github.com/apache/fineract/pull/1228
## Description
Updated the `swagger-codegen-cli` version to `3.0.18` since all greater versions throw error. https://github.com/swagger-api/swagger-codegen/issues/10157
## Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
- [x] Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.
- [x] Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.
- [x] API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm has been updated with details of any API changes.
- [x] Integration tests have been created/updated for verifying the changes made.
- [x] All Integrations tests are passing with the new commits.
- [x] Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the list.)
Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] Grandolf49 commented on pull request #1228: FINERACT-838 Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
Grandolf49 commented on pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#issuecomment-667628457
@vorburger Upon further local testing, I noticed that the build for generated code was failing due to incomplete base URL in [fineract.yml](https://github.com/apache/fineract/blob/c5c62de491a1ca2d26457f99c49e48d0cca7c0bc/fineract-provider/config/swagger/fineract-input.yaml#L25) file and the version of `swagger-codegen-cli`.
Now, generated code builds successfully on Java 8 with these changes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] vorburger commented on a change in pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
vorburger commented on a change in pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#discussion_r464088156
##########
File path: fineract-provider/config/swagger/fineract-input.yaml
##########
@@ -22,7 +22,7 @@ info:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
servers:
-- url: /fineract-provider/api/v1
+- url: https://demo.openmf.org/fineract-provider/api/v1
Review comment:
This currently appears to be down? But even if it was up, I would much prefer this to use `fineract.dev` instead:
```suggestion
- url: https://demo.fineract.dev/fineract-provider/api/v1
```
@Grandolf49 see https://www.fineract.dev for background... OK for you?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] vorburger commented on a change in pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
vorburger commented on a change in pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#discussion_r464089044
##########
File path: fineract-provider/config/swagger/fineract-input.yaml
##########
@@ -22,7 +22,7 @@ info:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
servers:
-- url: /fineract-provider/api/v1
+- url: https://demo.openmf.org/fineract-provider/api/v1
Review comment:
@Grandolf49 in the interest of moving forward with this, I'll add this to your branch by self-accepting this suggestion to your PR, and if the build still passes, I'll merge this. Please comment here if you disagree with changing this URL, and we can discuss it further. Whatever server we use server is IMHO "wrong" anyway - we should use the LOCAL server - otherwise this will never work for new APIs being added... I'll comment about this on FINERACT-838.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] vorburger commented on a change in pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
vorburger commented on a change in pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#discussion_r464088156
##########
File path: fineract-provider/config/swagger/fineract-input.yaml
##########
@@ -22,7 +22,7 @@ info:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
servers:
-- url: /fineract-provider/api/v1
+- url: https://demo.openmf.org/fineract-provider/api/v1
Review comment:
This currently appears to be down? But even if it was up, I would much prefer this to use `fineract.dev` instead:
```suggestion
- url: https://demo.openmf.org/fineract-provider/api/v1
```
@Grandolf49 see https://www.fineract.dev for background... OK for you?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] Grandolf49 commented on a change in pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
Grandolf49 commented on a change in pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#discussion_r464200768
##########
File path: fineract-provider/config/swagger/fineract-input.yaml
##########
@@ -22,7 +22,7 @@ info:
name: Apache 2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
servers:
-- url: /fineract-provider/api/v1
+- url: https://demo.openmf.org/fineract-provider/api/v1
Review comment:
Yeah sure! This works for me!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] vorburger merged pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
vorburger merged pull request #1228:
URL: https://github.com/apache/fineract/pull/1228
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [fineract] vorburger commented on pull request #1228: FINERACT-838 TravisCI Setup | Updated swagger-codegen-cli version
Posted by GitBox <gi...@apache.org>.
vorburger commented on pull request #1228:
URL: https://github.com/apache/fineract/pull/1228#issuecomment-667690608
Sh#* I actually meant to "squash" this, as we usually do... too late. Anyway.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org