bcgov / met-public

Modern Engagement Tool ops
Apache License 2.0
6 stars 19 forks source link

[To Main] Tenant CRUD implementation #2524

Closed NatSquared closed 3 months ago

NatSquared commented 3 months ago

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-605 Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-606

This PR consists of pre-approved changes:

2508

2510

2511

2512

2513

2515

2518

2519

2522

Description of changes:

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

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 82.23801% with 100 lines in your changes are missing coverage. Please review.

Project coverage is 76.04%. Comparing base (4993462) to head (b0555d2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2524 +/- ## ========================================== + Coverage 75.81% 76.04% +0.23% ========================================== Files 597 617 +20 Lines 21432 22093 +661 Branches 1575 1686 +111 ========================================== + Hits 16249 16801 +552 - Misses 4926 5028 +102 - Partials 257 264 +7 ``` | [Flag](https://app.codecov.io/gh/bcgov/met-public/pull/2524/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov) | Coverage Δ | | |---|---|---| | [metapi](https://app.codecov.io/gh/bcgov/met-public/pull/2524/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov) | `87.98% <88.18%> (+0.04%)` | :arrow_up: | | [metweb](https://app.codecov.io/gh/bcgov/met-public/pull/2524/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov) | `64.73% <80.50%> (+0.84%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/bcgov/met-public/pull/2524?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov) | Coverage Δ | | |---|---|---| | [met-api/src/met\_api/models/tenant.py](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-api%2Fsrc%2Fmet_api%2Fmodels%2Ftenant.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LWFwaS9zcmMvbWV0X2FwaS9tb2RlbHMvdGVuYW50LnB5) | `100.00% <100.00%> (ø)` | | | [met-api/src/met\_api/schemas/tenant.py](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-api%2Fsrc%2Fmet_api%2Fschemas%2Ftenant.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LWFwaS9zcmMvbWV0X2FwaS9zY2hlbWFzL3RlbmFudC5weQ==) | `100.00% <100.00%> (ø)` | | | [met-api/src/met\_api/services/tenant\_service.py](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-api%2Fsrc%2Fmet_api%2Fservices%2Ftenant_service.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LWFwaS9zcmMvbWV0X2FwaS9zZXJ2aWNlcy90ZW5hbnRfc2VydmljZS5weQ==) | `95.38% <100.00%> (+20.38%)` | :arrow_up: | | [met-web/src/apiManager/endpoints/index.ts](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2FapiManager%2Fendpoints%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvYXBpTWFuYWdlci9lbmRwb2ludHMvaW5kZXgudHM=) | `100.00% <ø> (ø)` | | | [met-web/src/components/common/Input/FormField.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2FInput%2FFormField.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vSW5wdXQvRm9ybUZpZWxkLnRzeA==) | `100.00% <100.00%> (ø)` | | | [met-web/src/components/common/Input/TextInput.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2FInput%2FTextInput.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vSW5wdXQvVGV4dElucHV0LnRzeA==) | `100.00% <100.00%> (ø)` | | | [met-web/src/components/common/Input/index.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2FInput%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vSW5wdXQvaW5kZXgudHN4) | `100.00% <100.00%> (ø)` | | | [met-web/src/components/common/Layout/index.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2FLayout%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vTGF5b3V0L2luZGV4LnRzeA==) | `81.81% <100.00%> (ø)` | | | [...eb/src/components/common/Navigation/Breadcrumb.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2FNavigation%2FBreadcrumb.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vTmF2aWdhdGlvbi9CcmVhZGNydW1iLnRzeA==) | `100.00% <100.00%> (ø)` | | | [met-web/src/components/common/index.tsx](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree&filepath=met-web%2Fsrc%2Fcomponents%2Fcommon%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov#diff-bWV0LXdlYi9zcmMvY29tcG9uZW50cy9jb21tb24vaW5kZXgudHN4) | `92.22% <ø> (ø)` | | | ... and [16 more](https://app.codecov.io/gh/bcgov/met-public/pull/2524?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov) | | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/bcgov/met-public/pull/2524/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcgov)
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
4 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud