File tree Expand file tree Collapse file tree 2 files changed +62
-60
lines changed
src/sixsq/nuvla/server/resources/spec
test/sixsq/nuvla/server/resources Expand file tree Collapse file tree 2 files changed +62
-60
lines changed Original file line number Diff line number Diff line change 9898; ; actions
9999
100100(s/def ::dataset (s/coll-of ::core/nonblank-string ))
101+ (s/def ::query (s/coll-of ::core/nonblank-string ))
101102(s/def ::filter (st/spec ::core/nonblank-string ))
102103(s/def ::from (st/spec ::core/timestamp ))
103104(s/def ::to (st/spec ::core/timestamp ))
104105(s/def ::granularity (st/spec (s/or :raw #{" raw" }
105106 :granularity-duration data-utils/granularity->duration)))
106107(s/def ::custom-es-aggregations any? )
107- (s/def ::bulk-data-body (su/only-keys-maps {:req-un [::dataset
108- ::from
108+ (s/def ::bulk-data-body (su/only-keys-maps {:req-un [::from
109109 ::to ]
110- :opt-un [::filter
110+ :opt-un [::dataset
111+ ::query
112+ ::filter
111113 ::granularity
112114 ::custom-es-aggregations ]}))
You can’t perform that action at this time.
0 commit comments