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

15687 - Pay remove restx #1234

Merged
merged 8 commits into from
Sep 11, 2023
Merged

15687 - Pay remove restx #1234

merged 8 commits into from
Sep 11, 2023

Conversation

ochiu
Copy link
Collaborator

@ochiu ochiu commented Sep 5, 2023

Issue #:
bcgov/entity#15687

Description of changes:

  • remove restx from pay-api

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).

@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Merging #1234 (7ede26c) into main (28ff797) will decrease coverage by 0.86%.
Report is 86 commits behind head on main.
The diff coverage is 91.69%.

@@            Coverage Diff             @@
##             main    #1234      +/-   ##
==========================================
- Coverage   91.54%   90.69%   -0.86%     
==========================================
  Files         153      189      +36     
  Lines        9842    11414    +1572     
==========================================
+ Hits         9010    10352    +1342     
- Misses        832     1062     +230     
Flag Coverage Δ
bcolapi ∅ <ø> (?)
eventlistenerqueue 81.81% <ø> (-0.48%) ⬇️
ftppoller 0.00% <ø> (?)
payadmin ∅ <ø> (?)
payapi 93.73% <91.76%> (-0.17%) ⬇️
paymentjobs 80.22% <90.40%> (+1.26%) ⬆️
paymentreconciliationsqueue 91.44% <95.38%> (?)
reportapi 91.09% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
jobs/payment-jobs/tasks/ejv_payment_task.py 96.46% <ø> (ø)
jobs/payment-jobs/tasks/routing_slip_task.py 89.09% <0.00%> (-0.43%) ⬇️
pay-api/src/pay_api/services/fee_schedule.py 99.53% <ø> (-0.01%) ⬇️
jobs/payment-jobs/tasks/cfs_create_invoice_task.py 72.44% <50.00%> (-0.24%) ⬇️
...i/resources/v1/account_statements_notifications.py 55.81% <55.81%> (ø)
pay-api/src/pay_api/services/bcol_service.py 86.13% <61.53%> (-2.10%) ⬇️
...ay-api/src/pay_api/services/gcp_queue_publisher.py 64.70% <64.70%> (ø)
...ons/src/reconciliations/payment_reconciliations.py 91.16% <76.92%> (ø)
pay-api/src/pay_api/resources/v1/bank_accounts.py 77.41% <77.41%> (ø)
jobs/payment-jobs/tasks/statement_task.py 80.43% <79.66%> (+9.46%) ⬆️
... and 82 more

... and 37 files with indirect coverage changes

📢 Have feedback on the report? Share it here.

@ochiu ochiu marked this pull request as ready for review September 5, 2023 22:09
@ochiu ochiu removed the request for review from kialj876 September 5, 2023 22:10
@ochiu ochiu assigned ochiu and unassigned ochiu Sep 5, 2023
# Conflicts:
#	pay-api/src/pay_api/resources/account.py
@seeker25 seeker25 changed the title 15687 pay remove restx 15687 - Pay remove restx Sep 6, 2023
Copy link
Collaborator

Choose a reason for hiding this comment

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

can ops.py move to ../v1/ ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The ops endpoint is part of the /ops route and not under /api/v1, so I kept it out of the v1 folder as it is not specific to a version.

@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@seeker25
Copy link
Collaborator

seeker25 commented Sep 8, 2023

Please move git mv to preserve the history of the files.

Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

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

Please use git mv to preserve the history of the files. This is more important in PAY than AUTH.

@seeker25
Copy link
Collaborator

seeker25 commented Sep 8, 2023

After reviewing with Ody, git mv wasn't the issue. It's done in the commits

@seeker25 seeker25 dismissed their stale review September 8, 2023 14:50

Incorrect

@seeker25
Copy link
Collaborator

seeker25 commented Sep 8, 2023

Another thing to note we discovered: when moving these files - better not to Squash and merge as is

@seeker25 seeker25 merged commit 2e4373b into main Sep 11, 2023
35 checks passed
@ochiu ochiu deleted the 15687-pay-remove-restx branch November 27, 2023 16:41
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