이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

버전 1 다음 »

이 문서는 JFrog의 웹훅에서 지원되는 이벤트 유형의 가이드를 공유하기 위해 작성되었다.


도구명JFrog Artifactory
문서 작성 기준 버전7.84.14
지원 Edition

COMMUNITY PRO PRO X ENTERPRISE ENTERPRISE +

목차



아티팩트 이벤트 유형

아티팩드 배포

웹훅은 아티팩트가 리포지토리에 배포될 때 트리거됩니다. 웹훅이 적용될 리포지토리와 리포지토리 경로를 선택할 수 있습니다.

{
  "domain": "artifact",
  "event_type": "deployed",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

아티팩트 삭제

아티팩트가 저장소에서 삭제될 때 웹훅이 트리거됩니다.

{
  "domain": "artifact",
  "event_type": "deleted",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source"
}

아티팩트 이동

웹훅은 아티팩트가 한 리포지토리에서 다른 리포지토리로 이동될 때 트리거됩니다.
웹훅이 적용될 리포지토리와 리포지토리 경로를 선택할 수 있습니다. 웹훅은 아티팩트가 이동된 리포지토리에 적용됩니다.

{
  "domain": "artifact",
  "event_type": "moved",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0,
    "source_repo_path": "sample_repo",
    "target_repo_path": "sample_target_repo"
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

아티팩트 복사

웹훅은 아티팩트가 한 리포지토리에서 다른 리포지토리로 복사될 때 트리거됩니다.
웹훅이 적용될 리포지토리와 리포지토리 경로를 선택할 수 있습니다. 웹훅은 아티팩트가 복사되는 리포지토리에 적용됩니다.

{
  "domain": "artifact",
  "event_type": "copied",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0,
    "source_repo_path": "sample_repo",
    "target_repo_path": "sample_target_repo"
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

아티팩트 캐시

웹훅은 캐시가 활성화된 새 원격 저장소에서 가져온 각 아티팩트에 대해 트리거됩니다. 웹훅은 원격 아티팩트를 다운로드할 때 생성됩니다.
이 이벤트는 pull replication이 구성된 경우에도 트리거될 수 있습니다.

{
  "domain": "artifact",
  "event_type": "cached",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

아티팩트 속성 추가 및 삭제

웹훅은 저장소의 아티팩트/폴더 또는 저장소 자체에 속성이 추가될 때 트리거됩니다. 웹훅이 적용될 저장소와 저장소 경로를 선택할 수 있습니다.

{
  "domain": "artifact_property",
  "event_type": "added",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0,
    "property_key": "sample_key",
    "property_values": [
      "sample_value1"
    ]
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

웹훅은 리포지토리의 아티팩트/폴더 또는 리포지토리 자체에서 속성이 삭제될 때 트리거됩니다. 웹훅이 적용될 리포지토리와 리포지토리 경로를 선택할 수 있습니다.

{
  "domain": "artifact_property",
  "event_type": "deleted",
  "data": {
    "repo_key": "sample_repo",
    "path": "sample_dir/sample.txt",
    "name": "sample.txt",
    "sha256": "sample_checksum",
    "size": 0,
    "property_key": "sample_key",
    "property_values": [
      "sample_value1"
    ]
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
} 



참조


  • 레이블 없음