Commit 728688a
feat(storage): wire VeriSimDB HTTP push via direct verisim-api
- Replace V-lang gateway pattern (/api/v1/hexads) with direct verisim-api
calls (POST /octads) using OctadRequest payload mapping
- Port all HTTP functions from ureq v2 API to v3: .send(), .body_mut()
.read_to_string(), builder-style headers, no attach_auth helper
- Add hexad_to_octad_request() mapping: title/body/types/metadata/provenance
- Persist VerisimDb mode now does HTTP push when VERISIMDB_URL is set,
filesystem fallback otherwise (both in persist_report and
persist_assemblyline_report)
- Fix bridge/intelligence.rs OSV API call for ureq v3 (same pattern)
- ROADMAP: mark v2.2.0 HTTP integration and per-project instance done
Requires: VERISIMDB_URL=http://verisim-panic-api.flycast:8080
VERISIM_API_TOKEN=<secret>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 82f2e6b commit 728688a
3 files changed
Lines changed: 234 additions & 123 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
152 | 149 | | |
153 | | - | |
| 150 | + | |
154 | 151 | | |
155 | 152 | | |
156 | 153 | | |
| |||
0 commit comments