Rename module for GitHub

This commit is contained in:
Maximilian Paß
2021-07-30 16:40:44 +02:00
parent 36dc99f019
commit c8c5357b8c
42 changed files with 106 additions and 106 deletions

View File

@ -1,5 +1,5 @@
PROJECT_NAME := "poseidon" PROJECT_NAME := "poseidon"
PKG := "gitlab.hpi.de/codeocean/codemoon/$(PROJECT_NAME)/cmd/$(PROJECT_NAME)" PKG := "github.com/openHPI/$(PROJECT_NAME)/cmd/$(PROJECT_NAME)"
UNIT_TESTS = $(shell go list ./... | grep -v /e2e) UNIT_TESTS = $(shell go list ./... | grep -v /e2e)
DOCKER_E2E_CONTAINER_NAME := "$(PROJECT_NAME)-e2e-tests" DOCKER_E2E_CONTAINER_NAME := "$(PROJECT_NAME)-e2e-tests"

View File

@ -3,12 +3,12 @@ package main
import ( import (
"context" "context"
"errors" "errors"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api" "github.com/openHPI/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/environment" "github.com/openHPI/poseidon/internal/environment"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad" "github.com/openHPI/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/logging"
"net/http" "net/http"
"os" "os"
"os/signal" "os/signal"

2
go.mod
View File

@ -1,4 +1,4 @@
module gitlab.hpi.de/codeocean/codemoon/poseidon module github.com/openHPI/poseidon
go 1.16 go 1.16

View File

@ -2,10 +2,10 @@ package api
import ( import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api/auth" "github.com/openHPI/poseidon/internal/api/auth"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/environment" "github.com/openHPI/poseidon/internal/environment"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/logging"
"net/http" "net/http"
) )

View File

@ -2,8 +2,8 @@ package api
import ( import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/openHPI/poseidon/internal/config"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"testing" "testing"

View File

@ -2,8 +2,8 @@ package auth
import ( import (
"crypto/subtle" "crypto/subtle"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/logging"
"net/http" "net/http"
) )

View File

@ -1,11 +1,11 @@
package auth package auth
import ( import (
"github.com/openHPI/poseidon/internal/config"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test" "github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"testing" "testing"

View File

@ -5,9 +5,9 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/environment" "github.com/openHPI/poseidon/internal/environment"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"net/http" "net/http"
) )

View File

@ -4,12 +4,12 @@ import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/openHPI/poseidon/internal/environment"
"github.com/openHPI/poseidon/internal/runner"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/environment"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"math" "math"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"

View File

@ -3,7 +3,7 @@ package api
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"net/http" "net/http"
) )

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"net/http" "net/http"
"net/url" "net/url"
) )

View File

@ -5,11 +5,11 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/openHPI/poseidon/internal/runner"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"net/url" "net/url"

View File

@ -6,8 +6,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"io" "io"
"net/http" "net/http"
"sync" "sync"

View File

@ -8,15 +8,15 @@ import (
"fmt" "fmt"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/internal/runner"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"io" "io"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"

View File

@ -5,8 +5,8 @@ import (
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"github.com/openHPI/poseidon/pkg/logging"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
"net/url" "net/url"
"os" "os"

View File

@ -6,10 +6,10 @@ import (
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/jobspec2" "github.com/hashicorp/nomad/jobspec2"
"github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/nomad/structs"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad" "github.com/openHPI/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" "github.com/openHPI/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/logging"
"os" "os"
"strconv" "strconv"
) )

View File

@ -3,10 +3,10 @@
package environment package environment
import ( import (
dto "github.com/openHPI/poseidon/pkg/dto"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"
dto "gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
runner "gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner" runner "github.com/openHPI/poseidon/internal/runner"
) )
// ManagerMock is an autogenerated mock type for the Manager type // ManagerMock is an autogenerated mock type for the Manager type

View File

@ -2,14 +2,14 @@ package environment
import ( import (
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/internal/runner"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"os" "os"
"testing" "testing"
) )

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"io" "io"
) )

View File

