Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdelmas/microservices-comparison
A sample project to compare Microservices libraries.
https://github.com/cdelmas/microservices-comparison
Last synced: about 1 month ago
JSON representation
A sample project to compare Microservices libraries.
- Host: GitHub
- URL: https://github.com/cdelmas/microservices-comparison
- Owner: cdelmas
- License: apache-2.0
- Created: 2015-11-01T21:26:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-06T20:51:05.000Z (about 9 years ago)
- Last Synced: 2024-08-01T12:29:57.419Z (4 months ago)
- Language: Java
- Homepage: https://cdelmas.github.io/2015/11/01/A-comparison-of-Microservices-Frameworks.html
- Size: 301 KB
- Stars: 67
- Watchers: 10
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.asciidoc
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - cdelmas/microservices-comparison - A sample project to compare Microservices libraries. (others)
README
= Microservices libraries comparison
== Purpose
This project is the companion of this Blog article: https://cdelmas.github.io/2015/11/01/A-comparison-of-Microservices-Frameworks.html.
== Setup
You will need a keystore. You can follow a tutorial http://restlet.com/technical-resources/restlet-framework/guide/2.3/core/security/https[here] to set up a keystore with a self-signed certificate.
One of the client libraries requires you to import the Facebook's certificate into the truststore. To do that, you can follow these http://stackoverflow.com/questions/373295/digital-certificate-how-to-import-cer-file-in-to-truststore-file-using[instructions].
== Build
To build the servers, just run `gradlew shadowJar` in the command line. By the way, you need a JDK 8, but I guess you're up-to-date :)
== Run
Then you can run each server using `java -Djavax.net.ssl.trustStore=/path/to/trustStore.jks -Djavax.net.ssl.trustStorePassword=thepass -Djavax.net.ssl.keyStorePassword=thePass -Djavax.net.ssl.keyStorePath=/path/to/keyStore.jks -jar .jar`. Don't forget to replace `` with the correct jar name.
The Dropwizard server needs a special command line: `java ... -jar dropwizard.jar server /path/to/dropwizard-server.yml`.
== Notes
There are no unit tests, and it is fully assumed.
== The missing guys
In a future version, I will add Restx, Payara and Swarm to the comparison. It is a long exercise though, but stay in touch ;)