From 6628c9dbeb2bcc7274ea6ba2ad75a5717fbdc9e6 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 12 Oct 2026 10:28:07 -0700 Subject: [PATCH] Rename module and SDK import paths for Threshold Fork of hashicorp/boundary-plugin-minio (MPL-2.0). Module path and Boundary SDK imports now point at repo.anhonesthost.net/CyberCoveLLC. Adds NOTICE and an About this fork section to the README. Co-Authored-By: Claude Sonnet 5.5 --- NOTICE | 12 ++++++++++++ README.md | 9 +++++++++ go.mod | 6 +++--- go.sum | 4 ---- internal/client/client.go | 2 +- internal/client/service_test.go | 4 ++-- internal/testing/testing.go | 2 +- madmin/go.mod | 2 +- plugin/plugin.go | 4 ++-- plugin/service/storage/attributes.go | 4 ++-- plugin/service/storage/plugin.go | 6 +++--- plugin/service/storage/plugin_test.go | 12 ++++++------ plugin/service/storage/rotation.go | 2 +- plugin/service/storage/rotation_test.go | 4 ++-- 14 files changed, 45 insertions(+), 28 deletions(-) diff --git a/NOTICE b/NOTICE index 17b34db..4cca3bd 100644 --- a/NOTICE +++ b/NOTICE @@ -6,3 +6,15 @@ The Boundary MinIO Plugin contains subcomponents of the Minio madmin-go library licensed under the Apache License 2.0. See `madmin/LICENSE` for the full license text. + +--- + +This repository is a community fork of hashicorp/boundary-plugin-minio +(https://github.com/hashicorp/boundary-plugin-minio), maintained for Threshold. + +The original work is licensed under the Mozilla Public License 2.0 (see LICENSE). +Original copyright IBM Corp. / HashiCorp, Inc. is retained in all source file +headers and in LICENSE. Modifications are limited to the Go module path and the +import paths of the Boundary SDK/API packages. + +This fork is not affiliated with, endorsed by, or supported by HashiCorp or IBM. diff --git a/README.md b/README.md index f0d2799..d85d964 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +## About this fork + +This is a community fork of +[hashicorp/boundary-plugin-minio](https://github.com/hashicorp/boundary-plugin-minio) +for use with Threshold. It is licensed under the MPL-2.0 (see `LICENSE`), and +the original copyright notices are retained. It is not affiliated with, +endorsed by, or supported by HashiCorp or IBM. Changes from upstream are limited +to the Go module path and SDK import paths; see `NOTICE`. + # MinIO Plugin for HashiCorp Boundary This repo contains the [MinIO](https://min.io) plugin for [HashiCorp diff --git a/go.mod b/go.mod index ebba3a2..b28f83d 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ -module github.com/hashicorp/boundary-plugin-minio +module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio go 1.25.7 require ( github.com/google/go-cmp v0.7.0 github.com/google/uuid v1.6.0 - github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0 - github.com/hashicorp/boundary/sdk v0.0.59 + repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin v0.1.0 + repo.anhonesthost.net/CyberCoveLLC/threshold/sdk v0.1.0 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 github.com/minio/minio-go/v7 v7.2.0 diff --git a/go.sum b/go.sum index a178441..efc847b 100644 --- a/go.sum +++ b/go.sum @@ -66,10 +66,6 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaU github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0 h1:VH/D4t0L3wmVPn7a1DDqF4nSOTGuWktXLnDny98y63Y= -github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0/go.mod h1:y0Q45edl67+Q8CVtnMpDeneusJv8ypMXWrKDyTA82qI= -github.com/hashicorp/boundary/sdk v0.0.59 h1:XNniO0rwgihLdF1+4qDHKN3gdta3AU1JteZResCJ8Oc= -github.com/hashicorp/boundary/sdk v0.0.59/go.mod h1:VYwVGAEaHTzihRXpzKZL6EhWBhll59Iul3PGLVL63ao= github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU= github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= diff --git a/internal/client/client.go b/internal/client/client.go index 42bf2da..858dbfa 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -15,7 +15,7 @@ import ( "net/http" "net/url" - "github.com/hashicorp/boundary-plugin-minio/madmin" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin" "github.com/minio/minio-go/v7/pkg/signer" ) diff --git a/internal/client/service_test.go b/internal/client/service_test.go index 1984a30..aa152dd 100644 --- a/internal/client/service_test.go +++ b/internal/client/service_test.go @@ -7,8 +7,8 @@ import ( "context" "testing" - "github.com/hashicorp/boundary-plugin-minio/internal/client" - internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" + internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/testing/testing.go b/internal/testing/testing.go index de219c2..dcef8d0 100644 --- a/internal/testing/testing.go +++ b/internal/testing/testing.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/hashicorp/boundary-plugin-minio/internal/client" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/ory/dockertest/v3" diff --git a/madmin/go.mod b/madmin/go.mod index 501a47c..b4871e4 100644 --- a/madmin/go.mod +++ b/madmin/go.mod @@ -1,4 +1,4 @@ -module github.com/hashicorp/boundary-plugin-minio/madmin +module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin go 1.25.0 diff --git a/plugin/plugin.go b/plugin/plugin.go index e53c09f..29092e4 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -4,8 +4,8 @@ package plugin import ( - "github.com/hashicorp/boundary-plugin-minio/plugin/service/storage" - pb "github.com/hashicorp/boundary/sdk/pbs/plugin" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/plugin/service/storage" + pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" ) var ( diff --git a/plugin/service/storage/attributes.go b/plugin/service/storage/attributes.go index 558f3cc..9b15670 100644 --- a/plugin/service/storage/attributes.go +++ b/plugin/service/storage/attributes.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/hashicorp/boundary-plugin-minio/internal/errors" - "github.com/hashicorp/boundary-plugin-minio/internal/values" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/errors" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/structpb" diff --git a/plugin/service/storage/plugin.go b/plugin/service/storage/plugin.go index c77d647..70db130 100644 --- a/plugin/service/storage/plugin.go +++ b/plugin/service/storage/plugin.go @@ -19,9 +19,9 @@ import ( "time" "github.com/google/uuid" - "github.com/hashicorp/boundary-plugin-minio/internal/client" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets" - pb "github.com/hashicorp/boundary/sdk/pbs/plugin" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets" + pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" "github.com/hashicorp/go-multierror" "github.com/hashicorp/go-secure-stdlib/parseutil" "github.com/minio/minio-go/v7" diff --git a/plugin/service/storage/plugin_test.go b/plugin/service/storage/plugin_test.go index 268787b..13d9f3a 100644 --- a/plugin/service/storage/plugin_test.go +++ b/plugin/service/storage/plugin_test.go @@ -20,12 +20,12 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/uuid" - "github.com/hashicorp/boundary-plugin-minio/internal/client" - internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing" - "github.com/hashicorp/boundary-plugin-minio/internal/values" - "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets" - "github.com/hashicorp/boundary/sdk/pbs/plugin" - pb "github.com/hashicorp/boundary/sdk/pbs/plugin" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" + internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets" + "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" + pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/stretchr/testify/assert" diff --git a/plugin/service/storage/rotation.go b/plugin/service/storage/rotation.go index 841bb6f..f3b5b02 100644 --- a/plugin/service/storage/rotation.go +++ b/plugin/service/storage/rotation.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/hashicorp/boundary-plugin-minio/internal/client" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" ) const ( diff --git a/plugin/service/storage/rotation_test.go b/plugin/service/storage/rotation_test.go index a669323..c35a221 100644 --- a/plugin/service/storage/rotation_test.go +++ b/plugin/service/storage/rotation_test.go @@ -8,8 +8,8 @@ import ( "encoding/json" "testing" - "github.com/hashicorp/boundary-plugin-minio/internal/client" - internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing" + "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client" + internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing" "github.com/minio/minio-go/v7" "github.com/stretchr/testify/require" )