Skip to content

Commit 3ddeb27

Browse files
Merge pull request #3 from edgee-cloud/release-v1.0.0
Release v1.0.0
2 parents e2aeb0a + d07d9b2 commit 3ddeb27

File tree

11 files changed

+27
-146
lines changed

11 files changed

+27
-146
lines changed

.github/workflows/check.yml

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
with:
1616
target: wasm32-wasip2 # WebAssembly target
1717
components: rustfmt
18+
- uses: edgee-cloud/[email protected]
19+
- run: edgee component build
1820
- run: cargo check
1921
fmt:
2022
name: cargo fmt
@@ -24,6 +26,8 @@ jobs:
2426
- uses: dtolnay/rust-toolchain@stable
2527
with:
2628
components: rustfmt
29+
- uses: edgee-cloud/[email protected]
30+
- run: edgee component build
2731
- uses: actions-rust-lang/rustfmt@v1
2832
clippy:
2933
name: clippy
@@ -35,6 +39,8 @@ jobs:
3539
- uses: dtolnay/rust-toolchain@stable
3640
with:
3741
components: clippy
42+
- uses: edgee-cloud/[email protected]
43+
- run: edgee component build
3844
- uses: wearerequired/lint-action@master
3945
with:
4046
clippy: true
@@ -60,6 +66,8 @@ jobs:
6066
steps:
6167
- uses: actions/checkout@v4
6268
- uses: dtolnay/rust-toolchain@stable
69+
- uses: edgee-cloud/[email protected]
70+
- run: edgee component build
6371
- run: make test
6472

6573
coverage:
@@ -69,5 +77,7 @@ jobs:
6977
- uses: actions/checkout@v4
7078
- uses: dtolnay/rust-toolchain@stable
7179
- uses: taiki-e/install-action@cargo-llvm-cov
80+
- uses: edgee-cloud/[email protected]
81+
- run: edgee component build
7282
- run: make test.coverage.lcov
7383
- uses: coverallsapp/github-action@v2

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
debug/
22
target/
33
kinesis.wasm
4-
lcov.info
4+
lcov.info
5+
.edgee/

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "amazon-kinesis-component"
3-
version = "0.1.0"
3+
version = "1.0.0"
44
edition = "2021"
55

66
[lib]

edgee-component.toml

+11-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@ manifest-version = 1
22

33
[component]
44
name = "Amazon Kinesis"
5-
version = "0.1.1"
5+
version = "1.0.0"
66

77
category = "data-collection"
88
subcategory = "warehouse"
9-
description = "Amazon Kinesis Edgee component"
10-
documentation = "https://github.com/edgee-cloud/amazon-kinesis-component"
9+
documentation = "https://www.edgee.cloud/docs/components/data-collection/amazon-kinesis"
1110
repository = "https://github.com/edgee-cloud/amazon-kinesis-component"
1211
icon-path = "kinesis.png"
13-
wit-world-version = "0.5.0"
12+
wit-version = "1.0.0"
13+
language = "Rust"
14+
description = '''
15+
This component enables seamless integration between [Edgee](https://www.edgee.cloud)
16+
and [Amazon Kinesis](https://aws.amazon.com/kinesis/),
17+
allowing you to collect and forward analytics events to your streaming pipelines.
18+
19+
All Kinesis records contain a full JSON dump of the incoming event.
20+
'''
1421

1522
[component.build]
1623
command = "cargo build --target wasm32-wasip2 --release --target-dir ./target && mv ./target/wasm32-wasip2/release/amazon_kinesis_component.wasm ./kinesis.wasm"

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mod kinesis_payload;
44

55
wit_bindgen::generate!({
66
world: "data-collection",
7-
path: "wit",
7+
path: ".edgee/wit",
88
additional_derives: [serde::Serialize],
99
generate_all,
1010
});
@@ -80,7 +80,7 @@ mod tests {
8080
locale,
8181
timezone: "CET".to_string(),
8282
user_agent: "Chrome".to_string(),
83-
user_agent_architecture: "fuck knows".to_string(),
83+
user_agent_architecture: "x86".to_string(),
8484
user_agent_bitness: "64".to_string(),
8585
user_agent_full_version_list: "abc".to_string(),
8686
user_agent_version_list: "abc".to_string(),

wit/deps.lock

-4
This file was deleted.

wit/deps.toml

-1
This file was deleted.

wit/deps/edgee/consent-mapping.wit

-13
This file was deleted.

wit/deps/edgee/data-collection.wit

-114
This file was deleted.

wit/world.wit

-5
This file was deleted.

0 commit comments

Comments
 (0)