Skip to content

Commit

Permalink
Add primary keys for generator
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunrn committed Apr 19, 2023
1 parent ad2b4e4 commit 1b177db
Show file tree
Hide file tree
Showing 11 changed files with 263 additions and 163 deletions.
10 changes: 5 additions & 5 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2023-04-04T18:27:42Z"
build_hash: a6ae2078e57187b2daf47978bc07bd67072d2cba
build_date: "2023-04-19T08:40:46Z"
build_hash: e69321ed2d9567bf2d439af970b7466086f0b4fa
go_version: go1.19.4
version: v0.25.0-1-ga6ae207
api_directory_checksum: b14be96ab59442ec6c1665e0c1a14713da9e5f42
version: v0.25.0-6-ge69321e
api_directory_checksum: 017e52b555b690a39a60e82a6f9574ab42b52973
api_version: v1alpha1
aws_sdk_go_version: v1.44.197
generator_config_info:
file_checksum: eb6753cd4cab8dea8412148ed883fca3928ec692
file_checksum: 9da316c2b7ef89650333f38895f067642d5c5e34
original_file_name: generator.yaml
last_modification:
reason: API generation
4 changes: 4 additions & 0 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ operations:
operation_type: SET_ATTRIBUTES
resources:
Topic:
is_arn_primary_key: true
update_operation:
custom_method_name: customUpdate
unpack_attributes_map:
Expand Down Expand Up @@ -87,6 +88,7 @@ resources:
compare:
is_ignored: true
PlatformApplication:
is_arn_primary_key: true
unpack_attributes_map:
set_attributes_single_attribute: false
fields:
Expand Down Expand Up @@ -133,6 +135,7 @@ resources:
tags:
ignore: true
PlatformEndpoint:
is_arn_primary_key: true
unpack_attributes_map:
set_attributes_single_attribute: false
fields:
Expand All @@ -145,6 +148,7 @@ resources:
tags:
ignore: true
Subscription:
is_arn_primary_key: true
update_operation:
custom_method_name: customUpdate
unpack_attributes_map:
Expand Down
4 changes: 4 additions & 0 deletions generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ operations:
operation_type: SET_ATTRIBUTES
resources:
Topic:
is_arn_primary_key: true
update_operation:
custom_method_name: customUpdate
unpack_attributes_map:
Expand Down Expand Up @@ -87,6 +88,7 @@ resources:
compare:
is_ignored: true
PlatformApplication:
is_arn_primary_key: true
unpack_attributes_map:
set_attributes_single_attribute: false
fields:
Expand Down Expand Up @@ -133,6 +135,7 @@ resources:
tags:
ignore: true
PlatformEndpoint:
is_arn_primary_key: true
unpack_attributes_map:
set_attributes_single_attribute: false
fields:
Expand All @@ -145,6 +148,7 @@ resources:
tags:
ignore: true
Subscription:
is_arn_primary_key: true
update_operation:
custom_method_name: customUpdate
unpack_attributes_map:
Expand Down
Loading

0 comments on commit 1b177db

Please sign in to comment.