Uh oh!
There was an error while loading. Please reload this page.
chore: streamline project foundation and document architecture decision - #6
Conversation
- Remove smoke and functional test source sets and tasks. - Remove JaCoCo and SonarQube plugins and configurations. - Clean up task workarounds for deleted source sets.
There was a problem hiding this comment.
Pull request overview
This PR documents the architectural rationale for choosing between a “downgraded HMCTS template” and a greenfield Spring Boot project, while streamlining the repository by removing build/test/quality tooling and several template-derived endpoints/tests to reduce build overhead and confusion.
Changes:
- Added ADR 0001 under
docs/adr/describing the template-vs-greenfield evaluation and decision criteria. - Simplified Gradle build by removing JaCoCo/SonarQube and dropping functional/smoke test source sets/tasks, keeping only
integrationTest. - Removed template-provided
RootController, OpenAPI configuration, and related smoke/functional/integration tests.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
build.gradle | Removes JaCoCo/SonarQube and simplifies test source sets/tasks to reduce build overhead. |
src/main/resources/application.yaml | Minor formatting/comment tweak to actuator health show-details. |
docs/adr/0001-project-foundation-choice.md | Adds ADR documenting the project foundation decision process. |
src/main/java/uk/gov/hmcts/reform/dataViewstoreRestApi/controllers/RootController.java | Removes the template welcome/root endpoint. |
src/main/java/uk/gov/hmcts/reform/dataViewstoreRestApi/config/OpenAPIConfiguration.java | Removes custom OpenAPI bean configuration. |
src/test/java/.../DemoUnitTest.java | Deletes placeholder unit test. |
src/smokeTest/java/.../SampleSmokeTest.java | Removes smoke test suite and its dependency usage. |
src/functionalTest/java/.../SampleFunctionalTest.java | Removes functional test suite and its dependency usage. |
src/integrationTest/java/.../GetWelcomeTest.java | Removes integration test tied to the deleted root endpoint. |
src/integrationTest/java/.../OpenAPIPublisherTest.java | Removes OpenAPI publishing test tied to removed template tooling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
| This ADR follows 'The ADR GitHub Organization' (https://github.com/architecture-decision-record/architecture-decision-record) ADR standards which recommends the docs/adr folder | ||
| structure. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
…on (#6) * Refactor: Streamline project structure and simplify build.gradle - Remove smoke and functional test source sets and tasks. - Remove JaCoCo and SonarQube plugins and configurations. - Clean up task workarounds for deleted source sets. * Add basic instructions/links in README.md --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PDE-985
Change description
Changes:
docs/adr/describing the template-vs-greenfield evaluation and decision criteria.integrationTest.RootController, OpenAPI configuration, and related smoke/functional/integration tests.Does this PR introduce a breaking change? (check one with "x")
Yes (Architectural change). This PR significantly alters the project structure by removing deployment-related folders. However, the core Spring Boot application and database logic remain fully functional.