-
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?
Changes from all commits
6743e56
384e3d7
536f51c
1c15a3d
337bf55
ac8b017
4b6a7d0
31c31c9
0324b9a
cfc0567
a3f409b
c80542a
34e4f5f
2e291eb
072c6fb
2e3f3c9
3543e32
0706f7b
031406e
9d07495
52ff05a
be5a6a7
df53ce6
e894d51
a03a2a0
a692f9c
b2dea9e
d315cf9
02cb680
c890dcf
23dab5c
1a6716c
293d19e
7f3fa76
de67774
a677e5b
f4d4d32
86245be
475674f
7717c25
1c5f48c
171baa9
7802a41
f4153d3
833de89
ee6d19e
ec70f6e
1677194
dc285d8
d148ece
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| .. _DeveloperGuide: | ||
|
|
||
| Developer Guide | ||
| ========================== |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,4 +16,10 @@ public interface MigrationTransactionLogRepo extends CrudRepository<MigrationTra | |
| @Query("select l from migration_transaction_log l where l.migrationId = ?2 " + | ||
| "and l.cwid = ?1 order by l.revision asc") | ||
| List<MigrationTransactionLog> getByCwidAndMigrationId(String cwid, UUID migrationId); | ||
|
|
||
| @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); | ||
|
Comment on lines
+20
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 |
||
| } | ||
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