Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion builders/consumer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ConsumerStepBuilder struct {
res *model.ConsumerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/consumer_core.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ConsumerStepCoreBuilder struct {
res *model.ConsumerStepCore
Expand Down
2 changes: 1 addition & 1 deletion builders/consumer_kv.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ConsumerStepKvBuilder struct {
res *model.ConsumerStepKv
Expand Down
2 changes: 1 addition & 1 deletion builders/consumer_stream.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ConsumerStepStreamBuilder struct {
res *model.ConsumerStepStream
Expand Down
2 changes: 1 addition & 1 deletion builders/nats.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

const DefaultNatsUrl = "nats://localhost:4222"

Expand Down
2 changes: 1 addition & 1 deletion builders/producer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ProducerStepBuilder struct {
res *model.ProducerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/producer_core.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ProducerStepCoreBuilder struct {
res *model.ProducerStepCore
Expand Down
2 changes: 1 addition & 1 deletion builders/producer_kv.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ProducerStepKvBuilder struct {
res *model.ProducerStepKv
Expand Down
2 changes: 1 addition & 1 deletion builders/producer_stream.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ProducerStepStreamBuilder struct {
res *model.ProducerStepStream
Expand Down
2 changes: 1 addition & 1 deletion builders/sink.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type SinkStepBuilder struct {
res *model.SinkStep
Expand Down
2 changes: 1 addition & 1 deletion builders/source.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type SourceStepBuilder struct {
res *model.SourceStep
Expand Down
2 changes: 1 addition & 1 deletion builders/steps.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type StepsBuilder struct {
steps *model.Steps
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type TransformerStepBuilder struct {
res *model.TransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_combine.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type CombineTransformerStepBuilder struct {
res *model.CombineTransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_composite.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type CompositeTransformerStepBuilder struct {
res *model.CompositeTransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_explode.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ExplodeTransformerStepBuilder struct {
res *model.ExplodeTransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_mapping.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type MappingTransformerStepBuilder struct {
res *model.MappingTransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_service.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package builders

import "github.com/synadia-io/connect/model"
import "github.com/synadia-io/connect/v2/model"

type ServiceTransformerStepBuilder struct {
res *model.ServiceTransformerStep
Expand Down
2 changes: 1 addition & 1 deletion builders/transformer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package builders
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

var _ = Describe("TransformerStepBuilder", func() {
Expand Down
8 changes: 4 additions & 4 deletions cli/connector_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import (

"github.com/jedib0t/go-pretty/v6/text"
"github.com/joho/godotenv"
"github.com/synadia-io/connect/client"
"github.com/synadia-io/connect/convert"
"github.com/synadia-io/connect/spec"
"github.com/synadia-io/connect/v2/client"
"github.com/synadia-io/connect/v2/convert"
"github.com/synadia-io/connect/v2/spec"

"github.com/AlecAivazis/survey/v2"
"github.com/choria-io/fisk"
jsonpatch "github.com/evanphx/json-patch/v5"
"github.com/fatih/color"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/mitchellh/mapstructure"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/connector_command_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fatih/color"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

// These are testable helper functions that can be called with a provided AppContext
Expand Down
2 changes: 1 addition & 1 deletion cli/connector_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

var _ = Describe("ConnectorCommand", func() {
Expand Down
2 changes: 1 addition & 1 deletion cli/library_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/fatih/color"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"

"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion cli/library_command_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

// These are testable helper functions that can be called with a provided AppContext
Expand Down
2 changes: 1 addition & 1 deletion cli/library_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

var _ = Describe("LibraryCommand", func() {
Expand Down
2 changes: 1 addition & 1 deletion cli/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/choria-io/fisk"
"github.com/nats-io/jsm.go/natscontext"
"github.com/nats-io/nats.go"
"github.com/synadia-io/connect/client"
"github.com/synadia-io/connect/v2/client"
)

var DefaultOptions *Options
Expand Down
2 changes: 1 addition & 1 deletion cli/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/choria-io/fisk"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"

"github.com/fatih/color"
"github.com/jedib0t/go-pretty/v6/table"
Expand Down
2 changes: 1 addition & 1 deletion cli/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

var _ = Describe("Render", func() {
Expand Down
8 changes: 4 additions & 4 deletions cli/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"github.com/fatih/color"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/synadia-io/connect/convert"
"github.com/synadia-io/connect/docker"
"github.com/synadia-io/connect/standalone"
"github.com/synadia-io/connect/validation"
"github.com/synadia-io/connect/v2/convert"
"github.com/synadia-io/connect/v2/docker"
"github.com/synadia-io/connect/v2/standalone"
"github.com/synadia-io/connect/v2/validation"
"golang.org/x/text/cases"
"golang.org/x/text/language"
)
Expand Down
4 changes: 2 additions & 2 deletions cli/standalone_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"

"github.com/mitchellh/mapstructure"
"github.com/synadia-io/connect/spec"
"github.com/synadia-io/connect/spec/builders"
"github.com/synadia-io/connect/v2/spec"
"github.com/synadia-io/connect/v2/spec/builders"
"gopkg.in/yaml.v3"
)

Expand Down
4 changes: 2 additions & 2 deletions cli/templates.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cli

import (
"github.com/synadia-io/connect/spec"
"github.com/synadia-io/connect/spec/builders"
"github.com/synadia-io/connect/v2/spec"
"github.com/synadia-io/connect/v2/spec/builders"
)

var templates = []spec.ConnectorSpec{
Expand Down
2 changes: 1 addition & 1 deletion cli/test_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli
import (
"time"

"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

// mockClient implements the client.Client interface for testing
Expand Down
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

"github.com/nats-io/nats.go"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

type Client interface {
Expand Down
2 changes: 1 addition & 1 deletion client/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

type connectorClient struct {
Expand Down
2 changes: 1 addition & 1 deletion client/library.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

type libraryEntityKind string
Expand Down
2 changes: 1 addition & 1 deletion client/library_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/nats-io/nats.go"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
)

var _ = Describe("LibraryClient", func() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/connect/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/choria-io/fisk"
"github.com/synadia-io/connect/cli"
"github.com/synadia-io/connect/v2/cli"
)

var opts *cli.Options
Expand Down
4 changes: 2 additions & 2 deletions convert/from_spec.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package convert

import (
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/spec"
"github.com/synadia-io/connect/v2/model"
"github.com/synadia-io/connect/v2/spec"
)

func ConvertStepsFromSpec(sp spec.StepsSpec) model.Steps {
Expand Down
4 changes: 2 additions & 2 deletions convert/to_spec.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package convert

import (
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/spec"
"github.com/synadia-io/connect/v2/model"
"github.com/synadia-io/connect/v2/spec"
)

func ConvertStepsToSpec(steps model.Steps) spec.StepsSpec {
Expand Down
2 changes: 1 addition & 1 deletion docker/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"

"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
"gopkg.in/yaml.v3"
)

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/synadia-io/connect
module github.com/synadia-io/connect/v2

go 1.24

Expand Down Expand Up @@ -48,5 +48,3 @@ require (
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.34.0 // indirect
)

retract [v1.0.3, v1.0.6] // Checksum poisoned
2 changes: 1 addition & 1 deletion runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/nats-io/nats.go"
"github.com/synadia-io/connect/model"
"github.com/synadia-io/connect/v2/model"
"gopkg.in/yaml.v3"
)

Expand Down
Loading