summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* ZOOKEEPER-4490: Publish Clover results to SonarQubeDora Horvat2022-04-011-0/+70
| | | | | | | | | | | | | | | | | | | | | | The newly added script runs maven with the clover profile which generates the test coverage data and then uploads it to SonarQube if the necessary parameters were given. The required parameters for publishing to SonarQube are: - Host URL - Login Credentials - Project Key Example commands: - Run clover code analysis (without publishing to SonarQube) `sh tools/sonar/code-coverage.sh` - Run clover code analysis and publish the results to SonarQube `sh tools/sonar/code-coverage.sh -l ProjectCredentials -u https://exampleserver.com -k Project_Key` Author: Dora Horvath <dora.horvath@cloudera.com> Reviewers: Norbert Kalmar <nkalmar@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1835 from horvathdora/ZOOKEEPER-4490
* ZOOKEEPER-4480: Introduce end to end compatibility teststison2022-02-281-0/+48
| | | | | | | | | | | | | | So far, I add a simplest test executing `bin/zkCli.sh sync /` for testing connectivity. You can comment to enrich the test script. This command itself is enough for proceeding the original proposal that merge `readOnly` field into `ConnectRequest` and `ConnectResponse` as it's tested with any successfully setup connection. Author: tison <wander4096@gmail.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1826 from tisonkun/e2e
* ZOOKEEPER-1112: Add (Cyrus) SASL authentication support to C client libraryDamien Diederen2020-01-221-0/+54
This is a "respin" of https://github.com/apache/zookeeper/pull/1054, which I withdrew due to some annoying shortcomings. This changeset allows C clients to use SASL to authenticate with the ZooKeeper server. It is loosely based on patches #1 and #2 by Tom Klonikowski, at https://reviews.apache.org/r/2252/, but the result has been extensively reworked to follow the semantics of the Java client: * No SASL operations are exposed through the API; * The configuration is provided, and stored, at "handle init time"; * SASL authentication is automatically performed after each (re)connect. It introduces an optional dependency on the Cyrus SASL library, which can either be autodetected (default) or configured using the `--without-sasl`/`--with-sasl[=DIR]` flags, or -DWITH_CYRUS_SASL for CMake/Windows. `TestServerRequireClientSASLAuth.cc` has been renamed to `TestSASLAuth.cc`, and a test has been added which successfully (re)authenticates using the `DIGEST-MD5` mechanism. The code has also been used to successfully authenticate clients via `GSSAPI`/Kerberos. This commit also adds SASL support to the `cli.c` client. Co-authored-by: Tom Klonikowski <klonik_tinformatik.haw-hamburg.de> Author: Damien Diederen <dd@crosstwine.com> Reviewers: Mate Szalay-Beko <szalay.beko.mate@gmail.com>, Norbert Kalmar <nkalmar@apache.org> Closes #1134 from ztzg/ZOOKEEPER-1112-c-client-sasl-support-v2