Skip to content

Commit

Permalink
feat(events): Add internal event id to event metadata (vectordotdev#2…
Browse files Browse the repository at this point in the history
…1074)

* add internal event id to event metadata

* fix formatting

* formatting

* rename source_event_id + use uuid v7 + add uuid as workspace dependency

* cargo fmt

* use derivative crate to ignore source_event_id field for PartialEq

* rebase + merge

* fix Cargo.toml file

* add protobuf parsing for event id field

* generate new test fixtures

* Update Cargo.lock

* add pre-v41 to native.rs test-suit + fix import re-ordering

* add pre-v41 tests for roundtrip_fixtures & decoding_matches
  • Loading branch information
ArunPiduguDD authored and AndrooTheChen committed Sep 23, 2024
1 parent 8fed86e commit c9977f4
Show file tree
Hide file tree
Showing 4,099 changed files with 2,574 additions and 1,047 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,13 @@ serde = { version = "1.0.209", default-features = false, features = ["alloc", "d
toml = { version = "0.8.19", default-features = false, features = ["display", "parse"] }
tonic = { version = "0.11", default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "gzip"] }
tonic-build = { version = "0.11", default-features = false, features = ["transport", "prost"] }
uuid = { version = "1.10.0", features = ["v4", "v7", "serde"] }
vrl = { git = "https://github.com/vectordotdev/vrl", rev = "bab1cd50658f8a50008902e96e9fa4e5c5a9547c", features = ["arbitrary", "cli", "test", "test_framework"] }

[dependencies]
pin-project.workspace = true
clap.workspace = true
uuid.workspace = true
vrl.workspace = true
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
Expand Down Expand Up @@ -349,7 +351,6 @@ tonic = { workspace = true, optional = true }
hickory-proto = { version = "0.24.1", default-features = false, features = ["dnssec"], optional = true }
typetag = { version = "0.2.18", default-features = false }
url = { version = "2.5.2", default-features = false, features = ["serde"] }
uuid = { version = "1", default-features = false, features = ["serde", "v4"] }
warp = { version = "0.3.7", default-features = false }
zstd = { version = "0.13.0", default-features = false }
arr_macro = { version = "0.2.1" }
Expand Down
2 changes: 1 addition & 1 deletion lib/codecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ indoc = { version = "2", default-features = false }
tokio = { version = "1", features = ["test-util"] }
similar-asserts = "1.5.0"
vector-core = { path = "../vector-core", default-features = false, features = ["vrl", "test"] }
uuid = { version = "1", default-features = false, features = ["serde", "v4"] }
uuid.workspace = true
rstest = "0.22.0"
vrl.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0000.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0001.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0002.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0003.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0004.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0005.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c9977f4

Please sign in to comment.