This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
feature/go-support #103
Closed
Closed
feature/go-support #103
Changes from 2 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
f00c69e
[go-support] made TCK test #1 happy... very raw but some circles clos…
marcellanz 3c8dea7
[go-support] EntityDiscoveryManager happy with the EntitySpec it gets…
marcellanz 5ca9a02
[go-support] shopping cart implemented. TCK nearly green (lacking: ev…
marcellanz 6d7af6f
[go-support] TCK 100% passed having the shopping cart example impleme…
marcellanz 879d93b
[go-support] return errors instead of panic
marcellanz 336d4d4
[go-support] having the shopping cart in a separate package. travis b…
marcellanz 9d28e64
[go-support] build go support solely in travis TCK run
marcellanz ec0b7cc
[go-support] added copyright
marcellanz d0fc04d
[go-support] refactored from PoC to a CloudState Go Client API implem…
marcellanz 9e0a8dd
[go-support] fix go test and TCK on travis
marcellanz 017fed6
[go-support] apply CodeReviewComments#indent-error-flow best practice…
marcellanz f7409c0
[go-support] removed logging
marcellanz ee52ef5
[go-support] fixes from my own code review :-), applying some of Go's…
marcellanz 4b220df
[go-support] removed main.go, README cleanup
marcellanz da7d4fe
[go-support] changes from my own code review
marcellanz 744c790
[go-support] having a sbt task to build the go shopping cart binary w…
marcellanz 360e379
[go-support] the PoC is removed
marcellanz e5ef360
[go-support] refactored the filedescriptor registration, more documen…
marcellanz 19bcebb
[go-support] fix copy paste error
marcellanz ece6c1e
[go-support] "Errorf format %w has unknown verb w" => lets go with go…
marcellanz dbd08e5
[go-support] fix refactoring bug. let the TCK report the config.name …
marcellanz 29f3d4a
[go-support] fix travis build
marcellanz c99b53d
[go-support] EventSourcedHandler#handleEvents tries to find now a fit…
marcellanz 4076d10
[go-support] *.proto files and .pb.go files removed
marcellanz 69fb515
[go-support] generate *.pb.go on the fly. move generate script to ./b…
marcellanz 26d10af
[go-support] compile protocol buffers with travis build
marcellanz a48158a
[go-support] having protocol buffers compilation on travis
marcellanz eea762d
[go-support] fix .travis.yml by adding missing shell command
marcellanz f38145e
Merge remote-tracking branch 'upstream/master' into feature/go-support
marcellanz ed14794
Merge remote-tracking branch 'upstream/master' into feature/go-support
marcellanz 7f9288b
[go-support] documentation for go-support
marcellanz 46506e4
[go-support] added one TODO and moved a comment
marcellanz 0994ad3
[go-support, cherry-picked from √] Hooking the Go compilation step in…
viktorklang ba47ee0
[go-support, cherry-picked from √] ran sbt scalafmtSbt
marcellanz 8cfc8b8
[go-support, PR#103] cleaned up fatals, replaced with errors. recover…
marcellanz c1afd6a
[go-support] added prebuild script, let protoc be built, added script…
marcellanz 2deb37a
[go-support] added tests
marcellanz 677151a
Merge remote-tracking branch 'upstream/master' into feature/go-suppor…
marcellanz 2bdc3b7
[go-support] build tck with -race flag enabled
marcellanz 35e57ae
[go-support] enabled CGO for the -race flag
marcellanz ee725d5
[go-support] for every call of Emit the emitted event is handled imme…
marcellanz 31faefd
[go-support] improve tests (capture output of some, enable verbose mo…
marcellanz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
SUFFIX="" | ||
if [ "$GOOS" == "windows" ]; then | ||
SUFFIX=".exe" | ||
fi | ||
|
||
cd shoppingcart/cmd/shoppingcart/ && CGO_ENABLED=0 go build -v -o "tck_shoppingcart${SUFFIX}" && echo "go-support compiled successfully: ${GOOS} on ${GOARCH}" | ||
./go-support/build/prebuild_go-support_in_docker.sh | ||
cd go-support/shoppingcart/cmd/shoppingcart/ | ||
CGO_ENABLED=0 go build -v -o "tck_shoppingcart${SUFFIX}" && echo "go-support compiled successfully: ${GOOS} on ${GOARCH}" |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
apt-get update -y && apt-get install unzip -y | ||
curl -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip -o /tmp/protoc-3.9.1-linux-x86_64.zip | ||
unzip /tmp/protoc-3.9.1-linux-x86_64.zip -d "$HOME"/protoc | ||
# set GOOS and GOARCH to host values for this one line as protoc-gen-go has to be compiled. | ||
GOOS=linux GOARCH=amd64 go get -u github.com/golang/protobuf/protoc-gen-go | ||
|
||
cd go-support | ||
PATH=$HOME/protoc/bin:/$GOPATH/bin:$PATH ./build/compile_protobufs.sh |
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,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.13 go test -count 1 -race ./... |
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,4 +1,5 @@ | ||
<# | ||
TODO: write the equivalence of the script build/run_tck_shopping_cart_build.sh | ||
#> | ||
Write-Host "someone with windows has to write this script" | ||
Write-Host "someone with windows has to write this script" | ||
Exit 1 |
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,5 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd go-support | ||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GOOS=${1} -e GOARCH=${2} \ | ||
golang:1.13 ./build/build_tck_shopping_cart_in_docker.sh | ||
golang:1.13 ./go-support/build/build_tck_shopping_cart_in_docker.sh |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much more meaningful response here, and elsewhere in your latest update 👍