Skip to content

Commit

Permalink
Add overlay for deep objects in alias APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Sep 19, 2024
1 parent de3ea99 commit 3f32db8
Showing 1 changed file with 39 additions and 3 deletions.
42 changes: 39 additions & 3 deletions docs/overlays/elasticsearch-shared-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ info:
version: 0.0.1
actions:
# Abbreviate and annotate items that are not shown in Bump.sh due to depth limits
<<<<<<< HEAD:docs/overlays/elasticsearch-shared-overlays.yaml
- target: "$.components['schemas']['ml._types:Datafeed'].properties.query"
description: Remove query object from anomaly detection datafeed
remove: true
Expand Down Expand Up @@ -75,7 +74,6 @@ actions:
externalDocs:
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
description: Query DSL
=======
- target: "$.components['schemas']['security._types:IndicesPrivilegesQuery'].oneOf"
description: Remove types from security role descriptors indices query
remove: true
Expand All @@ -86,7 +84,45 @@ actions:
oneOf:
- type: string
- type: object
>>>>>>> 295ccb76c (Add overlay for deep objects in security APIs):docs/overlays/elasticsearch-shared-example-overlays.yaml
- target: "$.components['schemas']['indices.update_aliases:AddAction'].properties.filter"
description: Remove filter from update aliases add action
remove: true
- target: "$.components['schemas']['indices.update_aliases:AddAction'].properties"
description: Re-add simplified filter for update aliases add action
update:
filter:
x-abbreviated: true
type: object
description: A query used to limit the documents the alias can access.
externalDocs:
description: Query DSL
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
- target: "$.components['requestBodies']['indices.put_alias'].content['application/json'].schema.properties.filter"
description: Remove filter from create or update alias
remove: true
- target: "$.components['requestBodies']['indices.put_alias'].content['application/json'].schema.properties"
description: Re-add simplified filter for create or update alias
update:
filter:
x-abbreviated: true
type: object
description: A query used to limit the documents the alias can access.
externalDocs:
description: Query DSL
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
- target: "$.components['schemas']['indices._types:AliasDefinition'].properties.filter"
description: Remove filter from alias definition
remove: true
- target: "$.components['schemas']['indices._types:AliasDefinition'].properties"
description: Re-add simplified filter for alias definition
update:
filter:
x-abbreviated: true
type: object
description: A query used to limit the documents the alias can access.
externalDocs:
description: Query DSL
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
# Examples
- target: "$.components['requestBodies']['async_search.submit']"
description: "Add example for asynch search submit request"
Expand Down

0 comments on commit 3f32db8

Please sign in to comment.