From fba13338d5b96dd9dc48160a993764ec47674cac Mon Sep 17 00:00:00 2001 From: Yordan Kinkov <yordan.kinkov@vereign.com> Date: Tue, 13 Sep 2022 16:43:40 +0300 Subject: [PATCH] Migrate code.vereign.com refs to gitlab.com/gaia-x --- deployment/ci/Dockerfile | 2 +- gen/cache/client.go | 5 +- gen/cache/endpoints.go | 5 +- gen/cache/service.go | 5 +- gen/health/client.go | 5 +- gen/health/endpoints.go | 5 +- gen/health/service.go | 5 +- gen/http/cache/client/cli.go | 5 +- gen/http/cache/client/client.go | 5 +- gen/http/cache/client/encode_decode.go | 31 ++- gen/http/cache/client/paths.go | 5 +- gen/http/cache/client/types.go | 5 +- gen/http/cache/server/encode_decode.go | 5 +- gen/http/cache/server/paths.go | 5 +- gen/http/cache/server/server.go | 5 +- gen/http/cache/server/types.go | 5 +- gen/http/cli/cache/cli.go | 8 +- gen/http/health/client/cli.go | 5 +- gen/http/health/client/client.go | 5 +- gen/http/health/client/encode_decode.go | 23 +- gen/http/health/client/paths.go | 5 +- gen/http/health/client/types.go | 5 +- gen/http/health/server/encode_decode.go | 5 +- gen/http/health/server/paths.go | 5 +- gen/http/health/server/server.go | 5 +- gen/http/health/server/types.go | 5 +- gen/http/openapi.yaml | 263 +++++++++--------- gen/http/openapi/client/client.go | 5 +- gen/http/openapi/client/encode_decode.go | 5 +- gen/http/openapi/client/paths.go | 5 +- gen/http/openapi/client/types.go | 5 +- gen/http/openapi/server/paths.go | 5 +- gen/http/openapi/server/server.go | 5 +- gen/http/openapi/server/types.go | 5 +- gen/http/openapi3.yaml | 337 +++++++++++------------ gen/openapi/client.go | 5 +- gen/openapi/endpoints.go | 5 +- gen/openapi/service.go | 5 +- 38 files changed, 428 insertions(+), 396 deletions(-) diff --git a/deployment/ci/Dockerfile b/deployment/ci/Dockerfile index 70e3784..cb67fc4 100644 --- a/deployment/ci/Dockerfile +++ b/deployment/ci/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17.8-alpine3.15 as builder +FROM golang:1.19-alpine3.15 as builder RUN apk add git diff --git a/gen/cache/client.go b/gen/cache/client.go index 92df2a0..3cd0f56 100644 --- a/gen/cache/client.go +++ b/gen/cache/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache client // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package cache diff --git a/gen/cache/endpoints.go b/gen/cache/endpoints.go index 45a5b0b..18dfea0 100644 --- a/gen/cache/endpoints.go +++ b/gen/cache/endpoints.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache endpoints // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package cache diff --git a/gen/cache/service.go b/gen/cache/service.go index d2d6193..1713fd6 100644 --- a/gen/cache/service.go +++ b/gen/cache/service.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache service // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package cache diff --git a/gen/health/client.go b/gen/health/client.go index 38f91cc..7496210 100644 --- a/gen/health/client.go +++ b/gen/health/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health client // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package health diff --git a/gen/health/endpoints.go b/gen/health/endpoints.go index 27ae09e..d6be6a8 100644 --- a/gen/health/endpoints.go +++ b/gen/health/endpoints.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health endpoints // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package health diff --git a/gen/health/service.go b/gen/health/service.go index 5792df8..6638a7a 100644 --- a/gen/health/service.go +++ b/gen/health/service.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health service // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package health diff --git a/gen/http/cache/client/cli.go b/gen/http/cache/client/cli.go index 8e136e7..b9f2a52 100644 --- a/gen/http/cache/client/cli.go +++ b/gen/http/cache/client/cli.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP client CLI support package // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/cache/client/client.go b/gen/http/cache/client/client.go index b5212ff..7f86026 100644 --- a/gen/http/cache/client/client.go +++ b/gen/http/cache/client/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache client HTTP transport // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/cache/client/encode_decode.go b/gen/http/cache/client/encode_decode.go index 86555f7..f84efd8 100644 --- a/gen/http/cache/client/encode_decode.go +++ b/gen/http/cache/client/encode_decode.go @@ -1,16 +1,17 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP client encoders and decoders // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client import ( "bytes" "context" - "io/ioutil" + "io" "net/http" "net/url" @@ -63,13 +64,13 @@ func EncodeGetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Re func DecodeGetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) { return func(resp *http.Response) (interface{}, error) { if restoreBody { - b, err := ioutil.ReadAll(resp.Body) + b, err := io.ReadAll(resp.Body) if err != nil { return nil, err } - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) defer func() { - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) }() } else { defer resp.Body.Close() @@ -86,7 +87,7 @@ func DecodeGetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody } return body, nil default: - body, _ := ioutil.ReadAll(resp.Body) + body, _ := io.ReadAll(resp.Body) return nil, goahttp.ErrInvalidResponse("cache", "Get", resp.StatusCode, string(body)) } } @@ -141,13 +142,13 @@ func EncodeSetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Re func DecodeSetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) { return func(resp *http.Response) (interface{}, error) { if restoreBody { - b, err := ioutil.ReadAll(resp.Body) + b, err := io.ReadAll(resp.Body) if err != nil { return nil, err } - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) defer func() { - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) }() } else { defer resp.Body.Close() @@ -156,7 +157,7 @@ func DecodeSetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody case http.StatusCreated: return nil, nil default: - body, _ := ioutil.ReadAll(resp.Body) + body, _ := io.ReadAll(resp.Body) return nil, goahttp.ErrInvalidResponse("cache", "Set", resp.StatusCode, string(body)) } } @@ -211,13 +212,13 @@ func EncodeSetExternalRequest(encoder func(*http.Request) goahttp.Encoder) func( func DecodeSetExternalResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) { return func(resp *http.Response) (interface{}, error) { if restoreBody { - b, err := ioutil.ReadAll(resp.Body) + b, err := io.ReadAll(resp.Body) if err != nil { return nil, err } - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) defer func() { - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) }() } else { defer resp.Body.Close() @@ -226,7 +227,7 @@ func DecodeSetExternalResponse(decoder func(*http.Response) goahttp.Decoder, res case http.StatusOK: return nil, nil default: - body, _ := ioutil.ReadAll(resp.Body) + body, _ := io.ReadAll(resp.Body) return nil, goahttp.ErrInvalidResponse("cache", "SetExternal", resp.StatusCode, string(body)) } } diff --git a/gen/http/cache/client/paths.go b/gen/http/cache/client/paths.go index a8c31f5..0114449 100644 --- a/gen/http/cache/client/paths.go +++ b/gen/http/cache/client/paths.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the cache service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/cache/client/types.go b/gen/http/cache/client/types.go index 4f8aa56..5f07fdd 100644 --- a/gen/http/cache/client/types.go +++ b/gen/http/cache/client/types.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP client types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/cache/server/encode_decode.go b/gen/http/cache/server/encode_decode.go index 3964d7b..3881e6a 100644 --- a/gen/http/cache/server/encode_decode.go +++ b/gen/http/cache/server/encode_decode.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP server encoders and decoders // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/cache/server/paths.go b/gen/http/cache/server/paths.go index 99773cf..de11145 100644 --- a/gen/http/cache/server/paths.go +++ b/gen/http/cache/server/paths.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the cache service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/cache/server/server.go b/gen/http/cache/server/server.go index 6dcbc9f..08bbb23 100644 --- a/gen/http/cache/server/server.go +++ b/gen/http/cache/server/server.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP server // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/cache/server/types.go b/gen/http/cache/server/types.go index c182806..4ba57fe 100644 --- a/gen/http/cache/server/types.go +++ b/gen/http/cache/server/types.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP server types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/cli/cache/cli.go b/gen/http/cli/cache/cli.go index 94ede4d..677da64 100644 --- a/gen/http/cli/cache/cli.go +++ b/gen/http/cli/cache/cli.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // cache HTTP client CLI support package // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package cli @@ -21,8 +22,7 @@ import ( // UsageCommands returns the set of commands and sub-commands using the format // -// command (subcommand1|subcommand2|...) -// +// command (subcommand1|subcommand2|...) func UsageCommands() string { return `health (liveness|readiness) cache (get|set|set-external) diff --git a/gen/http/health/client/cli.go b/gen/http/health/client/cli.go index 7fbf435..a726d93 100644 --- a/gen/http/health/client/cli.go +++ b/gen/http/health/client/cli.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP client CLI support package // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/health/client/client.go b/gen/http/health/client/client.go index 9cb23b5..9082020 100644 --- a/gen/http/health/client/client.go +++ b/gen/http/health/client/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health client HTTP transport // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/health/client/encode_decode.go b/gen/http/health/client/encode_decode.go index 645799e..8293760 100644 --- a/gen/http/health/client/encode_decode.go +++ b/gen/http/health/client/encode_decode.go @@ -1,16 +1,17 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP client encoders and decoders // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client import ( "bytes" "context" - "io/ioutil" + "io" "net/http" "net/url" @@ -38,13 +39,13 @@ func (c *Client) BuildLivenessRequest(ctx context.Context, v interface{}) (*http func DecodeLivenessResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) { return func(resp *http.Response) (interface{}, error) { if restoreBody { - b, err := ioutil.ReadAll(resp.Body) + b, err := io.ReadAll(resp.Body) if err != nil { return nil, err } - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) defer func() { - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) }() } else { defer resp.Body.Close() @@ -53,7 +54,7 @@ func DecodeLivenessResponse(decoder func(*http.Response) goahttp.Decoder, restor case http.StatusOK: return nil, nil default: - body, _ := ioutil.ReadAll(resp.Body) + body, _ := io.ReadAll(resp.Body) return nil, goahttp.ErrInvalidResponse("health", "Liveness", resp.StatusCode, string(body)) } } @@ -80,13 +81,13 @@ func (c *Client) BuildReadinessRequest(ctx context.Context, v interface{}) (*htt func DecodeReadinessResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) { return func(resp *http.Response) (interface{}, error) { if restoreBody { - b, err := ioutil.ReadAll(resp.Body) + b, err := io.ReadAll(resp.Body) if err != nil { return nil, err } - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) defer func() { - resp.Body = ioutil.NopCloser(bytes.NewBuffer(b)) + resp.Body = io.NopCloser(bytes.NewBuffer(b)) }() } else { defer resp.Body.Close() @@ -95,7 +96,7 @@ func DecodeReadinessResponse(decoder func(*http.Response) goahttp.Decoder, resto case http.StatusOK: return nil, nil default: - body, _ := ioutil.ReadAll(resp.Body) + body, _ := io.ReadAll(resp.Body) return nil, goahttp.ErrInvalidResponse("health", "Readiness", resp.StatusCode, string(body)) } } diff --git a/gen/http/health/client/paths.go b/gen/http/health/client/paths.go index 781f2ea..c6eb84c 100644 --- a/gen/http/health/client/paths.go +++ b/gen/http/health/client/paths.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the health service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/health/client/types.go b/gen/http/health/client/types.go index 73824d0..65a62a7 100644 --- a/gen/http/health/client/types.go +++ b/gen/http/health/client/types.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP client types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/health/server/encode_decode.go b/gen/http/health/server/encode_decode.go index 6b55321..486daac 100644 --- a/gen/http/health/server/encode_decode.go +++ b/gen/http/health/server/encode_decode.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP server encoders and decoders // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/health/server/paths.go b/gen/http/health/server/paths.go index e9fd250..cbdc3af 100644 --- a/gen/http/health/server/paths.go +++ b/gen/http/health/server/paths.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the health service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/health/server/server.go b/gen/http/health/server/server.go index 4169726..5f411ac 100644 --- a/gen/http/health/server/server.go +++ b/gen/http/health/server/server.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP server // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/health/server/types.go b/gen/http/health/server/types.go index 75d7ae0..dde25b1 100644 --- a/gen/http/health/server/types.go +++ b/gen/http/health/server/types.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // health HTTP server types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/openapi.yaml b/gen/http/openapi.yaml index 5fdfb3d..de1d535 100644 --- a/gen/http/openapi.yaml +++ b/gen/http/openapi.yaml @@ -1,138 +1,137 @@ swagger: "2.0" info: - title: Cache Service - description: The cache service exposes interface for working with Redis. - version: "" + title: Cache Service + description: The cache service exposes interface for working with Redis. + version: "" host: localhost:8083 consumes: -- application/json -- application/xml -- application/gob + - application/json + - application/xml + - application/gob produces: -- application/json -- application/xml -- application/gob + - application/json + - application/xml + - application/gob paths: - /liveness: - get: - tags: - - health - summary: Liveness health - operationId: health#Liveness - responses: - "200": - description: OK response. - schemes: - - http - /readiness: - get: - tags: - - health - summary: Readiness health - operationId: health#Readiness - responses: - "200": - description: OK response. - schemes: - - http - /v1/cache: - get: - tags: - - cache - summary: Get cache - description: Get JSON value from the cache. - operationId: cache#Get - produces: - - application/json - parameters: - - name: x-cache-key - in: header - description: Cache entry key - required: true - type: string - - name: x-cache-namespace - in: header - description: Cache entry namespace - required: false - type: string - - name: x-cache-scope - in: header - description: Cache entry scope - required: false - type: string - responses: - "200": - description: OK response. - schema: - type: string - format: binary - schemes: - - http - post: - tags: - - cache - summary: Set cache - description: Set a JSON value in the cache. - operationId: cache#Set - parameters: - - name: x-cache-key - in: header - description: Cache entry key - required: true - type: string - - name: x-cache-namespace - in: header - description: Cache entry namespace - required: false - type: string - - name: x-cache-scope - in: header - description: Cache entry scope - required: false - type: string - - name: any - in: body - required: true - schema: - type: string - format: binary - responses: - "201": - description: Created response. - schemes: - - http - /v1/external/cache: - post: - tags: - - cache - summary: SetExternal cache - description: Set an external JSON value in the cache and provide an event for - the input. - operationId: cache#SetExternal - parameters: - - name: x-cache-key - in: header - description: Cache entry key - required: true - type: string - - name: x-cache-namespace - in: header - description: Cache entry namespace - required: false - type: string - - name: x-cache-scope - in: header - description: Cache entry scope - required: false - type: string - - name: any - in: body - required: true - schema: - type: string - format: binary - responses: - "200": - description: OK response. - schemes: - - http + /liveness: + get: + tags: + - health + summary: Liveness health + operationId: health#Liveness + responses: + "200": + description: OK response. + schemes: + - http + /readiness: + get: + tags: + - health + summary: Readiness health + operationId: health#Readiness + responses: + "200": + description: OK response. + schemes: + - http + /v1/cache: + get: + tags: + - cache + summary: Get cache + description: Get JSON value from the cache. + operationId: cache#Get + produces: + - application/json + parameters: + - name: x-cache-key + in: header + description: Cache entry key + required: true + type: string + - name: x-cache-namespace + in: header + description: Cache entry namespace + required: false + type: string + - name: x-cache-scope + in: header + description: Cache entry scope + required: false + type: string + responses: + "200": + description: OK response. + schema: + type: string + format: binary + schemes: + - http + post: + tags: + - cache + summary: Set cache + description: Set a JSON value in the cache. + operationId: cache#Set + parameters: + - name: x-cache-key + in: header + description: Cache entry key + required: true + type: string + - name: x-cache-namespace + in: header + description: Cache entry namespace + required: false + type: string + - name: x-cache-scope + in: header + description: Cache entry scope + required: false + type: string + - name: any + in: body + required: true + schema: + type: string + format: binary + responses: + "201": + description: Created response. + schemes: + - http + /v1/external/cache: + post: + tags: + - cache + summary: SetExternal cache + description: Set an external JSON value in the cache and provide an event for the input. + operationId: cache#SetExternal + parameters: + - name: x-cache-key + in: header + description: Cache entry key + required: true + type: string + - name: x-cache-namespace + in: header + description: Cache entry namespace + required: false + type: string + - name: x-cache-scope + in: header + description: Cache entry scope + required: false + type: string + - name: any + in: body + required: true + schema: + type: string + format: binary + responses: + "200": + description: OK response. + schemes: + - http diff --git a/gen/http/openapi/client/client.go b/gen/http/openapi/client/client.go index 1979908..4727c08 100644 --- a/gen/http/openapi/client/client.go +++ b/gen/http/openapi/client/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi client HTTP transport // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/openapi/client/encode_decode.go b/gen/http/openapi/client/encode_decode.go index 5e6e581..2105c64 100644 --- a/gen/http/openapi/client/encode_decode.go +++ b/gen/http/openapi/client/encode_decode.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi HTTP client encoders and decoders // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/openapi/client/paths.go b/gen/http/openapi/client/paths.go index 8974fec..8c83b6c 100644 --- a/gen/http/openapi/client/paths.go +++ b/gen/http/openapi/client/paths.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the openapi service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/openapi/client/types.go b/gen/http/openapi/client/types.go index 3eccf0f..2367e0d 100644 --- a/gen/http/openapi/client/types.go +++ b/gen/http/openapi/client/types.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi HTTP client types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package client diff --git a/gen/http/openapi/server/paths.go b/gen/http/openapi/server/paths.go index fcde071..3473a1e 100644 --- a/gen/http/openapi/server/paths.go +++ b/gen/http/openapi/server/paths.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // HTTP request path constructors for the openapi service. // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/openapi/server/server.go b/gen/http/openapi/server/server.go index 24bde47..af7c264 100644 --- a/gen/http/openapi/server/server.go +++ b/gen/http/openapi/server/server.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi HTTP server // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/openapi/server/types.go b/gen/http/openapi/server/types.go index 8895fbd..1c6f8bb 100644 --- a/gen/http/openapi/server/types.go +++ b/gen/http/openapi/server/types.go @@ -1,8 +1,9 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi HTTP server types // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package server diff --git a/gen/http/openapi3.yaml b/gen/http/openapi3.yaml index 1f2e00e..ab267c9 100644 --- a/gen/http/openapi3.yaml +++ b/gen/http/openapi3.yaml @@ -1,175 +1,174 @@ openapi: 3.0.3 info: - title: Cache Service - description: The cache service exposes interface for working with Redis. - version: "1.0" + title: Cache Service + description: The cache service exposes interface for working with Redis. + version: "1.0" servers: -- url: http://localhost:8083 - description: Cache Server + - url: http://localhost:8083 + description: Cache Server paths: - /liveness: - get: - tags: - - health - summary: Liveness health - operationId: health#Liveness - responses: - "200": - description: OK response. - /readiness: - get: - tags: - - health - summary: Readiness health - operationId: health#Readiness - responses: - "200": - description: OK response. - /v1/cache: - get: - tags: - - cache - summary: Get cache - description: Get JSON value from the cache. - operationId: cache#Get - parameters: - - name: x-cache-key - in: header - description: Cache entry key - allowEmptyValue: true - required: true - schema: - type: string - description: Cache entry key - example: did:web:example.com - example: did:web:example.com - - name: x-cache-namespace - in: header - description: Cache entry namespace - allowEmptyValue: true - schema: - type: string - description: Cache entry namespace - example: Login - example: Login - - name: x-cache-scope - in: header - description: Cache entry scope - allowEmptyValue: true - schema: - type: string - description: Cache entry scope - example: administration - example: administration - responses: - "200": - description: OK response. - content: - application/json: - schema: - type: string - example: Delectus quaerat molestiae placeat nemo. - format: binary - example: Quia dolores rem. - post: - tags: - - cache - summary: Set cache - description: Set a JSON value in the cache. - operationId: cache#Set - parameters: - - name: x-cache-key - in: header - description: Cache entry key - allowEmptyValue: true - required: true - schema: - type: string - description: Cache entry key - example: did:web:example.com - example: did:web:example.com - - name: x-cache-namespace - in: header - description: Cache entry namespace - allowEmptyValue: true - schema: - type: string - description: Cache entry namespace - example: Login - example: Login - - name: x-cache-scope - in: header - description: Cache entry scope - allowEmptyValue: true - schema: - type: string - description: Cache entry scope - example: administration - example: administration - requestBody: - required: true - content: - application/json: - schema: - type: string - example: Quis rerum velit sunt rerum dignissimos at. - format: binary - example: Est illum. - responses: - "201": - description: Created response. - /v1/external/cache: - post: - tags: - - cache - summary: SetExternal cache - description: Set an external JSON value in the cache and provide an event for - the input. - operationId: cache#SetExternal - parameters: - - name: x-cache-key - in: header - description: Cache entry key - allowEmptyValue: true - required: true - schema: - type: string - description: Cache entry key - example: did:web:example.com - example: did:web:example.com - - name: x-cache-namespace - in: header - description: Cache entry namespace - allowEmptyValue: true - schema: - type: string - description: Cache entry namespace - example: Login - example: Login - - name: x-cache-scope - in: header - description: Cache entry scope - allowEmptyValue: true - schema: - type: string - description: Cache entry scope - example: administration - example: administration - requestBody: - required: true - content: - application/json: - schema: - type: string - example: Molestiae minima. - format: binary - example: Repellendus quo. - responses: - "200": - description: OK response. + /liveness: + get: + tags: + - health + summary: Liveness health + operationId: health#Liveness + responses: + "200": + description: OK response. + /readiness: + get: + tags: + - health + summary: Readiness health + operationId: health#Readiness + responses: + "200": + description: OK response. + /v1/cache: + get: + tags: + - cache + summary: Get cache + description: Get JSON value from the cache. + operationId: cache#Get + parameters: + - name: x-cache-key + in: header + description: Cache entry key + allowEmptyValue: true + required: true + schema: + type: string + description: Cache entry key + example: did:web:example.com + example: did:web:example.com + - name: x-cache-namespace + in: header + description: Cache entry namespace + allowEmptyValue: true + schema: + type: string + description: Cache entry namespace + example: Login + example: Login + - name: x-cache-scope + in: header + description: Cache entry scope + allowEmptyValue: true + schema: + type: string + description: Cache entry scope + example: administration + example: administration + responses: + "200": + description: OK response. + content: + application/json: + schema: + type: string + example: Delectus quaerat molestiae placeat nemo. + format: binary + example: Quia dolores rem. + post: + tags: + - cache + summary: Set cache + description: Set a JSON value in the cache. + operationId: cache#Set + parameters: + - name: x-cache-key + in: header + description: Cache entry key + allowEmptyValue: true + required: true + schema: + type: string + description: Cache entry key + example: did:web:example.com + example: did:web:example.com + - name: x-cache-namespace + in: header + description: Cache entry namespace + allowEmptyValue: true + schema: + type: string + description: Cache entry namespace + example: Login + example: Login + - name: x-cache-scope + in: header + description: Cache entry scope + allowEmptyValue: true + schema: + type: string + description: Cache entry scope + example: administration + example: administration + requestBody: + required: true + content: + application/json: + schema: + type: string + example: Quis rerum velit sunt rerum dignissimos at. + format: binary + example: Est illum. + responses: + "201": + description: Created response. + /v1/external/cache: + post: + tags: + - cache + summary: SetExternal cache + description: Set an external JSON value in the cache and provide an event for the input. + operationId: cache#SetExternal + parameters: + - name: x-cache-key + in: header + description: Cache entry key + allowEmptyValue: true + required: true + schema: + type: string + description: Cache entry key + example: did:web:example.com + example: did:web:example.com + - name: x-cache-namespace + in: header + description: Cache entry namespace + allowEmptyValue: true + schema: + type: string + description: Cache entry namespace + example: Login + example: Login + - name: x-cache-scope + in: header + description: Cache entry scope + allowEmptyValue: true + schema: + type: string + description: Cache entry scope + example: administration + example: administration + requestBody: + required: true + content: + application/json: + schema: + type: string + example: Molestiae minima. + format: binary + example: Repellendus quo. + responses: + "200": + description: OK response. components: {} tags: -- name: health - description: Health service provides health check endpoints. -- name: cache - description: Cache service allows storing and retrieving data from distributed cache. + - name: health + description: Health service provides health check endpoints. + - name: cache + description: Cache service allows storing and retrieving data from distributed cache. diff --git a/gen/openapi/client.go b/gen/openapi/client.go index edd41d8..785672f 100644 --- a/gen/openapi/client.go +++ b/gen/openapi/client.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi client // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package openapi diff --git a/gen/openapi/endpoints.go b/gen/openapi/endpoints.go index bc632de..e55f1f8 100644 --- a/gen/openapi/endpoints.go +++ b/gen/openapi/endpoints.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi endpoints // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package openapi diff --git a/gen/openapi/service.go b/gen/openapi/service.go index 7e1ba06..5c5a70c 100644 --- a/gen/openapi/service.go +++ b/gen/openapi/service.go @@ -1,9 +1,10 @@ -// Code generated by goa v3.7.0, DO NOT EDIT. +// Code generated by goa v3.8.5, DO NOT EDIT. // // openapi service // // Command: -// $ goa gen gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design +// $ goa gen +// gitlab.com/gaia-x/data-infrastructure-federation-services/tsa/cache/design package openapi -- GitLab