Skip to content

Resolves issue #1713 , Implementation of Glossary management#1719

Closed
david-rocca wants to merge 6 commits intov2.7.2_feature_updatesfrom
dr_1713
Closed

Resolves issue #1713 , Implementation of Glossary management#1719
david-rocca wants to merge 6 commits intov2.7.2_feature_updatesfrom
dr_1713

Conversation

@david-rocca
Copy link
Copy Markdown
Collaborator

Closes issue #1713

Summary
This PR introduces a new Glossary management capability for the CVE services, allowing Secretariats to manage technical terms and definitions. It also addresses multiple AJV strict mode warnings by explicitly defining types in the JSON schemas and seeds the initial glossary data.

Important Changes
src/model/glossary.js [NEW]

Defined Mongoose schema for Glossary items using services_short_name as a unique identifier.
src/repositories/glossaryRepository.js [NEW]

Implemented repository layer for Glossary CRUD operations with internal field exclusion.
src/controller/glossary.controller/ [NEW]

Created controller and routes for Glossary management (Secretariat only access).
Implemented wrapped response formats for creation and updates.
schemas/glossary/ [NEW]

Added JSON schemas for glossary items and wrapped responses.
datadump/pre-population/glossary.json [NEW]

Added initial seed data for the glossary.
src/scripts/populate.js

Integrated Glossary collection into the database population and indexing process.
src/middleware/schemas/

@david-rocca david-rocca deleted the branch v2.7.2_feature_updates April 7, 2026 19:32
@david-rocca david-rocca closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants