Skip to content

Commit

Permalink
Merge branch 'master' into 132-support-policy-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek committed Feb 23, 2021
2 parents e9e7337 + 5411166 commit b1aff4e
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 21 deletions.
2 changes: 1 addition & 1 deletion code/go/internal/spec/statik.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
multiline:
first_line_pattern: "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}"
fields:
"@timestamp": "2020-04-28T11:07:58.223Z"
ecs.version: "1.5.0"
event.category:
- web

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
multiline:
first_line_pattern: "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}"
fields:
"@timestamp": "2020-04-28T11:07:58.223Z"
ecs.version: "1.5.0"
event.category:
- web
dynamic_fields:
foobar: ".+"
a_numeric_field: "\\d+"
3 changes: 3 additions & 0 deletions versions/1/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
- description: Add specification for package CHANGELOG files.
type: enhancement
link: https://github.com/elastic/package-spec/pull/131
- description: Deprecate JSON-formatted pipeline test configs in favor of YAML-formatted ones
type: enhancement
link: https://github.com/elastic/package-spec/pull/139
- description: Add policy groups
type: enhancement
link: https://github.com/elastic/package-spec/pull/137
18 changes: 16 additions & 2 deletions versions/1/data_stream/_dev/test/pipeline/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,31 @@ spec:
type: file
pattern: '^test-[a-z0-9-]+\.log$'
required: false
- description: Configuration of test case in raw format
- description: JSON-formatted configuration for a test case in raw format
type: file
pattern: '^test-[a-z0-9-]+\.log-config.json$'
contentMediaType: "application/json"
required: false
deprecated: true # use "YAML-formatted configuration for a test case in raw format"
$ref: "./config_raw.spec.yml"
- description: Configuration of test case in JSON format
- description: JSON-formatted configuration for a test case in JSON format
type: file
pattern: '^test-[a-z0-9-]+\.json-config.json$'
contentMediaType: "application/json"
required: false
deprecated: true # use "YAML-formatted configuration for a test case in JSON format"
$ref: "./config_json.spec.yml"
- description: YAML-formatted configuration for a test case in raw format
type: file
pattern: '^test-[a-z0-9-]+\.log-config.yml'
contentMediaType: "application/x-yaml"
required: false
$ref: "./config_raw.spec.yml"
- description: YAML-formatted configuration for a test case in JSON format
type: file
pattern: '^test-[a-z0-9-]+\.json-config.yml'
contentMediaType: "application/x-yaml"
required: false
$ref: "./config_json.spec.yml"
- description: Expected test results
type: file
Expand Down

0 comments on commit b1aff4e

Please sign in to comment.