Domain: Distribution

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Includes events that are triggered when a Release Bundle version is distributed to one or more Edge nodes.

Event: distribute_started

The Webhook is triggered when Release Bundle distribution has started.

Distribution was Started

  {
  "domain": "distribution",
  "event_type": "distribute_started",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: distribute_completed

The Webhook is triggered when Release Bundle distribution has completed.

Distribution was Completed

  {
  "domain": "distribution",
  "event_type": "distribute_completed",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: distribute_aborted

The Webhook is triggered when Release Bundle distribution has been aborted.

Distribution was Aborted

{
  "domain": "distribution",
  "event_type": "distribute_aborted",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: distribute_failed

The Webhook is triggered when Release Bundle distribution has failed.

Distribution has Failed

  {
  "domain": "distribution",
  "event_type": "distribute_failed",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: deletion_started

The Webhook is triggered when a Release Bundle version deletion has started on one or more Edge nodes.

Deleting a Release Bundle was Started

  {
  "domain": "distribution",
  "event_type": "delete_started",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: deletion_completed

The Webhook is triggered when a Release Bundle version deletion has completed from one or more Edge nodes.

Deleting a Release Bundle was Completed

{
  "domain": "distribution",
  "event_type": "delete_completed",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}

Event: deletion_failed

The Webhook is triggered when a Release Bundle version deletion has failed on one or more Edge nodes.

Deleting a Release Bundle has Failed

  {
  "domain": "distribution",
  "event_type": "delete_failed",
  "data": {
    "release_bundle_name": "release-bundle",
    "release_bundle_version": "1.0.0",
    "release_bundle_size": 100,
    "edge_node_info_list": [
      {
        "edge_node_name": "edge-node-1",
        "edge_node_address": "http://edge-node-1-url"
      },
      {
        "edge_node_name": "edge-node-2",
        "edge_node_address": "https://edge-node-2-url"
      }
    ],
    "status_message": "Distribution succeeded",
    "transaction_id": 123456789
  },
  "subscription_key": "test",
  "jpd_origin": "https://<your_origin>",
  "source": "jfrog/<your_source>"
}