This repository was archived by the owner on Jul 16, 2024. It is now read-only.
Commit 38dd20b
feat(core/db-schema-manager): add dynamic replacement capability (#217)
* add flyway construct
* add flyway construct
* fix file name
* add unit test for log retention option
* put back integ test file
* fix modified projen
* force node12
* chore: self mutation
* remove classes
* chore: self mutation
* add flyway construct
* add flyway construct
* fix file name
* add unit test for log retention option
* put back integ test file
* fix modified projen
* remove classes
* chore: self mutation
* Move to pre bundle lambda and custom resource provider
* remove tests that don't work with pre bundle
* move to projen 0.33.1
* revert projen version related changes
* Add Java 11 to github build action
* fix jar copy
* WIP - migration to flyway
* Leverage flyway replace feature
* rename files
* rename files
* chore: self mutation
Co-authored-by: Chazal <chazalf@88665a14a6c3.ant.amazon.com>
Co-authored-by: Vincent Gromakowski <vgkowski@users.noreply.github.com>1 parent b710b0b commit 38dd20b
File tree
8 files changed
+1339
-918
lines changed- core
- src/db-schema-manager
- resources/flyway-lambda/src
- main/java/com/geekoosh/flyway
- test/java/com/geekoosh/flyway
- test
- e2e
- resources/sql
- resources/sql
8 files changed
+1339
-918
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
45 | 66 | | |
46 | 67 | | |
47 | 68 | | |
| |||
85 | 106 | | |
86 | 107 | | |
87 | 108 | | |
88 | | - | |
| 109 | + | |
89 | 110 | | |
90 | 111 | | |
91 | 112 | | |
92 | 113 | | |
93 | 114 | | |
94 | 115 | | |
95 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
96 | 119 | | |
97 | 120 | | |
98 | 121 | | |
99 | 122 | | |
100 | | - | |
| 123 | + | |
101 | 124 | | |
102 | 125 | | |
103 | 126 | | |
| |||
126 | 149 | | |
127 | 150 | | |
128 | 151 | | |
129 | | - | |
130 | 152 | | |
131 | 153 | | |
132 | 154 | | |
| |||
140 | 162 | | |
141 | 163 | | |
142 | 164 | | |
143 | | - | |
| 165 | + | |
144 | 166 | | |
145 | 167 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 168 | + | |
| 169 | + | |
149 | 170 | | |
150 | 171 | | |
151 | 172 | | |
| |||
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | | - | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 8 | + | |
13 | 9 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 10 | | |
18 | | - | |
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
23 | 15 | | |
24 | | - | |
| 16 | + | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
| |||
44 | 36 | | |
45 | 37 | | |
46 | 38 | | |
| 39 | + | |
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
50 | 43 | | |
51 | 44 | | |
52 | | - | |
| 45 | + | |
53 | 46 | | |
54 | 47 | | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
58 | 51 | | |
59 | 52 | | |
60 | | - | |
| 53 | + | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
| |||
82 | 75 | | |
83 | 76 | | |
84 | 77 | | |
85 | | - | |
| 78 | + | |
86 | 79 | | |
87 | 80 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | | - | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments