env-server.xml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
  3. <properties version="1.0">
  4. <!-- ========================================================================
  5. 서버 도메인 - context path이전까지
  6. https://beacon.pnuh.or.kr/index.page == https://beacon.pnuh.or.kr
  7. https://beacon.pnuh.or.kr/mcare_test/index.page == http://beacon.pnuh.or.kr
  8. http://beacon.pnuh.or.kr:8080/index.page == http://beacon.pnuh.or.kr:8080
  9. ======================================================================== -->
  10. <!-- <entry key="server.service.addr">http://192.168.0.2:8080</entry> -->
  11. <entry key="server.service.addr">https://mcareplus.fatima.or.kr</entry>
  12. <!-- ========================================================================
  13. 캐쉬적용여부
  14. ========================================================================-->
  15. <!-- <entry key="cache.reload.urls">http://192.168.0.2:8080</entry> -->
  16. <entry key="cache.reload.urls">https://mcareplus.fatima.or.kr</entry>
  17. <entry key="cache.encryption.key">7C4CFA28F6C33A67</entry>
  18. <!-- ========================================================================
  19. 사용자 로그인 및 다국어
  20. ========================================================================-->
  21. <!-- 중복로그인을 위한 세션파일 관리 -->
  22. <entry key="session.root.dir">../mplus_session</entry>
  23. <entry key="session.timeout.second">1800</entry>
  24. <entry key="session.duplicate.check">false</entry>
  25. <!-- 3분 : 180초, 10분 : 600초, 100분 : 6000초 -->
  26. <!-- 자동로그인 -->
  27. <entry key="rememberme.cookie.maxAge">31536000</entry>
  28. <entry key="rememberme.encryption.key">7C4CFA28F6C33A67</entry>
  29. <!-- 31,536,000 sec = 525,600 min = 8,760 hr = 365 day = 1 year -->
  30. <!-- 쿠키 경로까지 포함할 것인지 아니면 그냥 루트로 처리할 것인지 여부 -->
  31. <!-- 경대병원에 본원과 분원이 있는데 context로 구분하는데 context간 쿠키 공유를 위해서는 루트로 구워야 해서 추가된 환경설정임 -->
  32. <entry key="cookie.include.path">false</entry>
  33. <!-- 다국어 -->
  34. <!-- 언어코드_국가코드 형태로 구성됨. 줄여서 사용할때 언어코드만 사용함. -->
  35. <entry key="i18n.default">ko</entry>
  36. <entry key="i18n.supported">ko,en,zh</entry>
  37. <!-- ========================================================================
  38. 데이터소스 관련
  39. ========================================================================-->
  40. <!-- M-Care Plus 용 -->
  41. <entry key="mplus.db.driverClassName">com.mysql.jdbc.Driver</entry>
  42. <entry key="mplus.db.url">jdbc:mysql://localhost:3306/mplus?autoReconnection=true</entry>
  43. <entry key="mplus.db.username">mplus</entry>
  44. <entry key="mplus.db.password">mplus</entry>
  45. <!-- 중간테이블 (간호호출, push 등) -->
  46. <entry key="mplus.ext.db.driverClassName">oracle.jdbc.driver.OracleDriver</entry>
  47. <entry key="mplus.ext.db.url">jdbc:oracle:thin:@//192.168.20.177:1521/MCARE</entry>
  48. <entry key="mplus.ext.db.username">mplus</entry>
  49. <entry key="mplus.ext.db.password">mplus1q2w3e</entry>
  50. <!-- ========================================================================
  51. api 실행 관련
  52. ========================================================================-->
  53. <!-- http ConnectTimeout -->
  54. <entry key="api.http.connect.timeout.ms">3000</entry>
  55. <!-- http ReadTimeout. 부산대병원 기간계에서 응답이 없는 경우가 너무 빈번하여 추가. 무한뺑뺑이방지용임. -->
  56. <entry key="api.http.read.timeout.ms">30000</entry>
  57. <!-- ========================================================================
  58. EMR 이미지 경로
  59. ========================================================================-->
  60. <!-- EMR 이미지 조회용 -->
  61. <entry key="emr.image.path">http://192.168.20.70:20000/image/</entry>
  62. <!-- ========================================================================
  63. 기타
  64. ========================================================================-->
  65. <!-- 해쉬 -->
  66. <entry key="hash.salt">DBS_MP_SMARTAPP</entry>
  67. <!-- AES 암호화에 사용되는 초기화 벡터 (IV) -->
  68. <entry key="aes.iv">707c6b78b5354699</entry>
  69. <!-- javascript google map api key -->
  70. <entry key="google.map.javascript.api.key">AIzaSyAiucWpcZ4_IPgz-bJiQ3Z0hGLOkEWGZZo</entry>
  71. </properties>