Commit f1d79db
fix(context-memory): address review (relationship types, stable FQN, status msg, test name)
- storeRelationships: rootMemory -> Relationship.CONTAINS, parentMemory -> Relationship.HAS
so the root-ancestor and direct-parent hierarchies are distinguishable.
- setFullyQualifiedName: derive from the immutable name only (drop mutable
primaryEntity/owner derivation that destabilized nameHash on update).
- validateStatusTransition: separate "no transitions defined" from "disallowed transition".
- Rename ContextMemoryResourceTest -> ContextMemoryStatusTransitionTest (pure unit test).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 79d720d commit f1d79db
2 files changed
Lines changed: 14 additions & 21 deletions
File tree
- openmetadata-service/src
- main/java/org/openmetadata/service/jdbi3
- test/java/org/openmetadata/service/resources/context
Lines changed: 13 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
79 | 66 | | |
80 | 67 | | |
81 | 68 | | |
| |||
138 | 125 | | |
139 | 126 | | |
140 | 127 | | |
| 128 | + | |
| 129 | + | |
141 | 130 | | |
142 | 131 | | |
143 | 132 | | |
144 | 133 | | |
145 | 134 | | |
146 | 135 | | |
147 | | - | |
| 136 | + | |
148 | 137 | | |
149 | 138 | | |
150 | 139 | | |
| |||
153 | 142 | | |
154 | 143 | | |
155 | 144 | | |
156 | | - | |
| 145 | + | |
157 | 146 | | |
158 | 147 | | |
159 | 148 | | |
| |||
185 | 174 | | |
186 | 175 | | |
187 | 176 | | |
188 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
189 | 182 | | |
190 | 183 | | |
191 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments