diff --git a/config/config.go b/config/config.go index 32d9e81f..845469b9 100644 --- a/config/config.go +++ b/config/config.go @@ -1,10 +1,10 @@ -package config // import "github.com/NYTimes/video-transcoding-api/config" +package config // import "github.com/video-dev/video-transcoding-api/config" import ( "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" logging "github.com/fsouza/gizmo-stackdriver-logging" "github.com/kelseyhightower/envconfig" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) // Config is a struct to contain all the needed configuration for the diff --git a/config/config_test.go b/config/config_test.go index c7a7e0b0..245adab5 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" logging "github.com/fsouza/gizmo-stackdriver-logging" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) func TestLoadConfigFromEnv(t *testing.T) { diff --git a/db/dbtest/fake_db.go b/db/dbtest/fake_db.go index 9733cc0d..8d8a9b21 100644 --- a/db/dbtest/fake_db.go +++ b/db/dbtest/fake_db.go @@ -1,10 +1,10 @@ -package dbtest // import "github.com/NYTimes/video-transcoding-api/db/dbtest" +package dbtest // import "github.com/video-dev/video-transcoding-api/db/dbtest" import ( "errors" "time" - "github.com/NYTimes/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db" ) type fakeRepository struct { diff --git a/db/dbtest/fake_db_test.go b/db/dbtest/fake_db_test.go index 274a9f1b..5904a378 100644 --- a/db/dbtest/fake_db_test.go +++ b/db/dbtest/fake_db_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db" ) const dbErrorMsg = "database error" diff --git a/db/redis/job.go b/db/redis/job.go index 6f4b509c..c6666d95 100644 --- a/db/redis/job.go +++ b/db/redis/job.go @@ -5,9 +5,9 @@ import ( "strconv" "time" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" "github.com/go-redis/redis" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) const jobsSetKey = "jobs" diff --git a/db/redis/job_test.go b/db/redis/job_test.go index a8c225c7..f0db03d2 100644 --- a/db/redis/job_test.go +++ b/db/redis/job_test.go @@ -8,11 +8,11 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" "github.com/go-redis/redis" "github.com/kr/pretty" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) func TestCreateJob(t *testing.T) { diff --git a/db/redis/localpreset.go b/db/redis/localpreset.go index a6b190eb..74a51c7e 100644 --- a/db/redis/localpreset.go +++ b/db/redis/localpreset.go @@ -3,9 +3,9 @@ package redis import ( "errors" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" "github.com/go-redis/redis" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) const localPresetsSetKey = "localpresets" diff --git a/db/redis/localpreset_test.go b/db/redis/localpreset_test.go index ab1bbd95..f16dfe43 100644 --- a/db/redis/localpreset_test.go +++ b/db/redis/localpreset_test.go @@ -4,9 +4,9 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) func TestCreateLocalPreset(t *testing.T) { diff --git a/db/redis/presetmap.go b/db/redis/presetmap.go index 4a31b45e..60269396 100644 --- a/db/redis/presetmap.go +++ b/db/redis/presetmap.go @@ -1,9 +1,9 @@ package redis import ( - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" "github.com/go-redis/redis" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) const presetmapsSetKey = "presetmaps" diff --git a/db/redis/presetmap_test.go b/db/redis/presetmap_test.go index f18f45ed..37aba85e 100644 --- a/db/redis/presetmap_test.go +++ b/db/redis/presetmap_test.go @@ -4,9 +4,9 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) func TestCreatePresetMap(t *testing.T) { diff --git a/db/redis/redis.go b/db/redis/redis.go index 8126802f..a260dd64 100644 --- a/db/redis/redis.go +++ b/db/redis/redis.go @@ -1,9 +1,9 @@ -package redis // import "github.com/NYTimes/video-transcoding-api/db/redis" +package redis // import "github.com/video-dev/video-transcoding-api/db/redis" import ( - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis/storage" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis/storage" ) // NewRepository creates a new Repository that uses Redis for persistence. diff --git a/db/redis/storage/redis.go b/db/redis/storage/redis.go index 2343c4dc..34e53601 100644 --- a/db/redis/storage/redis.go +++ b/db/redis/storage/redis.go @@ -1,5 +1,5 @@ // Package storage provides a type for storing Go objects in Redis. -package storage // import "github.com/NYTimes/video-transcoding-api/db/redis/storage" +package storage // import "github.com/video-dev/video-transcoding-api/db/redis/storage" import ( "errors" diff --git a/db/repo.go b/db/repo.go index 36343460..5cff632a 100644 --- a/db/repo.go +++ b/db/repo.go @@ -1,4 +1,4 @@ -package db // import "github.com/NYTimes/video-transcoding-api/db" +package db // import "github.com/video-dev/video-transcoding-api/db" import ( "errors" diff --git a/go.mod b/go.mod index 506f00e8..48164143 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/NYTimes/video-transcoding-api +module github.com/video-dev/video-transcoding-api require ( github.com/NYTimes/gizmo v1.2.14 @@ -15,8 +15,6 @@ require ( github.com/hybrik/hybrik-sdk-go v0.0.0-20170516091026-c2eee0e66af9 github.com/kelseyhightower/envconfig v1.4.0 github.com/kr/pretty v0.1.0 - github.com/onsi/ginkgo v1.8.0 // indirect - github.com/onsi/gomega v1.5.0 // indirect github.com/pkg/errors v0.8.1 github.com/sirupsen/logrus v1.4.2 github.com/video-dev/go-elementalconductor v1.0.0 diff --git a/main.go b/main.go index f5801db4..fe98c224 100644 --- a/main.go +++ b/main.go @@ -5,16 +5,16 @@ import ( "log" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" - _ "github.com/NYTimes/video-transcoding-api/provider/bitmovin" - _ "github.com/NYTimes/video-transcoding-api/provider/elastictranscoder" - _ "github.com/NYTimes/video-transcoding-api/provider/elementalconductor" - _ "github.com/NYTimes/video-transcoding-api/provider/encodingcom" - _ "github.com/NYTimes/video-transcoding-api/provider/hybrik" - _ "github.com/NYTimes/video-transcoding-api/provider/mediaconvert" - _ "github.com/NYTimes/video-transcoding-api/provider/zencoder" - "github.com/NYTimes/video-transcoding-api/service" "github.com/google/gops/agent" + "github.com/video-dev/video-transcoding-api/config" + _ "github.com/video-dev/video-transcoding-api/provider/bitmovin" + _ "github.com/video-dev/video-transcoding-api/provider/elastictranscoder" + _ "github.com/video-dev/video-transcoding-api/provider/elementalconductor" + _ "github.com/video-dev/video-transcoding-api/provider/encodingcom" + _ "github.com/video-dev/video-transcoding-api/provider/hybrik" + _ "github.com/video-dev/video-transcoding-api/provider/mediaconvert" + _ "github.com/video-dev/video-transcoding-api/provider/zencoder" + "github.com/video-dev/video-transcoding-api/service" ) func main() { diff --git a/provider/bitmovin/bitmovin.go b/provider/bitmovin/bitmovin.go index 154099ad..0def313e 100644 --- a/provider/bitmovin/bitmovin.go +++ b/provider/bitmovin/bitmovin.go @@ -1,4 +1,4 @@ -package bitmovin // import "github.com/NYTimes/video-transcoding-api/provider/bitmovin" +package bitmovin // import "github.com/video-dev/video-transcoding-api/provider/bitmovin" import ( "errors" @@ -11,13 +11,13 @@ import ( "strings" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/bitmovin/bitmovin-go/bitmovin" "github.com/bitmovin/bitmovin-go/bitmovintypes" "github.com/bitmovin/bitmovin-go/models" "github.com/bitmovin/bitmovin-go/services" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) // Name is the name used for registering the bitmovin provider in the diff --git a/provider/bitmovin/bitmovin_test.go b/provider/bitmovin/bitmovin_test.go index 997f6911..15f15f08 100644 --- a/provider/bitmovin/bitmovin_test.go +++ b/provider/bitmovin/bitmovin_test.go @@ -10,12 +10,12 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/bitmovin/bitmovin-go/bitmovin" "github.com/bitmovin/bitmovin-go/bitmovintypes" "github.com/bitmovin/bitmovin-go/models" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func TestFactoryIsRegistered(t *testing.T) { diff --git a/provider/elastictranscoder/aws.go b/provider/elastictranscoder/aws.go index 4afb7b48..ada5ff25 100644 --- a/provider/elastictranscoder/aws.go +++ b/provider/elastictranscoder/aws.go @@ -5,15 +5,15 @@ // import this package and then grab the factory from the provider package: // // import ( -// "github.com/NYTimes/video-transcoding-api/provider" -// "github.com/NYTimes/video-transcoding-api/provider/elastictranscoder" +// "github.com/video-dev/video-transcoding-api/provider" +// "github.com/video-dev/video-transcoding-api/provider/elastictranscoder" // ) // // func UseProvider() { // factory, err := provider.GetProviderFactory(elastictranscoder.Name) // // handle err and use factory to get an instance of the provider. // } -package elastictranscoder // import "github.com/NYTimes/video-transcoding-api/provider/elastictranscoder" +package elastictranscoder // import "github.com/video-dev/video-transcoding-api/provider/elastictranscoder" import ( "errors" @@ -24,14 +24,14 @@ import ( "strings" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/elastictranscoder" "github.com/aws/aws-sdk-go/service/elastictranscoder/elastictranscoderiface" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) const ( diff --git a/provider/elastictranscoder/aws_test.go b/provider/elastictranscoder/aws_test.go index b93ca5bd..060e1eba 100644 --- a/provider/elastictranscoder/aws_test.go +++ b/provider/elastictranscoder/aws_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/service/elastictranscoder" "github.com/kr/pretty" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func TestFactoryIsRegistered(t *testing.T) { diff --git a/provider/elementalconductor/elementalconductor.go b/provider/elementalconductor/elementalconductor.go index c8258e00..dbb5ee66 100644 --- a/provider/elementalconductor/elementalconductor.go +++ b/provider/elementalconductor/elementalconductor.go @@ -5,15 +5,15 @@ // import this package and then grab the factory from the provider package: // // import ( -// "github.com/NYTimes/video-transcoding-api/provider" -// "github.com/NYTimes/video-transcoding-api/provider/elementalconductor" +// "github.com/video-dev/video-transcoding-api/provider" +// "github.com/video-dev/video-transcoding-api/provider/elementalconductor" // ) // // func UseProvider() { // factory, err := provider.GetProviderFactory(elementalconductor.Name) // // handle err and use factory to get an instance of the provider. // } -package elementalconductor // import "github.com/NYTimes/video-transcoding-api/provider/elementalconductor" +package elementalconductor // import "github.com/video-dev/video-transcoding-api/provider/elementalconductor" import ( "encoding/xml" @@ -23,10 +23,10 @@ import ( "strings" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/video-dev/go-elementalconductor" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) // Name is the name used for registering the Elemental Conductor provider in the diff --git a/provider/elementalconductor/elementalconductor_fake_transcode_test.go b/provider/elementalconductor/elementalconductor_fake_transcode_test.go index 7b04c0eb..68005f45 100644 --- a/provider/elementalconductor/elementalconductor_fake_transcode_test.go +++ b/provider/elementalconductor/elementalconductor_fake_transcode_test.go @@ -3,9 +3,9 @@ package elementalconductor import ( "strings" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/video-dev/go-elementalconductor" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/provider" ) type fakeElementalConductorClient struct { diff --git a/provider/elementalconductor/elementalconductor_test.go b/provider/elementalconductor/elementalconductor_test.go index 26babd64..b8665fdc 100644 --- a/provider/elementalconductor/elementalconductor_test.go +++ b/provider/elementalconductor/elementalconductor_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/video-dev/go-elementalconductor" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func TestFactoryIsRegistered(t *testing.T) { diff --git a/provider/encodingcom/encodingcom.go b/provider/encodingcom/encodingcom.go index 69c779fc..773994b8 100644 --- a/provider/encodingcom/encodingcom.go +++ b/provider/encodingcom/encodingcom.go @@ -5,15 +5,15 @@ // import this package and then grab the factory from the provider package: // // import ( -// "github.com/NYTimes/video-transcoding-api/provider" -// "github.com/NYTimes/video-transcoding-api/provider/encodingcom" +// "github.com/video-dev/video-transcoding-api/provider" +// "github.com/video-dev/video-transcoding-api/provider/encodingcom" // ) // // func UseProvider() { // factory, err := provider.GetProviderFactory(encodingcom.Name) // // handle err and use factory to get an instance of the provider. // } -package encodingcom // import "github.com/NYTimes/video-transcoding-api/provider/encodingcom" +package encodingcom // import "github.com/video-dev/video-transcoding-api/provider/encodingcom" import ( "errors" @@ -24,10 +24,10 @@ import ( "strconv" "strings" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/video-dev/go-encodingcom" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) // Name is the name used for registering the Encoding.com provider in the diff --git a/provider/encodingcom/encodingcom_test.go b/provider/encodingcom/encodingcom_test.go index 64ee2c11..3d1dc3f7 100644 --- a/provider/encodingcom/encodingcom_test.go +++ b/provider/encodingcom/encodingcom_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/kr/pretty" "github.com/video-dev/go-encodingcom" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func TestFactoryIsRegistered(t *testing.T) { diff --git a/provider/fake_provider_test.go b/provider/fake_provider_test.go index fb6cfa34..d6ad74c2 100644 --- a/provider/fake_provider_test.go +++ b/provider/fake_provider_test.go @@ -1,8 +1,8 @@ package provider import ( - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" ) type fakeProvider struct { diff --git a/provider/hybrik/hybrik.go b/provider/hybrik/hybrik.go index 35c506aa..7ef1bf77 100644 --- a/provider/hybrik/hybrik.go +++ b/provider/hybrik/hybrik.go @@ -1,4 +1,4 @@ -package hybrik // import "github.com/NYTimes/video-transcoding-api/provider/hybrik" +package hybrik // import "github.com/video-dev/video-transcoding-api/provider/hybrik" import ( "encoding/json" @@ -8,10 +8,10 @@ import ( "strconv" "strings" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" hwrapper "github.com/hybrik/hybrik-sdk-go" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) const ( diff --git a/provider/mediaconvert/factory_test.go b/provider/mediaconvert/factory_test.go index fced110b..802ece99 100644 --- a/provider/mediaconvert/factory_test.go +++ b/provider/mediaconvert/factory_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/aws/external" "github.com/aws/aws-sdk-go-v2/service/mediaconvert" "github.com/google/go-cmp/cmp" + "github.com/video-dev/video-transcoding-api/config" ) var cfgWithoutCredsAndRegion = config.Config{ diff --git a/provider/mediaconvert/mediaconvert.go b/provider/mediaconvert/mediaconvert.go index b142a934..890237f0 100644 --- a/provider/mediaconvert/mediaconvert.go +++ b/provider/mediaconvert/mediaconvert.go @@ -7,13 +7,13 @@ import ( "strings" "sync" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/aws/external" "github.com/aws/aws-sdk-go-v2/service/mediaconvert" "github.com/pkg/errors" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) const ( diff --git a/provider/mediaconvert/mediaconvert_test.go b/provider/mediaconvert/mediaconvert_test.go index 15fd32f9..08a67ea2 100644 --- a/provider/mediaconvert/mediaconvert_test.go +++ b/provider/mediaconvert/mediaconvert_test.go @@ -4,12 +4,12 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/mediaconvert" "github.com/google/go-cmp/cmp" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) var ( diff --git a/provider/mediaconvert/preset_mapping.go b/provider/mediaconvert/preset_mapping.go index 3b55df04..ee436d17 100644 --- a/provider/mediaconvert/preset_mapping.go +++ b/provider/mediaconvert/preset_mapping.go @@ -5,11 +5,11 @@ import ( "strconv" "strings" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/mediaconvert" "github.com/pkg/errors" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func providerStatusFrom(status mediaconvert.JobStatus) provider.Status { diff --git a/provider/provider.go b/provider/provider.go index 2a1a6566..b68e8684 100644 --- a/provider/provider.go +++ b/provider/provider.go @@ -1,4 +1,4 @@ -package provider // import "github.com/NYTimes/video-transcoding-api/provider" +package provider // import "github.com/video-dev/video-transcoding-api/provider" import ( "errors" @@ -6,8 +6,8 @@ import ( "sort" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" ) var ( diff --git a/provider/provider_test.go b/provider/provider_test.go index 89650ea2..b6d2a914 100644 --- a/provider/provider_test.go +++ b/provider/provider_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/config" ) func noopFactory(*config.Config) (TranscodingProvider, error) { diff --git a/provider/zencoder/zencoder.go b/provider/zencoder/zencoder.go index f9b1414c..b068ec9b 100644 --- a/provider/zencoder/zencoder.go +++ b/provider/zencoder/zencoder.go @@ -5,15 +5,15 @@ // import this package and then grab the factory from the provider package: // // import ( -// "github.com/NYTimes/video-transcoding-api/provider" -// "github.com/NYTimes/video-transcoding-api/provider/zencoder" +// "github.com/video-dev/video-transcoding-api/provider" +// "github.com/video-dev/video-transcoding-api/provider/zencoder" // ) // // func UseProvider() { // factory, err := provider.GetProviderFactory(Zencoder.Name) // // handle err and use factory to get an instance of the provider. // } -package zencoder // import "github.com/NYTimes/video-transcoding-api/provider/zencoder" +package zencoder // import "github.com/video-dev/video-transcoding-api/provider/zencoder" import ( "fmt" @@ -25,10 +25,10 @@ import ( "strings" "time" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis" - "github.com/NYTimes/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis" + "github.com/video-dev/video-transcoding-api/provider" "github.com/video-dev/zencoder" ) diff --git a/provider/zencoder/zencoder_test.go b/provider/zencoder/zencoder_test.go index a98e21a8..86252464 100644 --- a/provider/zencoder/zencoder_test.go +++ b/provider/zencoder/zencoder_test.go @@ -6,11 +6,11 @@ import ( "reflect" "testing" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/dbtest" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/kr/pretty" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/dbtest" + "github.com/video-dev/video-transcoding-api/provider" "github.com/video-dev/zencoder" ) diff --git a/service/fake_provider_test.go b/service/fake_provider_test.go index aa4d7b59..3039b006 100644 --- a/service/fake_provider_test.go +++ b/service/fake_provider_test.go @@ -1,9 +1,9 @@ package service import ( - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) func init() { diff --git a/service/preset.go b/service/preset.go index e27d3cd9..9018ab3b 100644 --- a/service/preset.go +++ b/service/preset.go @@ -7,9 +7,9 @@ import ( "net/http" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/swagger" ) // swagger:route DELETE /presets/{name} presets deletePreset diff --git a/service/preset_params.go b/service/preset_params.go index 7df8594a..38285250 100644 --- a/service/preset_params.go +++ b/service/preset_params.go @@ -1,7 +1,7 @@ package service import ( - "github.com/NYTimes/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db" ) type newPresetInput struct { diff --git a/service/preset_responses.go b/service/preset_responses.go index 8e778156..fa6cf271 100644 --- a/service/preset_responses.go +++ b/service/preset_responses.go @@ -3,7 +3,7 @@ package service import ( "net/http" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/swagger" ) type newPresetResponse struct { diff --git a/service/preset_test.go b/service/preset_test.go index ff3858ce..1a1fd268 100644 --- a/service/preset_test.go +++ b/service/preset_test.go @@ -9,10 +9,10 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/dbtest" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/dbtest" ) func TestNewPreset(t *testing.T) { diff --git a/service/presetmap.go b/service/presetmap.go index 88429ced..fa6e7bc3 100644 --- a/service/presetmap.go +++ b/service/presetmap.go @@ -4,8 +4,8 @@ import ( "net/http" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/swagger" ) // swagger:route POST /presetmaps presets newPreset diff --git a/service/presetmap_params.go b/service/presetmap_params.go index a40a7b07..4e1a5ccf 100644 --- a/service/presetmap_params.go +++ b/service/presetmap_params.go @@ -7,8 +7,8 @@ import ( "io" "net/http" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/swagger" ) // JSON-encoded preset returned on the newPreset and getPreset operations. diff --git a/service/presetmap_test.go b/service/presetmap_test.go index f9b67171..3dbc88c9 100644 --- a/service/presetmap_test.go +++ b/service/presetmap_test.go @@ -9,10 +9,10 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/dbtest" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/dbtest" ) func TestNewPresetMap(t *testing.T) { diff --git a/service/provider.go b/service/provider.go index 30f739ca..6fbcc9e0 100644 --- a/service/provider.go +++ b/service/provider.go @@ -4,8 +4,8 @@ import ( "net/http" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/provider" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/swagger" ) // swagger:route GET /providers providers listProviders diff --git a/service/provider_responses.go b/service/provider_responses.go index 2c8d7c87..6ca64b89 100644 --- a/service/provider_responses.go +++ b/service/provider_responses.go @@ -3,8 +3,8 @@ package service import ( "net/http" - "github.com/NYTimes/video-transcoding-api/provider" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/swagger" ) // response for the listProviders operation. Contains the list of providers diff --git a/service/provider_test.go b/service/provider_test.go index cb7cd83f..2681ea47 100644 --- a/service/provider_test.go +++ b/service/provider_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" ) func TestListProviders(t *testing.T) { diff --git a/service/service.go b/service/service.go index fcc851f4..a3506829 100644 --- a/service/service.go +++ b/service/service.go @@ -1,4 +1,4 @@ -package service // import "github.com/NYTimes/video-transcoding-api/service" +package service // import "github.com/video-dev/video-transcoding-api/service" import ( "fmt" @@ -6,13 +6,13 @@ import ( "github.com/NYTimes/gizmo/server" "github.com/NYTimes/gziphandler" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/redis" - "github.com/NYTimes/video-transcoding-api/swagger" "github.com/fsouza/ctxlogger" "github.com/gorilla/handlers" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/redis" + "github.com/video-dev/video-transcoding-api/swagger" ) // TranscodingService will implement server.JSONService and handle all requests diff --git a/service/swagger_test.go b/service/swagger_test.go index 4e8b96bb..1a20b515 100644 --- a/service/swagger_test.go +++ b/service/swagger_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" ) func TestSwaggerManifest(t *testing.T) { diff --git a/service/transcode.go b/service/transcode.go index 7a4acdd8..01eab7b0 100644 --- a/service/transcode.go +++ b/service/transcode.go @@ -9,9 +9,9 @@ import ( "path/filepath" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/swagger" ) // swagger:route POST /jobs jobs newJob diff --git a/service/transcode_params.go b/service/transcode_params.go index 23ea755a..743f066a 100644 --- a/service/transcode_params.go +++ b/service/transcode_params.go @@ -5,8 +5,8 @@ import ( "errors" "io" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/provider" ) // NewTranscodeJobInputPayload makes up the parameters available for diff --git a/service/transcode_responses.go b/service/transcode_responses.go index 6f55a993..fea6f1e7 100644 --- a/service/transcode_responses.go +++ b/service/transcode_responses.go @@ -3,8 +3,8 @@ package service import ( "net/http" - "github.com/NYTimes/video-transcoding-api/provider" - "github.com/NYTimes/video-transcoding-api/swagger" + "github.com/video-dev/video-transcoding-api/provider" + "github.com/video-dev/video-transcoding-api/swagger" ) // PartialJob is the simple response given to an API diff --git a/service/transcode_test.go b/service/transcode_test.go index 37bfeea4..fd49e26f 100644 --- a/service/transcode_test.go +++ b/service/transcode_test.go @@ -10,11 +10,11 @@ import ( "testing" "github.com/NYTimes/gizmo/server" - "github.com/NYTimes/video-transcoding-api/config" - "github.com/NYTimes/video-transcoding-api/db" - "github.com/NYTimes/video-transcoding-api/db/dbtest" - "github.com/NYTimes/video-transcoding-api/provider" "github.com/sirupsen/logrus" + "github.com/video-dev/video-transcoding-api/config" + "github.com/video-dev/video-transcoding-api/db" + "github.com/video-dev/video-transcoding-api/db/dbtest" + "github.com/video-dev/video-transcoding-api/provider" ) func TestTranscode(t *testing.T) { diff --git a/swagger/handler.go b/swagger/handler.go index e1ebcf12..b492a4fe 100644 --- a/swagger/handler.go +++ b/swagger/handler.go @@ -1,4 +1,4 @@ -package swagger // import "github.com/NYTimes/video-transcoding-api/swagger" +package swagger // import "github.com/video-dev/video-transcoding-api/swagger" import ( "net/http"