Skip to content

Move single-module classes out of api into their owning modules - #221

Merged
labkey-adam merged 1 commit into
developfrom
fb_move_from_api
Oct 30, 2026
Merged

labkey-adam merged 1 commit into
developfrom
fb_move_from_api

Conversation

@labkey-adam

Copy link
Copy Markdown
Contributor

Rationale

Shrink the api module by moving classes that only one module uses into that module, so they no longer compile on the api build path every module waits on.

Related Pull Requests

Changes

  • Move api classes used only by genotyping and OConnorExperiments into those modules; register the moved test in GenotypingModule

labkey-adam added a commit to LabKey/platform that referenced this pull request Oct 30, 2026
## Rationale
Shrink the api module by moving classes that only one module uses into
that module, so they no longer compile on the api build path that every
module waits on.

Each moved class takes its owning module's package (e.g.
`org.labkey.api.reader.XMLStreamReaderWrapper` →
`org.labkey.ms2.reader.XMLStreamReaderWrapper`); the two that move into
a module API keep their package. Classes referenced by name from Spring
XML, `labkey.tld`, or client code stay in api, as do classes that rely
on package-private or protected access to api internals.

## Related Pull Requests
- LabKey/premiumModules#830
- LabKey/commonAssays#1098
- LabKey/customModules#291
- LabKey/OConnorLabModules#221
- LabKey/targetedms#1300
- LabKey/limsModules#2573
- LabKey/testAutomation#3272
- LabKey/snprcEHRModules#1028

## Changes
- Move api classes and JSPs used by a single platform module into core,
query, experiment, study, pipeline, survey, assay, filecontent, search,
wiki, and visualization
- Move two classes into the assay and study module APIs
- Move unit and integration test registrations for moved classes from
ApiModule to their new modules
- Remove unused classes
- Move several classes from the study module to the specimen module

<!-- list of standard tasks (remove this comment to enable)
## Tasks
- [ ] Claude Code Review
- [ ] Manual Testing
- [ ] Test Automation
- [ ] Verify Fix
-->
@labkey-adam
labkey-adam merged commit 78eabf0 into develop Oct 30, 2026
8 checks passed
@labkey-adam
labkey-adam deleted the fb_move_from_api branch October 30, 2026 00:08
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