Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ct/ctmapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ which have that domain in their subject/SAN fields.
# contents of storage/mysql/storage.sql
yes | scripts/resetdb.sh

go build ./server/vmap/trillian_map_server
go build ./server/trillian_map_server
go build ./examples/ct/ctmapper/mapper
go build ./examples/ct/ctmapper/lookup

Expand Down
2 changes: 1 addition & 1 deletion integration/map_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ INTEGRATION_DIR="$( cd "$( dirname "$0" )" && pwd )"

echo "Building code"
go build ${GOFLAGS} github.com/google/trillian/cmd/createtree/
go build ${GOFLAGS} github.com/google/trillian/server/vmap/trillian_map_server/
go build ${GOFLAGS} github.com/google/trillian/server/trillian_map_server/

yes | "${GOPATH}"/src/github.com/google/trillian/scripts/resetdb.sh

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package vmap
package server

import (
"time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV HOST=0.0.0.0 \
ADD . /go/src/github.com/google/trillian
WORKDIR /go/src/github.com/google/trillian

RUN go get ./server/vmap/trillian_map_server
RUN go get ./server/trillian_map_server

ENTRYPOINT /go/bin/trillian_map_server \
--mysql_uri="${DB_USER}:${DB_PASSWORD}@tcp(${DB_HOST})/${DB_DATABASE}" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
mysqlq "github.com/google/trillian/quota/mysql"
"github.com/google/trillian/server"
"github.com/google/trillian/server/interceptor"
"github.com/google/trillian/server/vmap"
"github.com/google/trillian/storage/mysql"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"google.golang.org/grpc"
Expand Down Expand Up @@ -83,7 +82,7 @@ func main() {
return nil
},
RegisterServerFn: func(s *grpc.Server, registry extension.Registry) error {
mapServer := vmap.NewTrillianMapServer(registry)
mapServer := server.NewTrillianMapServer(registry)
if err := mapServer.IsHealthy(); err != nil {
return err
}
Expand Down