Skip to content

Commit

Permalink
add support for Trigger in glue service
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Sushkov (teeverr) <[email protected]>
  • Loading branch information
Kirill Sushkov (teeverr) committed Oct 14, 2024
1 parent e36fb00 commit d07b35e
Show file tree
Hide file tree
Showing 14 changed files with 2,751 additions and 10 deletions.
25 changes: 24 additions & 1 deletion apis/glue/generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ignore:
- Schema
- Script
- Table
- Trigger
- UserDefinedFunction
- Workflow
- Partition
Expand All @@ -34,6 +33,9 @@ ignore:
- CreateClassifierInput.JsonClassifier
- CreateClassifierInput.GrokClassifier
- CreateConnectionInput.ConnectionInput
- CreateTriggerInput.Name
- DeleteTriggerInput.Name
- GetTriggerInput.Name
- Mapping.Children
resources:
Job:
Expand Down Expand Up @@ -176,3 +178,24 @@ resources:
from:
operation: GetClassifier
path: Classifier.CsvClassifier.Version
Trigger:
renames:
operations:
CreateTrigger:
input_fields:
Type: TriggerType
exceptions:
errors:
404:
code: EntityNotFoundException
fields:
ID:
is_read_only: true
from:
operation: GetTrigger
path: Trigger.Id
State:
is_read_only: true
from:
operation: GetTrigger
path: Trigger.State
2 changes: 2 additions & 0 deletions apis/glue/v1alpha1/custom_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,3 +632,5 @@ type CustomCreateCSVClassifierRequest struct {
// +optional
QuoteSymbol *string `json:"quoteSymbol,omitempty"`
}

type CustomTriggerParameters struct{}
Loading

0 comments on commit d07b35e

Please sign in to comment.