Skip to content

Commit 9078ec5

Browse files
authored
refactor: old gateway is removed (#208)
On-behalf-of: @SAP [email protected] Signed-off-by: Artem Shcherbatiuk <[email protected]>
1 parent 470d913 commit 9078ec5

File tree

7 files changed

+0
-1440
lines changed

7 files changed

+0
-1440
lines changed

.testcoverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ exclude:
44
- cmd
55
- tests
66
- common/config/config.go
7-
- deprecated/*
87
- mocks
98
# the following files should be excluded from coverage later
109
- listener/apischema/*

Taskfile.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,7 @@ tasks:
8080
- task: lint
8181
- task: test
8282

83-
# start uses deprecated gateway
84-
start:
85-
cmds:
86-
- go run main.go start
8783

88-
# new gateway
8984
gateway:
9085
cmds:
9186
- go run main.go gateway

cmd/gateway.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ var gatewayCmd = &cobra.Command{
6868
},
6969
}
7070

71-
func init() {
72-
// Assuming rootCmd is defined in another file within the cmd package
73-
// Add startCmd as a subcommand to rootCmd
74-
rootCmd.AddCommand(startCmd)
75-
}
76-
7771
// setupLogger initializes the logger with the given log level
7872
func setupLogger(logLevel string) (*logger.Logger, error) {
7973
loggerCfg := logger.DefaultConfig()

cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var rootCmd = &cobra.Command{
99
}
1010

1111
func init() {
12-
rootCmd.AddCommand(startCmd)
1312
rootCmd.AddCommand(gatewayCmd)
1413
}
1514

cmd/start_deprecated.go

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)