Skip to content

Commit

Permalink
Remove old aim implementation (#1179)
Browse files Browse the repository at this point in the history
Remove old `aim` implementation.
  • Loading branch information
dsuhinin authored May 7, 2024
1 parent fb33bff commit a39661d
Show file tree
Hide file tree
Showing 131 changed files with 618 additions and 5,984 deletions.
18 changes: 0 additions & 18 deletions pkg/api/aim/api.go

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/uuid"

"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// App represents the response json in App endpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/uuid"

"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// Dashboard represents the response json in Dashboard endpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strconv"

"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// Experiment represents the response object to hold models.ExperimentExtended data.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/gofiber/fiber/v2"
"github.com/rotisserie/eris"

"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// ProjectActivityResponse represents the response json for the `GET aim/projects/activity` endpoint.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
log "github.com/sirupsen/logrus"
"gorm.io/datatypes"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/repositories"
"github.com/G-Research/fasttrackml/pkg/api/aim2/encoding"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/repositories"
"github.com/G-Research/fasttrackml/pkg/api/aim/encoding"
"github.com/G-Research/fasttrackml/pkg/common"
"github.com/G-Research/fasttrackml/pkg/database"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package response
import (
"github.com/google/uuid"

"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// TagResponse represents a run tag.
Expand Down
198 changes: 0 additions & 198 deletions pkg/api/aim/apps.go

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package controller

import (
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/app"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/dashboard"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/experiment"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/project"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/run"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/tag"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/app"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/dashboard"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/experiment"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/project"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/run"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/tag"
)

// Controller handles all the input HTTP requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim2/services/run"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/services/run"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/response"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/response"
"github.com/G-Research/fasttrackml/pkg/common/api"
"github.com/G-Research/fasttrackml/pkg/common/middleware"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package convertors
import (
"github.com/google/uuid"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// ConvertCreateAppRequestToDBModel converts request.CreateAppRequest into actual models.App model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package convertors
import (
"github.com/google/uuid"

"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// ConvertCreateDashboardRequestToDBModel translates the request to a model.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package convertors

import (
"github.com/G-Research/fasttrackml/pkg/api/aim2/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim2/dao/models"
"github.com/G-Research/fasttrackml/pkg/api/aim/api/request"
"github.com/G-Research/fasttrackml/pkg/api/aim/dao/models"
)

// ConvertUpdateExperimentToDBModel converts request.CreateExperimentRequest into actual models.Experiment model.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a39661d

Please sign in to comment.