forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Commit generated Go code and bump dependencies (open-telemetry#946) * accountingservice: commit generated code bump deps * license-checker to ignore genproto * Update README.md * Add comment to tools.go * checkoutservice: commit generated code bump dependencies * productcatalogservice: commit generated code bump dependencies * Configure Renovate (open-telemetry#931) * Add renovate.json * only update otel deps * update renovate config * update renovate config --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: austinlparker <[email protected]> Co-authored-by: Carter Socha <[email protected]> * [cartservice] code cleanup (open-telemetry#943) * File scope namespaces * Sort modifiers * Remove redundant type declaration * Avoid hiding variables * join declaration and assignment * Use standard .NET convention for fields and consts * inline out variable * object initializer * collection initializer * drop unused using * drop unused parameters * remove redundant field initializer --------- Co-authored-by: Austin Parker <[email protected]> * Add Axiom to list of vendors (open-telemetry#963) We would very much like to add [Axiom](axiom.co) to the list of vendors in the README. I linked a public demo dashboard that is feed by the demo. --------- Signed-off-by: YANGDB <[email protected]> Co-authored-by: Robert Pająk <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: austinlparker <[email protected]> Co-authored-by: Carter Socha <[email protected]> Co-authored-by: Piotr Kiełkowicz <[email protected]> Co-authored-by: Lukas Malkmus <[email protected]>
- Loading branch information
1 parent
0b90026
commit 33de211
Showing
38 changed files
with
16,089 additions
and
1,644 deletions.
There are no files selected for viewing
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
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
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
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
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
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,114 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"schedule": "every weekend", | ||
"packageRules": [ | ||
{ | ||
"matchPaths": ["*"], | ||
"ignorePaths": ["src/"], | ||
"groupName": "config-no-service" | ||
}, | ||
{ | ||
"matchPaths": ["src/accountingservice"], | ||
"groupName": "accountingservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/adservice"], | ||
"groupName": "adservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/cartservice"], | ||
"groupName": "cartservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/checkoutservice"], | ||
"groupName": "checkoutservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/currencyservice"], | ||
"groupName": "currencyservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/emailservice"], | ||
"groupName": "emailservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/featureflagservice"], | ||
"groupName": "featureflagservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/frauddetectionservice"], | ||
"groupName": "frauddetectionservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/frontend"], | ||
"groupName": "frontend", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/frontendproxy"], | ||
"groupName": "frontendproxy", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/grafana"], | ||
"groupName": "grafana", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/kakfa"], | ||
"groupName": "kakfa", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/loadgenerator"], | ||
"groupName": "loadgenerator", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/otelcollector"], | ||
"groupName": "otelcollector", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/paymentservice"], | ||
"groupName": "paymentservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/productcatalogservice"], | ||
"groupName": "productcatalogservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/prometheus"], | ||
"groupName": "prometheus", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/quoteservice"], | ||
"groupName": "quoteservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/recommendationservice"], | ||
"groupName": "recommendationservice", | ||
"assigneesFromCodeOwners": true | ||
}, | ||
{ | ||
"matchPaths": ["src/shippingservice"], | ||
"groupName": "shippingservice", | ||
"assigneesFromCodeOwners": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,26 +3,10 @@ | |
|
||
|
||
FROM golang:1.19.2-alpine AS builder | ||
RUN apk add build-base protobuf-dev protoc | ||
RUN apk add --no-cache git | ||
RUN apk add --no-cache curl | ||
|
||
WORKDIR /usr/src/app/ | ||
|
||
# Restore dependencies | ||
COPY ./src/accountingservice/ ./ | ||
COPY ./pb/ ./proto/ | ||
|
||
ENV GOPROXY=direct | ||
ENV GOSUMDB=off | ||
|
||
RUN go mod download | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
RUN go install google.golang.org/grpc/cmd/[email protected] | ||
|
||
# Build executable | ||
RUN protoc -I ./proto/ ./proto/demo.proto --go_out=./ --go-grpc_out=./ | ||
RUN go build -o /go/bin/accountingservice/ ./ | ||
RUN go build -o /go/bin/accountingservice/ | ||
|
||
# ----------------------------------------------------------------------------- | ||
|
||
|
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.