選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

application.yml 3.5 KiB

1週間前
1週間前
20時間前
20時間前
8ヶ月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. server:
  2. servlet:
  3. contextPath: /api
  4. encoding:
  5. charset: UTF-8
  6. enabled: true
  7. force: true
  8. port: 8090
  9. error:
  10. include-message: always
  11. # PostCompletedDn GRN: runs daily at 00:01, processes all POs with receipt date = yesterday.
  12. # Set enabled: false to disable. Optional receiptDate: "yyyy-MM-dd" overrides for testing only.
  13. # m18Grn.createEnabled: M18 GRN PUT/create — false outside production so UAT/dev never posts GRNs.
  14. scheduler:
  15. m18Grn:
  16. createEnabled: false
  17. postCompletedDnGrn:
  18. enabled: false
  19. # receiptDate: # leave unset for production (uses yesterday)
  20. grnCodeSync:
  21. enabled: false # set true in prod; backfills grn_code from M18 GET /root/api/read/an
  22. # Lookback: created from start of (today − N days) through now, missing grn_code. E.g. 4 = last 4 days + today.
  23. syncOffsetDays: 0
  24. inventoryLotExpiry:
  25. enabled: true
  26. # Nav: PO stock_in_line pending/receiving within last N days (see ProductProcessService for 工單 QC/上架:今日+昨日).
  27. fpsms:
  28. purchase-stock-in-alert:
  29. lookback-days: 7
  30. spring:
  31. servlet:
  32. multipart:
  33. max-file-size: 500MB
  34. max-request-size: 600MB
  35. jpa:
  36. hibernate:
  37. naming:
  38. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  39. database-platform: org.hibernate.dialect.MySQL8Dialect
  40. properties:
  41. hibernate:
  42. dialect:
  43. storage_engine: innodb
  44. # JWT: access token expiry and refresh token expiry. Frontend should call /refresh-token before access token expires.
  45. # Signing key must be STABLE across server restarts (do not use a random key per boot). Override with env JWT_SECRET in production.
  46. jwt:
  47. expiration-minutes: 14400 # access token: 10 days (default); override in application-prod for shorter session
  48. refresh-expiration-days: 30 # refresh token validity (days)
  49. secret: ${JWT_SECRET:fpsms-dev-jwt-signing-secret-change-for-production-use-long-random-JWT_SECRET}
  50. logging:
  51. config: 'classpath:log4j2.yml'
  52. # Optional NGPCL gateway: receives the same bytes as /plastic/download-onpack-qr-text (Content-Type: application/zip).
  53. # Leave empty to disable; set NGPCL_PUSH_URL in production if you expose an HTTP receiver for the lemon OnPack ZIP.
  54. ngpcl:
  55. push-url: ${NGPCL_PUSH_URL:}
  56. # Laser Bag2 (/laserPrint) auto-send: same as listing + TCP send using DB LASER_PRINT.host / port / itemCodes.
  57. # Scheduler is off by default. limit-per-run: max job orders per tick (1 = first matching only); 0 = all matches (heavy).
  58. # sends-per-job: TCP payloads per job order per tick (1 = single send; each send may retry once on failure inside sendLaserBag2Job).
  59. laser:
  60. bag2:
  61. auto-send:
  62. enabled: false
  63. interval-ms: 60000
  64. limit-per-run: 1
  65. sends-per-job: 1
  66. delay-between-sends-ms: 3000
  67. bom:
  68. import:
  69. temp-dir: ${java.io.tmpdir}/fpsms-bom-import
  70. m18:
  71. config:
  72. grant-type: password
  73. client-id: M2Y1OGYxMmQtZDRiOS00OTA4LTgyNTktZDRkNzEzNWVkMzRm
  74. client-secret: M2Y2YjQzYzQtZTc2Mi00OTFhLTkwYmItYmJhMzFjZjEyYmY5
  75. username: testingMTMS
  76. password: db25f2fc14cd2d2b1e7af307241f548fb03c312a
  77. base-url: https://toa.m18saas.com/jsf/rfws
  78. base-url-uat: https://toauat.m18saas.com/jsf/rfws
  79. base-password: qwer1234
  80. supplier:
  81. shop-po: P06, P07
  82. oem-po: T62
  83. supplier-not:
  84. material-po: P06, P07
  85. beId:
  86. toa: 1
  87. pf: 27
  88. pp: 29
  89. seriesId:
  90. pp: 26
  91. pf: 33
  92. fa: 2
  93. fb: 3
  94. fc: 4
  95. fd: 5
  96. ff: 6
  97. sc: 27
  98. se: 28
  99. sf: 70
  100. sr: 29