|
57 | 57 | :source-poll-interval 1000, |
58 | 58 | :get-params {}, |
59 | 59 | :source-backoff-budget 10000, |
| 60 | + :json-only false |
60 | 61 | :source-backoff-max-attempt 10} |
61 | 62 | nil |
62 | 63 |
|
|
66 | 67 | :source-poll-interval 1000, |
67 | 68 | :get-params {}, |
68 | 69 | :source-backoff-budget 10000, |
| 70 | + :json-only false |
69 | 71 | :source-backoff-max-attempt 10} |
70 | 72 | ["Failed to validate \"--source-batch-size 0\": Must be a positive integer"] |
71 | 73 |
|
|
80 | 82 | :get-params {:since "2021-10-26T17:51:06.530464Z" |
81 | 83 | :related_agents true}, |
82 | 84 | :source-backoff-budget 10000, |
| 85 | + :json-only false |
83 | 86 | :source-backoff-max-attempt 10} |
84 | 87 | nil)) |
85 | 88 |
|
|
129 | 132 | :target-backoff-budget 10000, |
130 | 133 | :force-resume false, |
131 | 134 | :redis-prefix "xapipe", |
| 135 | + :json-only false |
132 | 136 | :storage :file, |
133 | 137 | :get-buffer-size 10, |
134 | 138 | :target-batch-size 50, |
|
157 | 161 | :cleanup-buffer-size 50, |
158 | 162 | :source |
159 | 163 | {:request-config |
160 | | - {:url-base "http://0.0.0.0:8080", :xapi-prefix "/xapi"}, |
| 164 | + {:url-base "http://0.0.0.0:8080", |
| 165 | + :xapi-prefix "/xapi"}, |
161 | 166 | :batch-size 50, |
162 | | - :backoff-opts {:budget 10000, :max-attempt 10}, |
| 167 | + :backoff-opts {:budget 10000, :max-attempt 10} |
163 | 168 | :poll-interval 1000, |
164 | 169 | :get-params {:limit 50}}, |
165 | 170 | :target |
|
215 | 220 | "--xapi-get-param" "format=exact" |
216 | 221 | "--source-username" "foo" |
217 | 222 | "--source-password" "bar" |
| 223 | + "--json-only" |
218 | 224 | "--source-backoff-budget" "1" |
219 | 225 | "--source-backoff-max-attempt" "1" |
220 | 226 | "--source-backoff-j-range" "1" |
|
275 | 281 | :force-resume true, |
276 | 282 | :redis-prefix "my-xapipe", |
277 | 283 | :source-backoff-j-range 1, |
| 284 | + :json-only true, |
278 | 285 | :storage :file, |
279 | 286 | :get-buffer-size 1, |
280 | 287 | :target-backoff-initial 1, |
|
291 | 298 | :metrics-reporter "prometheus" |
292 | 299 | :prometheus-push-gateway "localhost:1234" |
293 | 300 | :filter-ensure-paths [[["id"]]] |
294 | | - :filter-match-paths [[[["verb"]["id"]] |
| 301 | + :filter-match-paths [[[["verb"] ["id"]] |
295 | 302 | "http://example.com/verb"] |
296 | 303 | [[["actor"]] {"mbox" "mailto:bob@example.com" |
297 | 304 | "objectType" "Agent"}]] |
298 | 305 | :filter-concept-profile-urls ["http://example.org/profile.jsonld"] |
299 | 306 | :filter-concept-types ["Verb"] |
300 | | - :filter-activity-type-ids [ "http://example.org/profile.jsonld#activity-type"] |
| 307 | + :filter-activity-type-ids ["http://example.org/profile.jsonld#activity-type"] |
301 | 308 | :filter-verb-ids ["http://example.org/profile.jsonld#verb"] |
302 | | - :filter-attachment-usage-types [ "http://example.org/profile.jsonld#aut"] |
| 309 | + :filter-attachment-usage-types ["http://example.org/profile.jsonld#aut"] |
303 | 310 | :cleanup-buffer-size 1} |
304 | 311 | []) |
305 | 312 | (testing "no defaults" |
|
0 commit comments