Commit f761f82
committed
add general support for ledger-specific operations
Requests made to `/fluree/ledger/<ledger-alias/<op>`, where op corresponds to the
operation endpoint suffix (query, update, insert, upsert, transact) are rewritten and
rerouted to the top-level `/fluree/<op>` route handlers. This saves us from having to
manually handle all the work the middleware does while still allowing the
`/<ledger-alias/<op>` route construction instead of the `/<op>/<ledger-alias>` form.1 parent b2bcf56 commit f761f82
File tree
2 files changed
+28
-10
lines changed- src/fluree/server
- test/fluree/server/integration
2 files changed
+28
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
211 | 238 | | |
212 | 239 | | |
213 | 240 | | |
| |||
567 | 594 | | |
568 | 595 | | |
569 | 596 | | |
570 | | - | |
571 | 597 | | |
572 | 598 | | |
573 | 599 | | |
| |||
591 | 617 | | |
592 | 618 | | |
593 | 619 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | 620 | | |
603 | 621 | | |
604 | 622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments