SocialGouv / domifa

Faciliter l'accès aux droits pour les personnes sans domicile stable, en simplifiant la gestion de la domiciliation
https://domifa.fabrique.social.gouv.fr
Apache License 2.0
14 stars 10 forks source link

Intégration de Metabase dans l'admin DomiFa #3320

Closed pYassine closed 1 month ago

github-advanced-security[bot] commented 1 month ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 66.90%. Comparing base (9cc880d) to head (288977b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320/graphs/tree.svg?width=650&height=150&src=pr&token=ydhKiPXRFO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv)](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) ```diff @@ Coverage Diff @@ ## master #3320 +/- ## ========================================== - Coverage 67.00% 66.90% -0.10% ========================================== Files 898 899 +1 Lines 14887 14934 +47 Branches 2141 2169 +28 ========================================== + Hits 9975 9992 +17 + Misses 4864 4644 -220 - Partials 48 298 +250 ``` | [Files](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) | Coverage Δ | | |---|---|---| | [...ckend/src/\_portail-admin/\_dto/MetabaseStats.dto.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2F_portail-admin%2F_dto%2FMetabaseStats.dto.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvX3BvcnRhaWwtYWRtaW4vX2R0by9NZXRhYmFzZVN0YXRzLmR0by50cw==) | `100.00% <100.00%> (ø)` | | | [...ackages/backend/src/config/domifaConfig.service.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fconfig%2FdomifaConfig.service.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvY29uZmlnL2RvbWlmYUNvbmZpZy5zZXJ2aWNlLnRz) | `89.28% <ø> (ø)` | | | [...es/usager/usagerHistoryStatesRepository.service.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fdatabase%2Fservices%2Fusager%2FusagerHistoryStatesRepository.service.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvZGF0YWJhc2Uvc2VydmljZXMvdXNhZ2VyL3VzYWdlckhpc3RvcnlTdGF0ZXNSZXBvc2l0b3J5LnNlcnZpY2UudHM=) | `90.47% <ø> (ø)` | | | [...r/exportStructureStatsWorksheetSection1Renderer.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fexcel%2Fexport-structure-stats%2Fworksheet-renderer%2FexportStructureStatsWorksheetSection1Renderer.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvZXhjZWwvZXhwb3J0LXN0cnVjdHVyZS1zdGF0cy93b3Jrc2hlZXQtcmVuZGVyZXIvZXhwb3J0U3RydWN0dXJlU3RhdHNXb3Jrc2hlZXRTZWN0aW9uMVJlbmRlcmVyLnRz) | `100.00% <100.00%> (ø)` | | | [...ces/custom-docs/tests/CUSTOM\_DOC\_COURRIER\_REFUS.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2Fusagers%2Fservices%2Fcustom-docs%2Ftests%2FCUSTOM_DOC_COURRIER_REFUS.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvdXNhZ2Vycy9zZXJ2aWNlcy9jdXN0b20tZG9jcy90ZXN0cy9DVVNUT01fRE9DX0NPVVJSSUVSX1JFRlVTLnRz) | `100.00% <ø> (ø)` | | | [...nts/structure-stats/structure-stats.component.html](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fstats%2Fcomponents%2Fstructure-stats%2Fstructure-stats.component.html&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL3N0YXRzL2NvbXBvbmVudHMvc3RydWN0dXJlLXN0YXRzL3N0cnVjdHVyZS1zdGF0cy5jb21wb25lbnQuaHRtbA==) | `100.00% <ø> (ø)` | | | [...nents/structure-stats/structure-stats.component.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fstats%2Fcomponents%2Fstructure-stats%2Fstructure-stats.component.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL3N0YXRzL2NvbXBvbmVudHMvc3RydWN0dXJlLXN0YXRzL3N0cnVjdHVyZS1zdGF0cy5jb21wb25lbnQudHM=) | `60.00% <100.00%> (+1.37%)` | :arrow_up: | | [...istorique-sms/profil-historique-sms.component.html](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Ffrontend%2Fsrc%2Fapp%2Fmodules%2Fusager-profil%2Fcomponents%2F_historiques%2Fprofil-historique-sms%2Fprofil-historique-sms.component.html&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvZnJvbnRlbmQvc3JjL2FwcC9tb2R1bGVzL3VzYWdlci1wcm9maWwvY29tcG9uZW50cy9faGlzdG9yaXF1ZXMvcHJvZmlsLWhpc3RvcmlxdWUtc21zL3Byb2ZpbC1oaXN0b3JpcXVlLXNtcy5jb21wb25lbnQuaHRtbA==) | `100.00% <ø> (ø)` | | | [...uctures/controllers/admin-structures.controller.ts](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?src=pr&el=tree&filepath=packages%2Fbackend%2Fsrc%2F_portail-admin%2Fadmin-structures%2Fcontrollers%2Fadmin-structures.controller.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv#diff-cGFja2FnZXMvYmFja2VuZC9zcmMvX3BvcnRhaWwtYWRtaW4vYWRtaW4tc3RydWN0dXJlcy9jb250cm9sbGVycy9hZG1pbi1zdHJ1Y3R1cmVzLmNvbnRyb2xsZXIudHM=) | `70.17% <17.14%> (-23.50%)` | :arrow_down: | ... and [118 files with indirect coverage changes](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). Last update [9cc880d...288977b](https://app.codecov.io/gh/SocialGouv/domifa/pull/3320?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SocialGouv).
github-actions[bot] commented 1 month ago

🎉 Deployment for commit 288977bdeee49085ea405dd4076e94f15975f298 :

Ingresses - 🚀 [https://admin-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/](https://admin-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/) - 🚀 [https://api-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/](https://api-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/) - 🚀 [https://domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/](https://domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/) - 🚀 [https://mon-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/](https://mon-domifa-feat-metabase-integration.ovh.fabrique.social.gouv.fr/)
Docker images - 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/backend:sha-288977bdeee49085ea405dd4076e94f15975f298 - 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/frontend:sha-288977bdeee49085ea405dd4076e94f15975f298 - 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-admins:sha-288977bdeee49085ea405dd4076e94f15975f298 - 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-usagers:sha-288977bdeee49085ea405dd4076e94f15975f298
Debug - [📕 Loki logs for namespace domifa-feat-metabase-integration](https://grafana.fabrique.social.gouv.fr/explore?orgId=1&left=%5B%22now-6h%22,%22now%22,%22Loki%22,%7B%22expr%22:%22%7Bnamespace%3D%5C%22domifa-feat-metabase-integration%5C%22%7D%22%7D%5D) - [📈 Pods monitoring for namespace domifa-feat-metabase-integration](https://grafana.fabrique.social.gouv.fr/d/dRAC0MRIz/kubernetes-compute-resources-namespace-pods?orgId=1&refresh=10s&var-datasource=default&var-cluster=dev2&var-namespace=domifa-feat-metabase-integration) - [📈 Workloads monitoring for namespace domifa-feat-metabase-integration](https://grafana.fabrique.social.gouv.fr/d/m_UCAGgIz/kubernetes-compute-resources-namespace-workloads?orgId=1&refresh=10s&var-datasource=default&var-cluster=dev2&var-namespace=domifa-feat-metabase-integration&var-type=deployment) - [🐘 CNPG pg](https://grafana.fabrique.social.gouv.fr/d/z7FCA4Nn1/cloudnativepg?orgId=1&refresh=30s&var-DS_PROMETHEUS=default&var-namespace=domifa-feat-metabase-integration&var-cluster=pg&var-instances=All)
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

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

See analysis details on SonarCloud

SocialGroovyBot commented 1 month ago

:tada: This PR is included in version 2.168.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: