Skip to content

Commit 6a1fadd

Browse files
anton-bAnton Benkevich
andauthored
Fix services defs (#96)
* Update herald manually, allowing validation to pass for others * Update kalm definition Co-authored-by: Anton Benkevich <[email protected]>
1 parent abd1211 commit 6a1fadd

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

alsdkdefs/apis/herald/herald.v1.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ paths:
6262
description: Forbidden
6363
'404':
6464
description: Not Found
65-
operationId: get-subscriptions-v1-account_id-entitlements
65+
operationId: get_account_integration
6666
description: Get the specified account integration
6767
security:
6868
- X-AIMS-Auth-Token: []
@@ -82,9 +82,7 @@ paths:
8282
integrations:
8383
type: array
8484
items:
85-
allOf:
86-
- $ref: '#/components/schemas/Integration-Webhook'
87-
- $ref: '#/components/schemas/Integration-Email'
85+
$ref: '#/components/schemas/Integration-Webhook'
8886
examples:
8987
List account Integrations for the Specified Account Response Example:
9088
value:
@@ -104,7 +102,7 @@ paths:
104102
by: 3B8EAFA0-1E1A-4744-AB53-0EE45EA8B102
105103
'403':
106104
description: Forbidden
107-
operationId: 'get-herald-v2-:account_id-integrations'
105+
operationId: get_account_integrations
108106
security:
109107
- X-AIMS-Auth-Token: []
110108
description: List the specified account integration
@@ -139,7 +137,7 @@ paths:
139137
- name: webhook
140138
'403':
141139
description: Forbidden
142-
operationId: get-herald-v2-integration_types
140+
operationId: get_integration_types
143141
description: Get the list of available integration types
144142
security:
145143
- X-AIMS-Auth-Token: []
@@ -159,7 +157,7 @@ paths:
159157
description: Forbidden
160158
'404':
161159
description: Not Found
162-
operationId: 'get-herald-v2-notifications-:notification_id'
160+
operationId: get_notification
163161
security:
164162
- X-AIMS-Auth-Token: []
165163
description: Get a notification by ID
@@ -187,7 +185,7 @@ paths:
187185
description: Forbidden
188186
'404':
189187
description: Not Found
190-
operationId: 'get-herald-v2-:account_id-notifications-:notification_id'
188+
operationId: get_account_notification
191189
security:
192190
- X-AIMS-Auth-Token: []
193191
description: Get a notification by account id and notification id
@@ -220,7 +218,7 @@ paths:
220218
description: Forbidden
221219
'404':
222220
description: Not Found
223-
operationId: 'get-herald-v2-notifications-type-incidents-alerts-:long_incident_id'
221+
operationId: get_sent_incident_notifications
224222
description: Get a notification by ID
225223
security:
226224
- X-AIMS-Auth-Token: []
@@ -234,7 +232,7 @@ paths:
234232
'/herald/v2/{account_id}/notifications':
235233
post:
236234
summary: Send a notification
237-
operationId: 'post-herald-v2-:account_id-notifications'
235+
operationId: sent_notification
238236
responses:
239237
'202':
240238
description: Accepted
@@ -422,7 +420,7 @@ paths:
422420
summary: List subscribers
423421
tags:
424422
- Subscribers
425-
operationId: 'get-herald-v2-:account_id-subscriptions-:subscription_id-subscribers'
423+
operationId: get_account_subscription_subscribers
426424
security:
427425
- X-AIMS-Auth-Token: []
428426
description: List all subscribers subscribed to that subscription
@@ -472,7 +470,7 @@ paths:
472470
$ref: '#/components/schemas/Notification-Type'
473471
'403':
474472
description: Forbidden
475-
operationId: get-herald-v2-notification_types
473+
operationId: get_notification_types
476474
description: Get available notification types
477475
security:
478476
- X-AIMS-Auth-Token: []
@@ -509,7 +507,7 @@ paths:
509507
error: invalid_search_parameters
510508
'403':
511509
description: Forbidden
512-
operationId: 'get-herald-v2-:account_id-subscriptions'
510+
operationId: get_account_subscriptions
513511
security:
514512
- X-AIMS-Auth-Token: []
515513
description: List subscriptions for an account
@@ -556,7 +554,7 @@ paths:
556554
description: Forbidden
557555
'404':
558556
description: Not Found
559-
operationId: 'get-herald-v2-:account_id-subscriptions-:subscription_id'
557+
operationId: get_account_subscription
560558
description: List a subscription for an account by subscription id
561559
security:
562560
- X-AIMS-Auth-Token: []

alsdkdefs/apis/kalm/kalm.v1.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ paths:
6464
- key: asset_type_param
6565
description: Parameter description
6666
type: string
67-
operationId: get-kalm-v1-account_id-named_query-query_name
67+
operationId: get_account_named_query
6868
security:
6969
- X-AIMS-Auth-Token: []
7070
description: Returns named query
@@ -99,7 +99,7 @@ paths:
9999
columns:
100100
account_id: bigint
101101
environment_id: string
102-
operationId: get-kalm-v1-account_id-table-table_name
102+
operationId: get_account_named_table
103103
security:
104104
- X-AIMS-Auth-Token: []
105105
description: Returns table
@@ -150,7 +150,7 @@ paths:
150150
- key: asset_type_param
151151
description: Parameter description
152152
type: string
153-
operationId: get-kalm-v1-account_id-named_query
153+
operationId: get_account_named_queries
154154
description: Returns list of named queries
155155
security:
156156
- X-AIMS-Auth-Token: []
@@ -181,7 +181,7 @@ paths:
181181
columns:
182182
account_id: bigint
183183
environment_id: string
184-
operationId: get-kalm-v1-account_id-table
184+
operationId: get_account_named_tables
185185
description: Returns list of available tables.
186186
security:
187187
- X-AIMS-Auth-Token: []
@@ -224,7 +224,7 @@ paths:
224224
- /aws/us-west-2/sg/sg-07f0b89cae6a8415d
225225
- - 71B0F87C-E015-4368-9672-6A5863B7AAD9
226226
- /aws/us-west-2/host/i-0008b17e2d0943ad8
227-
operationId: get-kalm-v1-account_id-query-named_or_table_query
227+
operationId: run_named_or_table_query
228228
description: 'Runs query and returns query results for named query or existing table. For named queries additional query parameters with a single value each can be passed. If the parameter is not passed then its key is considered as `NULL`'
229229
security:
230230
- X-AIMS-Auth-Token: []

0 commit comments

Comments
 (0)