Commit c3186a3
authored
refactor(templates): extract
- **New module** `core/flamingock-template-api` with all
template-specific API classes
- **Moved 14 source files**: `ChangeTemplate`,
`AbstractChangeTemplate`, `TemplateField`, `TemplatePayload`,
`TemplateStep`, wrapper classes, and the three template
annotations (`@ApplyTemplate`, `@ChangeTemplate`,
`@RollbackTemplate`)
- **Moved 1 test file**:
`AbstractChangeTemplateReflectiveClassesTest`
- **Backward compatible**: `flamingock-core-api` exposes
`flamingock-template-api` via `api` dep, so no consumer
changes needed
- **No package renames**: all imports remain valid
- Registered module in `settings.gradle.kts` and
`flamingock.project-structure.gradle.kts`flamingock-template-api module (#863)1 parent e3d4516 commit c3186a3
File tree
19 files changed
+29
-3
lines changed- buildSrc/src/main/kotlin
- core
- flamingock-core-api
- flamingock-template-api
- src
- main/java/io/flamingock/api
- annotations
- template
- wrappers
- test/java/io/flamingock/api/template
19 files changed
+29
-3
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments