Skip to content

Commit

Permalink
renames mod
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei committed Nov 2, 2023
1 parent 5c1ff56 commit df53b79
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions backend/internal/cmds/mgmt/serve/connect/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
auth_jwt "github.com/nucleuscloud/neosync/backend/internal/jwt"
neosynclogger "github.com/nucleuscloud/neosync/backend/internal/logger"
"github.com/nucleuscloud/neosync/backend/internal/nucleusdb"
workflowmanager "github.com/nucleuscloud/neosync/backend/internal/temporal/client-manager"
clientmanager "github.com/nucleuscloud/neosync/backend/internal/temporal/client-manager"
v1alpha1_authservice "github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/auth-service"
v1alpha1_connectionservice "github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/connection-service"
v1alpha1_jobservice "github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/job-service"
Expand Down Expand Up @@ -137,7 +137,7 @@ func serve() error {
),
)

tfwfmgr := workflowmanager.New(&workflowmanager.Config{}, db.Q, db.Db)
tfwfmgr := clientmanager.New(&clientmanager.Config{}, db.Q, db.Db)

jobServiceConfig := &v1alpha1_jobservice.Config{
IsAuthEnabled: isAuthEnabled,
Expand Down
2 changes: 1 addition & 1 deletion backend/internal/temporal/client-manager/manager-client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package workflowmanager
package clientmanager

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package workflowmanager
package clientmanager

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion backend/internal/temporal/client-manager/mock_DB.go

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

6 changes: 3 additions & 3 deletions backend/services/mgmt/v1alpha1/job-service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v1alpha1_jobservice

import (
"github.com/nucleuscloud/neosync/backend/internal/nucleusdb"
workflowmanager "github.com/nucleuscloud/neosync/backend/internal/temporal/client-manager"
clientmanager "github.com/nucleuscloud/neosync/backend/internal/temporal/client-manager"
v1alpha1_connectionservice "github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/connection-service"
v1alpha1_useraccountservice "github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/user-account-service"
)
Expand All @@ -13,7 +13,7 @@ type Service struct {
connectionService *v1alpha1_connectionservice.Service
useraccountService *v1alpha1_useraccountservice.Service

temporalWfManager *workflowmanager.TemporalClientManager
temporalWfManager *clientmanager.TemporalClientManager
}

type Config struct {
Expand All @@ -23,7 +23,7 @@ type Config struct {
func New(
cfg *Config,
db *nucleusdb.NucleusDb,
temporalWfManager *workflowmanager.TemporalClientManager,
temporalWfManager *clientmanager.TemporalClientManager,
connectionService *v1alpha1_connectionservice.Service,
useraccountService *v1alpha1_useraccountservice.Service,
) *Service {
Expand Down

0 comments on commit df53b79

Please sign in to comment.