Skip to content
Snippets Groups Projects
Commit 5f8e3b65 authored by Yordan Kinkov's avatar Yordan Kinkov
Browse files

Migrate code.vereign.com refs to gitlab.com/gaia-x

parent de3279a8
Branches
Tags
No related merge requests found
Showing
with 40 additions and 43 deletions
...@@ -24,8 +24,8 @@ lint: ...@@ -24,8 +24,8 @@ lint:
- golangci-lint --version - golangci-lint --version
- golangci-lint run - golangci-lint run
before_script: before_script:
- ln -s /builds /go/src/code.vereign.com - ln -s /builds /go/src/gitlab.com
- cd /go/src/code.vereign.com/${CI_PROJECT_PATH} - cd /go/src/gitlab.com/${CI_PROJECT_PATH}
unit tests: unit tests:
image: golang:1.17.7 image: golang:1.17.7
......
[![pipeline status](https://code.vereign.com/gaiax/tsa/cache/badges/main/pipeline.svg)](https://code.vereign.com/gaiax/tsa/cache/-/commits/main) [![pipeline status](https://gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/badges/main/pipeline.svg)](https://gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/-/commits/main)
[![coverage report](https://code.vereign.com/gaiax/tsa/cache/badges/main/coverage.svg)](https://code.vereign.com/gaiax/tsa/cache/-/commits/main) [![coverage report](https://gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/badges/main/coverage.svg)](https://gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/-/commits/main)
# Cache service # Cache service
......
...@@ -16,19 +16,19 @@ import ( ...@@ -16,19 +16,19 @@ import (
goa "goa.design/goa/v3/pkg" goa "goa.design/goa/v3/pkg"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
goacache "code.vereign.com/gaiax/tsa/cache/gen/cache" goacache "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/cache"
goahealth "code.vereign.com/gaiax/tsa/cache/gen/health" goahealth "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/health"
goacachesrv "code.vereign.com/gaiax/tsa/cache/gen/http/cache/server" goacachesrv "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/http/cache/server"
goahealthsrv "code.vereign.com/gaiax/tsa/cache/gen/http/health/server" goahealthsrv "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/http/health/server"
goaopenapisrv "code.vereign.com/gaiax/tsa/cache/gen/http/openapi/server" goaopenapisrv "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/http/openapi/server"
"code.vereign.com/gaiax/tsa/cache/gen/openapi" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/openapi"
"code.vereign.com/gaiax/tsa/cache/internal/clients/event" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/clients/event"
"code.vereign.com/gaiax/tsa/cache/internal/clients/redis" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/clients/redis"
"code.vereign.com/gaiax/tsa/cache/internal/config" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/config"
"code.vereign.com/gaiax/tsa/cache/internal/service" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/service"
"code.vereign.com/gaiax/tsa/cache/internal/service/cache" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/service/cache"
"code.vereign.com/gaiax/tsa/cache/internal/service/health" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/internal/service/health"
"code.vereign.com/gaiax/tsa/golib/graceful" "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/golib/graceful"
) )
var Version = "0.0.0+development" var Version = "0.0.0+development"
......
FROM golang:1.17.8-alpine3.15 as builder FROM golang:1.17.8-alpine3.15 as builder
ENV GOPRIVATE=code.vereign.com
RUN apk add git RUN apk add git
WORKDIR /go/src/code.vereign.com/gaiax/tsa/cache WORKDIR /go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache
ADD . . ADD . .
......
FROM golang:1.17.8 FROM golang:1.17.8
ENV GO111MODULE=on ENV GO111MODULE=on
ENV GOPRIVATE=code.vereign.com
RUN go install github.com/canthefason/go-watcher/cmd/watcher@v0.2.4 RUN go install github.com/canthefason/go-watcher/cmd/watcher@v0.2.4
ADD . /go/src/code.vereign.com/gaiax/tsa/cache ADD . /go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache
WORKDIR /go/src/code.vereign.com/gaiax/tsa/cache WORKDIR /go/src/gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache
RUN go install -mod=vendor ./cmd/cache/... RUN go install -mod=vendor ./cmd/cache/...
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["sh", "-c", "/go/bin/watcher -run code.vereign.com/gaiax/tsa/cache/cmd/cache -watch code.vereign.com/gaiax/tsa/cache"] ENTRYPOINT ["sh", "-c", "/go/bin/watcher -run gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/cmd/cache -watch gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache"]
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache client // cache client
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package cache package cache
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache endpoints // cache endpoints
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package cache package cache
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache service // cache service
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package cache package cache
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// health client // health client
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package health package health
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// health endpoints // health endpoints
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package health package health
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// health service // health service
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package health package health
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache HTTP client CLI support package // cache HTTP client CLI support package
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package client package client
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
cache "code.vereign.com/gaiax/tsa/cache/gen/cache" cache "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/cache"
) )
// BuildGetPayload builds the payload for the cache Get endpoint from CLI flags. // BuildGetPayload builds the payload for the cache Get endpoint from CLI flags.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache client HTTP transport // cache client HTTP transport
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package client package client
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache HTTP client encoders and decoders // cache HTTP client encoders and decoders
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package client package client
...@@ -14,7 +14,7 @@ import ( ...@@ -14,7 +14,7 @@ import (
"net/http" "net/http"
"net/url" "net/url"
cache "code.vereign.com/gaiax/tsa/cache/gen/cache" cache "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/cache"
goahttp "goa.design/goa/v3/http" goahttp "goa.design/goa/v3/http"
) )
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// HTTP request path constructors for the cache service. // HTTP request path constructors for the cache service.
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package client package client
......
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
// cache HTTP client types // cache HTTP client types
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package client package client
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache HTTP server encoders and decoders // cache HTTP server encoders and decoders
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package server package server
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// HTTP request path constructors for the cache service. // HTTP request path constructors for the cache service.
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package server package server
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// cache HTTP server // cache HTTP server
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package server package server
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
"context" "context"
"net/http" "net/http"
cache "code.vereign.com/gaiax/tsa/cache/gen/cache" cache "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/cache"
goahttp "goa.design/goa/v3/http" goahttp "goa.design/goa/v3/http"
goa "goa.design/goa/v3/pkg" goa "goa.design/goa/v3/pkg"
) )
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
// cache HTTP server types // cache HTTP server types
// //
// Command: // Command:
// $ goa gen code.vereign.com/gaiax/tsa/cache/design // $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design
package server package server
import ( import (
cache "code.vereign.com/gaiax/tsa/cache/gen/cache" cache "gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/gen/cache"
) )
// NewGetCacheGetRequest builds a cache service Get endpoint payload. // NewGetCacheGetRequest builds a cache service Get endpoint payload.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment