-
Couldn't load subscription status.
- Fork 0
Apply Extensions from transaction log #299
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
base: main
Are you sure you want to change the base?
Conversation
Documentation build overview
Show files changed (3 files in total): 📝 2 modified | ➕ 1 added | ➖ 0 deleted
|
… an extension as applied or ignored
packtrain-service/src/main/java/edu/mines/packtrain/services/ExtensionService.java
Show resolved
Hide resolved
packtrain-service/src/main/java/edu/mines/packtrain/services/ExtensionService.java
Outdated
Show resolved
Hide resolved
| private LateRequestStatus extensionStatus; | ||
| private String extensionMessage; | ||
| private String submissionMessage; | ||
| private int numberExtensionDaysApplied; |
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.
We need to make a policy server update to that this field actually gets applied.
We also need to update the docs for this
…ktrain into jettzoeyExtensionApplication
packtrain-service/src/test/java/edu/mines/packtrain/services/TestExtensionService.java
Outdated
Show resolved
Hide resolved
packtrain-service/src/test/java/edu/mines/packtrain/services/TestExtensionService.java
Outdated
Show resolved
Hide resolved
packtrain-service/src/test/java/edu/mines/packtrain/services/TestExtensionService.java
Outdated
Show resolved
Hide resolved
packtrain-service/src/main/java/edu/mines/packtrain/services/ExtensionService.java
Outdated
Show resolved
Hide resolved
| @Query("select l from migration_transaction_log l where l.migrationId = ?1 " + | ||
| "and l.revision = (select max(l2.revision) from migration_transaction_log l2 where l2.cwid = l.cwid )") | ||
| // grabbing the latest revision from migration transaction log by migration id | ||
| // cursed subquery version (im so sorry) | ||
| List<MigrationTransactionLog> getLatestByMigrationId(UUID migrationId); |
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.
Do we have any tests covering this?
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.
add stuff to the repo, use process function from migration service one to grab out and make sure we are getting back what we need, all of this goes into the same test
…ktrain into jettzoeyExtensionApplication
…ktrain into jettzoeyExtensionApplication
No description provided.