summaryrefslogtreecommitdiff
path: root/plugins/factory
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-13 14:35:20 +0300
committerValery Piashchynski <[email protected]>2020-10-13 14:35:20 +0300
commit4908ae8198c476219a21394dd78a66518fa56912 (patch)
treef8ff97efcd8ac63391b8f40df8e3f2b7a3c4a87a /plugins/factory
parent176097759cd98927b3781bb9aeb304174d7e948e (diff)
remove deprecated code
Diffstat (limited to 'plugins/factory')
-rw-r--r--plugins/factory/app.go6
-rw-r--r--plugins/factory/app_provider.go2
-rw-r--r--plugins/factory/factory.go5
-rw-r--r--plugins/factory/tests/plugin_1.go4
-rw-r--r--plugins/factory/tests/plugin_2.go6
5 files changed, 12 insertions, 11 deletions
diff --git a/plugins/factory/app.go b/plugins/factory/app.go
index 8ed65531..1f8a6f0d 100644
--- a/plugins/factory/app.go
+++ b/plugins/factory/app.go
@@ -9,9 +9,9 @@ import (
"strings"
"time"
- "github.com/temporalio/roadrunner-temporal/config"
- "github.com/temporalio/roadrunner-temporal/roadrunner"
- "github.com/temporalio/roadrunner-temporal/roadrunner/util"
+ "github.com/spiral/roadrunner/v2"
+ "github.com/spiral/roadrunner/v2/plugins/config"
+ "github.com/spiral/roadrunner/v2/util"
)
// AppConfig config combines factory, pool and cmd configurations.
diff --git a/plugins/factory/app_provider.go b/plugins/factory/app_provider.go
index 58fc686c..024c5bea 100644
--- a/plugins/factory/app_provider.go
+++ b/plugins/factory/app_provider.go
@@ -3,7 +3,7 @@ package factory
import (
"os/exec"
- "github.com/temporalio/roadrunner-temporal/roadrunner"
+ "github.com/spiral/roadrunner/v2"
)
type Env map[string]string
diff --git a/plugins/factory/factory.go b/plugins/factory/factory.go
index 74fd241f..c5490cd6 100644
--- a/plugins/factory/factory.go
+++ b/plugins/factory/factory.go
@@ -2,9 +2,10 @@ package factory
import (
"context"
- "github.com/temporalio/roadrunner-temporal/events"
- "github.com/temporalio/roadrunner-temporal/roadrunner"
+ "github.com/spiral/roadrunner/v2/plugins/events"
+
+ "github.com/spiral/roadrunner/v2"
)
type WorkerFactory interface {
diff --git a/plugins/factory/tests/plugin_1.go b/plugins/factory/tests/plugin_1.go
index a7aba98e..0c44a0d1 100644
--- a/plugins/factory/tests/plugin_1.go
+++ b/plugins/factory/tests/plugin_1.go
@@ -4,8 +4,8 @@ import (
"errors"
"fmt"
- "github.com/temporalio/roadrunner-temporal/config"
- "github.com/temporalio/roadrunner-temporal/factory"
+ "github.com/spiral/roadrunner/v2/plugins/config"
+ "github.com/spiral/roadrunner/v2/plugins/factory"
)
type Foo struct {
diff --git a/plugins/factory/tests/plugin_2.go b/plugins/factory/tests/plugin_2.go
index d0c3ea2c..2409627e 100644
--- a/plugins/factory/tests/plugin_2.go
+++ b/plugins/factory/tests/plugin_2.go
@@ -6,9 +6,9 @@ import (
"fmt"
"time"
- "github.com/temporalio/roadrunner-temporal/config"
- "github.com/temporalio/roadrunner-temporal/factory"
- "github.com/temporalio/roadrunner-temporal/roadrunner"
+ "github.com/spiral/roadrunner/v2"
+ "github.com/spiral/roadrunner/v2/plugins/config"
+ "github.com/spiral/roadrunner/v2/plugins/factory"
)
type Foo2 struct {