Skip to content

Commit 59f13e1

Browse files
authored
Migrate MLP from gojek to caraml-dev organisation (caraml-dev#81)
* Update organisation reference * Update mlp ui-lib package reference
1 parent 3117e9e commit 59f13e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+130
-132
lines changed

Diff for: .github/workflows/ci-pipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ jobs:
374374
working-directory: ui
375375
run: yarn install
376376

377-
- name: Publish @gojek/mlp-ui library
377+
- name: Publish @caraml-dev/ui-lib library
378378
working-directory: ui
379379
env:
380380
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Diff for: CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing
22

3-
We use [GitHub issues](https://github.com/gojek/mlp/issues) to communicate development ideas. The simplest way to contribute to MLP is to leave comments on our GitHub issues.
3+
We use [GitHub issues](https://github.com/caraml-dev/mlp/issues) to communicate development ideas. The simplest way to contribute to MLP is to leave comments on our GitHub issues.
44

55
We follow a process of [lazy consensus](http://community.apache.org/committers/lazyConsensus.html). If you believe you know what the project needs then just start development. If you are unsure about which direction to take with development then please communicate your ideas through a GitHub issue before starting development.
66

7-
Please [submit a PR](https://github.com/gojek/mlp/pulls) to the master branch of the MLP repository once you are ready to submit your contribution. Once submitted, GitHub Actions will run a range of tests to verify the submission, after which community members will help to review the pull request. Pull request to MLP (including a submission from project maintainers) requires review and approval from maintainers.
7+
Please [submit a PR](https://github.com/caraml-dev/mlp/pulls) to the master branch of the MLP repository once you are ready to submit your contribution. Once submitted, GitHub Actions will run a range of tests to verify the submission, after which community members will help to review the pull request. Pull request to MLP (including a submission from project maintainers) requires review and approval from maintainers.

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export
44
UI_PATH := ui
55
UI_BUILD_PATH := ${UI_PATH}/build
66
API_PATH := api
7-
API_ALL_PACKAGES := $(shell cd ${API_PATH} && go list ./... | grep -v github.com/gojek/mlp/client | grep -v mocks)
7+
API_ALL_PACKAGES := $(shell cd ${API_PATH} && go list ./... | grep -v github.com/caraml-dev/mlp/client | grep -v mocks)
88
BIN_NAME := $(if ${APP_NAME},${APP_NAME},mlp)
99

1010
all: setup init-dep lint test clean build run

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ Machine Learning Platform (MLP) is a unified set of products for developing and
66

77
MLP Products are systems and services that are specifically built to solve one or multiple stages of the machine learning life cycle's problems. Currently, we have published the following MLP products:
88

9-
* [**Feast**](https://github.com/gojek/feast) - For managing and serving machine learning features.
10-
* [**Merlin**](https://github.com/gojek/merlin) - For deploying, serving, and monitoring machine learning models.
11-
* [**Turing**](https://github.com/gojek/turing) - For designing, deploying, and evaluating machine learning experiments.
9+
* [**Feast**](https://github.com/caraml-dev/caraml-store) - For managing and serving machine learning features.
10+
* [**Merlin**](https://github.com/caraml-dev/merlin) - For deploying, serving, and monitoring machine learning models.
11+
* [**Turing**](https://github.com/caraml-dev/turing) - For designing, deploying, and evaluating machine learning experiments.
1212

1313
## Architecture overview
1414

1515
![Architecture overview](./docs/diagrams/architecture_overview.drawio.svg)
1616

17-
The MLP Server provides REST API used across MLP Products. It exposes a shared concepts such as [ML Project](./docs/concepts.md#ml-project). This repository also hosts [Go](./api/pkg) and React ([@gojek/mlp-ui](./ui/packages/lib)) libraries used to build a common MLP functionailty.
17+
The MLP Server provides REST API used across MLP Products. It exposes a shared concepts such as [ML Project](./docs/concepts.md#ml-project). This repository also hosts [Go](./api/pkg) and React ([@caraml-dev/ui-lib](./ui/packages/lib)) libraries used to build a common MLP functionailty.
1818

1919
## Getting started
2020

@@ -39,9 +39,9 @@ MLP will now be reachable at <http://localhost:8080>.
3939
To build and run MLP from the source code, you need to have [Go](https://golang.org/doc/install), [Node.js](https://nodejs.org/), and [Yarn](https://yarnpkg.com/) installed. You will also need a running Postgresql database. MLP uses Docker to make the task of setting up databases a little easier. You can run `make local-db` to starting up a Postgres Docker container.
4040

4141
```shell script
42-
mkdir -p $GOPATH/src/github.com/gojek
43-
cd $GOPATH/src/github.com/gojek
44-
git clone [email protected]/gojek/mlp.git mlp
42+
mkdir -p $GOPATH/src/github.com/caraml-dev
43+
cd $GOPATH/src/github.com/caraml-dev
44+
git clone [email protected]/caraml-dev/mlp.git mlp
4545
cd mlp
4646
make local-db
4747
make

Diff for: api/api/projects_api.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/http"
66
"strings"
77

8-
"github.com/gojek/mlp/api/log"
9-
"github.com/gojek/mlp/api/models"
10-
"github.com/gojek/mlp/api/pkg/authz/enforcer"
8+
"github.com/caraml-dev/mlp/api/log"
9+
"github.com/caraml-dev/mlp/api/models"
10+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer"
1111
"github.com/jinzhu/gorm"
1212
)
1313

Diff for: api/api/projects_api_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515
"github.com/jinzhu/gorm"
1616
"github.com/stretchr/testify/assert"
1717

18-
"github.com/gojek/mlp/api/it/database"
19-
"github.com/gojek/mlp/api/models"
20-
"github.com/gojek/mlp/api/service"
21-
"github.com/gojek/mlp/api/storage"
18+
"github.com/caraml-dev/mlp/api/it/database"
19+
"github.com/caraml-dev/mlp/api/models"
20+
"github.com/caraml-dev/mlp/api/service"
21+
"github.com/caraml-dev/mlp/api/storage"
2222
)
2323

2424
const (

Diff for: api/api/router.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import (
66
"net/http"
77
"reflect"
88

9+
"github.com/caraml-dev/mlp/api/config"
10+
"github.com/caraml-dev/mlp/api/middleware"
11+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer"
12+
"github.com/caraml-dev/mlp/api/pkg/instrumentation/newrelic"
13+
"github.com/caraml-dev/mlp/api/service"
14+
"github.com/caraml-dev/mlp/api/storage"
15+
"github.com/caraml-dev/mlp/api/validation"
916
"github.com/go-playground/validator"
10-
"github.com/gojek/mlp/api/config"
11-
"github.com/gojek/mlp/api/middleware"
12-
"github.com/gojek/mlp/api/pkg/authz/enforcer"
13-
"github.com/gojek/mlp/api/pkg/instrumentation/newrelic"
14-
"github.com/gojek/mlp/api/service"
15-
"github.com/gojek/mlp/api/storage"
16-
"github.com/gojek/mlp/api/validation"
1717
"github.com/gorilla/mux"
1818
"github.com/jinzhu/gorm"
1919
)

Diff for: api/api/secrets_api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"net/http"
66

7-
"github.com/gojek/mlp/api/log"
8-
"github.com/gojek/mlp/api/models"
7+
"github.com/caraml-dev/mlp/api/log"
8+
"github.com/caraml-dev/mlp/api/models"
99
)
1010

1111
type SecretsController struct {

Diff for: api/api/secrets_api_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/mock"
1010

11-
"github.com/gojek/mlp/api/models"
12-
"github.com/gojek/mlp/api/service/mocks"
11+
"github.com/caraml-dev/mlp/api/models"
12+
"github.com/caraml-dev/mlp/api/service/mocks"
1313
)
1414

1515
func TestCreateSecret(t *testing.T) {

Diff for: api/api/v2/applications_api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package api
33
import (
44
"net/http"
55

6-
"github.com/gojek/mlp/api/api"
7-
"github.com/gojek/mlp/api/models/v2"
6+
"github.com/caraml-dev/mlp/api/api"
7+
"github.com/caraml-dev/mlp/api/models/v2"
88
)
99

1010
type ApplicationsController struct {

Diff for: api/client/examples/project-endpoints/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"golang.org/x/oauth2/google"
1010

11-
"github.com/gojek/mlp/api/client"
11+
"github.com/caraml-dev/mlp/api/client"
1212
)
1313

1414
func main() {

Diff for: api/client/examples/secret-endpoints/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"golang.org/x/oauth2/google"
1010

11-
"github.com/gojek/mlp/api/client"
11+
"github.com/caraml-dev/mlp/api/client"
1212
)
1313

1414
func main() {

Diff for: api/cmd/main.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"path/filepath"
99
"strings"
1010

11-
"github.com/gojek/mlp/api/api"
12-
apiV2 "github.com/gojek/mlp/api/api/v2"
13-
"github.com/gojek/mlp/api/config"
14-
"github.com/gojek/mlp/api/database"
15-
"github.com/gojek/mlp/api/log"
11+
"github.com/caraml-dev/mlp/api/api"
12+
apiV2 "github.com/caraml-dev/mlp/api/api/v2"
13+
"github.com/caraml-dev/mlp/api/config"
14+
"github.com/caraml-dev/mlp/api/database"
15+
"github.com/caraml-dev/mlp/api/log"
1616
"github.com/gorilla/mux"
1717
"github.com/heptiolabs/healthcheck"
1818
"github.com/rs/cors"

Diff for: api/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"strings"
77

8+
"github.com/caraml-dev/mlp/api/models/v2"
89
"github.com/go-playground/validator/v10"
9-
"github.com/gojek/mlp/api/models/v2"
1010
"github.com/iancoleman/strcase"
1111
"github.com/knadh/koanf"
1212
"github.com/knadh/koanf/parsers/yaml"

Diff for: api/config/config_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66
"testing"
77

8-
"github.com/gojek/mlp/api/config"
9-
"github.com/gojek/mlp/api/models/v2"
8+
"github.com/caraml-dev/mlp/api/config"
9+
"github.com/caraml-dev/mlp/api/models/v2"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212
)
@@ -162,7 +162,7 @@ func TestLoad(t *testing.T) {
162162
Docs: []config.Documentation{
163163
{
164164
Label: "Merlin User Guide",
165-
Href: "https://github.com/gojek/merlin/blob/main/docs/getting-started/README.md",
165+
Href: "https://github.com/caraml-dev/merlin/blob/main/docs/getting-started/README.md",
166166
},
167167
},
168168
Mlflow: &config.MlflowConfig{

Diff for: api/config/testdata/config-2.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
docs:
22
- label: "Merlin User Guide"
3-
href: "https://github.com/gojek/merlin/blob/main/docs/getting-started/README.md"
3+
href: "https://github.com/caraml-dev/merlin/blob/main/docs/getting-started/README.md"
44

55
applications:
66
- name: Turing

Diff for: api/database/database.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// enable postgres dialect
1515
_ "github.com/jinzhu/gorm/dialects/postgres"
1616

17-
"github.com/gojek/mlp/api/config"
17+
"github.com/caraml-dev/mlp/api/config"
1818
)
1919

2020
// InitDB initialises a database connection as well as runs the migration scripts.

Diff for: api/it/database/database.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
_ "github.com/golang-migrate/migrate/v4/source/file"
1616
"github.com/jinzhu/gorm"
1717

18-
"github.com/gojek/mlp/api/log"
18+
"github.com/caraml-dev/mlp/api/log"
1919
)
2020

2121
func connectionString(db string) string {

Diff for: api/middleware/authorization.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"strings"
88

9-
"github.com/gojek/mlp/api/pkg/authz/enforcer"
9+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer"
1010
)
1111

1212
func NewAuthorizer(enforcer enforcer.Enforcer) *Authorizer {

Diff for: api/models/secret.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package models
22

3-
import "github.com/gojek/mlp/api/util"
3+
import "github.com/caraml-dev/mlp/api/util"
44

55
type Secret struct {
66
ID ID `json:"id"`

Diff for: api/pkg/authz/enforcer/enforcer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"github.com/ory/keto-client-go/client/engines"
1414
"github.com/ory/keto-client-go/models"
1515

16-
"github.com/gojek/mlp/api/pkg/authz/enforcer/types"
17-
"github.com/gojek/mlp/api/util"
16+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer/types"
17+
"github.com/caraml-dev/mlp/api/util"
1818
)
1919

2020
const (

Diff for: api/pkg/authz/enforcer/enforcer_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/assert"
99

10-
"github.com/gojek/mlp/api/pkg/authz/enforcer/types"
10+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer/types"
1111
)
1212

1313
// These tests are run with real keto instance running on localhost:4466

Diff for: api/pkg/authz/enforcer/mocks/enforcer.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/pkg/client/mlflow/mlflow.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"cloud.google.com/go/storage"
1111

12-
"github.com/gojek/mlp/api/pkg/artifact"
12+
"github.com/caraml-dev/mlp/api/pkg/artifact"
1313
)
1414

1515
type Service interface {

Diff for: api/pkg/client/mlflow/mlflow_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"testing"
99

1010
"cloud.google.com/go/storage"
11-
"github.com/gojek/mlp/api/pkg/artifact"
11+
"github.com/caraml-dev/mlp/api/pkg/artifact"
1212

13-
"github.com/gojek/mlp/api/pkg/artifact/mocks"
13+
"github.com/caraml-dev/mlp/api/pkg/artifact/mocks"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/stretchr/testify/require"
1616
)

Diff for: api/service/applications_service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package service
33
import (
44
"github.com/jinzhu/gorm"
55

6-
"github.com/gojek/mlp/api/models"
6+
"github.com/caraml-dev/mlp/api/models"
77
)
88

99
type ApplicationService interface {

Diff for: api/service/mocks/projects_service.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/service/mocks/secret_service.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: api/service/projects_service.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

77
"github.com/pkg/errors"
88

9-
"github.com/gojek/mlp/api/models"
10-
"github.com/gojek/mlp/api/pkg/authz/enforcer"
11-
"github.com/gojek/mlp/api/storage"
9+
"github.com/caraml-dev/mlp/api/models"
10+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer"
11+
"github.com/caraml-dev/mlp/api/storage"
1212
)
1313

1414
type ProjectsService interface {

Diff for: api/service/projects_service_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/gojek/mlp/api/pkg/authz/enforcer"
8-
enforcerMock "github.com/gojek/mlp/api/pkg/authz/enforcer/mocks"
9-
"github.com/gojek/mlp/api/pkg/authz/enforcer/types"
7+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer"
8+
enforcerMock "github.com/caraml-dev/mlp/api/pkg/authz/enforcer/mocks"
9+
"github.com/caraml-dev/mlp/api/pkg/authz/enforcer/types"
1010
"github.com/stretchr/testify/assert"
1111

12-
"github.com/gojek/mlp/api/models"
13-
"github.com/gojek/mlp/api/storage/mocks"
12+
"github.com/caraml-dev/mlp/api/models"
13+
"github.com/caraml-dev/mlp/api/storage/mocks"
1414
)
1515

1616
const MLFlowTrackingURL = "http://localhost:5555"

Diff for: api/service/secret_service.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/jinzhu/gorm"
77

8-
"github.com/gojek/mlp/api/models"
9-
"github.com/gojek/mlp/api/storage"
8+
"github.com/caraml-dev/mlp/api/models"
9+
"github.com/caraml-dev/mlp/api/storage"
1010
)
1111

1212
type SecretService interface {

Diff for: api/service/secret_service_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/require"
1010

11-
"github.com/gojek/mlp/api/models"
12-
"github.com/gojek/mlp/api/storage/mocks"
11+
"github.com/caraml-dev/mlp/api/models"
12+
"github.com/caraml-dev/mlp/api/storage/mocks"
1313
)
1414

1515
func TestFindByIdAndProjectId(t *testing.T) {

Diff for: api/storage/mocks/project_storage.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)