**ImgurAppSpringBoot**
SpringBoot App integrated with ImgurApi to Upload, View and Delete Image
Project support below activities:
- Api Documentation using Swagger
- Kafka to save the details to DB
- JenkinsFile for CI/CD Pipeline
- Deployment to Nexus
- In-memory H2 Database
- Log4J for Logging
Assumptions:
- At time of registration Person provide password as well
- UserName should be unique at registration (Else userName already exist will be shown as response)
- A Person can login using Username and Password
- To view List of Images, person will get urls of all images in response
- Every image has imageid attached even if displayed on UI.
- To view just one image, person on passing imageid, will get the URL
- All testing done on localhost(kafka,jenkins,nexus,h2)
Swagger Url- http://localhost:8080/swagger-ui.html
H2- http://localhost:8080/h2-console
Jenkins - http://localhost:9090/
Nexus - http://localhost:8081/
For Nexus Server use please update the settings.xml (~.m2/settings.xml) with below details
<servers>
<server>
<id>nexus-release</id>
<username>admin</username>
<password>password</password>
</server>
</servers>
<mirrors>
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>
</mirror>
</mirrors>
and repository url in pom.xml under distributionManagement
Kafka - localhost:9092