Skip to content

Commit

Permalink
Merge pull request #2104 from swisscom/feature/glue-trigger-resource
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterMX authored Oct 22, 2024
2 parents 40dd722 + d07b35e commit 2e142ad
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 2e142ad

Please sign in to comment.