-
Notifications
You must be signed in to change notification settings - Fork 0
config
This class is used for a general config and structure of all project.
This bean is generated and used as a default connectionTimeOut And ReadTimeOut. It can be changed in your application properties as well. ( By using : default set 5000 millisecond)
Config is a default item, however, you can change it and some Properties that has not default you must set in application properties
These properties used for connectionTime out in rest template
connection.timeout=5000
These properties used for connectionTime out in rest template
read.timeout=5000
These properties is the name of key of oauth server refresh token Key name
core.refreshToken=refreshToken
These properties is the name of key of Basic authentication
core.basic=Basic
These properties used for format of date pattern
core.datePersianPatternWithDetail=yyyy/MM/dd hh:mm
These properties used for format of date pattern
core.datePersianPattern=yyyy/MM/dd
you must set application name and its required
application.name=
this property is the key of userId
core.userId=userId
this property is the key of requestId
core.requestId=requestId
you must set application instance and its required
application.instanceId=
Other Fields set Final and you cannot change it
public static final String AUTHORIZATION = "Authorization"
public static final String APP_KEY = "appKey"
public static final String CORRELATION_ID = "correlationId"
public static final String CLIENT_VERSION = "client-version"