Viet.LeQ2 2 лет назад
Родитель
Сommit
1b525db818
4 измененных файлов: 6 добавлений и 22 удалений
  1. Двоичные данные
      build/libs/smart-farm-0.0.1-SNAPSHOT.war
  2. +1
    -11
      src/main/java/vn/azteam/tpf/web/rest/TBCodeDetailsResource.java
  3. +2
    -6
      src/main/resources/config/application-dev.yml
  4. +3
    -5
      src/main/resources/config/application-prod.yml

Двоичные данные
build/libs/smart-farm-0.0.1-SNAPSHOT.war Просмотреть файл


+ 1
- 11
src/main/java/vn/azteam/tpf/web/rest/TBCodeDetailsResource.java Просмотреть файл



private final TBCodeDetailsService tBCodeDetailsService; private final TBCodeDetailsService tBCodeDetailsService;


private final TBCodeDetailsQueryService tBCodeDetailsQueryService;

private final UserRoleUtil userRoleUtil;

private final PageableUtil pageableUtil;

private final UserService userService; private final UserService userService;




public TBCodeDetailsResource(TBCodeDetailsService tBCodeDetailsService, TBCodeDetailsQueryService tBCodeDetailsQueryService,
UserRoleUtil userRoleUtil, PageableUtil pageableUtil, UserService userService) {
public TBCodeDetailsResource(TBCodeDetailsService tBCodeDetailsService, UserService userService) {
this.tBCodeDetailsService = tBCodeDetailsService; this.tBCodeDetailsService = tBCodeDetailsService;
this.tBCodeDetailsQueryService = tBCodeDetailsQueryService;
this.userRoleUtil = userRoleUtil;
this.pageableUtil = pageableUtil;
this.userService = userService; this.userService = userService;
} }



+ 2
- 6
src/main/resources/config/application-dev.yml Просмотреть файл

mail: mail:
host: smtp.yandex.com host: smtp.yandex.com
port: 587 port: 587
username: aztest07@azteam.vn
password: az12345
username: no-reply@aztrace.vn
password: Aznoreply
properties: properties:
mail: mail:
smtp: smtp:
token-validity-in-seconds-for-remember-me: 2592000 token-validity-in-seconds-for-remember-me: 2592000
mail: # specific JHipster mail property, for standard properties see MailProperties mail: # specific JHipster mail property, for standard properties see MailProperties
from: [email protected] from: [email protected]
host: smtp.yandex.com
port: 587
username: [email protected]
password: @zteam123
base-url: https://tpf.aztrace.vn base-url: https://tpf.aztrace.vn
metrics: # DropWizard Metrics configuration, used by MetricsConfiguration metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
jmx: jmx:

+ 3
- 5
src/main/resources/config/application-prod.yml Просмотреть файл

liquibase: liquibase:
contexts: prod contexts: prod
mail: mail:
from: [email protected]
host: smtp.yandex.com host: smtp.yandex.com
port: 587 port: 587
username: [email protected] username: [email protected]
password: @zteam123
base-url: https://tpf.aztrace.vn
password: Aznoreply
properties: properties:
mail: mail:
smtp: smtp:
token-validity-in-seconds: 604800 token-validity-in-seconds: 604800
token-validity-in-seconds-for-remember-me: 2592000 token-validity-in-seconds-for-remember-me: 2592000
mail: # specific JHipster mail property, for standard properties see MailProperties mail: # specific JHipster mail property, for standard properties see MailProperties
from: aztest07@azteam.vn
base-url: https://smartfarm.aztrace.vn
from: no-reply@aztrace.vn
base-url: https://tpf.aztrace.vn
metrics: # DropWizard Metrics configuration, used by MetricsConfiguration metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
jmx: jmx:
enabled: true enabled: true

Загрузка…
Отмена
Сохранить