diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a65665cc8..4ad044209 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ on: jobs: test: - name: Test the dms-api project + name: Test the catalyst-api project runs-on: ubuntu-20.04 steps: - name: Check out code @@ -48,5 +48,5 @@ jobs: uses: codecov/codecov-action@v3 with: files: ./coverage.out - name: dms-api + name: catalyst-api verbose: true diff --git a/Makefile b/Makefile index 1cbc6e065..0435b9d86 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,4 @@ all: build-server .PHONY: build-server build-server: - go build -ldflags="$(GO_LDFLAG_VERSION)" -o "$(GO_BUILD_DIR)dms-api" cmd/http-server/http-server.go + go build -ldflags="$(GO_LDFLAG_VERSION)" -o "$(GO_BUILD_DIR)catalyst-api" cmd/http-server/http-server.go diff --git a/README.md b/README.md index 83fd341bf..77b804b76 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# dms-api +# catalyst-api + +An HTTP API to allow services (e.g Livepeer Studio) to interact with Catalyst. diff --git a/cmd/http-server/http-server.go b/cmd/http-server/http-server.go index 2f77beb30..cf147c458 100644 --- a/cmd/http-server/http-server.go +++ b/cmd/http-server/http-server.go @@ -7,8 +7,8 @@ import ( "net/http" "github.com/julienschmidt/httprouter" - "github.com/livepeer/dms-api/handlers" - "github.com/livepeer/dms-api/middleware" + "github.com/livepeer/catalyst-api/handlers" + "github.com/livepeer/catalyst-api/middleware" ) func main() { diff --git a/go.mod b/go.mod index f13e36e93..0aed4acef 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/livepeer/dms-api +module github.com/livepeer/catalyst-api go 1.18 diff --git a/handlers/handlers.go b/handlers/handlers.go index f38ffd4ec..1f5a34dfc 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/julienschmidt/httprouter" - "github.com/livepeer/dms-api/errors" + "github.com/livepeer/catalyst-api/errors" "github.com/xeipuuv/gojsonschema" ) diff --git a/middleware/auth.go b/middleware/auth.go index bd7f36fd0..856f1b52e 100644 --- a/middleware/auth.go +++ b/middleware/auth.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/julienschmidt/httprouter" - "github.com/livepeer/dms-api/errors" + "github.com/livepeer/catalyst-api/errors" ) var testToken = "IAmAuthorized" diff --git a/middleware/middleware_test.go b/middleware/middleware_test.go index 7f4be710d..6c74adab8 100644 --- a/middleware/middleware_test.go +++ b/middleware/middleware_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/julienschmidt/httprouter" - "github.com/livepeer/dms-api/handlers" + "github.com/livepeer/catalyst-api/handlers" "github.com/stretchr/testify/require" )