Commit 3e88a6a
ELI-716 | apply UK timezone when parsing start/end dates and iteration date/time (#601)
* ELI-615 | campaign having recent - active start_date supersedes the others sharing same best-status
* ELI-615 | more linting
* ELI-615 | revert commit
* ELI-615 | wip
* ELI-615 | wip
* ELI-615 | wip
* Bump werkzeug from 3.1.5 to 3.1.6
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.1.5...3.1.6)
---
updated-dependencies:
- dependency-name: werkzeug
dependency-version: 3.1.6
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Updated not_member_of operator to NotMemberOf (#594)
* Added vulture to workflows (#585)
* Added vulture to workflows
* Added new make commands and added to project
* Added updated lockfile
* Minimal config with no errors
* Corrected vulture commands
* Generating new lock file
* ELI-615 | modified iterations_result to iteration result
* ELI-615 | fix - naming issues | handle stop iter exception
* ELI-615 | campaign_configs - fixture updated | test case fixed
* ELI-615 | fix flaky tests do to fixture scope
* ELI-615 | fix flaky tests - removed best status test
* ELI-615 | used raw campagin config for tests using iteration dates
* ELI-615 | fix - campaign group is used correctly
* ELI-615 | fix test_campaigns_grouped_by_condition_name_filters_correctly
* ELI-615 | fix tests
* ELI-615 | linting
* ELI-615 | renamed best_iteration_result to iteration_result_summary
* ELI-615 | add more test cases - it tests
* ELI-615 | test commit - try git leaks ignore
* updated iteration time
* Eli 615 : fix - multi campaign target collision (#593)
* ELI-615 | campaign having recent - active start_date supersedes the others sharing same best-status
* ELI-615 | more linting
* ELI-615 | revert commit
* ELI-615 | wip
* ELI-615 | wip
* ELI-615 | wip
* Bump werkzeug from 3.1.5 to 3.1.6
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.1.5...3.1.6)
---
updated-dependencies:
- dependency-name: werkzeug
dependency-version: 3.1.6
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Updated not_member_of operator to NotMemberOf (#594)
* Added vulture to workflows (#585)
* Added vulture to workflows
* Added new make commands and added to project
* Added updated lockfile
* Minimal config with no errors
* Corrected vulture commands
* Generating new lock file
* ELI-615 | modified iterations_result to iteration result
* ELI-615 | fix - naming issues | handle stop iter exception
* ELI-615 | campaign_configs - fixture updated | test case fixed
* ELI-615 | fix flaky tests do to fixture scope
* ELI-615 | fix flaky tests - removed best status test
* ELI-615 | used raw campagin config for tests using iteration dates
* ELI-615 | fix - campaign group is used correctly
* ELI-615 | fix test_campaigns_grouped_by_condition_name_filters_correctly
* ELI-615 | fix tests
* ELI-615 | linting
* ELI-615 | renamed best_iteration_result to iteration_result_summary
* ELI-615 | add more test cases - it tests
* ELI-615 | test commit - try git leaks ignore
* ELI-615 | incorporated review comments
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: oneeb-nhs <258801025+oneeb-nhs@users.noreply.github.com>
Co-authored-by: Robert Bailiff <rob.bailiff1@nhs.net>
* ELI-674 | fix - vs code alignment anomalies
* ELI-674 |wip - updated iteration_datetime property
* ELI-674 - test_iteration_full_datetime_validation checks for datetime
* updated iteration time
* updated test cases for iteration_time
* ELI-674 - fixed flaky test, which was due to iteration/campaign factory
* ELI-674 - tweaks to validator
* ELI-674 - tweaks to validator
* ELI-674 - tweaks to validator
* ELI-674 - tweaks to validator
* ELI-674 - tweaks to validator
* reverted default_iteration_time to iteration_time
* ELI-674 - fix errors
* ELI-674 - new test case for validators
* ELI-674 - linting
* ELI-674 - fixed unit tests
* ELI-674 - fixed integration tests
* Create *.instructions.md
* eja - refining instruction files using Github best practice prompt
* eja - fixing secret scan and vale
* added ignore for gitleaks as well as an allow for the file
* Eli 615 : fix - multi campaign target collision (#593)
* ELI-615 | campaign having recent - active start_date supersedes the others sharing same best-status
* ELI-615 | more linting
* ELI-615 | revert commit
* ELI-615 | wip
* ELI-615 | wip
* ELI-615 | wip
* Bump werkzeug from 3.1.5 to 3.1.6
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.1.5...3.1.6)
---
updated-dependencies:
- dependency-name: werkzeug
dependency-version: 3.1.6
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Updated not_member_of operator to NotMemberOf (#594)
* Added vulture to workflows (#585)
* Added vulture to workflows
* Added new make commands and added to project
* Added updated lockfile
* Minimal config with no errors
* Corrected vulture commands
* Generating new lock file
* ELI-615 | modified iterations_result to iteration result
* ELI-615 | fix - naming issues | handle stop iter exception
* ELI-615 | campaign_configs - fixture updated | test case fixed
* ELI-615 | fix flaky tests do to fixture scope
* ELI-615 | fix flaky tests - removed best status test
* ELI-615 | used raw campagin config for tests using iteration dates
* ELI-615 | fix - campaign group is used correctly
* ELI-615 | fix test_campaigns_grouped_by_condition_name_filters_correctly
* ELI-615 | fix tests
* ELI-615 | linting
* ELI-615 | renamed best_iteration_result to iteration_result_summary
* ELI-615 | add more test cases - it tests
* ELI-615 | test commit - try git leaks ignore
* ELI-615 | incorporated review comments
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: oneeb-nhs <258801025+oneeb-nhs@users.noreply.github.com>
Co-authored-by: Robert Bailiff <rob.bailiff1@nhs.net>
* eli-537 enabling WAF blocks
* eli-537 deleting dev deployment
* eli-537 added US to permitted geos, for preprod only, to allow github action tests to still flow
* eli-537 amending rate limit
* eli-537 minor changes based on initial review
* eli-537 removing Production from description as we also deploy to PreProd
* eli-537 adding ignore for gitleaks
* Bump authlib from 1.6.6 to 1.6.7
Bumps [authlib](https://github.com/authlib/authlib) from 1.6.6 to 1.6.7.
- [Release notes](https://github.com/authlib/authlib/releases)
- [Changelog](https://github.com/authlib/authlib/blob/main/docs/changelog.rst)
- [Commits](authlib/authlib@v1.6.6...v1.6.7)
---
updated-dependencies:
- dependency-name: authlib
dependency-version: 1.6.7
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* ELI-615 | campaign having recent - active start_date supersedes the others sharing same best-status
* ELI-615 | wip
* Added vulture to workflows (#585)
* Added vulture to workflows
* Added new make commands and added to project
* Added updated lockfile
* Minimal config with no errors
* Corrected vulture commands
* Generating new lock file
* ELI-615 | campaign_configs - fixture updated | test case fixed
* ELI-615 | renamed best_iteration_result to iteration_result_summary
* ELI-674 - revert - rebasing
* ELI-674 - pytest for rules_validation/app.py
* ELI-674 - updated comments for sonar fix
* ELI-674 - sonar suppression
* Revert "ELI-674 - sonar suppression"
This reverts commit b4efff2.
* ELI-674 - linting suppression
* enabled conversion of datetime to utc
* ELI-716 | more test cases for time
* ELI-716 | created start_time_utc, end_time_utc, iteration_datetime_utc
* ELI-716 - Dateutil are functions now, not inside classes - review comments of 674
* ELI-716 - iteration_datetime_utc is use for ordering current_iteration
* ELI-716 - current iteration code updated
* ELI-716 | updated testcases and more linting
* ELI-716 | sonar suppression
* ELI-716 | wip
* ELI-716 | wip
* ELI-716 | wip
* ELI-716 | wip
* ELI-716 | renames variables
* ELI-716 | duplicated removed - sonar
* ELI-716 | more bst / gmt tests
* revert back to UK timeZone
* refined the codebase to reuse code
* updated testcases to use UK time
* link parent code updated
* review comments - incorporated
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: oneeb-nhs <258801025+oneeb-nhs@users.noreply.github.com>
Co-authored-by: Robert Bailiff <rob.bailiff1@nhs.net>
Co-authored-by: eddalmond1 <102675624+eddalmond1@users.noreply.github.com>1 parent e2493b7 commit 3e88a6a
10 files changed
Lines changed: 597 additions & 119 deletions
File tree
- src
- eligibility_signposting_api
- common
- model
- services/processors
- rules_validation_api
- validators
- tests
- integration/in_process
- unit/validation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Lines changed: 38 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 61 | | |
87 | 62 | | |
88 | 63 | | |
| |||
294 | 269 | | |
295 | 270 | | |
296 | 271 | | |
297 | | - | |
298 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
299 | 278 | | |
300 | 279 | | |
301 | 280 | | |
| |||
319 | 298 | | |
320 | 299 | | |
321 | 300 | | |
322 | | - | |
323 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
324 | 304 | | |
325 | 305 | | |
326 | 306 | | |
327 | | - | |
328 | | - | |
| 307 | + | |
| 308 | + | |
329 | 309 | | |
330 | 310 | | |
331 | 311 | | |
| |||
344 | 324 | | |
345 | 325 | | |
346 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
347 | 330 | | |
348 | 331 | | |
349 | 332 | | |
| |||
352 | 335 | | |
353 | 336 | | |
354 | 337 | | |
355 | | - | |
| 338 | + | |
356 | 339 | | |
357 | 340 | | |
358 | 341 | | |
| |||
369 | 352 | | |
370 | 353 | | |
371 | 354 | | |
372 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
373 | 360 | | |
374 | | - | |
375 | | - | |
| 361 | + | |
| 362 | + | |
376 | 363 | | |
377 | 364 | | |
378 | 365 | | |
| |||
388 | 375 | | |
389 | 376 | | |
390 | 377 | | |
391 | | - | |
392 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
393 | 381 | | |
394 | 382 | | |
395 | 383 | | |
396 | | - | |
397 | | - | |
| 384 | + | |
| 385 | + | |
398 | 386 | | |
399 | 387 | | |
400 | 388 | | |
| |||
435 | 423 | | |
436 | 424 | | |
437 | 425 | | |
438 | | - | |
439 | | - | |
| 426 | + | |
440 | 427 | | |
441 | 428 | | |
442 | 429 | | |
443 | | - | |
444 | 430 | | |
445 | | - | |
| 431 | + | |
446 | 432 | | |
447 | 433 | | |
448 | 434 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | | - | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
117 | | - | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments