Skip to content

Commit

Permalink
File Transfer and subscription reliability (#2314)
Browse files Browse the repository at this point in the history
* Initial functionality for file transfer API
* Update dependencies
* Fix IoT edge installation script
* Run watchdog action when subscription is timed out or ka are missed. 
* Update docker deployment to better test publishing scenarios.
* Add default heartbeat setting option into entry to scale test heartbeat handling.  
* Additional diagnostics to capture running heartbeat and condition timers/items
* Fix heartbeat timer firing constantly 
* #2301 
* #2313
  • Loading branch information
marcschier authored Aug 7, 2024
1 parent a2679e7 commit b9ef030
Show file tree
Hide file tree
Showing 97 changed files with 8,985 additions and 182 deletions.
7 changes: 3 additions & 4 deletions deploy/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- "50000:50000"
command: [
"--sph=True",
"--spf=/shared/pn.json",
"--spf=/shared/opcplc.json",
"--pn=50000",
"--alm=True",
"--ses=True",
Expand Down Expand Up @@ -39,17 +39,16 @@ services:
"--di=60",
"--cl=5",
"--cto=30",
"--mr=5000",
"--sto=1200",
"--rs",
"--dm=True",
"--sqp",
"--cfa",
"--lfm=syslog",
"--pki=/shared/pki",
"--pf=/shared/pn.json",
"--npd=${NODES_PER_DATASET:-5000}"
]
environment:
PublishedNodesFile: /shared/opcplc.json
ADDITIONAL_CONFIGURATION: /run/secrets/publisher-secrets
secrets:
- publisher-secrets
Expand Down
14 changes: 14 additions & 0 deletions deploy/docker/with-localvolume.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
publisher:
environment:
PublishedNodesFile: /shared/pn.json
UseFileChangePolling: True
volumes:
- shared:/shared:rw
volumes:
shared:
driver: local
driver_opts:
type: none
device: c:\Shared
o: bind
6 changes: 5 additions & 1 deletion deploy/iotedge/eflow-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

param(
[string] $IotHubName,
[string] $TenantId = "6e54c408-5edd-4f87-b3bb-360788b7ca18",
[string] $TenantId,
[string] $SubscriptionId,
[string] $SharedFolderPath,
[switch] $ProvisioningOnly,
Expand All @@ -45,6 +45,10 @@ $eflowMsiUri = "https://aka.ms/AzEFLOWMSI_1_4_LTS_X64"
$ErrorActionPreference = "Stop"
$path = Split-Path $script:MyInvocation.MyCommand.Path

if ([string]::IsNullOrWhiteSpace($TenantId)) {
$TenantId = $env:AZURE_TENANT_ID
}

$setupPath = Join-Path $path "eflow-setup"
if (!(Test-Path $setupPath)) {
New-Item -ItemType Directory -Path $setupPath | Out-Null
Expand Down
Loading

0 comments on commit b9ef030

Please sign in to comment.