• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GrottoCenter / grottocenter-api / 28215927751
88%

Build:
DEFAULT BRANCH: develop
Ran 26 Jun 2026 03:52AM UTC
Jobs 1
Files 490
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2026 03:50AM UTC coverage: 87.549% (-0.2%) from 87.797%
28215927751

push

github

ClemRz
feat(organization): add geographic entity association management (#1598)

- Add junction models (JOrganizationCountry, JOrganizationMassif, JOrganizationRegion)
- Add set-organization and remove-organization controllers for countries, massifs, and regions
- Add GeoAssociationService for shared association/dissociation logic
- Add validateOrganizationId policy for input validation
- Update TGrotto, TCountry, TMassif, TISO31662 models with new associations
- Update country, massif, and region find controllers to populate organizations
- Add converter mappings for organization associations
- Add SQL migration for junction tables and indexes
- Update Swagger documentation with new endpoints
- Add integration tests for all new endpoints and converters

# Conflicts:
#	api/controllers/v1/country/find.js
#	api/controllers/v1/massif/find.js
#	api/controllers/v1/region/find-by-country.js
#	api/models/TCountry.js
#	api/models/TISO31662.js
#	api/models/TMassif.js
#	api/services/mapping/converters.js
#	test/integration/4_routes/Caves/update.test.js

4862 of 5827 branches covered (83.44%)

Branch coverage included in aggregate %.

161 of 207 new or added lines in 15 files covered. (77.78%)

9067 of 10083 relevant lines covered (89.92%)

130.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
70.77
api/services/GeoAssociationService.js
3
70.59
api/controllers/v1/country/remove-organization.js
3
73.68
api/controllers/v1/country/set-organization.js
3
70.59
api/controllers/v1/massif/remove-organization.js
3
73.68
api/controllers/v1/massif/set-organization.js
3
73.68
api/controllers/v1/region/remove-organization.js
3
76.19
api/controllers/v1/region/set-organization.js
3
95.99
-0.97% api/services/mapping/converters.js
2
86.36
-13.64% api/controllers/v1/country/find.js
1
86.96
-2.52% api/controllers/v1/massif/find.js
Jobs
ID Job ID Ran Files Coverage
1 28215927751.1 26 Jun 2026 03:52AM UTC 490
87.55
GitHub Action Run
Source Files on build 28215927751
  • Tree
  • List 490
  • Changed 13
  • Source Changed 12
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28215927751
  • 7902a330 on github
  • Prev Build on develop (#28215175092)
  • Next Build on develop (#28252834169)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc