Commit e2e3eae
committed
Make one config handler for Jurisdictionso
YAML parsing of the jurisdiction configs was originally handled in
multiple places, with duplicate configs all around.
This PR puts all of the config info for each jurisdiction in
its YAML file, and reads it everywhere that jurisdiction configs are
used. No more multiple parsing functions[^1].
[^1]: Okay, one parsing function: left in `get_case_type_config`, since it's
unclear to me if case_types in jurisdictions should contain all of the base
case types or just the ones they've defined / overriden. Need more understanding
to make that choice, so I left the code as is there.1 parent 75a535c commit e2e3eae
12 files changed
Lines changed: 277 additions & 631 deletions
File tree
- efile_app/efile
- api
- static/config/states
- tests
- utils
- views
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 17 | + | |
42 | 18 | | |
43 | 19 | | |
44 | 20 | | |
| |||
62 | 38 | | |
63 | 39 | | |
64 | 40 | | |
65 | | - | |
| 41 | + | |
66 | 42 | | |
67 | 43 | | |
68 | 44 | | |
| |||
76 | 52 | | |
77 | 53 | | |
78 | 54 | | |
79 | | - | |
80 | 55 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 56 | | |
89 | 57 | | |
90 | 58 | | |
| |||
0 commit comments