[AUDIT] Production Architecture & Drupal Standards Compliance
Production Architecture Audit
Severity: MEDIUM
Drupal-Specific Requirements
-
OpenAPI-First
-
Complete REST/JSON:API resources -
OpenAPI 3.1 documentation -
Proper entity CRUD operations
-
-
Drupal Standards
-
Dependency injection (services.yml) -
Config management (config/) -
Proper routing (*.routing.yml) -
PHPUnit tests -
Drupal coding standards (phpcs)
-
-
Type-Safe
-
Type hints on all methods -
Proper entity validation -
Form API validation
-
Required Actions
- Audit OpenAPI spec completeness
- Ensure all entities have CRUD operations
- Verify dependency injection usage
- Add missing PHPUnit tests
- Run phpcs and fix violations
- Document in GitLab Wiki
Definition of Done
- All entities have full CRUD via API
- OpenAPI spec complete
- Dependency injection used properly
- 80%+ test coverage
- Passes Drupal coding standards