@@ -233,13 +233,15 @@ func (headers Headers) UpdateHeader(reqHeaders http.Header) {
233
233
234
234
// FileStore holds the config for the file store module
235
235
type FileStore struct {
236
- Enabled bool `json:"enabled" yaml:"enabled"`
237
- StoreType string `json:"storeType" yaml:"storeType"`
238
- Conn string `json:"conn" yaml:"conn"`
239
- Endpoint string `json:"endpoint" yaml:"endpoint"`
240
- Bucket string `json:"bucket" yaml:"bucket"`
241
- Secret string `json:"secret" yaml:"secret"`
242
- Rules []* FileRule `json:"rules,omitempty" yaml:"rules"`
236
+ Enabled bool `json:"enabled" yaml:"enabled"`
237
+ StoreType string `json:"storeType" yaml:"storeType"`
238
+ Conn string `json:"conn" yaml:"conn"`
239
+ Endpoint string `json:"endpoint" yaml:"endpoint"`
240
+ Bucket string `json:"bucket" yaml:"bucket"`
241
+ Secret string `json:"secret" yaml:"secret"`
242
+ Rules []* FileRule `json:"rules,omitempty" yaml:"rules"`
243
+ DisableSSL * bool `json:"disableSSL,omitempty" yaml:"disableSSL,omitempty"`
244
+ ForcePathStyle * bool `json:"forcePathStyle,omitempty" yaml:"forcePathStyle,omitempty"`
243
245
}
244
246
245
247
// FileRule is the authorization object at the file rule level
@@ -267,23 +269,25 @@ type StaticRoute struct {
267
269
268
270
// Eventing holds the config for the eventing module (task queue)
269
271
type Eventing struct {
270
- Enabled bool `json:"enabled" yaml:"enabled"`
271
- DBAlias string `json:"dbAlias" yaml:"dbAlias"`
272
- Rules map [string ]EventingRule `json:"triggers,omitempty" yaml:"triggers"`
273
- InternalRules map [string ]EventingRule `json:"internalTriggers,omitempty" yaml:"internalTriggers,omitempty"`
274
- SecurityRules map [string ]* Rule `json:"securityRules,omitempty" yaml:"securityRules,omitempty"`
275
- Schemas map [string ]SchemaObject `json:"schemas,omitempty" yaml:"schemas,omitempty"`
272
+ Enabled bool `json:"enabled" yaml:"enabled"`
273
+ DBAlias string `json:"dbAlias" yaml:"dbAlias"`
274
+ Rules map [string ]* EventingRule `json:"triggers,omitempty" yaml:"triggers"`
275
+ InternalRules map [string ]* EventingRule `json:"internalTriggers,omitempty" yaml:"internalTriggers,omitempty"`
276
+ SecurityRules map [string ]* Rule `json:"securityRules,omitempty" yaml:"securityRules,omitempty"`
277
+ Schemas map [string ]SchemaObject `json:"schemas,omitempty" yaml:"schemas,omitempty"`
276
278
}
277
279
278
280
// EventingRule holds an eventing rule
279
281
type EventingRule struct {
280
- Type string `json:"type" yaml:"type"`
281
- Retries int `json:"retries" yaml:"retries"`
282
- // Timeout is in milliseconds
283
- Timeout int `json:"timeout" yaml:"timeout"`
284
- ID string `json:"id" yaml:"id"`
285
- URL string `json:"url" yaml:"url"`
286
- Options map [string ]string `json:"options" yaml:"options"`
282
+ Type string `json:"type" yaml:"type"`
283
+ Retries int `json:"retries" yaml:"retries"`
284
+ Timeout int `json:"timeout" yaml:"timeout"` // Timeout is in milliseconds
285
+ ID string `json:"id" yaml:"id"`
286
+ URL string `json:"url" yaml:"url"`
287
+ Options map [string ]string `json:"options" yaml:"options"`
288
+ Tmpl EndpointTemplatingEngine `json:"template,omitempty" yaml:"template,omitempty"`
289
+ RequestTemplate string `json:"requestTemplate,omitempty" yaml:"requestTemplate,omitempty"`
290
+ OpFormat string `json:"outputFormat,omitempty" yaml:"outputFormat,omitempty"`
287
291
}
288
292
289
293
// SchemaObject is the body of the request for adding schema
0 commit comments