diff --git a/deployment/ci/Dockerfile b/deployment/ci/Dockerfile index 70e37845c0f4e2df99cda97e9facc662b8e606fc..cb67fc476b4b85019f22d593b7d1daba12d88c32 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 92df2a0e999568dbc43f779d81a1070861e00200..3cd0f56ebd7b76d887ef49c586ab2189b292d24a 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 45a5b0b0c851a0457ec98c928797c41e05ffc23f..18dfea0d8e800317e8febf6d7cb428cd8e07e2a6 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 d2d6193766e95c37abf87f954e104cfc9820d3f9..1713fd675f2b243aa0f0b60dd9bc7077713af63b 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 38f91cc13fa4160249be0bab95a685ac5c4fb984..749621015ff1253fc87f00235d401787e6bd6a01 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 27ae09e93bc13cfefd595230b84214839a71496f..d6be6a88980babb9062777352fbce912b706542a 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 5792df82a16cfe77114e359ab7b94abcce926124..6638a7a7a21135dbee08ef309f96c4f751e730f2 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 8e136e78ce7b2f740fa1efd03544b66dd276f430..b9f2a52ca1bb09c6e43815a548b802b1a3a65314 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 b5212ff656119d1020980ee2f269957df36610fe..7f860264a59ec413d03b4b06a11355f5cefba538 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 86555f73d56bfe3fad0c938186f2442d7bb050ba..f84efd8d321b510681f3118a05f6d7ea646c3e20 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 a8c31f54bc50304eca70e3eafb870d53757eb09f..011444994328e7137b0aa57335fca19786eaa40d 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 4f8aa5677780cd01023e3516ad92b266b74d4184..5f07fdddd64cba6d1dbe89337bb4f66c1100020c 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 3964d7b4129ab0db298c064d6a262ccdbf797943..3881e6a016e42c0dd1d0e183b63f25a18c3f23c7 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 99773cf94d95bd6e4f4e3ceaf79b7759a7816e16..de11145767f118d7bd8f93efd242470e9a260966 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 6dcbc9f017a4afef1b094f77763d5a30e829c97f..08bbb236947d3cc4e89d0012c51a9bd1601847af 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 c1828069ac107e0be9d90eef359285c869f66db7..4ba57fe4fbf64f7b4ee535721167d8085c2768f8 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 94ede4da39a8c93aacaea527ef2e81749f48b3a2..677da6471d8fb9c360e91dadf436d3ca4f8c4aa7 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 7fbf43503532413f543bc291954c92acf79f492f..a726d934dbd9a5bc0c0d44ad0c5662a53adba41e 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 9cb23b53fd4f167618b183a2ccb47dbffe8ad339..908202022b543d2cc107ba8e392253dd7694be5c 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 645799e7a9bfabbaaeae028f9d50c144367d2786..8293760862aa826efad78c517b4a9428bee262ce 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 781f2ea666b71f06d93a4126cfa2fec29c8e12a2..c6eb84c1e32e0741ea2d75d927a3295762848115 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 73824d0b1b48fdd8ffab7be3f2fea2ba5533aea9..65a62a7da015ac391a29d06d4a4b99ff9bda5199 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 6b55321dbadb230f0c01d7c816e7a889fdd3671a..486daac63cd2c61eaad54627419c37b15103fa02 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 e9fd2505dca6803d822b0637e691df847a0db973..cbdc3af417ac45911a209a55b0693045174b93c7 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 4169726bb551cddb92e0b8681f1137b840a7a374..5f411acfb8f892fe1bf3fa2023ba6d0dfd7c013a 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 75d7ae0d75ef94785b4a74ac54c25e25edc6b53e..dde25b12f8b5846c88bed22161c7c4c5fd391046 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 5fdfb3dc37291447ae33a5211af7ab4e9401fab0..de1d53544c86f83811d1b919ef635d7ae6d911f2 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 19799080bde0522635f102f284028243d1c7d248..4727c08b6066d5c38faa91254425eecbe2e43c45 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 5e6e5813ed73d7862e258ca2c6041ac0ceb06232..2105c649e177a36f6ba64086f5eee205c65cd08b 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 8974fecd4d65bea3a7d8fc6bee6c3279d21a707c..8c83b6cdb15af616d7ac71f01992b0d90c3fef33 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 3eccf0f4259b843e8c0f214c27706b6003941663..2367e0dda845c23a2a698ccd030652c7a99a0561 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 fcde071bd6ab8bd939c619fc876a1eb8b60b253a..3473a1e9d17cb5aaf400c54210c110bfa70a9ac1 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 24bde47990b0f4f5505cd472aa06b3b2be297d0d..af7c2643ee48e4942fdc18cb27f3d1e8676ccf9b 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 8895fbd19c81370bb1eddec2fe9b73f29ddf485b..1c6f8bb79e1fe0bbb461393d0aa931e988934537 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 1f2e00e2fc30b205cc56e9fc04b524a98c77cf5d..ab267c9df93456850584fb983e06e467749a2542 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 edd41d89f6dc93cdbbb261f8af9e6e240be90400..785672f26a25d151ffdc051975fec506f25d7af0 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 bc632dec64abc5aef83f53073c7ae1dc48276ea5..e55f1f8555dbe89868652180ad26e62714c5d72e 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 7e1ba06761bcd39543fb810cebde883b47245b63..5c5a70c860402e1ef961aac4192b78c74b4d1055 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