Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added trigger capture groups. Added enabled and query to FpTrigger. #10

Merged
merged 2 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: trigger capture groups
  • Loading branch information
graza-io committed Jan 16, 2024
commit e7ade7b5311e925152f32f172b1c456760511698
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ docs/FlowpipeRequire.md
docs/FpPipeline.md
docs/FpPipelineParam.md
docs/FpTrigger.md
docs/FpTriggerPipeline.md
docs/ListPipelineResponse.md
docs/ListProcessLogJSONResponse.md
docs/ListProcessResponse.md
Expand Down Expand Up @@ -60,6 +61,7 @@ model_flowpipe_require.go
model_fp_pipeline.go
model_fp_pipeline_param.go
model_fp_trigger.go
model_fp_trigger_pipeline.go
model_list_pipeline_response.go
model_list_process_log_json_response.go
model_list_process_response.go
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Class | Method | HTTP request | Description
- [FpPipeline](docs/FpPipeline.md)
- [FpPipelineParam](docs/FpPipelineParam.md)
- [FpTrigger](docs/FpTrigger.md)
- [FpTriggerPipeline](docs/FpTriggerPipeline.md)
- [ListPipelineResponse](docs/ListPipelineResponse.md)
- [ListProcessLogJSONResponse](docs/ListProcessLogJSONResponse.md)
- [ListProcessResponse](docs/ListProcessResponse.md)
Expand Down
68 changes: 61 additions & 7 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -830,9 +830,11 @@ components:
value: "{}"
resolved: true
mod: mod
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
params:
- default: "{}"
name: name
Expand All @@ -844,6 +846,7 @@ components:
description: description
optional: true
type: type
start_line_number: 6
title: title
steps:
- "{}"
Expand All @@ -855,6 +858,10 @@ components:
type: string
documentation:
type: string
end_line_number:
type: integer
file_name:
type: string
mod:
type: string
name:
Expand All @@ -867,6 +874,8 @@ components:
items:
$ref: '#/components/schemas/FpPipelineParam'
type: array
start_line_number:
type: integer
steps:
items:
type: object
Expand Down Expand Up @@ -899,11 +908,18 @@ components:
type: object
FpTrigger:
example:
pipeline: pipeline
schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
url: url
Expand All @@ -914,12 +930,20 @@ components:
type: string
documentation:
type: string
name:
end_line_number:
type: integer
file_name:
type: string
pipeline:
name:
type: string
pipelines:
items:
$ref: '#/components/schemas/FpTriggerPipeline'
type: array
schedule:
type: string
start_line_number:
type: integer
tags:
additionalProperties:
type: string
Expand All @@ -931,6 +955,16 @@ components:
url:
type: string
type: object
FpTriggerPipeline:
example:
pipeline: pipeline
capture_group: capture_group
properties:
capture_group:
type: string
pipeline:
type: string
type: object
ListPipelineResponse:
example:
next_token: next_token
Expand All @@ -951,9 +985,11 @@ components:
value: "{}"
resolved: true
mod: mod
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
params:
- default: "{}"
name: name
Expand All @@ -965,6 +1001,7 @@ components:
description: description
optional: true
type: type
start_line_number: 6
title: title
steps:
- "{}"
Expand All @@ -987,9 +1024,11 @@ components:
value: "{}"
resolved: true
mod: mod
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
params:
- default: "{}"
name: name
Expand All @@ -1001,6 +1040,7 @@ components:
description: description
optional: true
type: type
start_line_number: 6
title: title
steps:
- "{}"
Expand Down Expand Up @@ -1057,21 +1097,35 @@ components:
example:
next_token: next_token
items:
- pipeline: pipeline
schedule: schedule
- schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
url: url
tags:
key: tags
- pipeline: pipeline
schedule: schedule
- schedule: schedule
pipelines:
- pipeline: pipeline
capture_group: capture_group
- pipeline: pipeline
capture_group: capture_group
file_name: file_name
documentation: documentation
name: name
description: description
end_line_number: 0
start_line_number: 6
title: title
type: type
url: url
Expand Down
78 changes: 78 additions & 0 deletions docs/FpPipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Description** | Pointer to **string** | | [optional]
**Documentation** | Pointer to **string** | | [optional]
**EndLineNumber** | Pointer to **int32** | | [optional]
**FileName** | Pointer to **string** | | [optional]
**Mod** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Outputs** | Pointer to [**[]ModconfigPipelineOutput**](ModconfigPipelineOutput.md) | | [optional]
**Params** | Pointer to [**[]FpPipelineParam**](FpPipelineParam.md) | | [optional]
**StartLineNumber** | Pointer to **int32** | | [optional]
**Steps** | Pointer to **[]map[string]interface{}** | | [optional]
**Tags** | Pointer to **map[string]string** | | [optional]
**Title** | Pointer to **string** | | [optional]
Expand Down Expand Up @@ -83,6 +86,56 @@ SetDocumentation sets Documentation field to given value.

HasDocumentation returns a boolean if a field has been set.

### GetEndLineNumber

`func (o *FpPipeline) GetEndLineNumber() int32`

GetEndLineNumber returns the EndLineNumber field if non-nil, zero value otherwise.

### GetEndLineNumberOk

`func (o *FpPipeline) GetEndLineNumberOk() (*int32, bool)`

GetEndLineNumberOk returns a tuple with the EndLineNumber field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetEndLineNumber

`func (o *FpPipeline) SetEndLineNumber(v int32)`

SetEndLineNumber sets EndLineNumber field to given value.

### HasEndLineNumber

`func (o *FpPipeline) HasEndLineNumber() bool`

HasEndLineNumber returns a boolean if a field has been set.

### GetFileName

`func (o *FpPipeline) GetFileName() string`

GetFileName returns the FileName field if non-nil, zero value otherwise.

### GetFileNameOk

`func (o *FpPipeline) GetFileNameOk() (*string, bool)`

GetFileNameOk returns a tuple with the FileName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetFileName

`func (o *FpPipeline) SetFileName(v string)`

SetFileName sets FileName field to given value.

### HasFileName

`func (o *FpPipeline) HasFileName() bool`

HasFileName returns a boolean if a field has been set.

### GetMod

`func (o *FpPipeline) GetMod() string`
Expand Down Expand Up @@ -183,6 +236,31 @@ SetParams sets Params field to given value.

HasParams returns a boolean if a field has been set.

### GetStartLineNumber

`func (o *FpPipeline) GetStartLineNumber() int32`

GetStartLineNumber returns the StartLineNumber field if non-nil, zero value otherwise.

### GetStartLineNumberOk

`func (o *FpPipeline) GetStartLineNumberOk() (*int32, bool)`

GetStartLineNumberOk returns a tuple with the StartLineNumber field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetStartLineNumber

`func (o *FpPipeline) SetStartLineNumber(v int32)`

SetStartLineNumber sets StartLineNumber field to given value.

### HasStartLineNumber

`func (o *FpPipeline) HasStartLineNumber() bool`

HasStartLineNumber returns a boolean if a field has been set.

### GetSteps

`func (o *FpPipeline) GetSteps() []map[string]interface{}`
Expand Down
Loading