Skip to content

Commit

Permalink
update repo name: fetch-server -> fetch-server.v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mulmuri committed Aug 30, 2023
1 parent 8a10d52 commit 33d3117
Show file tree
Hide file tree
Showing 84 changed files with 550 additions and 730 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 소개

Goboolean 프로젝트의 fetch-server 리포지토리입니다.
Goboolean 프로젝트의 fetch-server.v1 리포지토리입니다.
6 changes: 3 additions & 3 deletions api/grpc/fetch-server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/grpc/fetch-server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package grpcapi;

option go_package = "github.com/Goboolean/fetch-server/api/grpc;grpcapi";
option go_package = "github.com/Goboolean/fetch-server.v1/api/grpc;grpcapi";

// defines set of stock configuration control services
service StockConfigurator {
Expand Down
6 changes: 3 additions & 3 deletions api/model/model.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/model/model.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package model;

option go_package = "github.com/Goboolean/fetch-server/api/model";
option go_package = "github.com/Goboolean/fetch-server.v1/api/model";


message StockQuote {
Expand Down
28 changes: 14 additions & 14 deletions cmd/compose/benchmark/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ import (
"testing"
"time"

"github.com/Goboolean/fetch-server/cmd/inject"
"github.com/Goboolean/fetch-server/internal/adapter/websocket"
"github.com/Goboolean/fetch-server/internal/domain/port"
"github.com/Goboolean/fetch-server/internal/domain/service/config"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/relay"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
grpc_infra "github.com/Goboolean/fetch-server/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
mock_infra "github.com/Goboolean/fetch-server/internal/infrastructure/ws/mock"
_ "github.com/Goboolean/fetch-server/internal/util/env"
"github.com/Goboolean/fetch-server.v1/cmd/inject"
"github.com/Goboolean/fetch-server.v1/internal/adapter/websocket"
"github.com/Goboolean/fetch-server.v1/internal/domain/port"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/config"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/relay"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
grpc_infra "github.com/Goboolean/fetch-server.v1/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
mock_infra "github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/mock"
_ "github.com/Goboolean/fetch-server.v1/internal/util/env"
)

// This package is for bemchmark test
Expand Down
12 changes: 6 additions & 6 deletions cmd/compose/develop/develop.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"os/signal"
"syscall"

"github.com/Goboolean/fetch-server/cmd/inject"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server.v1/cmd/inject"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
"github.com/joho/godotenv"
)

Expand Down
30 changes: 15 additions & 15 deletions cmd/compose/develop/develop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ import (
"testing"
"time"

grpcapi "github.com/Goboolean/fetch-server/api/grpc"
"github.com/Goboolean/fetch-server/cmd/inject"
"github.com/Goboolean/fetch-server/internal/adapter/websocket"
"github.com/Goboolean/fetch-server/internal/domain/port"
"github.com/Goboolean/fetch-server/internal/domain/service/config"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/relay"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
grpc_infra "github.com/Goboolean/fetch-server/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
mock_infra "github.com/Goboolean/fetch-server/internal/infrastructure/ws/mock"
_ "github.com/Goboolean/fetch-server/internal/util/env"
grpcapi "github.com/Goboolean/fetch-server.v1/api/grpc"
"github.com/Goboolean/fetch-server.v1/cmd/inject"
"github.com/Goboolean/fetch-server.v1/internal/adapter/websocket"
"github.com/Goboolean/fetch-server.v1/internal/domain/port"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/config"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/relay"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
grpc_infra "github.com/Goboolean/fetch-server.v1/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
mock_infra "github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/mock"
_ "github.com/Goboolean/fetch-server.v1/internal/util/env"
"github.com/stretchr/testify/assert"
)

Expand Down
12 changes: 6 additions & 6 deletions cmd/compose/released/released.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"os/signal"
"syscall"

"github.com/Goboolean/fetch-server/cmd/inject"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server.v1/cmd/inject"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
"github.com/joho/godotenv"
)

Expand Down
14 changes: 7 additions & 7 deletions cmd/compose/withmockdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"syscall"
"time"

"github.com/Goboolean/fetch-server/cmd/inject"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws/mock"
"github.com/Goboolean/fetch-server.v1/cmd/inject"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/mock"
"github.com/joho/godotenv"
)

