diff --git a/README.md b/README.md index 3f760a5..fd4e736 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ without its neighbour checked out is a repository nobody can build. ``` mesh-controller: ./build/mesh-controller plan --json > /tmp/d.json -mesh-host: MESH_EMITTED=/tmp/d.json go test ./internal/declaration/ -v +mesh-sdk: MESH_EMITTED=/tmp/d.json go test ./declaration/ -v (run in mesh-sdk's go/ directory) ``` **What this node says when it joins, read by the mesh:** diff --git a/cmd/mesh-host/filling.go b/cmd/mesh-host/filling.go index 22f6dcc..ff84109 100644 --- a/cmd/mesh-host/filling.go +++ b/cmd/mesh-host/filling.go @@ -6,8 +6,8 @@ import ( "errors" "path/filepath" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/filling" "github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/system" diff --git a/cmd/mesh-host/judge_directories.go b/cmd/mesh-host/judge_directories.go index c8a9070..c65d19f 100644 --- a/cmd/mesh-host/judge_directories.go +++ b/cmd/mesh-host/judge_directories.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/store" ) diff --git a/cmd/mesh-host/libraries.go b/cmd/mesh-host/libraries.go index f0addb1..040eb2c 100644 --- a/cmd/mesh-host/libraries.go +++ b/cmd/mesh-host/libraries.go @@ -11,8 +11,8 @@ import ( "sync/atomic" "time" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/store" ) diff --git a/cmd/mesh-host/libraries_test.go b/cmd/mesh-host/libraries_test.go index 49ab1a3..2f3aafb 100644 --- a/cmd/mesh-host/libraries_test.go +++ b/cmd/mesh-host/libraries_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/link" ) diff --git a/cmd/mesh-host/main.go b/cmd/mesh-host/main.go index f8691fa..4e0ff61 100644 --- a/cmd/mesh-host/main.go +++ b/cmd/mesh-host/main.go @@ -29,10 +29,10 @@ import ( "text/tabwriter" "time" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/accounts" "github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/bundle" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/firewall" "github.com/novox/mesh-host/internal/identity" "github.com/novox/mesh-host/internal/inventory" diff --git a/cmd/mesh-host/main_test.go b/cmd/mesh-host/main_test.go index b860dc6..1aaf8bf 100644 --- a/cmd/mesh-host/main_test.go +++ b/cmd/mesh-host/main_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/bundle" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/identity" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/store" diff --git a/cmd/mesh-host/module_facts_test.go b/cmd/mesh-host/module_facts_test.go index 79b485a..fe8f810 100644 --- a/cmd/mesh-host/module_facts_test.go +++ b/cmd/mesh-host/module_facts_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" ) // 1132/AC1, AC3: the report carries one fact per module the declaration names, with the build the controller sent for diff --git a/cmd/mesh-host/network_test.go b/cmd/mesh-host/network_test.go index 670702e..8f9dcef 100644 --- a/cmd/mesh-host/network_test.go +++ b/cmd/mesh-host/network_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/novox/mesh-host/internal/declaration" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/liveness" "github.com/novox/mesh-host/internal/network" ) diff --git a/cmd/mesh-host/probe.go b/cmd/mesh-host/probe.go index 64934f4..da5214b 100644 --- a/cmd/mesh-host/probe.go +++ b/cmd/mesh-host/probe.go @@ -6,8 +6,8 @@ import ( "os/exec" "sort" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/system" ) diff --git a/cmd/mesh-host/probe_test.go b/cmd/mesh-host/probe_test.go index d26e156..6433fd2 100644 --- a/cmd/mesh-host/probe_test.go +++ b/cmd/mesh-host/probe_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/novox/mesh-host/internal/declaration" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/system" ) diff --git a/cmd/mesh-host/replay233_test.go b/cmd/mesh-host/replay233_test.go index c46cf04..9cc0277 100644 --- a/cmd/mesh-host/replay233_test.go +++ b/cmd/mesh-host/replay233_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/novox/mesh-host/internal/declaration" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/store" ) diff --git a/cmd/mesh-host/units_test.go b/cmd/mesh-host/units_test.go index b079b1c..22ce465 100644 --- a/cmd/mesh-host/units_test.go +++ b/cmd/mesh-host/units_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/accounts" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/liveness" "github.com/novox/mesh-host/internal/units" diff --git a/cmd/mesh-host/vaultbox_nats_test.go b/cmd/mesh-host/vaultbox_nats_test.go index 74be00e..ddb83c6 100644 --- a/cmd/mesh-host/vaultbox_nats_test.go +++ b/cmd/mesh-host/vaultbox_nats_test.go @@ -19,8 +19,8 @@ import ( "git.novox.be/novox/mesh-sdk/go/seal" "github.com/nats-io/nats.go" + "git.novox.be/novox/mesh-sdk/go/declaration" "github.com/novox/mesh-host/internal/apply" - "github.com/novox/mesh-host/internal/declaration" "github.com/novox/mesh-host/internal/identity" "github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/store" diff --git a/go.mod b/go.mod index 37f75e4..e8898e6 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/novox/mesh-host go 1.26.0 require ( - git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020011849-ba684e54976b + git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020085642-ab0c16ddad26 github.com/nats-io/nats.go v1.54.0 golang.org/x/crypto v0.57.0 golang.org/x/sys v0.48.0 diff --git a/go.sum b/go.sum index 1bb95c5..3a08c17 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020011849-ba684e54976b h1:U7++vBnHNWRYpwdbO+Tx03HUcEzDFLBciNDe0fNiXYc= -git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020011849-ba684e54976b/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020085642-ab0c16ddad26 h1:oT1l3ZdjyF82MK14QMLKzoH2+iOFH/+UEYdlK3T2f7k= +git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261020085642-ab0c16ddad26/go.mod h1:ouERNpZizzwZ0HLEtAypsY9FR20FyUgUYRni6J7kVCY= github.com/klauspost/compress v1.20.0 h1:a3C1ke2ohxFymNlb2HWAHjDeKCI90scRskErZkR0ezA= github.com/klauspost/compress v1.20.0/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/nats-io/nats.go v1.54.0 h1:vsXoOxjHp/GmPUN+EcI7uOf/uB+iAP+kEsAFNQN0yzA=