-
Notifications
You must be signed in to change notification settings - Fork 14
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 #84 from silasdavis/streaming-hoard
Streaming hoard
- Loading branch information
Showing
79 changed files
with
3,393 additions
and
2,585 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
mocha: true | ||
}, | ||
extends: [ | ||
'standard' | ||
], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly' | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2018 | ||
}, | ||
rules: {} | ||
} |
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 |
---|---|---|
|
@@ -2,16 +2,15 @@ | |
FROM golang:1.12.1-alpine3.9 as builder | ||
MAINTAINER Monax <[email protected]> | ||
|
||
RUN apk add --update --no-cache git | ||
RUN apk add --update --no-cache make git bash | ||
|
||
ARG REPO=$GOPATH/src/github.com/monax/hoard | ||
COPY . $REPO | ||
WORKDIR $REPO | ||
|
||
ENV GO111MODULE=on | ||
# Build purely static binaries | ||
RUN go build --ldflags '-extldflags "-static"' -o bin/hoard ./cmd/hoard | ||
RUN go build --ldflags '-extldflags "-static"' -o bin/hoarctl ./cmd/hoarctl | ||
RUN make build | ||
|
||
# This will be our base container image | ||
FROM alpine:3.9 | ||
|
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,3 +1,10 @@ | ||
### Added | ||
- Document streaming service | ||
This release makes some changes to the Hoard protobuf and service that are backwards compatible for clients - Hoard v6 clients should work with Hoard v7 but hoard-js v7 will not work entirely correctly with Hoard v6 due to removal of oneof. | ||
|
||
### Changed | ||
- [API] Drop use of oneof in protobuf files - allow singleton fields to be sent with streamable fields | ||
- [API] Enforce that we only receive exactly one salt and grant spec in streams and that they come first | ||
- [NODEJS] Expose streaming promise client-side API to take advantage of streaming rather than loading entire file into buffer | ||
|
||
### Fixed | ||
- Ignoring Spec if Salt present in single message | ||
|
Oops, something went wrong.