See https://errorprone.info/
It allows to capture errors like mising switch case branches,
missing override, non-static inner class, etc
The verification can be run locally via ./gradlew -PenableErrorprone classes
Note: Java 11+ is required
Previously the scripts used dependencies between tasks of different modules.
That is anti-pattern, however it somehow worked in Gradle 5.5.
For now the configurations are used to make dependencies between modules and to pass files across Gradle modules.
stage-vote-release plugin creates 3 configurations: releaseFiles, releaseSignatures, previewSite
:src:dist adds artifacts to the configurations, and the root project depends on project(":src:dist", configurationName)
The configuration create/use is hidden in stage-vote-release-plugin itself (see releaseArtifacts)
* Add Bolt protocol support
Add driver dependency
Add bolt config element and sampler
Expose cypher query parameter, execute cypher
Add temporary README on how to build for hackathon submission
* Add default example value for parameters to better guide users
* Rename configuration classes for clarity
* Apply remarks from code review and code cleanup
* Use TextArea input for query and param fields
Simple text inputs are too small
* Add bolt elements to SaveService
* Add documentation for bolt protocol
* Fix build scripts
Fix some dependencies and add the bolt protocol to the dist build
* Remove README-bolt.md to submit PR
* Fix failing test
build says: SaveService nameMap (saveservice.properties) should contain org.apache.jmeter.protocol.bolt.sampler.AbstractBoltTestElement
* Add some unit tests
* Use single line logging instead of multi line
* Avoid using lambda when consuming results to avoid performance hit
* Add documentation about connection pooling and what's included in response time
* Add neo4j driver trust-key
This resolves Bug 63801 - Add Bolt protocol support for Neo4j database
https://bz.apache.org/bugzilla/show_bug.cgi?id=63801
Java 8..11 produce java.net.ConnectException: Connection refused (Connection refused)
Java 13 produces java.net.ConnectException: Connection refused
The post-processing was intended to cut (Connnection refused) part in the parenthesis,
however in case ( is missing it did cut the whole message after :
Implemented rules:
* import order
* unused imports
* trim whitespace at end of line
* ensure newline at end of file
* tabs -> spaces for formatting
./gradlew spotlessCheck verifies the code
./gradlew spotlessApply formats it
Note: JUnit3 and JUnit4 tests can still be executed, however it makes sense to use JUnit5 for new tests
Signed-off-by: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>