-
Notifications
You must be signed in to change notification settings - Fork 4
Add auditing of what method was used for data imports, updates, deletes #944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the saveExperimentRun method signature in the Luminex module to add support for transaction audit details. The change accommodates a new parameter for transaction auditing that was likely introduced in the parent DefaultAssayRunCreator API.
Key changes:
- Added
TransactionAuditProvider.TransactionDetailparameter tosaveExperimentRunmethod signature - Updated all method calls to
saveExperimentRunto passnullfor the new parameter
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| LuminexRunCreator.java | Updated method signature to accept transactionDetails parameter and pass it to parent class |
| WellExclusionTable.java | Updated call to saveExperimentRun to pass null for new transactionDetails parameter |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| }); | ||
| addColumn(wellsCol); | ||
|
|
||
| List<FieldKey> defaultCols = new ArrayList<>(getDefaultVisibleColumns()); |
Copilot
AI
Oct 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable 'List defaultCols' is never read.
| { | ||
| String description = rowMap.get("Description") == null ? null : rowMap.get("Description").toString(); | ||
| String type = rowMap.get("Type") == null ? null : rowMap.get("Type").toString(); | ||
| String bTRUE = getSchema().getSqlDialect().getBooleanTRUE(); |
Copilot
AI
Oct 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable 'String bTRUE' is never read.
| String bTRUE = getSchema().getSqlDialect().getBooleanTRUE(); | |
| // Removed unused variable bTRUE |
Rationale
This PR updates the
saveExperimentRunmethod signature in the Luminex module to add support for transaction audit details. The change accommodates a new parameter for transaction auditing that was likely introduced in the parentDefaultAssayRunCreatorAPI.Related Pull Requests
Changes
TransactionAuditProvider.TransactionDetailparameter tosaveExperimentRunmethod signaturesaveExperimentRunto passnullfor the new parameter