No description
Find a file
Matt Jaffee 2651bfbd88
test and fix authentication of client certs btwn cluster nodes
This change should have been adding the "GetClientCertificate"
function in server/tlsconfig.go. This is in addition to the
GetCertificate func which is only used by servers. It ended up being
much more involved for a few reasons:

1. We had no way of passing a configured HTTP client into the
translate store stuff.

2. Our cluster tests assumed http, not HTTPS, and didn't have any way
to pass the necessary configuration in.

3. I encountered what turned out to be an unrelated bug in
cmd/server_test.go which is why I moved "close(m.Started)" in
server/server.go. Basically, I was running something on port 10111
which caused the test to fail (because it was trying to bind to that),
but the failure was not immediately caught during server startup
because the m.Started channel got closed which allowed the test code
to fall through to where it called m.Close() which then got a nil
pointer exception because m.Handler had never been set up.

4. Our test code was assuming that it could create clients that
ignored the config, which meant they didn't do TLS. I added an
InternalClient() method to pilosa.Server to expose the configured
client.
2019-10-18 15:17:35 -05:00
.circleci version-bump golangci-lint 2019-10-11 14:50:37 -05:00
.github Add changelog steps to PR template 2019-04-12 13:47:40 -05:00
boltdb Translation store refactor 2019-10-09 08:59:41 -06:00
cmd test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
ctl v2.0.0 2019-10-08 14:56:17 -06:00
docs Add support for TLS client certificate verification and custom CA 2019-09-24 11:09:58 -05:00
encoding/proto v2.0.0 2019-10-08 14:56:17 -06:00
enterprise drop enterprise/b 2019-05-30 16:36:20 -05:00
gcnotify v2.0.0 2019-10-08 14:56:17 -06:00
gopsutil v2.0.0 2019-10-08 14:56:17 -06:00
gossip v2.0.0 2019-10-08 14:56:17 -06:00
http test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
internal v2.0.0 2019-10-08 14:56:17 -06:00
logger so much lint 2019-04-16 12:07:18 -05:00
lru so much lint 2019-04-16 12:07:18 -05:00
mock Translation store refactor 2019-10-09 08:59:41 -06:00
pql v2.0.0 2019-10-08 14:56:17 -06:00
prometheus v2.0.0 2019-10-08 14:56:17 -06:00
roaring double the nolint comments, double the checking 2019-10-11 15:17:51 -05:00
server test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
shardwidth Fix enterprise license header and add shardwidth files to license header check 2019-04-12 11:57:28 -05:00
stats v2.0.0 2019-10-08 14:56:17 -06:00
statsd v2.0.0 2019-10-08 14:56:17 -06:00
syswrap Add license headers to files missing them and CI check to verify they are present. Fixes #1633 2019-04-12 11:30:41 -05:00
test test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
testdata/sample_view Adds fragment test data, implements #1090 2018-05-01 17:28:10 +03:00
toml Add license headers to files missing them and CI check to verify they are present. Fixes #1633 2019-04-12 11:30:41 -05:00
tracing v2.0.0 2019-10-08 14:56:17 -06:00
.gitignore Hide build directory in .gitignore 2017-05-19 14:17:57 -05:00
api.go Translation store refactor 2019-10-09 08:59:41 -06:00
api_test.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
apimethod_string.go send POSTed schema to all nodes in cluster 2019-04-29 19:31:23 -05:00
attr.go v2.0.0 2019-10-08 14:56:17 -06:00
attr_test.go v2.0.0 2019-10-08 14:56:17 -06:00
broadcast.go Fix linter issues: gochecknoinits 2018-07-18 11:58:27 -05:00
cache.go v2.0.0 2019-10-08 14:56:17 -06:00
cache_test.go v2.0.0 2019-10-08 14:56:17 -06:00
CHANGELOG.md Fix typo 2019-09-17 16:01:21 -05:00
client.go send POSTed schema to all nodes in cluster 2019-04-29 19:31:23 -05:00
cluster.go Translation store refactor 2019-10-09 08:59:41 -06:00
cluster_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
cmd.go Copy dependency into project and use pilosa's logger 2019-10-03 09:44:48 -05:00
CONTRIBUTING.md simplify contributing instructions by removing weird upstream thing 2019-05-01 17:37:52 -05:00
diagnostics.go v2.0.0 2019-10-08 14:56:17 -06:00
diagnostics_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
Dockerfile Release v1.4.0 2019-09-17 14:47:59 -05:00
Dockerfile-clustertests Add go module support 2019-01-29 14:53:03 -06:00
event.go fix some lint warnings raised in VS-Code 2019-04-17 18:10:05 -05:00
executor.go Translation store refactor 2019-10-09 08:59:41 -06:00
executor_internal_test.go Translation store refactor 2019-10-09 08:59:41 -06:00
executor_test.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
field.go use labeled targets for break statements 2019-10-11 14:44:25 -05:00
field_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
field_test.go v2.0.0 2019-10-08 14:56:17 -06:00
fragment.go v2.0.0 2019-10-08 14:56:17 -06:00
fragment_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
gc.go fix some lint warnings raised in VS-Code 2019-04-17 18:10:05 -05:00
go.mod Translation store refactor 2019-10-09 08:59:41 -06:00
go.sum Translation store refactor 2019-10-09 08:59:41 -06:00
handler.go fix some lint warnings raised in VS-Code 2019-04-17 18:10:05 -05:00
holder.go Translation store refactor 2019-10-09 08:59:41 -06:00
holder_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
holder_test.go v2.0.0 2019-10-08 14:56:17 -06:00
index.go use labeled targets for break statements 2019-10-11 14:44:25 -05:00
index_internal_test.go make sure more tests and benchmarks can have their temp dir set by flag 2019-01-21 16:23:27 -06:00
index_test.go v2.0.0 2019-10-08 14:56:17 -06:00
iterator.go v2.0.0 2019-10-08 14:56:17 -06:00
iterator_internal_test.go rename internal_tests. fix license header 2018-07-04 10:59:08 -05:00
LICENSE Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
Makefile v2.0.0 2019-10-08 14:56:17 -06:00
NOTES rename slice to shard 2018-06-28 14:07:07 -05:00
NOTICE Update license information 2019-10-03 12:20:52 -05:00
pilosa.go Add min/max constraints; fix tests 2019-05-19 16:05:22 -06:00
pilosa_internal_test.go change exists field to _exists 2018-12-17 15:44:50 -06:00
pilosa_test.go v2.0.0 2019-10-08 14:56:17 -06:00
README.md Remove TravisCI, add CircleCI shield 2018-11-13 12:34:44 -06:00
row.go v2.0.0 2019-10-08 14:56:17 -06:00
row_test.go v2.0.0 2019-10-08 14:56:17 -06:00
server.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
server_internal_test.go remove shard validation stuff 2019-04-22 17:36:40 -05:00
time.go add logic to restrict time range to available views 2019-02-01 15:30:10 -06:00
time_internal_test.go add logic to restrict time range to available views 2019-02-01 15:30:10 -06:00
translate.go use labeled targets for break statements 2019-10-11 14:44:25 -05:00
translator_test.go Translation store refactor 2019-10-09 08:59:41 -06:00
uri.go Translation store refactor 2019-10-09 08:59:41 -06:00
uri_internal_test.go Require a valid port that isn't greater than 65,535 2018-08-16 21:05:41 -04:00
utils_internal_test.go add missing error check 2019-04-16 12:08:40 -05:00
version.go Fix linter issues: gochecknoinits 2018-07-18 11:58:27 -05:00
view.go use labeled targets for break statements 2019-10-11 14:44:25 -05:00
view_internal_test.go view.go: deal with races in fragment creation 2019-02-21 16:43:19 -06:00

