Commit Graph

569 Commits

Author SHA1 Message Date
Dinesh Padisetti
a5d62b3ccf Added the OverloadedStrings extension
The first example doesn't work without the OverloadedStrings extension. The Server keeps demanding it's argument to be of the type Text
2016-08-21 20:11:04 +05:30
Chris Allen
aa8e9abd35 tinkering with 8.0 nightly 2016-08-21 00:30:16 -05:00
Chris Allen
4f0f31deda Merge pull request #128 from Soostone/nodes-api
Nodes api
2016-08-21 00:00:48 -05:00
Michael Xavier
ee2492134a Paper over some API differences in ES <= 1.5.2 2016-08-10 18:45:12 -07:00
Michael Xavier
69eeed43dc Clean up TODOs 2016-08-09 10:19:07 -07:00
Michael Xavier
42d8bb4988 Finish with nodes API 2016-08-09 09:56:11 -07:00
Michael Xavier
7cc9e5be04 Merge branch 'master' into nodes-api 2016-08-08 14:24:09 -07:00
Michael Xavier
2d2dcb59b2 WIP: add initial types for nodes API 2016-08-08 14:23:07 -07:00
Chris Allen
947ad42ac9 Merge pull request #127 from Soostone/haddock-sections
Break up client API into sections
2016-08-08 12:30:32 -05:00
Michael Xavier
2c15504227 Break up client API into sections 2016-08-08 10:08:57 -07:00
Chris Allen
4a7d9fec51 Merge pull request #126 from Soostone/snapshot-restore
Snapshot restore
2016-08-05 23:25:01 -05:00
Michael Xavier
5d76570d28 Add note about verify API
[ci skip]
2016-07-29 16:15:31 -07:00
Michael Xavier
8a66203662 Deprecate es 1.2.4 for tests
I could either do this or disable snapshot restore testing on 1.2, but
the ES website doesn't even *keep* docs on es 1.2 anymore so I can't
really find out how the API differs. I figure that's a fairly strong
signal that we could just not support that version offically anymore.
2016-07-29 15:03:04 -07:00
Michael Xavier
3db652beb8 No verification in ES < 1.4 2016-07-29 14:46:49 -07:00
Michael Xavier
0164535ce9 Do some toggling in test around version:
- sets up a snapshot repo in travis so versions newer than 1.5 can test snapshots
- does not test snapshots if the system is incapable. I can't in good
  conscience modify a developer's ES config for the sake of testing, so
  on your local machine if you have no repo configured and ES >= 1.6, we
  skip snapshot tests.
- Disable problematic snapshot options for old versions of ES in
  test. Add warning to the docs.
2016-07-29 12:59:05 -07:00
Michael Xavier
ac5d6f6827 Use IndexSelection for snapshot/restore
In the future, IndexSelection can fully support multi-index syntax, so
we should have any API that supports that syntax using IndexSelection so
it gets upgrades for free.
2016-07-25 09:30:51 -07:00
Chris Allen
375976507d Merge pull request #125 from Soostone/http-client-0.4
Set minimum lower bound on http-client
2016-07-22 08:04:57 -05:00
Michael Xavier
ec2bfeb793 Merge branch 'http-client-0.4' into snapshot-restore 2016-07-21 16:04:37 -07:00
Michael Xavier
7d19a19f90 Set minimum lower bound on http-client
There were either some functions removed in the http-client 0.4 line or
ones added in 0.5 but after binary searching the version range, 0.4.30
seems to be the magic number where everything compiles and the tests
pass without having to do any CPP or worse.
2016-07-21 16:03:17 -07:00
Michael Xavier
42040f8318 Wrap up feature 2016-07-21 10:35:09 -07:00
Michael Xavier
a451b84b8d Test restore API 2016-07-21 09:26:31 -07:00
Michael Xavier
051a15ec05 WIP testing restore API 2016-07-20 16:47:07 -07:00
Michael Xavier
841dfa7079 Add and test snapshot apis 2016-07-20 15:28:21 -07:00
Michael Xavier
abb7052f57 Tests passing with snapshots repo API 2016-07-20 10:58:21 -07:00
Michael Xavier
06819a6b44 WIP snapshot-restore API
Snapshots API partly implemented. First trivial test case is passing.

