Skip to content

a microservice utility includes calendar, captcha, custom exception, custom field, custom validation, encoding, FSO, generic model, gRPC, image, JSON, jstree, object, reflection, string, zip.

Notifications You must be signed in to change notification settings

motaharinia/ms-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ms-utility

this project is a shared common utility project for microservice projects as a pom dependency to reduce boilerplate code in multiple projects.

Project Descriptions:

build with java-doc:

  • if your windows account is for example "myuser" and you have "C:\Users\MyUser.m2\repository\com\motaharinia\ms-utility" folder, remove it.
  • open ms-utility project by IntellliJ IDEA(enable auto import , Windows defender automatic fix) and check in "project structure" that jdk 11 is selected.
  • in IntellliJ IDEA open right side maven panel and select lifecycle/install and run maven to build it in "C:\Users\MyUser.m2\repository\com\motaharinia\ms-utility"

Change Log:

  • 0.0.1 : initial project
  • 0.0.2 : add type conversion for Instant,LocalDate,LocalDateTime in CustomMapper class. add languages for customvalidation messages

IntellliJ IDEA Configurations:

  • IntelijIDEA: Help -> Edit Custom Vm Options -> add these two line:
    • -Dfile.encoding=UTF-8
    • -Dconsole.encoding=UTF-8
  • IntelijIDEA: File -> Settings -> Editor -> File Encodings-> Project Encoding: form "System default" to UTF-8. Maybe it affected somehow.
  • IntelijIDEA: File -> Settings -> Editor -> General -> Code Completion -> check "show the documentation popup in 500 ms"
  • IntelijIDEA: File -> Settings -> Editor -> General -> Auto Import -> check "Optimize imports on the fly (for current project)"
  • IntelijIDEA: File -> Settings -> Editor -> Color Scheme -> Color Scheme Font -> Scheme: Default -> uncheck "Show only monospaced fonts" and set font to "Tahoma"
  • IntelijIDEA: File -> Settings -> Editor -> Proofreading -> add "farsi" language for graze spell check
  • IntelijIDEA: Run -> Edit Configuration -> Spring Boot -> XXXApplication -> Configuration -> Environment -> VM Options: -Dspring.profiles.active=dev
  • IntelijIDEA: Run -> Edit Configuration -> Spring Boot -> XXXApplication -> Code Coverage -> Fix the package in include box

About

a microservice utility includes calendar, captcha, custom exception, custom field, custom validation, encoding, FSO, generic model, gRPC, image, JSON, jstree, object, reflection, string, zip.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages