Commit aaa65d2
authored
fix/services list endpoint (#329)
* fix(enterprise): use correct endpoint for services list command
The services list command was using /v1/services which doesn't exist
for GET requests. Changed to use /v1/local/services which is the
correct documented endpoint.
Fixes #322
* test(enterprise): improve mock tests with realistic API responses
- Add comprehensive test fixtures with actual API response data
- Update tests to use realistic fixtures
- Fix User struct: email is primary identifier, not username
- Fix License struct: key field is optional, not required license_key
- Add explicit deserialization tests for type validation
Fixes #326
* fix: resolve CI compilation issues
- Add recursion limit to cluster_tests.rs for large JSON fixtures
- Fix test assertions to match actual ClusterInfo struct fields
- Allow dead code warnings in common test modules
- Remove problematic mod.rs that was causing duplicate module errors
- Fix integer overflow issues in test fixtures (use i64 suffix)1 parent 48426c1 commit aaa65d2
File tree
8 files changed
+560
-182
lines changed- crates/redis-enterprise
- src
- tests
- common
8 files changed
+560
-182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| |||
139 | 133 | | |
140 | 134 | | |
141 | 135 | | |
142 | | - | |
| 136 | + | |
143 | 137 | | |
144 | 138 | | |
145 | 139 | | |
| |||
154 | 148 | | |
155 | 149 | | |
156 | 150 | | |
157 | | - | |
158 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
159 | 182 | | |
160 | 183 | | |
161 | 184 | | |
| |||
0 commit comments