Permalink
Commits on Nov 14, 2018
  1. API: BatchListUserRevisions (#1111)

    gdbelvin authored and jtoohill committed Nov 14, 2018
    * API: BatchListUserRevisions
    
    * Clarify comments
    
    * Unimplemented API implementations
    
    * API grammar
Commits on Nov 8, 2018
  1. prototool linting and formatting (#1105)

    gdbelvin committed Nov 8, 2018
    * prototool linter configuration
    
    * prototool format -w
    
    * spelling
    
    * yaml spacing
    
    * go generate ./core/api
  2. API: Rename Epoch to Revision (#1104)

    gdbelvin committed Nov 8, 2018
    * Rename Epoch -> Revision
    
    git ls-files | xargs | sed -i 's/Epoch/Revision/g'
    git ls-files | xargs | sed -i 's/epoch/revision/g'
    go generate ./core/api
    gofmt -w .
    
    * Initialisms
  3. Rename GetUserBatch -> BatchGetUser (#1103)

    gdbelvin committed Nov 8, 2018
    For better consistency with Google Cloud API style guide.
  4. Split Epoch into MapRoot and LatestLogRoot (#1102)

    gdbelvin committed Nov 8, 2018
    * Split Epoch into MapRoot and LatestLogRoot
    
    Fixes #1100
    
    Epoch contains two pieces of information that update independently:
    - The latest log root which contains a consistency proof.
      API end points will only return one of these.
    - A map root which contains an inclusion proof to the lastest log root.
      API end points may return multiple map roots, one for each revision
      requested
  5. Replace ObjectHash with SHA256 (#1092)

    gdbelvin committed Nov 8, 2018
    Fixes #912
    
    - Removes a security dependency on the json parser.
    - Removes "double hashing" signatures.
      Old: Sign(SHA256(ObjectHash(json(object))))
      New: Sign(SHA256(bytes))
    - Separates the object to be signed `Entry`
      from the signed object `SignedEntry`.
      - `SignedEntry` contains the marshaled Entry
         in order to have a deterministic byte slice.
         Proto.Marshal does not produce canonical output.
  6. Keep PeriodicallyRun running until ctx is canceled (#1094)

    gdbelvin committed Nov 8, 2018
    * Keep PeriodicallyRun running until ctx is canceled
    
    Removes the previous behavior of stopping the recurring call if the
    called function returned an error. This behavior was causing the server
    to stop processing while appearing to be healthy.
    
    Require the internal function to handle it's errors or shutdown.
    
    * construct request proto on separate line
Commits on Oct 31, 2018
  1. Use batch definitions for ListMutations pagination. (#1070)

    gdbelvin committed Oct 31, 2018
    * Page through ListMutations using batch definitions
    
    * Stop writing mutations separately
    
    * Remove old mutations implementation
    
    * Remove offset
    
    * Use the MapMetadata type
Commits on Oct 30, 2018
  1. Upstream more proto formatting (#1087)

    gdbelvin committed Oct 30, 2018
  2. Use FailedPrecondition in Trillian Test. (#1086)

    gdbelvin committed Oct 30, 2018
    Use the same error code as the Trilian code base does for uninitalized
    trees while waiting for the tree to be initialized.
    
    This follows change google/trillian#1333
Commits on Oct 29, 2018
  1. Upstream proto formatting (#1085)

    gdbelvin committed Oct 29, 2018
    * Upstream proto formatting
    
    * go generate ./core/api
Commits on Oct 28, 2018
  1. Limit maximum number of mutations with MaxBatch (#1068)

    gdbelvin committed Oct 28, 2018
    * Add BatchSize and Count to HighWatermark
    * Add BatchSize to ReadLog
    * Implement HighWatermarks inside sequencer
Commits on Oct 25, 2018
  1. Write batch definitions to storage (#1069)

    gdbelvin committed Oct 25, 2018
    * Add batcher to NewSequencer
    
    * WriteBatchSources implementation
    
    * Read batch definitions from batch table
    
    * Defer rollback handler
    
    * Add batch definition test for zero sources
Commits on Oct 23, 2018
  1. Remove unused UpdateEntryRequest.first_tree_size (#1080)

    gdbelvin committed Oct 23, 2018
    * Remove unused UpdateEntryRequest.first_tree_size
    
    * Remove references in code
  2. Add package to readtoken (#1078)

    gdbelvin committed Oct 23, 2018
  3. Descriptions for list history test (#1071)

    gdbelvin committed Oct 23, 2018
  4. Rename smr to `map_root` (#1075)

    gdbelvin committed Oct 23, 2018
    * s/smr/map_root
    * Fix nil ptr in tests
    * Update test vectors
  5. Update readme (#1074)

    gdbelvin committed Oct 23, 2018
Commits on Oct 22, 2018
  1. Remove unused poll-period flag

    gdbelvin committed Oct 22, 2018
Commits on Oct 17, 2018
  1. Paginator library (#1066)

    gdbelvin committed Oct 17, 2018
    * ReadToken proto
    * Paginator
    * Move from Queue to Log
Commits on Oct 15, 2018
  1. Rename *Queue* with *Logs* (#1064)

    gdbelvin committed Oct 15, 2018
    * s/MutationQueue/MutationLogs/
    * s/QueueMessage/LogMessage/
    * s/Queue/LogsReader/
    * s/QueueAdmin/LogsAdmin/
    * s/shard/log/g
Commits on Oct 12, 2018
  1. Remove DeleteMessages API (#1067)

    gdbelvin committed Oct 12, 2018
    Since we are no longer using a queue, but a log of messages, we
    shouldn't be deleting messages.
Commits on Oct 11, 2018
  1. Removed unused interfaces (#1065)

    gdbelvin authored and jtoohill committed Oct 11, 2018
  2. Scale mutation queue with multiple shards (#1048)

    gdbelvin committed Oct 11, 2018
    * Add Shards to Queue
    * Read Queue by shardID
    * Write to multiple shards
    * HighWatermarks metadata proto
    * Read from multiple shards
    * Create new shards during domain creation
    * SQL independent randomShard
Commits on Oct 9, 2018
  1. Tink: move registry initialization to init (#1061)

    gdbelvin committed Oct 9, 2018
  2. Use a block entry in travis / bash(#1062)

    gdbelvin committed Oct 9, 2018
    The multiple statements inside the bash if block are being treated as one continuous command.
    This PR separates them properly with a block entry.
  3. Fix gcloud install and deploy script (#1060)

    gdbelvin committed Oct 9, 2018
    * Update client_secret
    
    * Download gcloud sdk
    
    gcloud compoenents install kubeclt was erroring with
    ERROR: (gcloud.components.install) You cannot perform this action because this Cloud SDK installation is managed by an external package manager.
    Please consider using a separate installation of the Cloud SDK created through the default mechanism described at: https://cloud.google.com/sdk/
    
    Migrate to apt-get based install to be compatible with Ubuntu docker image.
    
    * Source
    
    * Remove gratuitous quotes and &&
    
    * Decrypt without touching disk
    
    * Use a service-key, not a oauth client secret
Commits on Oct 4, 2018
  1. Read mutations via low and high watermarks (#1045)

    gdbelvin committed Oct 4, 2018
    * New Queue.HighWatermark API
    * Define new Metadata proto
    * Ensure monotonically increasing primary keys for queue.Send
    * Read mutations via metadata
    * Send MapMetadata in SetLeaves
    * Generalize PeriodicallyRun
Commits on Oct 2, 2018
  1. Return error code for old requests. (#1052)

    gdbelvin committed Oct 2, 2018
    Rather than returning a complex data structure that indicates that the
    current revision is greater than the one referenced in the request,
    return an error code that the client can parse.
Commits on Oct 1, 2018
  1. Fix: proto: duplicate proto type registered (#1051)

    gdbelvin committed Oct 1, 2018
    * rm -rf vendor/github.com/grpc-ecosystem/
    * rm -rf vendor
Commits on Sep 27, 2018
  1. API: s/UpdateEntry/QueueEntryUpdate (#1050)

    gdbelvin authored and jtoohill committed Sep 27, 2018
    * Proto: Remove proof from UpdateEntryRepsonse
    
    * Use new API name
Commits on Sep 25, 2018
  1. Regenerate API protos (#1049)

    gdbelvin committed Sep 25, 2018
    go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
    go get -u github.com/golang/protobuf/protoc-gen-go
    go generate ./core/api