Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 56 additions & 56 deletions blueprints/dual-peered-single-node-cluster/terraform/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ variable "namespaced_assets" {
topic = optional(string)
retain = optional(string)
qos = optional(string)
path = optional(string)
})
})), [])
})), [])
Expand Down
9 changes: 9 additions & 0 deletions blueprints/full-multi-node-cluster/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1594,6 +1594,15 @@ Stream configuration for assets.
| typeRef | `string` | Type reference for the stream. |
| destinations | `array` | Destinations for the stream set. |

### `_4.AssetStreamDestination`

Stream destination configuration for assets.

| Property | Type | Description |
|:--------------|:---------|:---------------------------------------------|
| target | `string` | Target for the destination: Mqtt or Storage. |
| configuration | `object` | Configuration for the destination. |

### `_4.DatasetDestination`

Dataset destination configuration.
Expand Down
2 changes: 1 addition & 1 deletion blueprints/full-multi-node-cluster/terraform/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ namespaced_devices = [
authentication = {
method = "UsernamePassword"
usernamePasswordCredentials = {
usernameSecretName = "camera-credentials-username"
passwordSecretName = "camera-credentials-password"
usernameSecretName = "camera-credentials/username"
passwordSecretName = "camera-credentials/password"
}
}
}
Expand All @@ -56,6 +56,16 @@ namespaced_devices = [
]

// Media capture task assets
/*
* Media connector tasks are configured as streams. Each streamConfiguration
* sets taskType and autostart plus task settings: format and snapshotsPerSecond
* for snapshots, format and duration (seconds) for clips.
*
* File system tasks write to a Storage destination path. The path must be the
* root of a volume mounted on the connector template or start with /tmp. The
* connector templates this blueprint deploys don't mount a volume, so these
* examples write to ephemeral /tmp paths.
*/
namespaced_assets = [
{
name = "warehouse-camera-01-snapshots"
Expand All @@ -69,17 +79,17 @@ namespaced_assets = [
assetType = "media-snapshots"
location = "Warehouse Main Entrance"
}
datasets = [
streams = [
{
name = "snapshots"
data_source = ""
dataset_configuration = "{\"taskType\":\"snapshot-to-mqtt\",\"intervalSeconds\":5,\"quality\":85}"
data_points = []
name = "snapshots"
stream_configuration = "{\"taskType\":\"snapshot-to-mqtt\",\"autostart\":true,\"format\":\"jpeg\",\"snapshotsPerSecond\":0.2}"
destinations = [
{
target = "Mqtt"
configuration = {
topic = "warehouse/camera-01/snapshots"
topic = "warehouse/camera-01/snapshots"
qos = "Qos1"
retain = "Never"
}
}
]
Expand All @@ -98,13 +108,18 @@ namespaced_assets = [
assetType = "media-clips"
location = "Warehouse Main Entrance"
}
datasets = [
streams = [
{
name = "clips"
data_source = ""
dataset_configuration = "{\"taskType\":\"clip-to-fs\",\"durationSeconds\":30,\"storagePath\":\"/clips\"}"
data_points = []
destinations = []
name = "clips"
stream_configuration = "{\"taskType\":\"clip-to-fs\",\"autostart\":true,\"format\":\"mkv\",\"duration\":30}"
destinations = [
{
target = "Storage"
configuration = {
path = "/tmp/clips"
}
}
]
}
]
},
Expand All @@ -120,13 +135,18 @@ namespaced_assets = [
assetType = "media-snapshots"
location = "Loading Dock"
}
datasets = [
streams = [
{
name = "snapshots"
data_source = ""
dataset_configuration = "{\"taskType\":\"snapshot-to-fs\",\"intervalSeconds\":10,\"quality\":90,\"storagePath\":\"/snapshots\"}"
data_points = []
destinations = []
name = "snapshots"
stream_configuration = "{\"taskType\":\"snapshot-to-fs\",\"autostart\":true,\"format\":\"jpeg\",\"snapshotsPerSecond\":0.1}"
destinations = [
{
target = "Storage"
configuration = {
path = "/tmp/snapshots"
}
}
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ variable "namespaced_assets" {
topic = optional(string)
retain = optional(string)
qos = optional(string)
path = optional(string)
})
})), [])
})), [])
Expand Down
9 changes: 9 additions & 0 deletions blueprints/minimum-single-node-cluster/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,15 @@ Stream configuration for assets.
| typeRef | `string` | Type reference for the stream. |
| destinations | `array` | Destinations for the stream set. |

### `_1.AssetStreamDestination`

Stream destination configuration for assets.

| Property | Type | Description |
|:--------------|:---------|:---------------------------------------------|
| target | `string` | Target for the destination: Mqtt or Storage. |
| configuration | `object` | Configuration for the destination. |

### `_1.DatasetDestination`

Dataset destination configuration.
Expand Down
Loading
Loading