smplkit 3.0.26 → 3.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/search_api.rb +90 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_list_links.rb +149 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_list_meta.rb +191 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_request.rb +292 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_response.rb +203 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_scan_meta.rb +220 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client.rb +6 -0
- data/lib/smplkit/_generated/audit/spec/api/search_api_spec.rb +47 -0
- data/lib/smplkit/_generated/audit/spec/models/search_events_list_links_spec.rb +36 -0
- data/lib/smplkit/_generated/audit/spec/models/search_events_list_meta_spec.rb +42 -0
- data/lib/smplkit/_generated/audit/spec/models/search_events_request_spec.rb +96 -0
- data/lib/smplkit/_generated/audit/spec/models/search_events_response_spec.rb +48 -0
- data/lib/smplkit/_generated/audit/spec/models/search_scan_meta_spec.rb +48 -0
- metadata +13 -1
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module SmplkitGeneratedClient::Audit
|
|
17
|
+
# Scan statistics for a search response. Exposed so a selective JSON Logic filter doesn't silently look like \"0 matches\" when the truth is \"the scan ceiling was reached before the filter had a chance to find page[size] matches.\"
|
|
18
|
+
class SearchScanMeta < ApiModelBase
|
|
19
|
+
# Rows scanned after column filters narrowed the candidate set, before the JSON Logic expression was applied.
|
|
20
|
+
attr_accessor :scanned
|
|
21
|
+
|
|
22
|
+
# Rows the JSON Logic expression matched. Equal to `len(data)` for the page being returned plus any matches found beyond the page size.
|
|
23
|
+
attr_accessor :matched
|
|
24
|
+
|
|
25
|
+
# `true` if the server hit the per-request scan ceiling before finding `page[size]` matches. When true, paginate again with the returned `links.next` cursor to continue scanning past the ceiling.
|
|
26
|
+
attr_accessor :exhausted
|
|
27
|
+
|
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
|
+
def self.attribute_map
|
|
30
|
+
{
|
|
31
|
+
:'scanned' => :'scanned',
|
|
32
|
+
:'matched' => :'matched',
|
|
33
|
+
:'exhausted' => :'exhausted'
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Returns attribute mapping this model knows about
|
|
38
|
+
def self.acceptable_attribute_map
|
|
39
|
+
attribute_map
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Returns all the JSON keys this model knows about
|
|
43
|
+
def self.acceptable_attributes
|
|
44
|
+
acceptable_attribute_map.values
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
def self.openapi_types
|
|
49
|
+
{
|
|
50
|
+
:'scanned' => :'Integer',
|
|
51
|
+
:'matched' => :'Integer',
|
|
52
|
+
:'exhausted' => :'Boolean'
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# List of attributes with nullable: true
|
|
57
|
+
def self.openapi_nullable
|
|
58
|
+
Set.new([
|
|
59
|
+
])
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Initializes the object
|
|
63
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
64
|
+
def initialize(attributes = {})
|
|
65
|
+
if (!attributes.is_a?(Hash))
|
|
66
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Audit::SearchScanMeta` initialize method"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
71
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Audit::SearchScanMeta`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
74
|
+
end
|
|
75
|
+
h[k.to_sym] = v
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'scanned')
|
|
79
|
+
self.scanned = attributes[:'scanned']
|
|
80
|
+
else
|
|
81
|
+
self.scanned = nil
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'matched')
|
|
85
|
+
self.matched = attributes[:'matched']
|
|
86
|
+
else
|
|
87
|
+
self.matched = nil
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'exhausted')
|
|
91
|
+
self.exhausted = attributes[:'exhausted']
|
|
92
|
+
else
|
|
93
|
+
self.exhausted = nil
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
98
|
+
# @return Array for valid properties with the reasons
|
|
99
|
+
def list_invalid_properties
|
|
100
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
|
+
invalid_properties = Array.new
|
|
102
|
+
if @scanned.nil?
|
|
103
|
+
invalid_properties.push('invalid value for "scanned", scanned cannot be nil.')
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if @matched.nil?
|
|
107
|
+
invalid_properties.push('invalid value for "matched", matched cannot be nil.')
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if @exhausted.nil?
|
|
111
|
+
invalid_properties.push('invalid value for "exhausted", exhausted cannot be nil.')
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
invalid_properties
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Check to see if the all the properties in the model are valid
|
|
118
|
+
# @return true if the model is valid
|
|
119
|
+
def valid?
|
|
120
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
+
return false if @scanned.nil?
|
|
122
|
+
return false if @matched.nil?
|
|
123
|
+
return false if @exhausted.nil?
|
|
124
|
+
true
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Custom attribute writer method with validation
|
|
128
|
+
# @param [Object] scanned Value to be assigned
|
|
129
|
+
def scanned=(scanned)
|
|
130
|
+
if scanned.nil?
|
|
131
|
+
fail ArgumentError, 'scanned cannot be nil'
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
@scanned = scanned
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param [Object] matched Value to be assigned
|
|
139
|
+
def matched=(matched)
|
|
140
|
+
if matched.nil?
|
|
141
|
+
fail ArgumentError, 'matched cannot be nil'
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
@matched = matched
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Custom attribute writer method with validation
|
|
148
|
+
# @param [Object] exhausted Value to be assigned
|
|
149
|
+
def exhausted=(exhausted)
|
|
150
|
+
if exhausted.nil?
|
|
151
|
+
fail ArgumentError, 'exhausted cannot be nil'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
@exhausted = exhausted
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Checks equality by comparing each attribute.
|
|
158
|
+
# @param [Object] Object to be compared
|
|
159
|
+
def ==(o)
|
|
160
|
+
return true if self.equal?(o)
|
|
161
|
+
self.class == o.class &&
|
|
162
|
+
scanned == o.scanned &&
|
|
163
|
+
matched == o.matched &&
|
|
164
|
+
exhausted == o.exhausted
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @see the `==` method
|
|
168
|
+
# @param [Object] Object to be compared
|
|
169
|
+
def eql?(o)
|
|
170
|
+
self == o
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Calculates hash code according to all attributes.
|
|
174
|
+
# @return [Integer] Hash code
|
|
175
|
+
def hash
|
|
176
|
+
[scanned, matched, exhausted].hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Builds the object from hash
|
|
180
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
181
|
+
# @return [Object] Returns the model itself
|
|
182
|
+
def self.build_from_hash(attributes)
|
|
183
|
+
return nil unless attributes.is_a?(Hash)
|
|
184
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
185
|
+
transformed_hash = {}
|
|
186
|
+
openapi_types.each_pair do |key, type|
|
|
187
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
188
|
+
transformed_hash["#{key}"] = nil
|
|
189
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
190
|
+
# check to ensure the input is an array given that the attribute
|
|
191
|
+
# is documented as an array but the input is not
|
|
192
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
193
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
194
|
+
end
|
|
195
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
196
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
new(transformed_hash)
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Returns the object in the form of hash
|
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
|
204
|
+
def to_hash
|
|
205
|
+
hash = {}
|
|
206
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
207
|
+
value = self.send(attr)
|
|
208
|
+
if value.nil?
|
|
209
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
210
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
hash[param] = _to_hash(value)
|
|
214
|
+
end
|
|
215
|
+
hash
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
end
|
|
@@ -48,6 +48,11 @@ require 'smplkit_audit_client/models/resource_type_attributes'
|
|
|
48
48
|
require 'smplkit_audit_client/models/resource_type_list_response'
|
|
49
49
|
require 'smplkit_audit_client/models/resource_type_resource'
|
|
50
50
|
require 'smplkit_audit_client/models/retry_failed_deliveries_summary'
|
|
51
|
+
require 'smplkit_audit_client/models/search_events_list_links'
|
|
52
|
+
require 'smplkit_audit_client/models/search_events_list_meta'
|
|
53
|
+
require 'smplkit_audit_client/models/search_events_request'
|
|
54
|
+
require 'smplkit_audit_client/models/search_events_response'
|
|
55
|
+
require 'smplkit_audit_client/models/search_scan_meta'
|
|
51
56
|
require 'smplkit_audit_client/models/test_forwarder_request'
|
|
52
57
|
require 'smplkit_audit_client/models/test_forwarder_response'
|
|
53
58
|
require 'smplkit_audit_client/models/usage_attributes'
|
|
@@ -59,6 +64,7 @@ require 'smplkit_audit_client/api/actions_api'
|
|
|
59
64
|
require 'smplkit_audit_client/api/events_api'
|
|
60
65
|
require 'smplkit_audit_client/api/forwarders_api'
|
|
61
66
|
require 'smplkit_audit_client/api/resource_types_api'
|
|
67
|
+
require 'smplkit_audit_client/api/search_api'
|
|
62
68
|
require 'smplkit_audit_client/api/usage_api'
|
|
63
69
|
|
|
64
70
|
module SmplkitGeneratedClient::Audit
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'SearchApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SmplkitGeneratedClient::Audit::SearchApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of SearchApi' do
|
|
30
|
+
it 'should create an instance of SearchApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for search_events
|
|
36
|
+
# Search Events
|
|
37
|
+
# Search audit events with column filters and an optional JSON Logic expression. Without a JSON Logic `filter`: behaves like `GET /api/v1/events` with the same column filters. With a JSON Logic `filter`: the search is silently capped to the last 30 days by `occurred_at` (intersected with any explicit `filter[occurred_at]` the caller supplied), the column filters narrow the candidate set in SQL, and the JSON Logic expression runs in memory against each candidate row using the same `json-logic-qubit` evaluator the forwarder pipeline uses. Up to 50,000 rows are scanned per request; the response's `meta.scan` block reports the scan stats so a selective filter doesn't look like \"0 matches\" when the truth is \"ceiling reached.\"
|
|
38
|
+
# @param search_events_request
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [SearchEventsResponse]
|
|
41
|
+
describe 'search_events test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchEventsListLinks
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::SearchEventsListLinks do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::SearchEventsListLinks.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchEventsListLinks' do
|
|
24
|
+
it 'should create an instance of SearchEventsListLinks' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchEventsListLinks)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "_next"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchEventsListMeta
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::SearchEventsListMeta do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::SearchEventsListMeta.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchEventsListMeta' do
|
|
24
|
+
it 'should create an instance of SearchEventsListMeta' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchEventsListMeta)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "page_size"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "scan"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchEventsRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::SearchEventsRequest do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::SearchEventsRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchEventsRequest' do
|
|
24
|
+
it 'should create an instance of SearchEventsRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchEventsRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "filter"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "filter_action"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "filter_resource_type"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "filter_resource_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "filter_actor_type"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "filter_actor_id"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "filter_occurred_at"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "filter_search"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "page_size"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "page_after"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "sort"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchEventsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::SearchEventsResponse do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::SearchEventsResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchEventsResponse' do
|
|
24
|
+
it 'should create an instance of SearchEventsResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchEventsResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "data"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "meta"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "links"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::SearchScanMeta
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::SearchScanMeta do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::SearchScanMeta.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchScanMeta' do
|
|
24
|
+
it 'should create an instance of SearchScanMeta' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::SearchScanMeta)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "scanned"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "matched"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "exhausted"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smplkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Smpl Solutions LLC
|
|
@@ -423,6 +423,7 @@ files:
|
|
|
423
423
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/events_api.rb
|
|
424
424
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/forwarders_api.rb
|
|
425
425
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/resource_types_api.rb
|
|
426
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/search_api.rb
|
|
426
427
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/usage_api.rb
|
|
427
428
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api_client.rb
|
|
428
429
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api_error.rb
|
|
@@ -458,6 +459,11 @@ files:
|
|
|
458
459
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/resource_type_list_response.rb
|
|
459
460
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/resource_type_resource.rb
|
|
460
461
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/retry_failed_deliveries_summary.rb
|
|
462
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_list_links.rb
|
|
463
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_list_meta.rb
|
|
464
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_request.rb
|
|
465
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_events_response.rb
|
|
466
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/search_scan_meta.rb
|
|
461
467
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/test_forwarder_request.rb
|
|
462
468
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/test_forwarder_response.rb
|
|
463
469
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/usage_attributes.rb
|
|
@@ -468,6 +474,7 @@ files:
|
|
|
468
474
|
- lib/smplkit/_generated/audit/spec/api/events_api_spec.rb
|
|
469
475
|
- lib/smplkit/_generated/audit/spec/api/forwarders_api_spec.rb
|
|
470
476
|
- lib/smplkit/_generated/audit/spec/api/resource_types_api_spec.rb
|
|
477
|
+
- lib/smplkit/_generated/audit/spec/api/search_api_spec.rb
|
|
471
478
|
- lib/smplkit/_generated/audit/spec/api/usage_api_spec.rb
|
|
472
479
|
- lib/smplkit/_generated/audit/spec/models/action_attributes_spec.rb
|
|
473
480
|
- lib/smplkit/_generated/audit/spec/models/action_list_response_spec.rb
|
|
@@ -499,6 +506,11 @@ files:
|
|
|
499
506
|
- lib/smplkit/_generated/audit/spec/models/resource_type_list_response_spec.rb
|
|
500
507
|
- lib/smplkit/_generated/audit/spec/models/resource_type_resource_spec.rb
|
|
501
508
|
- lib/smplkit/_generated/audit/spec/models/retry_failed_deliveries_summary_spec.rb
|
|
509
|
+
- lib/smplkit/_generated/audit/spec/models/search_events_list_links_spec.rb
|
|
510
|
+
- lib/smplkit/_generated/audit/spec/models/search_events_list_meta_spec.rb
|
|
511
|
+
- lib/smplkit/_generated/audit/spec/models/search_events_request_spec.rb
|
|
512
|
+
- lib/smplkit/_generated/audit/spec/models/search_events_response_spec.rb
|
|
513
|
+
- lib/smplkit/_generated/audit/spec/models/search_scan_meta_spec.rb
|
|
502
514
|
- lib/smplkit/_generated/audit/spec/models/test_forwarder_request_spec.rb
|
|
503
515
|
- lib/smplkit/_generated/audit/spec/models/test_forwarder_response_spec.rb
|
|
504
516
|
- lib/smplkit/_generated/audit/spec/models/usage_attributes_spec.rb
|