Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Project Energo

https://github.com/fedotovaleksandr/ProjectEnergo

Requirements

  • 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

Response

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

Paths:

Deploy

  • 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 ...

Todos

  • Would have to search using Elastic
  • Add More Code Comments
  • Create more Unit and functional tests

About

test project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages