Commit 2f302e0
SOLR-16462: Create v2 equivalents for core-level snapshot CRUD functionality (#1126)
LISTSNAPSHOT, CREATESNAPSHOT, and DELETESNAPSHOT now have v2 equivalent APIs available at `GET /api/cores/coreName/snapshots`, `POST /api/cores/coreName/snapshots/snapshotName`, and `DELETE /api/cores/coreName/snapshots/snapshotName`, respectively.
While in the code, this commit also fixes a bug in the response format of the v1 LISTSNAPSHOT API.
Co-authored-by: Jason Gerlowski <[email protected]>1 parent 5f6ddbf commit 2f302e0
File tree
13 files changed
+885
-278
lines changed- solr
- core/src
- java/org/apache/solr
- core
- handler/admin
- api
- test/org/apache/solr
- core/snapshots
- handler/admin
- api
- solr-ref-guide/modules/deployment-guide/pages
- solrj/src/java/org/apache/solr/common/params
13 files changed
+885
-278
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1098 | 1109 | | |
1099 | 1110 | | |
1100 | 1111 | | |
| |||
0 commit comments