Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE - 36: Initial controllers and their interfaces for VRPs #421

Closed
wants to merge 10 commits into from

Conversation

matt-wills
Copy link
Contributor

@matt-wills matt-wills commented Jun 8, 2021

Initial controllers and their interfaces for VRPs

  • There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct.
  • I assume this is a mistake in the swagger spec and have created this issue: v3.1.8 VRPs - Java codegen results in missing headers and request body OpenBankingUK/read-write-api-specs#51
  • As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingApi) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct.
  • Since these controllers are incomplete, they are not ready to be merged (though as things currently stand, doing so won't do any harm).

Issue: OpenBankingToolkit/openbanking-toolkit#36

@matt-wills matt-wills self-assigned this Jun 8, 2021
@matt-wills matt-wills changed the title 36: Initial controllers and their interfaces for VRPs DO NOT MERGE - 36: Initial controllers and their interfaces for VRPs Jun 8, 2021
@matt-wills matt-wills force-pushed the feature/36-initial-vrp-controllers branch 2 times, most recently from 3f8f240 to 05139a1 Compare June 8, 2021 09:23
nickname = "domesticVrpConsentsConsentIdFundsConfirmationPost",
notes = "create a domestic vrp",
response = Object.class,
// authorizations = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are all the authorization's commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I don't know if they're correct. I mentioned "I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct" in the description above.

@BohoCode
Copy link
Contributor

BohoCode commented Nov 5, 2021

Try model regeneration again as there have been subsequent releases of 3.1.8 including recent changes and fixes.
There was a response to the Issue Matt raised here;
OpenBankingUK/read-write-api-specs#51

Which indicates that the models should generate OK.

Latest 3.1.8 tag is here;
https://github.com/OpenBankingUK/read-write-api-specs/releases/tag/v3.1.8r5

@BohoCode BohoCode force-pushed the feature/36-initial-vrp-controllers branch from 05139a1 to cc8df31 Compare November 26, 2021 15:24
matt-wills and others added 2 commits November 26, 2021 15:54
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct.
- I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51
- As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g.  the scopes) may not be correct.

Issue: OpenBankingToolkit/openbanking-toolkit#36
For better comparison with the newly generated controllers in the
feature/36-variable-recurring-payments-for-3-1-8
branch.
@BohoCode BohoCode force-pushed the feature/36-initial-vrp-controllers branch from 45ea610 to db14cf3 Compare November 26, 2021 15:55
@jsanhc
Copy link
Contributor

jsanhc commented Apr 20, 2022

Closed, VRP payments has been implemented currently from v3.1.8 to v3.1.9.

@jsanhc jsanhc closed this Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants