From 6d16f9f259a9e1c047f85c6438efd8aeaaea30ad Mon Sep 17 00:00:00 2001 From: Brooks Townsend Date: Fri, 11 Oct 2024 10:27:10 -0400 Subject: [PATCH] chore: prefix shared annotation with experimental Signed-off-by: Brooks Townsend --- crates/wadm-types/src/lib.rs | 2 +- tests/e2e.rs | 1 + tests/fixtures/manifests/shared/shared_component.yaml | 2 +- tests/fixtures/manifests/shared/shared_http.yaml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/wadm-types/src/lib.rs b/crates/wadm-types/src/lib.rs index 840f2a4b..4abe821d 100644 --- a/crates/wadm-types/src/lib.rs +++ b/crates/wadm-types/src/lib.rs @@ -25,7 +25,7 @@ pub const VERSION_ANNOTATION_KEY: &str = "version"; /// spec](https://github.com/oam-dev/spec/blob/master/metadata.md#annotations-format) pub const DESCRIPTION_ANNOTATION_KEY: &str = "description"; /// The annotation key for shared applications -pub const SHARED_ANNOTATION_KEY: &str = "wasmcloud.dev/shared"; +pub const SHARED_ANNOTATION_KEY: &str = "experimental.wasmcloud.dev/shared"; /// The identifier for the builtin spreadscaler trait type pub const SPREADSCALER_TRAIT: &str = "spreadscaler"; /// The identifier for the builtin daemonscaler trait type diff --git a/tests/e2e.rs b/tests/e2e.rs index bc4ec838..7d83c9bf 100644 --- a/tests/e2e.rs +++ b/tests/e2e.rs @@ -24,6 +24,7 @@ use wadm_types::{ use wasmcloud_control_interface::HostInventory; const LOG_DIR: &str = "tests/e2e_log"; +pub const DEFAULT_LATTICE_ID: &str = "default"; // Due to download times and the time needed to stabilize, we still need to wait for just a little bit // This number comes from 30s (max backoff time) + 5s of wiggle room pub const DEFAULT_WAIT_TIME: Duration = Duration::from_secs(35); diff --git a/tests/fixtures/manifests/shared/shared_component.yaml b/tests/fixtures/manifests/shared/shared_component.yaml index f04c2125..65ea4e41 100644 --- a/tests/fixtures/manifests/shared/shared_component.yaml +++ b/tests/fixtures/manifests/shared/shared_component.yaml @@ -4,7 +4,7 @@ metadata: name: shared-component annotations: description: 'A shared component!' - wasmcloud.dev/shared: 'true' + experimental.wasmcloud.dev/shared: 'true' spec: components: - name: link-to-meee diff --git a/tests/fixtures/manifests/shared/shared_http.yaml b/tests/fixtures/manifests/shared/shared_http.yaml index 09d8d51c..94b3bd31 100644 --- a/tests/fixtures/manifests/shared/shared_http.yaml +++ b/tests/fixtures/manifests/shared/shared_http.yaml @@ -4,7 +4,7 @@ metadata: name: shared-http annotations: description: 'A shared HTTP server and client, for everybody!!!!!!!!!!!!!!!!!!!!' - wasmcloud.dev/shared: 'true' + experimental.wasmcloud.dev/shared: 'true' spec: components: - name: httpclient