Andrew Cholakian
80d21712c6
Add Persistent UUID for Agent
...
This adds two new fields 'id', and 'name' to the base metadata for API requests.
These fields are now returned at all API endpoints by default.
The `id` field is the persisted UUID, the name field is the custom name
the user has passed in (defaulted to the hostname).
I renamed `node_uuid` and `node_name` to just `id` and `name` to be
inline with Elasticsearch.
This also fixed a broken test double in `webserver_spec.rb` that was
using doubles across threads which created hidden errors.
Fixes #6224
2016-11-09 07:40:47 -05:00
Pier-Hugues Pellerin
b566b0db55
Make sure we have we configure the ssl_certificate_authorities
and set the verify mode to force_peer to make sure the input uses it.
...
Fixes #6185
Fixes #6192
2016-11-04 13:21:26 -04:00
Tal Levy
19d3232873
slowlog
...
Fixes #6128
2016-11-02 18:48:40 -04:00
Suyog Rao
e8f32f23fb
Fix failing travis test
...
Fixes #6176
2016-11-02 18:10:39 -04:00
Suyog Rao
32363fb561
Make logstash.yml optional
...
5.0.0 required Logstash to have a valid logstash.yml before it could start successfully. This
was mostly fine for users who installed Logstash via tar.gz, but many many folks who install
it via packages still start Logstash manually. Also, our documentation uses -e flag for
getting started on Logstash and sending their first event.logstash.yml has only defaults defined,
and there is no required parameter to start Logstash. We should be able to use the defaults if no
logstash.yml. Obviously, this is not ideal from a user point of view, so we should log a warning but
continue to bootstrap.
Fixes #6170
Fixes #6172
2016-11-02 15:51:59 -04:00
Suyog Rao
ae60c7dfd4
-e and -f should merge even without valid conf file
...
Previously if both -e and -f was specified, LS required that
-f still have valid config file(s) before merging. This fixes it
to either have one of -f or -e provided
Fixes #6164
2016-11-01 18:37:38 -07:00
Suyog Rao
8cdd247070
add more debuggability for kafka tests
...
Fixes #6072
2016-10-19 20:50:09 -04:00
Pere Urbon-Bayes
6a27f2e427
fix suse installed? command and the suse-12 openjdk8 install procedure
...
Fixes #5861
2016-10-17 21:44:27 -04:00
Suyog Rao
599065ef9e
refine tests
...
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
86502c0bb7
Make tests more robust
...
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
d3357232b8
Increase the tries
...
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
4533bbbe97
Use try instead of stud::try
...
Fixes #6031
2016-10-14 18:27:45 -04:00
Suyog Rao
37800fc653
Use randomized ports
...
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
75d70c6a20
Add new tests and some helpers
...
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
b670c94362
Make changes to test framework for new tests
...
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
be43b4a013
Add new integration tests
...
Fixes #6031
2016-10-14 18:27:44 -04:00
Suyog Rao
c0c40c04d1
Add debug to Kafka scripts
...
Fixes #6054
2016-10-13 15:41:14 -04:00
Suyog Rao
28f77818a3
Fix acceptance tests
...
Fixes #6051
2016-10-13 11:51:14 -04:00
Suyog Rao
44a52ff18e
Deprecate uninstall for Plugin Manager
...
Adds remove and deprecates uninstall
Fixes #6041
Fixes #6042
2016-10-13 10:12:22 -04:00
fanfan
3dd1e85cf4
typo fix for qa/README
...
Fixes #6033
2016-10-12 09:06:13 -04:00
yangwei71
4eab71f166
fix a wrong word
...
the wrong word in this sentence "Run the example desfined at line 11" .
“desfined” change to "defined".
Fixes #5987
2016-10-11 12:39:22 -04:00
Suyog Rao
490da48c22
Improvements to RATS test suite
...
* Reduce sleeps and output messages
* Cache installed services directory
Fixes #5968
2016-10-05 11:26:18 -04:00
Suyog Rao
65435ba41c
Enable RATS integration tests on travis
...
Fixes #5963
2016-09-23 12:00:14 -04:00
Pier-Hugues Pellerin
19fe5de8cb
fix beats integration test
...
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
dfd6164edd
changes after review
...
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
4008a7ad7e
Fixes after @ph review
...
Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
f6b623fe92
Update the configuration to make it work with the latest libbeat ( #5944 )
...
changes.
In beta1, some options changes occurred in filebeat with the name of the
ssl options.
Like theses:
tls=>ssl
certificate_key => key
Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
54f8cc1bb0
QA Integration dont ship with certificates ( #5928 )
...
We are removing the pre generated certificate from the repository, the
certificates needed for the test will be generated before downloading
filebeat.
Fixes #5917
2016-09-22 13:43:48 -04:00
Pier-Hugues Pellerin
3b5ac6008b
Adding integration testing for filebeat and make the test a bit more flexible
...
The test includes theses scenario
- No TLS
- TLS Server Auth
- TLS Mutual Auth
Theses theses test relies on a certicate include in the fixtures to correctly run,
there is also a script to generate them.
Make the ServiceLocator class is now more flexible and use the pattern matching
to create the registry on the fly
Fixes #5887
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
761ce30966
Update README.md
...
Fixes #5917
2016-09-22 13:43:48 -04:00
Suyog Rao
b082beea64
Update README.md
...
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
735f684aa5
Add more setup info
...
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
d71112da0e
Cleanup of print messages
...
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
aa957b3594
Update README.md
...
Fixes #5917
2016-09-22 13:43:47 -04:00
Suyog Rao
bb4189cdc8
Add initial round of integration tests
...
Fixes #5917
2016-09-22 13:43:47 -04:00
Pere Urbon-Bayes
9bc982d795
ammend leftover
...
Fixes #5936
2016-09-16 12:05:26 -04:00
Pere Urbon-Bayes
d087b78d0d
make redhat test uninstall a packege after test are done also making sure install errors are raised only when an error code is != 0
...
Fixes #5936
2016-09-16 12:05:26 -04:00
Pere Urbon-Bayes
a5c91f7b93
make the install command raise exception if some error happened
...
Fixes #5862
2016-09-08 12:32:38 -04:00
Joao Duarte
b8cb201d13
make sure sed replacements are posix compliant
...
using \s will not work in some systems, use [[:space]] instead
Fixes #5812
2016-08-23 13:57:48 -04:00
Pere Urbon-Bayes
688adca814
Add the idea of a debug flag to make the vagrant commands output explicit to the end user. Also does the changes necessaries to make the vagrant command runner fetch the stdout and stdin on demand and not waiting till the end of it to report.
...
Fixes #5566
2016-08-23 11:45:45 -04:00
Pier-Hugues Pellerin
9f9de6dd88
Fix an issue with the logstash-plugin list acceptance test
...
The previous regexp used to match the version did not take into
consideration pre-release version.
Fixes #5700
2016-07-27 16:00:20 -04:00
Pere Urbon-Bayes
d8d85d60e7
provide more clarity to the QA test readme
...
Fixes #5521
2016-07-19 10:50:17 -04:00
Pere Urbon-Bayes
612c9b8a6d
Add specific tests in the plugin manager acceptance test for --no-verify flag
...
Fixes #5538
2016-06-29 08:16:37 -04:00
Pere Urbon-Bayes
739713b518
add --no-verify to all plugin install commands and prefix also all of them with JAR_SKIP in to improve speed of the acceptance test
...
exclude jar-dependency when running the plugin manager tests
Fixes #5538
2016-06-29 08:16:37 -04:00
Pere Urbon-Bayes
13b29db5f6
add .rspec file to the qa dir so the default formater is documentation
...
Fixes #5561
2016-06-29 04:47:15 -04:00
Pere Urbon-Bayes
1fa83b99dd
add --force-confnew to pick automatically new config when updating packages for debians, this avoid interactive prompt issues
...
Fixes #5559
2016-06-28 10:06:39 -04:00
Joao Duarte
72b277404b
make -V/--version fast on *nix
2016-06-21 14:30:15 +01:00
Pere Urbón
20b928392d
make acceptance test understand there are artifacts that are snapshots and ones that not ( #2 )
...
Fixes #5522
2016-06-21 06:57:23 -04:00
Joao Duarte
0e022bb2d0
make acceptance test framework pick snapshot rpm/deb builds
...
Fixes #5522
2016-06-21 06:57:23 -04:00
Joao Duarte
bd43b28764
Revert "add acceptance test"
...
This reverts commit fc39bba223
.
2016-06-17 10:00:44 +01:00