Skip to content

Commit

Permalink
Rename dms* -> catalyst* (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt authored Aug 5, 2022
1 parent 1e4cdb1 commit e052bfb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -48,5 +48,5 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: ./coverage.out
name: dms-api
name: catalyst-api
verbose: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# dms-api
# catalyst-api

An HTTP API to allow services (e.g Livepeer Studio) to interact with Catalyst.
4 changes: 2 additions & 2 deletions cmd/http-server/http-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/livepeer/dms-api
module github.com/livepeer/catalyst-api

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion middleware/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion middleware/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit e052bfb

Please sign in to comment.