Make sure your cassandra instance has keyspace created with the name bootcamp
If tables do not exist in your cassandra keyspace then it will be created when the code is run for the first time
By default, this project uses cassandra container running on docker with the name cassandra-node. If you are running cassandra locally make sure to change the spring.data.cassandra.contact-points property to localhost during runtime
The emp-service system property points to the base URL of the employee service. By default, it is configured to be http://localhost:8001
The executable jar file can be found in the root path with the name career-service.jar
Java 8 should be configured in your system to run the jar file
Steps to run the executable jar file are
Clone the project
Navigate to the project's root folder
Run the following command
java -jar career-service.jar
REST Endpoints exposed are:
POST - http://localhost:{port}/createJobProfile
GET - http://localhost:{port}/findEmpForJobID
GET - http://localhost:{port}/getJobProfileFromCache