CircleCI GoDoc Go Report Card license CLA Assistant GitHub release

An open source, distributed bitmap index.

Want to contribute? One of the easiest ways is to tell us how you're using (or want to use) Pilosa. We learn from every discussion!

Docs

See our Documentation for information about installing and working with Pilosa.

Getting Started

  1. Install Pilosa.

  2. Start Pilosa with the default configuration:

    pilosa server
    

    and verify that it's running:

    curl localhost:10101/nodes
    
  3. Follow along with the Sample Project to get a better understanding of Pilosa's capabilities.

Data Model

Check out how the Pilosa Data Model works.

Query Language

You can interact with Pilosa directly in the console using the Pilosa Query Language (PQL).

Client Libraries

There are supported libraries for the following languages:

Licenses

The core Pilosa code base and all default builds (referred to as Pilosa Community Edition) are licensed completely under the Apache License, Version 2.0. If you build Pilosa with the enterprise build tag (Pilosa Enterprise Edition), then that build will include features licensed under the GNU Affero General Public License (AGPL). Enterprise code is located entirely in the github.com/pilosa/pilosa/enterprise directory. See github.com/pilosa/pilosa/NOTICE and github.com/pilosa/pilosa/LICENSE for more information about Pilosa licenses.

Get Support

There are several channels available for you to reach out to us for support.

Contributing

Pilosa is an open source project. Please see our Contributing Guide for information about how to get involved.