Skip to content

feat: add payment scope support#44

Open
colombefioren wants to merge 24 commits into
preprodfrom
feat/scope
Open

feat: add payment scope support#44
colombefioren wants to merge 24 commits into
preprodfrom
feat/scope

Conversation

@colombefioren

Copy link
Copy Markdown
Collaborator

Changes

  • add scope field to Payment, JPayment and JPaymentMapper
  • add scope param to createPayment() method in repository, plus jpql queries for filtered pagination, counting, aggregation and distinct scope retrieval via findDistinctScopes() that will be consumed by the UI
  • expose scope aware filtering methods in PaymentService
  • add new migration file for that scope addition in payment table
  • expose findAll() in ApplicationRepository for app fetching that will be consumed by PaymentViewController for the app dropdown
  • add necessary tests for those changes

Comment thread src/main/java/school/hei/vola/repository/jpa/JApplicationRepository.java Outdated
Comment thread src/main/java/school/hei/vola/repository/jpa/JPaymentRepository.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/main/java/school/hei/vola/repository/PaymentRepository.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/main/java/school/hei/vola/service/PaymentService.java Outdated
Comment thread src/test/java/school/hei/vola/service/PaymentServiceIT.java Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants