Rename Go module paths to repo.anhonesthost.net/CyberCoveLLC/threshold
Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
443e483a16
commit
962d708fdd
1881 files changed
+7840
-7840
No files matched your search
@@ -11,8 +11,8 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
berrors "github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
berrors "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
"github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/multihop"
|
||||
"github.com/hashicorp/nodeenrollment/types"
|
||||
|
||||
@@ -10,12 +10,12 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/daemon/controller"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/server/store"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/controller"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/types"
|
||||
|
||||
@@ -6,7 +6,7 @@ package common
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
)
|
||||
|
||||
// In the future we could make this configurable
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package worker
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
||||
@@ -14,16 +14,16 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster/handlers"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/internal/metric"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"github.com/hashicorp/boundary/version"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster/handlers"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/internal/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/version"
|
||||
"github.com/hashicorp/go-secure-stdlib/parseutil"
|
||||
"github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/multihop"
|
||||
|
||||
@@ -16,17 +16,17 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/coder/websocket"
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/daemon/common"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/internal/metric"
|
||||
proxyHandlers "github.com/hashicorp/boundary/internal/daemon/worker/proxy"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/proxy"
|
||||
"github.com/hashicorp/boundary/sdk/wspb"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/common"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/internal/metric"
|
||||
proxyHandlers "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/proxy"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/proxy"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/wspb"
|
||||
"github.com/hashicorp/go-secure-stdlib/listenerutil"
|
||||
"github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/types"
|
||||
|
||||
@@ -9,11 +9,11 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
opsservices "github.com/hashicorp/boundary/internal/gen/ops/services"
|
||||
pbhealth "github.com/hashicorp/boundary/internal/gen/worker/health"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
opsservices "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/ops/services"
|
||||
pbhealth "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/worker/health"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"google.golang.org/grpc/connectivity"
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
"google.golang.org/protobuf/types/known/wrapperspb"
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
opsservices "github.com/hashicorp/boundary/internal/gen/ops/services"
|
||||
pbhealth "github.com/hashicorp/boundary/internal/gen/worker/health"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
opsservices "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/ops/services"
|
||||
pbhealth "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/worker/health"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/testing/protocmp"
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/daemon/metric"
|
||||
cservices "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/metric"
|
||||
cservices "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/metric"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"context"
|
||||
"net"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/daemon/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/metric"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"net/http"
|
||||
"path"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/daemon/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/metric"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
)
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
|
||||
@@ -15,14 +15,14 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster"
|
||||
"github.com/hashicorp/boundary/internal/daemon/common"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/internal/metric"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/common"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/internal/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"github.com/hashicorp/go-multierror"
|
||||
nodee "github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/multihop"
|
||||
|
||||
@@ -11,10 +11,10 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster/handlers"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster/handlers"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/go-secure-stdlib/listenerutil"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
package worker
|
||||
|
||||
import (
|
||||
_ "github.com/hashicorp/boundary/internal/daemon/worker/proxy/tcp"
|
||||
_ "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/proxy/tcp"
|
||||
)
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"io"
|
||||
"net"
|
||||
|
||||
serverpb "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
serverpb "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
serverpb "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
serverpb "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"net/url"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"github.com/miekg/dns"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"net"
|
||||
"sync"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/proxy"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/proxy"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"google.golang.org/protobuf/types/known/anypb"
|
||||
)
|
||||
|
||||
|
||||
@@ -15,10 +15,10 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/coder/websocket"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/proxy"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/proxy"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/targets"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/types/known/anypb"
|
||||
|
||||
@@ -11,12 +11,12 @@ import (
|
||||
"slices"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pb "github.com/hashicorp/boundary/internal/gen/controller/servers"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"github.com/hashicorp/boundary/version"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/version"
|
||||
"github.com/hashicorp/go-secure-stdlib/parseutil"
|
||||
"github.com/hashicorp/go-secure-stdlib/strutil"
|
||||
"google.golang.org/grpc/connectivity"
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/common"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/common"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster/handlers"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster/handlers"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"github.com/hashicorp/nodeenrollment"
|
||||
"github.com/hashicorp/nodeenrollment/multihop"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
)
|
||||
|
||||
// CloseCallTimeout is a timeout value
|
||||
|
||||
@@ -16,8 +16,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/targets"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
|
||||
@@ -12,9 +12,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/session"
|
||||
)
|
||||
|
||||
// ValidateSessionTimeout is the duration of the timeout when the worker queries the
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/session"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/session"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
)
|
||||
|
||||
// lastSessionInfo holds the last successful session info RPC time.
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
)
|
||||
|
||||
// lastStatistics holds the last successful statistics RPC time.
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -14,14 +14,14 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/server/store"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
wrapping "github.com/hashicorp/go-kms-wrapping/v2"
|
||||
"github.com/hashicorp/go-kms-wrapping/v2/extras/multi"
|
||||
|
||||
@@ -13,19 +13,19 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/daemon/controller"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/controller"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/targets"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
wrapping "github.com/hashicorp/go-kms-wrapping/v2"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
|
||||
_ "github.com/hashicorp/boundary/internal/daemon/controller/handlers/targets/tcp"
|
||||
_ "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/controller/handlers/targets/tcp"
|
||||
)
|
||||
|
||||
func TestTestWorkerLookupSession(t *testing.T) {
|
||||
|
||||
@@ -18,25 +18,25 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster"
|
||||
"github.com/hashicorp/boundary/internal/daemon/cluster/handlers"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/common"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/internal/metric"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/proxy"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
pb "github.com/hashicorp/boundary/internal/gen/controller/servers"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
wpbs "github.com/hashicorp/boundary/internal/gen/worker/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/storage"
|
||||
boundary_plugin_assets "github.com/hashicorp/boundary/plugins/boundary"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
external_plugins "github.com/hashicorp/boundary/sdk/plugins"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/globals"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/cluster/handlers"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/common"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/internal/metric"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/proxy"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
wpbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/worker/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/storage"
|
||||
boundary_plugin_assets "repo.anhonesthost.net/CyberCoveLLC/threshold/plugins/boundary"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
external_plugins "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/plugins"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/go-secure-stdlib/base62"
|
||||
"github.com/hashicorp/go-secure-stdlib/mlock"
|
||||
|
||||
@@ -6,7 +6,7 @@ package worker
|
||||
import (
|
||||
"context"
|
||||
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
pbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
|
||||
@@ -16,16 +16,16 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/cmd/base"
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/common"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/event"
|
||||
"github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
wpbs "github.com/hashicorp/boundary/internal/gen/worker/servers/services"
|
||||
"github.com/hashicorp/boundary/internal/server"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/config"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/common"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/daemon/worker/session"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/event"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/controller/servers/services"
|
||||
wpbs "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/gen/worker/servers/services"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/go-secure-stdlib/configutil/v2"
|
||||
"github.com/hashicorp/go-secure-stdlib/listenerutil"
|
||||
|
||||
Reference in new issue
Block a user