Skip to content

Commit 30379dd

Browse files
committed
Implement Integration resource
Signed-off-by: cpu1 <[email protected]>
1 parent 2c21fa7 commit 30379dd

30 files changed

+3714
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2024-10-01T14:30:01Z"
2+
build_date: "2024-10-01T14:40:38Z"
33
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
44
go_version: go1.22.5
55
version: v0.38.1
6-
api_directory_checksum: b8dc082b90cd42527011a51f85d9b38f429a5242
6+
api_directory_checksum: 85ca315644f8904103deb3d255722ee9eaffbc6a
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.55.0
99
generator_config_info:
10-
file_checksum: 95756ec0f6f0bd663c26f88319c2ac18fbe7b9c8
10+
file_checksum: 874795f69266086e05a02dfe453c0c98e5145565
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
operations:
2+
PutIntegration:
3+
operation_type:
4+
- Create
5+
resource_name: Integration
16
ignore:
27
resource_names:
38
- ApiKey
@@ -122,3 +127,39 @@ resources:
122127
- ConflictException
123128
- NotFoundException
124129
- InvalidParameter
130+
Integration:
131+
fields:
132+
ResourceID:
133+
is_primary_key: true
134+
references:
135+
resource: Resource
136+
path: Status.ID
137+
is_immutable: true
138+
RestAPIID:
139+
references:
140+
resource: RestAPI
141+
path: Status.ID
142+
is_required: true
143+
is_immutable: true
144+
HTTPMethod:
145+
is_required: true
146+
is_immutable: true
147+
Type:
148+
is_immutable: true
149+
ConnectionID:
150+
references:
151+
resource: VPCLink
152+
path: Status.ID
153+
tags:
154+
ignore: true
155+
hooks:
156+
sdk_update_post_build_request:
157+
template_path: hooks/integration/sdk_update_post_build_request.go.tpl
158+
delta_pre_compare:
159+
code: customPreCompare(a, b)
160+
exceptions:
161+
terminal_codes:
162+
- BadRequestException
163+
- ConflictException
164+
- NotFoundException
165+
- InvalidParameter

apis/v1alpha1/integration.go

Lines changed: 151 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/types.go

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)