-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #308 from nevenas-mit/reviewservice
add Review Service
- Loading branch information
Showing
1,513 changed files
with
143,050 additions
and
397,869 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cmd/*/data | ||
cmd/api/api | ||
cmd/auth/auth | ||
cmd/geo/geo | ||
cmd/profile/profile | ||
cmd/rate/rate | ||
cmd/www/www | ||
cmd/search/search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
FROM golang:1.21 as builder | ||
|
||
WORKDIR /workspace | ||
|
||
COPY go.sum go.sum | ||
COPY go.mod go.mod | ||
COPY vendor/ vendor/ | ||
|
||
COPY cmd/ cmd/ | ||
COPY dialer/ dialer/ | ||
COPY registry/ registry/ | ||
COPY services/ services/ | ||
COPY tls/ tls/ | ||
COPY tracing/ tracing/ | ||
COPY tune/ tune/ | ||
|
||
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/... | ||
|
||
FROM gcr.io/distroless/static:nonroot | ||
|
||
WORKDIR / | ||
|
||
COPY --from=builder /go/bin/frontend . | ||
COPY --from=builder /go/bin/geo . | ||
COPY --from=builder /go/bin/profile . | ||
COPY --from=builder /go/bin/rate . | ||
COPY --from=builder /go/bin/recommendation . | ||
COPY --from=builder /go/bin/reservation . | ||
COPY --from=builder /go/bin/search . | ||
COPY --from=builder /go/bin/user . | ||
FROM golang:1.17.3 | ||
|
||
RUN git config --global http.sslverify false | ||
COPY . /go/src/github.com/harlow/go-micro-services | ||
WORKDIR /go/src/github.com/harlow/go-micro-services | ||
RUN go get gopkg.in/mgo.v2 | ||
RUN go get github.com/bradfitz/gomemcache/memcache | ||
RUN go get github.com/google/uuid | ||
RUN go mod init | ||
RUN go mod vendor | ||
RUN go install -ldflags="-s -w" ./cmd/... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Gopkg.toml example | ||
# | ||
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
# | ||
# [prune] | ||
# non-go = false | ||
# go-tests = true | ||
# unused-packages = true | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/golang/protobuf" | ||
version = "1.5.3" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/hailocab/go-geoindex" | ||
|
||
[[constraint]] | ||
name = "github.com/opentracing/opentracing-go" | ||
version = "1.0.2" | ||
|
||
[[constraint]] | ||
name = "github.com/uber/jaeger-client-go" | ||
version = "2.11.2" | ||
|
||
[[constraint]] | ||
name = "github.com/uber/jaeger-lib" | ||
version = "1.4.0" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "golang.org/x/net" | ||
|
||
[[constraint]] | ||
name = "google.golang.org/grpc" | ||
version = "1.10.0" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.