Parental control service prevents access to movies based on parental control level
Java Version = 1.8
Continuous Integration is configured via Travis CI
Maven is used as a build tool. To perform build, run following command.
mvn install
Test cases are written with Junits and Mockito framework. To run test cases run
mvn test
Application can be run using command line.
mvn exec:java
ParentalControlService depends on MovieService and VerifyControlLevelService. VerifyControlLevelService verifies whether parental control level is withing acceptable limit. CallbackMessage is used to pass additional information about the service call.
Log4j2 is used for logging and debugging purpose.