-
Notifications
You must be signed in to change notification settings - Fork 10
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
HL-883 | Fix some issues with opening and locking application on handler's side #2181
Conversation
Helsinkibenefit-bf-appl is deployed to: https://helsinkibenefit-bf-appl-2181.test.kuva.hel.ninja 🚀🚀🚀 |
Helsinkibenefit-bf-hdlr is deployed to: https://helsinkibenefit-bf-hdlr-2181.test.kuva.hel.ninja 🚀🚀🚀 |
Helsinkibenefit-bf-bknd is deployed to: https://helsinkibenefit-bf-bknd-2181.test.kuva.hel.ninja 🚀🚀🚀 |
API branch is deployed to platta: https://helsinkilisa-pr2181.api.dev.hel.ninja/healthz 🚀🚀🚀 |
HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2181.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://helsinkibenefit-bf-appl-2181.test.kuva.hel.ninja! 😆🎉🎉🎉 |
API branch is deployed to platta: https://helsinkilisa-pr2181.api.dev.hel.ninja/healthz 🚀🚀🚀 |
HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2181.dev.hel.ninja 🚀🚀🚀 |
APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2181.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://helsinkilisa-ui-pr2181.dev.hel.ninja 😆🎉🎉🎉 |
let's just do a custom endpoint to lock / unlock the application
Codecov Report
@@ Coverage Diff @@
## develop #2181 +/- ##
============================================
- Coverage 27.60% 11.55% -16.05%
============================================
Files 764 165 -599
Lines 15627 4101 -11526
Branches 3501 943 -2558
============================================
- Hits 4314 474 -3840
+ Misses 10741 3492 -7249
+ Partials 572 135 -437
... and 738 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
API branch is deployed to platta: https://helsinkilisa-pr2181.api.dev.hel.ninja/healthz 🚀🚀🚀 |
HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2181.dev.hel.ninja 🚀🚀🚀 |
API branch is deployed to platta: https://helsinkilisa-pr2181.api.dev.hel.ninja/healthz 🚀🚀🚀 |
[yjdh] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2181.dev.hel.ninja 🚀🚀🚀 |
[yjdh] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
[yjdh] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description ✨
Note
On handler's side, there's still problems locking or opening an application when terms have been changed and old (although accepted) ones are not in effect anymore. The locking and opening action uses general
PUT
on/applications/{app_id}/
so it's an error prone process because of rigorous model validation. There's a new ticket for this.There are two ways to implement a fix:
PATCH (partial_update)
actions and implement frontend to call endpoint withPATCH instead of
PUT`