Skip to content

Commit 57d6fc4

Browse files
author
Nevroz Arslan
committed
init
1 parent daa35db commit 57d6fc4

File tree

12 files changed

+371
-25
lines changed

12 files changed

+371
-25
lines changed

cassandra/connect_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/narslan/dataflow/cassandra"
8-
"github.com/narslan/dataflow/container"
7+
"github.com/narslan/pipeline/cassandra"
8+
"github.com/narslan/pipeline/container"
99
)
1010

1111
// Ensure the test database can open & close.

cassandra/product_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/narslan/pipeline"
9-
"github.com/narslan/dataflow/cassandra"
10-
"github.com/narslan/dataflow/container"
8+
dataflow "github.com/narslan/pipeline"
9+
"github.com/narslan/pipeline/cassandra"
10+
"github.com/narslan/pipeline/container"
1111
)
1212

1313
func TestProductService_CreateProduct(t *testing.T) {

cmd/job/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"runtime"
1111
"time"
1212

13-
"github.com/narslan/dataflow/cassandra"
14-
"github.com/narslan/dataflow/pipeline"
15-
"github.com/narslan/dataflow/redis"
16-
"github.com/narslan/dataflow/s3"
1713
"github.com/BurntSushi/toml"
14+
"github.com/narslan/pipeline/cassandra"
15+
"github.com/narslan/pipeline/pipeline"
16+
"github.com/narslan/pipeline/redis"
17+
"github.com/narslan/pipeline/s3"
1818
)
1919

2020
// main is the entry point into our application. It doesn't return errors.

cmd/microservice/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"os"
88
"os/signal"
99

10-
"github.com/narslan/dataflow/cassandra"
11-
"github.com/narslan/dataflow/http"
1210
"github.com/BurntSushi/toml"
11+
"github.com/narslan/pipeline/cassandra"
12+
"github.com/narslan/pipeline/http"
1313
)
1414

1515
// main is the entry point to our application.

go.mod

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
11
module github.com/narslan/pipeline
22

33
go 1.23.0
4+
5+
require (
6+
github.com/BurntSushi/toml v1.4.0
7+
github.com/aws/aws-sdk-go-v2 v1.36.3
8+
github.com/aws/aws-sdk-go-v2/config v1.29.9
9+
github.com/aws/aws-sdk-go-v2/service/s3 v1.78.1
10+
github.com/gocql/gocql v1.7.0
11+
github.com/redis/go-redis/v9 v9.7.1
12+
github.com/testcontainers/testcontainers-go v0.35.0
13+
github.com/testcontainers/testcontainers-go/modules/cassandra v0.35.0
14+
github.com/testcontainers/testcontainers-go/modules/redis v0.35.0
15+
golang.org/x/sync v0.12.0
16+
)
17+
18+
require (
19+
dario.cat/mergo v1.0.0 // indirect
20+
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
21+
github.com/Microsoft/go-winio v0.6.2 // indirect
22+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
23+
github.com/aws/aws-sdk-go-v2/credentials v1.17.62 // indirect
24+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
25+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
26+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
27+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
28+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 // indirect
29+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
30+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.6.2 // indirect
31+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
32+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 // indirect
33+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.1 // indirect
34+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.29.1 // indirect
35+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.17 // indirect
36+
github.com/aws/smithy-go v1.22.2 // indirect
37+
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
38+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
39+
github.com/containerd/containerd v1.7.18 // indirect
40+
github.com/containerd/log v0.1.0 // indirect
41+
github.com/containerd/platforms v0.2.1 // indirect
42+
github.com/cpuguy83/dockercfg v0.3.2 // indirect
43+
github.com/davecgh/go-spew v1.1.1 // indirect
44+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
45+
github.com/distribution/reference v0.6.0 // indirect
46+
github.com/docker/docker v27.1.1+incompatible // indirect
47+
github.com/docker/go-connections v0.5.0 // indirect
48+
github.com/docker/go-units v0.5.0 // indirect
49+
github.com/felixge/httpsnoop v1.0.4 // indirect
50+
github.com/go-logr/logr v1.4.1 // indirect
51+
github.com/go-logr/stdr v1.2.2 // indirect
52+
github.com/go-ole/go-ole v1.2.6 // indirect
53+
github.com/gogo/protobuf v1.3.2 // indirect
54+
github.com/golang/snappy v0.0.3 // indirect
55+
github.com/google/uuid v1.6.0 // indirect
56+
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
57+
github.com/klauspost/compress v1.17.4 // indirect
58+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
59+
github.com/magiconair/properties v1.8.7 // indirect
60+
github.com/moby/docker-image-spec v1.3.1 // indirect
61+
github.com/moby/patternmatcher v0.6.0 // indirect
62+
github.com/moby/sys/sequential v0.5.0 // indirect
63+
github.com/moby/sys/user v0.1.0 // indirect
64+
github.com/moby/term v0.5.0 // indirect
65+
github.com/morikuni/aec v1.0.0 // indirect
66+
github.com/opencontainers/go-digest v1.0.0 // indirect
67+
github.com/opencontainers/image-spec v1.1.0 // indirect
68+
github.com/pkg/errors v0.9.1 // indirect
69+
github.com/pmezard/go-difflib v1.0.0 // indirect
70+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
71+
github.com/shirou/gopsutil/v3 v3.23.12 // indirect
72+
github.com/shoenig/go-m1cpu v0.1.6 // indirect
73+
github.com/sirupsen/logrus v1.9.3 // indirect
74+
github.com/stretchr/testify v1.9.0 // indirect
75+
github.com/tklauser/go-sysconf v0.3.12 // indirect
76+
github.com/tklauser/numcpus v0.6.1 // indirect
77+
github.com/yusufpapurcu/wmi v1.2.3 // indirect
78+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
79+
go.opentelemetry.io/otel v1.24.0 // indirect
80+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
81+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
82+
golang.org/x/crypto v0.31.0 // indirect
83+
golang.org/x/sys v0.28.0 // indirect
84+
gopkg.in/inf.v0 v0.9.1 // indirect
85+
gopkg.in/yaml.v3 v3.0.1 // indirect
86+
)

0 commit comments

Comments
 (0)