Skip to content

Commit

Permalink
Merge pull request #24 from ycombinator/dataset-to-data_stream
Browse files Browse the repository at this point in the history
Dataset to data stream
  • Loading branch information
ycombinator authored Sep 30, 2020
2 parents a193a34 + 948d511 commit 734e3cc
Show file tree
Hide file tree
Showing 26 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion code/go/internal/spec/statik.go

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
## Describes the specification for a dataset's various field definition files
## Describes the specification for a data stream's various field definition files
##
spec:
# Everything under here follows JSON schema (https://json-schema.org/), written as YAML for readability
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
## Describes the specification for a dataset's various field definition files
## Describes the specification for a data stream's various field definition files
##
spec:
# Everything under here follows JSON schema (https://json-schema.org/), written as YAML for readability
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
## Describes the specification for a dataset's various field definition files
## Describes the specification for a data stream's various field definition files
##
spec:
# Everything under here follows JSON schema (https://json-schema.org/), written as YAML for readability
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
## Describes the specification for a dataset's manifest.yml file
## Describes the specification for a data stream's manifest.yml file
##
spec:
# Everything under here follows JSON schema (https://json-schema.org/), written as YAML for readability
Expand Down Expand Up @@ -68,32 +68,32 @@ spec:
- name
- type
properties:
name:
description: Name of dataset
dataset:
description: Name of data set.
type: string
title:
description: Title of dataset.
description: Title of data stream.
type: string
examples:
- AWS billing metrics
release:
description: Stability of dataset.
description: Stability of data stream.
type: string
enum:
- experimental
- beta
examples:
- beta
type:
description: Type of dataset
description: Type of data stream
type: string
enum:
- metrics
- logs
examples:
- metrics
streams:
description: Streams offered by dataset.
description: Streams offered by data stream.
type: array
items:
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
spec:
additionalContents: false
contents:
- description: Folder containing a single dataset definition
- description: Folder containing a single data stream definition
type: folder
pattern: '[a-z0-9]([a-z0-9_]+[a-z0-9])?'
required: true
additionalContents: false
contents:
- description: A dataset's manifest file
- description: A data stream's manifest file
type: file
contentMediaType: "application/x-yaml"
name: "manifest.yml"
Expand Down
2 changes: 1 addition & 1 deletion versions/1/manifest.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ spec:
examples:
- Collecting Apache access and error logs
vars:
$ref: "./dataset/manifest.spec.yml#/definitions/vars"
$ref: "./data_stream/manifest.spec.yml#/definitions/vars"
required:
- type
- title
Expand Down
6 changes: 3 additions & 3 deletions versions/1/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
name: "changelog.yml"
required: false
$ref: "./changelog.spec.yml"
- description: Folder containing dataset definitions
- description: Folder containing data stream definitions
type: folder
name: dataset
name: data_stream
required: true
$ref: "./dataset/spec.yml"
$ref: "./data_stream/spec.yml"
- description: Folder containing documentation for the package
type: folder
name: docs
Expand Down

0 comments on commit 734e3cc

Please sign in to comment.