NagmaSidrahKhanam / Muzix-Mockito

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mokito-muzix

Write test cases to th.e following tasks using mockito

Tasks to be Done Post Demo

  1. Complete all the endpoints for CRUD operations on Muzix
  2. Use h2-console to view in-memory data
  3. Add an endpoint to search trackByName. Understand @Query and parameter passing to @Query
  4. Generate API documentation using Swagger 2
  5. Create custom exceptions TrackNotFoundException, TrackAlreadyExistsException in a com.stack....exceptions package. Perform appropriate exception handling and propagation Back.
  6. Running Logic on Startup in Spring. Create seed data to pre-fill the database with track information whenever the application starts. Use both approaches: Approach 1: ApplicationListener Approach 2: CommandLineRunner (Find out how it differs from ApplicationRunner) 7.Global exception using Controller advice 8.Remove all hard coded data from the application code to application.properties a)by using @Value. b)by using @PropertySource c)by using Environment (https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ Environment.html)
  1. Add @Lombok (https://drive.google.com/file/d/1QQpEQZbDD9pmW2qrhYsx5N9XYQ5bJ5dM/view)

About


Languages

Language:Java 100.0%