This could get tricky as our test suite spans many versions. For
instance, 1.7 is when patterns got introduced.
2016-07-19 16:15:17 -07:00
Chris Allen
26d4e547dd Merge pull request #123 from Soostone/zero-replicacount
Support replica count of 0
2016-07-08 12:42:34 -05:00
Michael Xavier
6fe1347e24 Support replica count of 0
I can see why the smart constructor for shard count has a minimum of 0
but a replica count of 0 is totally valid.
2016-07-08 09:42:15 -07:00
Chris Allen
584ffcff59 Fixing CI for 7.8 2016-07-06 15:43:19 -05:00
Chris Allen
54a18a4f12 upload command 2016-07-06 15:36:19 -05:00
Chris Allen
0403b19a44 http-client-0.5.0 support 2016-07-06 15:33:39 -05:00
Chris Allen
e4ff3e4728 Merge pull request #87 from MailOnline/read-instances
Add Read instances
2016-05-26 13:26:58 -06:00
Dmitry Dzhus
4553454fa7 TimeInterval Read/Show instances now roundtrip
λ> let read_show_roundtrip a = ((read . show) (a :: TimeInterval) == a)
    λ> :t read_show_roundtrip
    read_show_roundtrip :: TimeInterval -> Bool
    λ> quickCheck read_show_roundtrip
    +++ OK, passed 100 tests.
2016-05-26 11:33:21 +01:00
Dmitry Dzhus
ca21210639 Add Read instances 2016-05-26 11:33:21 +01:00
Chris Allen
ca7a5957df Merge pull request #117 from MaxGabriel/patch-1
Fix Haddocks italicizing forward slashes
2016-04-17 18:12:21 -05:00
Maximilian Tagher
2533b2dc2e Fix Haddocks italicizing forward slashes 2016-04-17 15:34:06 -07:00
Chris Allen
a128b3d789 changelog 2016-03-03 12:30:23 -06:00
Chris Allen
c8787fa74a new version 2016-03-03 12:20:50 -06:00
Chris Allen
4de2606f64 need void 0.7.1 2016-03-03 02:48:53 -06:00
Chris Allen
32eada1dfb 7.8 needs tagged 2016-03-03 02:28:38 -06:00
Chris Allen
ced128869b stack 7.8 fixery 2016-03-03 02:01:31 -06:00
Chris Allen
c9b16f8f5c herp derp update the other stack yaml too 2016-03-03 01:44:02 -06:00
Chris Allen
9c4fc5dab9 Merge branch 'master' of github.com:bitemyapp/bloodhound 2016-03-03 01:07:44 -06:00
Chris Allen
1fae7d4ccb stack update 2016-03-03 01:07:43 -06:00
Chris Allen
523e9be2a9 Merge pull request #112 from Soostone/list-indices
Add list indices feature
2016-03-02 17:27:13 -06:00
Michael Xavier
afd2358181 Add list indices feature 2016-03-02 11:32:44 -08:00
Chris Allen
dc49132054 blah fuck wtf 2016-03-01 12:57:09 -06:00
Chris Allen
81eef68645 Merge branch 'master' of github.com:bitemyapp/bloodhound 2016-02-28 21:00:56 -06:00
Chris Allen
f35ea3d6eb lets do this 2016-02-28 21:00:52 -06:00
Chris Allen
89e3b2a3a3 ignore stack work 2016-02-28 12:17:37 -06:00
Chris Allen
f64c6be319 Merge pull request #108 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2016-02-10 12:57:51 -06:00