https://github.com/fedotovaleksandr/ProjectEnergo
- Implement a search for people by name or number of the document (use only one input for entering the search string).
- Use maven
- Refrain from using xml-settings
To solve these problems, I chose the Spring Framework and associated libraries. As I used Mysql database. Determined using regexp search on the document or identity. Search in the database for pattern Search% - considering it allows the use of indexes. To communicate with a database model using Hibernate. Use annotations completely abstained from XML settings
- [Http://95.213.204.131/] - Home Page
- [Http://95.213.204.131/about] - Load Content from Github Page.
- [Http://95.213.204.131/generate] - Generate 30 Person entities with -05 doc per person.
- Execute fat .jar:
$ Java -Dspring.profiles.active = production -jar project-1.0.0.BUILD-SNAPSHOT.jar- Additional parameters generation PersonEntity:
-Dgenerate.names = Alex,jack ...
-Dgenerate.surnames = Lebron,bryant ...
-Dgenerate.emails = Test@mail.ru,ops@ops.com ...
-Dgenerate.document.titles = DocForYou,SomeDoc ...- Would have to search using Elastic
- Add More Code Comments
- Create more Unit and functional tests