Skip to content

Commit

Permalink
[UII] Add types to return content packages correctly (elastic#195505)
Browse files Browse the repository at this point in the history
## Summary

Related to elastic#192484. This PR adding [new content package types and
schemas](elastic/package-spec#777) so that
content packages can be returned correctly from EPR to unblock
development of those packages.

The only current content package is `kubernetes_otel`. You will need to
bump up the max allowed spec version and search with beta (prerelease)
packages enabled to find it:
```
xpack.fleet.internal.registry.spec.max: '3.4'
```

Tests will come with the rest of work for elastic#192484

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
jen-huang and kibanamachine authored Oct 9, 2024
1 parent a31b16e commit bd6533f
Show file tree
Hide file tree
Showing 8 changed files with 655 additions and 15 deletions.
144 changes: 138 additions & 6 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -19328,6 +19328,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -19716,7 +19737,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down Expand Up @@ -19793,6 +19815,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -20181,7 +20224,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down Expand Up @@ -21769,6 +21813,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -22197,7 +22262,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down Expand Up @@ -22329,6 +22395,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -22757,7 +22844,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down Expand Up @@ -23279,6 +23367,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -23707,7 +23816,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down Expand Up @@ -23827,6 +23937,27 @@
"description": {
"type": "string"
},
"discovery": {
"additionalProperties": true,
"properties": {
"fields": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"download": {
"type": "string"
},
Expand Down Expand Up @@ -24255,7 +24386,8 @@
"type": {
"enum": [
"integration",
"input"
"input",
"content"
],
"type": "string"
},
Expand Down
Loading

0 comments on commit bd6533f

Please sign in to comment.