Commit 9f8e53c
authored
fix: allow DEPRECATED -> ACTIVE reactivation for convergent manifest apply (#2101)
* fix: allow DEPRECATED -> ACTIVE transition for convergent manifest apply
When a manifest is re-applied to a tenant that previously had different
manifests, instruments and account types from the prior manifest get
deprecated. When the new manifest re-declares them, the activate step
fails because DEPRECATED was terminal.
Allow DEPRECATED -> ACTIVE transition for both instruments and account
types, enabling convergent re-application of manifests.
* test: update tests for DEPRECATED -> ACTIVE reactivation
Update tests that asserted DEPRECATED was terminal to reflect the new
convergent-apply behavior where DEPRECATED instruments and account types
can be reactivated.
* test: fix remaining deprecated-terminal assertions in instrument registry
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent fdc0fbf commit 9f8e53c
5 files changed
Lines changed: 15 additions & 17 deletions
File tree
- services/reference-data
- accounttype
- registry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| 912 | + | |
912 | 913 | | |
913 | 914 | | |
914 | 915 | | |
| |||
920 | 921 | | |
921 | 922 | | |
922 | 923 | | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | 924 | | |
928 | 925 | | |
929 | 926 | | |
| |||
944 | 941 | | |
945 | 942 | | |
946 | 943 | | |
947 | | - | |
| 944 | + | |
948 | 945 | | |
949 | 946 | | |
950 | 947 | | |
951 | 948 | | |
952 | | - | |
| 949 | + | |
953 | 950 | | |
954 | 951 | | |
955 | 952 | | |
| |||
964 | 961 | | |
965 | 962 | | |
966 | 963 | | |
967 | | - | |
| 964 | + | |
968 | 965 | | |
969 | | - | |
| 966 | + | |
970 | 967 | | |
971 | 968 | | |
972 | 969 | | |
| 970 | + | |
973 | 971 | | |
974 | | - | |
| 972 | + | |
975 | 973 | | |
976 | 974 | | |
977 | 975 | | |
| |||
0 commit comments