Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 10 additions & 2 deletions hotelReservation/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 as builder
FROM golang:1.24 as builder

WORKDIR /workspace

Expand All @@ -16,5 +16,13 @@ COPY tune/ tune/

COPY config.json config.json

RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/...
ENV SEARCH_AWS_URL=https://k2coxpcvdti43frihmo3gytf6q0ilojc.lambda-url.us-east-2.on.aws/
ENV RESERVATION_AWS_URL=https://pfsu72jzcsqtbwsnrhaadtyh5a0uhpci.lambda-url.us-east-2.on.aws/
ENV RECOMMENDATION_AWS_URL=https://ryeeszilkopelj5yzygg75kt4y0jbwob.lambda-url.us-east-2.on.aws/
ENV PROFILE_AWS_URL=https://de53neoj2avvgjfgvauhmsmlli0eactb.lambda-url.us-east-2.on.aws/
ENV USER_AWS_URL=https://hklpcrrfrfbo3cx2gpayzo6lty0ubgnc.lambda-url.us-east-2.on.aws/
ENV GEO_AWS_URL=https://ivwdmxjk2d7ey73hea7lxbeb2y0dfgmu.lambda-url.us-east-2.on.aws/
ENV RATE_AWS_URL=https://rjybrykceun2wjgz7bj54hx3x40phpei.lambda-url.us-east-2.on.aws/

RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on GOBIN=/workspace go install -ldflags="-s -w" -mod=vendor ./cmd/...

45 changes: 32 additions & 13 deletions hotelReservation/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module github.com/delimitrou/DeathStarBench/tree/master/hotelReservation

go 1.18
go 1.22

toolchain go1.23.6

require (
github.com/aws/aws-sdk-go-v2 v1.36.3
github.com/aws/aws-sdk-go-v2/config v1.29.13
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.1
github.com/aws/aws-xray-sdk-go/v2 v2.0.0
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874
github.com/google/uuid v1.4.0
github.com/google/uuid v1.6.0
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
github.com/hailocab/go-geoindex v0.0.0-20160127134810-64631bfe9711
github.com/hashicorp/consul/api v1.26.1
Expand All @@ -14,17 +20,29 @@ require (
github.com/rs/zerolog v1.31.0
github.com/uber/jaeger-client-go v2.30.0+incompatible
go.mongodb.org/mongo-driver v1.12.2
golang.org/x/net v0.17.0
google.golang.org/grpc v1.56.3
google.golang.org/protobuf v1.31.0
golang.org/x/net v0.33.0
google.golang.org/grpc v1.64.1
google.golang.org/protobuf v1.33.0
)

require (
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.66 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.33.18 // indirect
github.com/aws/smithy-go v1.22.2 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/go-playground/form v3.1.4+incompatible // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
Expand All @@ -35,27 +53,28 @@ require (
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/serf v0.10.1 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/klauspost/compress v1.17.6 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/miekg/dns v1.1.50 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.52.0 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect
golang.org/x/sync v0.4.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
)

replace github.com/hashicorp/consul => github.com/hashicorp/consul v1.15.7
Loading