refactor: move core service to runtime role

This commit is contained in:
joshsiv-mulga
2026-09-29 15:09:32 +10:00
parent 3494ae1319
commit f649315463
4 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,12 +43,12 @@ services:
- "ochre.vector.*"
spinifex_daemon:
path: spinifex/services/spinifex
path: spinifex/runtime/roles/spinifex
# Orchestrator. Owns most ec2.* + all elbv2.* + iam event publication.
# Translates VPC / EBS / S3 operations into vpc.* / ebs.* / s3.* and
# forwards to vpcd / viperblockd / predastore.
#
# Source layout: spinifex/services/spinifex (entry), spinifex/daemon
# Source layout: spinifex/runtime/roles/spinifex (entry), spinifex/daemon
# (subscribe registration), spinifex/handlers/{ec2,elbv2,iam} (per-
# subject handler bodies). Selector treats all four paths as belonging
# to this service via the `additional_paths` field.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/mulgadc/spinifex/spinifex/services/predastore"
"github.com/mulgadc/spinifex/spinifex/runtime/roles/qemunbdd"
"github.com/mulgadc/spinifex/spinifex/runtime/roles/qmpcollector"
"github.com/mulgadc/spinifex/spinifex/services/spinifex"
"github.com/mulgadc/spinifex/spinifex/runtime/roles/spinifex"
"github.com/mulgadc/spinifex/spinifex/runtime/roles/spinifexui"
"github.com/mulgadc/spinifex/spinifex/services/viperblockd"
"github.com/mulgadc/spinifex/spinifex/vpcd"
+1 -1
View File
@@ -26,7 +26,7 @@ func testManifest() *Manifest {
Subscribes: []string{},
},
"spinifex_daemon": {
Path: "spinifex/services/spinifex",
Path: "spinifex/runtime/roles/spinifex",
AdditionalPaths: []string{"spinifex/daemon", "spinifex/handlers/ec2"},
Subscribes: []string{"ec2.RunInstances", "elbv2.CreateLoadBalancer"},
Publishes: []string{"vpc.create", "ebs.mount", "s3.*", "iam.account.created"},