Commit graph

49 commits

Author SHA1 Message Date
62c221f6b6
feat(health): add oracle probe and normalize health checks
Refactor health check DTOs around a common CheckResult contract and remove the\nlegacy HealthChecks aggregate object.\n\nAdd a dedicated /api/v1/health/oracle endpoint with response mapping, OpenAPI\nschema updates, and Bruno request coverage.\n\nAlign feature, unit, integration, architecture and OpenAPI tests with the new\nset-based checks representation and make Oracle health tests deterministic in CI.\n\nUpdate command documentation to the uwil:* command namespace.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-06 14:51:46 +02:00
18fb5f8ac2
refactor(find): use polymorphic outputs for not found cases
Replace not-found exceptions in Arcadia find/show flows with typed outputs (Found*/NotFoundOutput) and map not-found results in presenters/responses while preserving HTTP 404 problem details.

Adjust architecture and unit tests to cover concrete output classes, and remove obsolete Arcadia not-found exception classes and their tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 15:50:01 +02:00
0adbe7175b
feat(employees): remove siteId parameter in favor of siteIds in request, OpenAPI spec and Bruno 2026-09-18 11:51:15 +02:00
2b2ca42c99
docs(bruno): align query parameters with OpenAPI specification 2026-09-18 10:07:15 +02:00
2b8aae51af
docs(openapi): standardize inco-sheets list and search responses to IncoShort and remove short parameter 2026-09-18 10:06:45 +02:00
5b2c0e58ce
docs(openapi): standardize array query parameter names without brackets and enable spectator validation 2026-09-17 18:15:52 +02:00
86584c5b94
fix(inco): resolve brand filter via REFP.ARTICLE_REF COD_MARQUE and align replicate tables 2026-09-17 18:10:19 +02:00
111170cd7a
docs(openapi): add array bracket notation to brands and siteIds query parameters 2026-09-17 17:28:51 +02:00
d63723a113
feat(inco): add description field to IncoShort projection and OpenAPI schema 2026-09-16 10:18:00 +02:00
df04ab87ac
feat(env): add MATRICULE variable to configuration files
This change introduces the MATRICULE variable in the environment configuration
to allow dynamic endpoint generation.
2026-09-01 17:29:19 +02:00
bc6a603913
feat(brands): remove internal uuid from brand responses and query only by brandCode 2026-08-31 17:35:32 +02:00
7312289811
feat(employees): rename ArcadiaEmployeeId to SiRhMatricule and expose matricule in api responses 2026-08-31 17:29:18 +02:00
2606ac882e
feat(inco): mask internal allergen ids in api presentation responses 2026-08-31 17:23:02 +02:00
4434eb5757
feat(inco): rename identifiers to incoId/incoCompoId and resolve sellFamilly label 2026-08-31 17:16:38 +02:00
f3c59d8ba4
fix(docs): update API endpoint URL in Root.yml
Removed trailing slash from the API endpoint URL for consistency.
2026-08-31 16:27:15 +02:00
9dab38e722
chore(docs): update API endpoint in Root.yml and add VM Linux environment
- Removed trailing slash from API URL for consistency.
- Added VM Linux environment configuration with necessary variables.
2026-08-31 15:36:16 +02:00
2d7d7d5077
style(docs): format SQL query comments in README 2026-08-31 11:38:38 +02:00
ce528d377e
fix(openapi): replace invalid nullable property with OpenAPI 3.1 multi-type 2026-08-31 11:31:42 +02:00
e60327d286
docs(arcadia): add brand queries, HTTP API endpoint, and CLI usage in README 2026-08-31 11:30:41 +02:00
4302b89d88
fix(arcadiaId): update pattern to allow larger numeric IDs
Updated the regex pattern for ArcadiaId to accept larger numeric values.
2026-08-31 11:27:32 +02:00
f7db5105ad
docs: update IncoSheets search parameters and local dev config
Updated the search URL and parameters in Search Inco Sheets.yml for consistency.
Corrected INCOSHEET_ID value in Local Dev.yml for accurate testing.
2026-08-26 16:26:50 +02:00
beec93fe4f
docs: add Digital-salarie table structure to documentation
Includes basic structure for RU_PERSONNE_SIRH table.
2026-08-26 16:26:42 +02:00
361cf230e3
refactor: replicate and reproduce arcadia tables 2026-08-26 15:22:00 +02:00
3582a3928c
refactor(pagination): clamp out-of-bounds pagination values silently 2026-08-25 08:26:50 +02:00
bdb72b65d6
docs(architecture): add ReadModel entity example in guide nouveau usecase 2026-08-24 21:46:06 +02:00
6f08526c7b
docs(architecture): update architecture overview with AggregateRoot and ReadModel 2026-08-24 21:45:10 +02:00
e31767cfd0
refactor(brand): make ArcadiaId strictly string value extending EntityId 2026-08-24 21:45:04 +02:00
8e7d3e1dca
docs: update OpenAPI spec and Bruno collection for RFC 3339 UTC and health check 2026-08-21 16:47:10 +02:00
4a3d0c46a8
docs: add 05-temps-et-base-de-donnees guide and update architecture documentation 2026-08-21 16:13:39 +02:00
0d2b0124ee docs(architecture): add global architecture documentation for Arcadia API
docs(architecture): add request lifecycle documentation for Arcadia API

docs(architecture): add execution, transactions, and domain events documentation for Arcadia API

docs(architecture): add guide for creating a new use case in Arcadia API

docs(exceptions): summarize exception handling and HTTP status codes in Arcadia API

docs(tests): outline testing strategy and conventions for Arcadia API

style(openapi): correct description formatting in OpenAPI documentation

chore: remove outdated exceptions documentation

test: remove obsolete tests documentation
2026-08-21 10:41:07 +02:00
8f933db9fa
feat(inco): migrate to IncoBrand VO, BrandResolver domain service and BrandCode filtering 2026-08-20 18:16:31 +02:00
1f8f03e6d8
feat(brand): add Brand use cases, API v1 endpoints, console command, OpenAPI spec and Bruno collection 2026-08-20 17:35:47 +02:00
f9364a8960
docs(Arcadia): add JSON examples for INCO legacy API
Added example JSON files for INCO API endpoints to provide clear references for data structure and expected values.
2026-08-20 11:46:37 +02:00
90eff3cc99
docs: update OpenAPI specification and Bruno collection 2026-08-18 12:09:32 +02:00
91114cb67b
feat(inco-compositions): add IncoCompositionShow feature
- Implemented IncoCompositionShowController to handle requests for inco composition details.
- Created IncoCompositionDto for response data structure.
- Added IncoCompositionShowRequest for request validation.
- Developed IncoCompositionShowResponse for formatting API responses.
- Introduced IncoCompositionShowPresenter and IncoCompositionShowView for presentation logic.
- Added tests for IncoCompositionShow feature and OpenAPI conformance.
2026-08-14 15:56:58 +02:00
4d24e5c3fa
feat(IncoSheets): add search functionality for inco sheets
- Introduced IncoIdQuery value object for validating search queries.
- Implemented search method in IncoSheetDirectory and EloquentIncoSheetDirectory.
- Created IncoSheetsSearchController to handle search requests.
- Added IncoSheetsSearchRequest for validating incoming search parameters.
- Developed IncoSheetsSearchResponse for formatting search results.
- Added tests for search functionality in IncoSheetsSearchTest.
- Updated OpenAPI tests to validate search endpoint.
2026-08-14 15:06:54 +02:00
ef8de85088
chore: update dependencies for improved stability
Updated several dependencies to their latest versions to enhance stability and security.
2026-08-14 12:32:22 +02:00
dd7d1740ca
refactor(components): update nullable types to use oneOf for better clarity
This change improves the schema definitions by replacing nullable types with oneOf, allowing for clearer API documentation and validation.
2026-08-14 12:31:40 +02:00
3c72e50adf
docs: update exception mapping table in documentation
Clarified the mapping of exceptions to HTTP status codes.
2026-08-14 11:33:45 +02:00
382f181ced
feat(api): add IncoSheets API endpoints and local environment variables
- Introduced 'Get Inco Sheet' and 'List Inco Sheets' endpoints.
- Updated local environment variables to include INCOSHEET_ID.
2026-08-14 11:33:18 +02:00
152ee2b5a2
feat(api): add IncoSheets feature with DDD clean architecture, tests & OpenAPI spec
- Use cases: FindAllIncoSheets & FindIncoSheet (filters, pagination, short projection)
- Presentation: controllers, FormRequests with scalar validation, DTOs (camelCase)
- Ports & Adapters: IncoSheetDirectory & EloquentIncoSheetDirectory
- Tests: Pest 4 unit, integration, OpenAPI spectator conformance, dynamic arch tests
- Docs: updated Bruno collection and OpenAPI spec
2026-08-14 11:33:05 +02:00
61bde4baaa
docs(README): update table of contents and link paths
docs(Exceptions): refine exception mapping details

docs(Tests): add comprehensive testing strategy documentation
2026-08-13 16:23:19 +02:00
58749030bf
feat(employees): add support for filtering by multiple site IDs
- Updated EmployeeFilter to accept an array of SiteId.
- Modified EloquentEmployeeDirectory to handle multiple site filters.
- Enhanced EmployeesIndexRequest to validate siteIds as an array.
- Added tests for siteIds filtering in EmployeesIndexTest and EmployeeOpenApiTest.
2026-08-13 15:30:53 +02:00
b3f02510b5
docs: update README and add Exceptions documentation
Added a section for Exception Management in README and created a new document detailing exception handling and HTTP status codes.
2026-08-13 12:34:12 +02:00
6c7c782a1d
feat(api): add Ping and Root API documentation files
fix(api): update sequence number for Employees folder
2026-08-13 09:35:16 +02:00
caa4bb0919
feat(api): restore ping endpoint and add rate limit responses
Restores the /ping endpoint for health checks and adds
429 Too Many Requests response handling to improve API robustness.
2026-08-12 17:26:17 +02:00
f62ea18e75
feat(api): add health check endpoint
This adds a new /ping endpoint to verify API functionality.
2026-08-12 17:12:35 +02:00
2526560e44
docs(responses): clarify error descriptions in OpenAPI spec
Updated descriptions for BadRequest and UnprocessableEntity responses to provide clearer context on validation errors.
2026-08-12 17:00:23 +02:00
34169a9feb
feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00