Record Mimir semantic Verse provider routes
This commit is contained in:
parent
db901a2509
commit
20410b5a26
5 changed files with 61 additions and 13 deletions
|
|
@ -46,6 +46,11 @@ $stdout = Join-Path $runDir "fensalir-daemon.out.log"
|
|||
$stderr = Join-Path $runDir "fensalir-daemon.err.log"
|
||||
$manifest = Join-Path $runDir "supervisor.json"
|
||||
$dll = Join-Path $repo "src\Mimir.FensalirDaemon\bin\Debug\net10.0\Mimir.FensalirDaemon.dll"
|
||||
$rootVerse = "asgard"
|
||||
$locatedService = "$rootVerse.starfire.mimir-fensalir"
|
||||
$tuiAddress = "$locatedService/eve/tui"
|
||||
$guiAddress = "$locatedService/eve/gui"
|
||||
$bridgeRoute = "ws://127.0.0.1:$Port/eve/deck"
|
||||
|
||||
$arguments = @(
|
||||
$dll,
|
||||
|
|
@ -76,8 +81,16 @@ $process = Start-Process -FilePath "dotnet" -ArgumentList $arguments -WorkingDir
|
|||
maxReservoirQueue = $MaxReservoirQueue
|
||||
wellLog = $WellLog
|
||||
cultCache = $CultCache
|
||||
providerSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck"
|
||||
cultMeshProviderSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck/cultmesh"
|
||||
rootVerse = $rootVerse
|
||||
canonicalService = "$rootVerse.mimir-fensalir"
|
||||
locatedService = $locatedService
|
||||
cultMeshAddress = $tuiAddress
|
||||
providerSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|$tuiAddress"
|
||||
endpoints = @($tuiAddress, $guiAddress)
|
||||
routes = @(
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $bridgeRoute; carries = $tuiAddress; note = "Fensalir Eve deck bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = "$bridgeRoute/cultmesh"; carries = $tuiAddress; note = "Legacy CultMesh bridge route; not service identity." }
|
||||
)
|
||||
stdout = $stdout
|
||||
stderr = $stderr
|
||||
started = (Get-Date).ToString("o")
|
||||
|
|
@ -85,5 +98,6 @@ $process = Start-Process -FilePath "dotnet" -ArgumentList $arguments -WorkingDir
|
|||
|
||||
Write-Host "Started Mimir.FensalirDaemon PID $($process.Id)"
|
||||
Write-Host "Health: http://127.0.0.1:$Port/health"
|
||||
Write-Host "Eve provider: mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck"
|
||||
Write-Host "Eve provider: mimir-fensalir-daemon|Mimir Fensalir Daemon|$tuiAddress"
|
||||
Write-Host "Bridge route: $bridgeRoute"
|
||||
Write-Host "Manifest: $manifest"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ param(
|
|||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$repo = Split-Path -Parent $PSScriptRoot
|
||||
$rootVerse = "asgard"
|
||||
$locatedService = "$rootVerse.starfire.mimir"
|
||||
$cultMeshAddress = "$locatedService/periwinkle/eve/tui"
|
||||
$logDir = Join-Path $repo "artifacts\runtime\mvp-leap-eyes-kiyo"
|
||||
New-Item -ItemType Directory -Force -Path $logDir | Out-Null
|
||||
|
||||
|
|
@ -94,5 +97,7 @@ if ($Headless) {
|
|||
}
|
||||
|
||||
Write-Host "MIMIR_RUNTIME_CONFIG=$ConfigPath"
|
||||
Write-Host "CultMesh address: $cultMeshAddress"
|
||||
Write-Host "Bridge route: $WitnessUrl"
|
||||
Write-Host "Starting MVP: Starfire Leap + Kiyo Pro, Nightwing Eye/Move witness claims"
|
||||
dotnet @args
|
||||
|
|
|
|||
|
|
@ -24,6 +24,11 @@ param(
|
|||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$repo = Split-Path -Parent $PSScriptRoot
|
||||
$rootVerse = "asgard"
|
||||
$locatedMimir = "$rootVerse.starfire.mimir"
|
||||
$locatedFensalir = "$rootVerse.starfire.mimir-fensalir"
|
||||
$periwinkleTui = "$locatedMimir/periwinkle/eve/tui"
|
||||
$periwinkleGui = "$locatedMimir/periwinkle/eve/gui"
|
||||
$runId = Get-Date -Format "yyyyMMdd-HHmmss"
|
||||
$runDir = Join-Path $repo "artifacts\runtime\online-verse-daemons-$runId"
|
||||
New-Item -ItemType Directory -Force -Path $runDir | Out-Null
|
||||
|
|
@ -99,6 +104,16 @@ $manifest = [ordered]@{
|
|||
kind = "mimir.online_verse_daemon_supervisor.v1"
|
||||
runId = $runId
|
||||
runDir = $runDir
|
||||
rootVerse = $rootVerse
|
||||
canonicalService = "$rootVerse.mimir"
|
||||
locatedService = $locatedMimir
|
||||
cultMeshAddress = $periwinkleTui
|
||||
endpoints = @($periwinkleTui, $periwinkleGui)
|
||||
routes = @(
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $WitnessUrl; carries = $periwinkleTui; note = "Nightwing witness bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $SubscribeUrl; carries = $periwinkleTui; note = "Recorder subscription bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $WellPublishUrl; carries = $periwinkleTui; note = "Well publication bridge route; not service identity." }
|
||||
)
|
||||
witnessUrl = $WitnessUrl
|
||||
subscribeUrl = $SubscribeUrl
|
||||
wellPublishUrl = $WellPublishUrl
|
||||
|
|
@ -186,7 +201,9 @@ if (-not $SkipFensalir) {
|
|||
$manifest.processes["fensalirDaemonPid"] = $fensalir.Id
|
||||
$manifest.processes["fensalirWellLog"] = $fensalirWellLog
|
||||
$manifest.processes["fensalirCultCache"] = $fensalirCache
|
||||
$manifest.processes["fensalirProviderSpec"] = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$FensalirPort/eve/deck"
|
||||
$manifest.processes["fensalirProviderSpec"] = "mimir-fensalir-daemon|Mimir Fensalir Daemon|$locatedFensalir/eve/tui"
|
||||
$manifest.processes["fensalirGui"] = "$locatedFensalir/eve/gui"
|
||||
$manifest.processes["fensalirBridgeRoute"] = "ws://127.0.0.1:$FensalirPort/eve/deck"
|
||||
Wait-HttpHealth -Url "http://127.0.0.1:$FensalirPort/health"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue