Skip to content

dfiles-v1.0.0-rc3-210703

Pre-release
Pre-release
Compare
Choose a tag to compare
@ilshookim ilshookim released this 03 Jul 11:32
· 2 commits to master since this release

DFiles

  • Basic features are implement
  • Command-line options and server support
  • Environment options and docker support
  • Restful API support
    -- /start, /stop, /timer/(seconds), /days/(days), /count/(files), /printAll/(true/false)
  • Documentation

Environment Options

  • API port : DFILES_PORT=8086
  • Monitoring path : DFILES_MONITOR=/app/monitor
  • Include sub path : DFILES_MONITOR_RECURSIVE=false
  • Count in a path : DFILES_COUNT=5 [disable=0]
  • Modified date in days : DFILES_DAYS=10 [disable=0]
  • Timer (seconds) : DFILES_TIMER=3 [once=0]
  • Print detailed log : DFILES_PRINT_ALL=true

** Fixed **

  • fixed to delete files and directories something wrong
  • fixed to support these default values for count, days and timer
  • fixed to monitor path /app/monitor instead of /app/dcache/monitor

Korean

디파일 v1.0.0 발행 후보 210703

  • 기본 기능을 구현
  • 명령어 옵션과 서버 지원
  • 환경 옵션과 도커 지원
  • REST API 지원
    -- /start, /stop, /timer/(seconds), /days/(days), /count/(files), /printAll/(true/false)
  • 문서화

지원하는 환경 옵션

  • API포트를 지정 : DFILES_PORT=8086
  • 감시 경로를 지정 : DFILES_MONITOR=/app/monitor
  • 서브 경로를 감시할지 지정 : DFILES_MONITOR_RECURSIVE=false
  • 감시 파일수를 지정 : DFILES_COUNT=5 [사용안함=0]
  • 감시 기간을 지정 : DFILES_DAYS=10 [사용안함=0]
  • 감시 주기를 지정 : DFILES_TIMER=3 [한번감시=0, 반복안함]
  • 감시 로그를 상세히 출력 : DFILES_PRINT_ALL=true

** 수정사항 **

  • 파일과 디렉터리를 삭제할 때 있었던 문제를 수정함
  • 감시 파일수, 감시 기간, 감지 주기에 대한 기본값을 지원함
  • 감시 경로에 대한 기본값을 /app/monitor로 수정함