commit | 2265e614d36198cb78134dd7463c6aa3799481ce | [log] [tgz] |
---|---|---|
author | Dinesh A. Joshi <dinesh.joshi@apple.com> | Sun Nov 24 20:37:46 2019 -0800 |
committer | Dinesh A. Joshi <dinesh.joshi@apple.com> | Thu Apr 30 11:31:59 2020 -0700 |
tree | e5fa6cba483b8afea0127393d3622106b05a351e | |
parent | d57f2a487167f2b0ea5e71b93ff856b6324ee1e0 [diff] |
RESTEasy integration with dynamically generated Swagger OpenAPI, Swagger UI and JAX-RS. This patch introduces JAX-RS based annotation for defining APIs. It removes the manually created api.yaml (OpenAPI spec) of the API definitions in favor of the dynamically generated spec based on JAX-RS annotations. It also introduces Swagger UI to browse the Sidecar APIs and to experiment with them. Finally, it updates the CircleCI workflows such that the builds are run across both Docker and Machine images. We also gate packaging builds on success of the compile and test builds. The rationale for running the builds across both Docker and Machine images is that running the build on a Machine image exposed a race condition. Patch by Dinesh Joshi; Reviewed by Jon Haddad and Yifan Cai for CASSANDRASC-22
This is a Sidecar for the highly scalable Apache Cassandra database. For more information, see the Apache Cassandra web site and CIP-1.
This is project is still WIP.
After you clone the git repo, you can use the gradle wrapper to build and run the project. Make sure you have Apache Cassandra running on the host & port specified in conf/sidecar.yaml
.
$ ./gradlew run
You can use build
, test
to build & test the project.
You will need to use the “Add Projects” function of CircleCI to set up CircleCI on your fork. When promoted to create a branch, do not replace the CircleCI config, choose the option to do it manually. CircleCI will pick up the in project configuration.