-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add (failing for now) test case for package upgrade w/ error
- Loading branch information
Showing
13 changed files
with
318 additions
and
56 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...ures/test_packages/package_policy_upgrade/0.1.0/data_stream/test_stream/fields/fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: data_stream.type | ||
type: constant_keyword | ||
description: > | ||
Data stream type. | ||
- name: data_stream.dataset | ||
type: constant_keyword | ||
description: > | ||
Data stream dataset. | ||
- name: data_stream.namespace | ||
type: constant_keyword | ||
description: > | ||
Data stream namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. |
4 changes: 4 additions & 0 deletions
4
.../fixtures/test_packages/package_policy_upgrade/0.1.0/data_stream/test_stream/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
title: Test stream | ||
type: logs | ||
streams: | ||
- input: test_input |
3 changes: 3 additions & 0 deletions
3
...gration/apis/fixtures/test_packages/package_policy_upgrade/0.1.0/docs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Test package | ||
|
||
This is a test package for testing automated upgrades for package policies |
15 changes: 15 additions & 0 deletions
15
...eet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.1.0/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
format_version: 1.0.0 | ||
name: package_policy_upgrade | ||
title: Tests package policy upgrades | ||
description: This is a test package for upgrading package policies | ||
version: 0.1.0 | ||
categories: [] | ||
release: beta | ||
type: integration | ||
license: basic | ||
|
||
requirement: | ||
elasticsearch: | ||
versions: '>7.7.0' | ||
kibana: | ||
versions: '>7.7.0' |
16 changes: 16 additions & 0 deletions
16
...ures/test_packages/package_policy_upgrade/0.2.0/data_stream/test_stream/fields/fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: data_stream.type | ||
type: constant_keyword | ||
description: > | ||
Data stream type. | ||
- name: data_stream.dataset | ||
type: constant_keyword | ||
description: > | ||
Data stream dataset. | ||
- name: data_stream.namespace | ||
type: constant_keyword | ||
description: > | ||
Data stream namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. |
11 changes: 11 additions & 0 deletions
11
.../fixtures/test_packages/package_policy_upgrade/0.2.0/data_stream/test_stream/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
title: Test stream | ||
type: logs | ||
streams: | ||
- input: test_input | ||
vars: | ||
- name: test_var | ||
type: text | ||
title: Test Var | ||
required: true | ||
show_user: true | ||
default: Test Value |
3 changes: 3 additions & 0 deletions
3
...gration/apis/fixtures/test_packages/package_policy_upgrade/0.2.0/docs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Test package | ||
|
||
This is a test package for testing automated upgrades for package policies |
23 changes: 23 additions & 0 deletions
23
...eet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.0/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
format_version: 1.0.0 | ||
name: package_policy_upgrade | ||
title: Tests package policy upgrades | ||
description: This is a test package for upgrading package policies | ||
version: 0.3.0 | ||
categories: [] | ||
release: beta | ||
type: integration | ||
license: basic | ||
requirement: | ||
elasticsearch: | ||
versions: '>7.7.0' | ||
kibana: | ||
versions: '>7.7.0' | ||
policy_templates: | ||
- name: package_policy_upgrade | ||
title: Package Policy Upgrade | ||
description: Test Package for Upgrading Package Policies | ||
inputs: | ||
- type: test_input | ||
title: Test Input | ||
description: Test Input | ||
enabled: true |
16 changes: 16 additions & 0 deletions
16
...ures/test_packages/package_policy_upgrade/0.3.0/data_stream/test_stream/fields/fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: data_stream.type | ||
type: constant_keyword | ||
description: > | ||
Data stream type. | ||
- name: data_stream.dataset | ||
type: constant_keyword | ||
description: > | ||
Data stream dataset. | ||
- name: data_stream.namespace | ||
type: constant_keyword | ||
description: > | ||
Data stream namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. |
11 changes: 11 additions & 0 deletions
11
.../fixtures/test_packages/package_policy_upgrade/0.3.0/data_stream/test_stream/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
title: Test stream | ||
type: logs | ||
streams: | ||
- input: test_input | ||
# vars: | ||
# - name: test_var | ||
# type: text | ||
# title: Test Var | ||
# required: true | ||
# show_user: true | ||
# default: Test Value |
3 changes: 3 additions & 0 deletions
3
...gration/apis/fixtures/test_packages/package_policy_upgrade/0.3.0/docs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Test package | ||
|
||
This is a test package for testing automated upgrades for package policies |
23 changes: 23 additions & 0 deletions
23
...eet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.3.0/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
format_version: 1.0.0 | ||
name: package_policy_upgrade | ||
title: Tests package policy upgrades | ||
description: This is a test package for upgrading package policies | ||
version: 0.3.0 | ||
categories: [] | ||
release: beta | ||
type: integration | ||
license: basic | ||
requirement: | ||
elasticsearch: | ||
versions: '>7.7.0' | ||
kibana: | ||
versions: '>7.7.0' | ||
policy_templates: | ||
- name: package_policy_upgrade | ||
title: Package Policy Upgrade | ||
description: Test Package for Upgrading Package Policies | ||
inputs: | ||
- type: test_input | ||
title: Test Input | ||
description: Test Input | ||
enabled: true |
Oops, something went wrong.