Expand Down
24 changes: 12 additions & 12 deletions cmd/inject/infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ import (
"strconv"
"time"

"github.com/Goboolean/fetch-server/internal/domain/port/in"
"github.com/Goboolean/fetch-server/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws/buycycle"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws/kis"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws/mock"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws/polygon"
"github.com/Goboolean/fetch-server/internal/util/prometheus"
"github.com/Goboolean/fetch-server.v1/internal/domain/port/in"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/buycycle"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/kis"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/mock"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws/polygon"
"github.com/Goboolean/fetch-server.v1/internal/util/prometheus"
"github.com/Goboolean/shared/pkg/resolver"
"github.com/google/wire"
)
Expand Down
42 changes: 21 additions & 21 deletions cmd/inject/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
package inject

import (
broker_adapter "github.com/Goboolean/fetch-server/internal/adapter/broker"
"github.com/Goboolean/fetch-server/internal/adapter/cache"
grpc_adapter "github.com/Goboolean/fetch-server/internal/adapter/grpc"
"github.com/Goboolean/fetch-server/internal/adapter/meta"
persistence_adapter "github.com/Goboolean/fetch-server/internal/adapter/persistence"
"github.com/Goboolean/fetch-server/internal/adapter/transaction"
"github.com/Goboolean/fetch-server/internal/adapter/websocket"
"github.com/Goboolean/fetch-server/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server/internal/infrastructure/rdbms"

"github.com/Goboolean/fetch-server/internal/domain/port"
"github.com/Goboolean/fetch-server/internal/domain/port/in"
"github.com/Goboolean/fetch-server/internal/domain/port/out"
"github.com/Goboolean/fetch-server/internal/domain/service/config"
"github.com/Goboolean/fetch-server/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server/internal/domain/service/relay"
"github.com/Goboolean/fetch-server/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server/internal/infrastructure/ws"
broker_adapter "github.com/Goboolean/fetch-server.v1/internal/adapter/broker"
"github.com/Goboolean/fetch-server.v1/internal/adapter/cache"
grpc_adapter "github.com/Goboolean/fetch-server.v1/internal/adapter/grpc"
"github.com/Goboolean/fetch-server.v1/internal/adapter/meta"
persistence_adapter "github.com/Goboolean/fetch-server.v1/internal/adapter/persistence"
"github.com/Goboolean/fetch-server.v1/internal/adapter/transaction"
"github.com/Goboolean/fetch-server.v1/internal/adapter/websocket"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/mongo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/rdbms"

"github.com/Goboolean/fetch-server.v1/internal/domain/port"
"github.com/Goboolean/fetch-server.v1/internal/domain/port/in"
"github.com/Goboolean/fetch-server.v1/internal/domain/port/out"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/config"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/persistence"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/relay"
"github.com/Goboolean/fetch-server.v1/internal/domain/service/transmission"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/grpc"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/redis"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/ws"
"github.com/google/wire"
)

Expand Down
50 changes: 25 additions & 25 deletions cmd/inject/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions cmd/main/run.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package main

import (
"github.com/Goboolean/fetch-server/cmd/compose/released"
_ "github.com/Goboolean/fetch-server/internal/util/logger"
"github.com/Goboolean/fetch-server.v1/cmd/compose/released"
_ "github.com/Goboolean/fetch-server.v1/internal/util/logger"
log "github.com/sirupsen/logrus"
)



func main() {
// An option for released, not now
//log.Info(released.Run())

// An option for develop
log.Info(released.Run())
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Goboolean/fetch-server
module github.com/Goboolean/fetch-server.v1

go 1.18

Expand Down
10 changes: 5 additions & 5 deletions internal/adapter/broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package broker
import (
"context"

"github.com/Goboolean/fetch-server/api/model"
"github.com/Goboolean/fetch-server/internal/domain/port/out"
"github.com/Goboolean/fetch-server/internal/domain/vo"
"github.com/Goboolean/fetch-server/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server/internal/util/prometheus"
"github.com/Goboolean/fetch-server.v1/api/model"
"github.com/Goboolean/fetch-server.v1/internal/domain/port/out"
"github.com/Goboolean/fetch-server.v1/internal/domain/vo"
"github.com/Goboolean/fetch-server.v1/internal/infrastructure/kafka"
"github.com/Goboolean/fetch-server.v1/internal/util/prometheus"
)

type Adapter struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/adapter/broker/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"

"github.com/Goboolean/fetch-server/internal/domain/port/out"
"github.com/Goboolean/fetch-server/internal/domain/vo"
"github.com/Goboolean/fetch-server.v1/internal/domain/port/out"
"github.com/Goboolean/fetch-server.v1/internal/domain/vo"
)

type MockAdapter struct {
Expand Down
Loading

0 comments on commit 33d3117

Please sign in to comment.