@ -6,7 +6,7 @@ import (
context "context" context "context"
api "github.com/hashicorp/nomad/api" api "github.com/hashicorp/nomad/api"
config "gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" config "github.com/openHPI/poseidon/internal/config"
io "io" io "io"

View File

@ -6,7 +6,7 @@ import (
context "context" context "context"
api "github.com/hashicorp/nomad/api" api "github.com/hashicorp/nomad/api"
config "gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" config "github.com/openHPI/poseidon/internal/config"
io "io" io "io"

View File

@ -3,13 +3,13 @@ package nomad
import ( import (
"fmt" "fmt"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test" "github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"strconv" "strconv"
"testing" "testing"
) )

View File

@ -6,9 +6,9 @@ import (
"fmt" "fmt"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/nomad/structs"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/logging"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/nullio" "github.com/openHPI/poseidon/pkg/nullio"
"io" "io"
"strconv" "strconv"
"time" "time"

View File

@ -7,13 +7,13 @@ import (
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/nomad/structs"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
"github.com/openHPI/poseidon/internal/config"
"github.com/openHPI/poseidon/pkg/nullio"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/nullio"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"io" "io"
"net/url" "net/url"
"regexp" "regexp"

View File

@ -1,6 +1,6 @@
package runner package runner
import "gitlab.hpi.de/codeocean/codemoon/poseidon/tests" import "github.com/openHPI/poseidon/tests"
const ( const (
defaultEnvironmentID = EnvironmentID(tests.DefaultEnvironmentIDAsInteger) defaultEnvironmentID = EnvironmentID(tests.DefaultEnvironmentIDAsInteger)

View File

@ -1,9 +1,9 @@
package runner package runner
import ( import (
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"testing" "testing"
"time" "time"
) )

View File

@ -6,9 +6,9 @@ import (
"fmt" "fmt"
"github.com/google/uuid" "github.com/google/uuid"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/pkg/logging"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

@ -3,13 +3,13 @@ package runner
import ( import (
"context" "context"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test" "github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"strconv" "strconv"
"testing" "testing"
"time" "time"

View File

@ -8,9 +8,9 @@ import (
"errors" "errors"
"fmt" "fmt"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad" "github.com/openHPI/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/execution" "github.com/openHPI/poseidon/pkg/execution"
"io" "io"
"strings" "strings"
"time" "time"

View File

@ -6,7 +6,7 @@ import (
context "context" context "context"
io "io" io "io"
dto "gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" dto "github.com/openHPI/poseidon/pkg/dto"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"

View File

@ -6,15 +6,15 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/pkg/execution"
"github.com/openHPI/poseidon/pkg/nullio"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/execution"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/nullio"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"io" "io"
"regexp" "regexp"
"strings" "strings"

View File

@ -1,9 +1,9 @@
package runner package runner
import ( import (
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"testing" "testing"
) )

View File

@ -1,7 +1,7 @@
package execution package execution
import ( import (
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
) )
// ID is an identifier for an execution. // ID is an identifier for an execution.

View File

@ -1,7 +1,7 @@
package execution package execution
import ( import (
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"sync" "sync"
) )

View File

@ -1,9 +1,9 @@
package execution package execution
import ( import (
"github.com/openHPI/poseidon/pkg/dto"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"testing" "testing"
) )

View File

@ -3,7 +3,7 @@ package tests
import ( import (
"errors" "errors"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"time" "time"
) )

View File

@ -3,13 +3,13 @@ package e2e
import ( import (
"flag" "flag"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/internal/api"
"github.com/openHPI/poseidon/internal/config"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/pkg/logging"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/logging"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"net/http" "net/http"
"os" "os"
"testing" "testing"

View File

@ -2,13 +2,13 @@ package e2e
import ( import (
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"github.com/openHPI/poseidon/internal/api"
"github.com/openHPI/poseidon/internal/runner"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/runner"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"io" "io"
"net/http" "net/http"
"strings" "strings"

View File

@ -1,9 +1,9 @@
package e2e package e2e
import ( import (
"github.com/openHPI/poseidon/internal/api"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"net/http" "net/http"
"testing" "testing"
) )

View File

@ -5,10 +5,10 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api" "github.com/openHPI/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests" "github.com/openHPI/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers" "github.com/openHPI/poseidon/tests/helpers"
"io" "io"
"net/http" "net/http"
"strings" "strings"

View File

@ -6,12 +6,12 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/openHPI/poseidon/internal/api"
"github.com/openHPI/poseidon/internal/nomad"
"github.com/openHPI/poseidon/pkg/dto"
"github.com/openHPI/poseidon/tests"
"github.com/openHPI/poseidon/tests/helpers"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/nomad"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests/helpers"
"net/http" "net/http"
"strings" "strings"
"time" "time"

View File

@ -10,9 +10,9 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
nomadApi "github.com/hashicorp/nomad/api" nomadApi "github.com/hashicorp/nomad/api"
"gitlab.hpi.de/codeocean/codemoon/poseidon/internal/config" "github.com/openHPI/poseidon/internal/config"
"gitlab.hpi.de/codeocean/codemoon/poseidon/pkg/dto" "github.com/openHPI/poseidon/pkg/dto"
"gitlab.hpi.de/codeocean/codemoon/poseidon/tests" "github.com/openHPI/poseidon/tests"
"io" "io"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"