Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 5 additions & 2 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ aliases:
core-ack-team:
- a-hilaly
- RedbackThomson
- jaypipes
- jljaco
# TODO: Add your team members' GitHub aliases to the team alias
service-team: []
service-team:
- embano1
- baldawar
- nikp
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-03-10T13:44:08Z"
build_hash: 8d86a782fb08c15cd1e1c6ba82653a6af55e6378
build_date: "2023-03-14T23:37:52Z"
build_hash: 0888419ec6825035cae1fdee2ceffd7c1ac73ca8
go_version: go1.20
version: v0.24.2-9-g8d86a78
api_directory_checksum: bf5e3c94a538d590a95720e9e8c5b4e4e2c87f09
version: v0.24.3-5-g0888419
api_directory_checksum: 0501e26102bccaff71f18fddd72d0e48a5fdeeb6
api_version: v1alpha1
aws_sdk_go_version: v1.44.218
generator_config_info:
file_checksum: a5fbd6693bd0f143f3468b7644e6228d3a9a4600
file_checksum: 43c88522fc802a0f70ed4c695964dfdca1a2fea2
original_file_name: generator.yaml
last_modification:
reason: API generation
60 changes: 58 additions & 2 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
ignore:
resource_names:
- Pipe
# - Pipe
sdk_names:
model: pipes
client_struct: Pipes
client_interface: PipesAPI
resources:
Pipe:
fields:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if we need custom compare for tags as per API def they're a map type (which I guess you'd consider non-deterministic) -> Tags.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added one :)

DesiredState:
compare:
is_ignored: true
SourceParameters:
compare:
is_ignored: true
TargetParameters:
compare:
is_ignored: true
EnrichmentParameters:
compare:
is_ignored: true
StateReason:
is_read_only: true
from:
operation: DescribePipe
path: StateReason
hooks:
delta_pre_compare:
code: customPreCompare(delta, a, b)
sdk_create_post_set_output:
template_path: hooks/pipe/sdk_create_post_set_output.go.tpl
sdk_update_pre_build_request:
template_path: hooks/pipe/sdk_update_pre_build_request.go.tpl
sdk_update_pre_set_output:
template_path: hooks/pipe/sdk_update_pre_set_output.go.tpl
sdk_update_post_build_request:
template_path: hooks/pipe/sdk_update_post_build_request.go.tpl
sdk_delete_post_request:
template_path: hooks/pipe/sdk_delete_post_request.go.tpl
print:
add_age_column: true
add_synced_column: true
additional_columns:
- name: ARN
json_path: .status.ackResourceMetadata.arn
type: string
priority: 1
- name: SOURCE
json_path: .spec.source
type: string
priority: 1
- name: TARGET
json_path: .spec.target
type: string
priority: 1
- name: STATE
json_path: .status.currentState
type: string
exceptions:
terminal_codes:
- ValidationException
112 changes: 112 additions & 0 deletions apis/v1alpha1/pipe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading