Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4051

artifact_provides and artifact_depends are not documented in Artifacts structure

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • artifact_provides and artifact_depends are documented in the Artifacts structure
      • Fix is cherry-picked to 2.4.x.

      This is an example response with two Artifacts:

      [
        {
          "Name": "test",
          "Artifacts": [
            {
              "id": "136532fb-afcb-4f82-be77-139886160d51",
              "name": "test",
              "device_types_compatible": [
                "test"
              ],
              "info": {
                "format": "mender",
                "version": 3
              },
              "signed": false,
              "updates": [
                {
                  "type_info": {
                    "type": "rootfs-image"
                  },
                  "files": [
                    {
                      "name": "LICENSE",
                      "checksum": "32714818ad6f98ee0185a52e23a475d89122e3efd2b2c26c733781c28e798c99",
                      "size": 10351,
                      "date": "2020-10-08T11:47:43Z"
                    }
                  ]
                }
              ],
              "artifact_provides": {
                "artifact_name": "test",
                "rootfs-image.checksum": "32714818ad6f98ee0185a52e23a475d89122e3efd2b2c26c733781c28e798c99",
                "rootfs-image.version": "test"
              },
              "artifact_depends": {
                "device_type": [
                  "test"
                ]
              },
              "size": 8704,
              "modified": "2020-10-16T10:50:47.096Z"
            }
          ]
        },
        {
          "Name": "mender-demo-artifact-2.5.0",
          "Artifacts": [
            {
              "id": "29816b8d-f95f-4352-9e6d-385f54de3d5a",
              "name": "mender-demo-artifact-2.5.0",
              "device_types_compatible": [
                "beaglebone",
                "beaglebone-yocto",
                "beaglebone-yocto-grub",
                "generic-armv6",
                "generic-x86_64",
                "qemux86-64",
                "raspberrypi0w",
                "raspberrypi0-wifi",
                "raspberrypi3",
                "raspberrypi4",
                "raspberrypi"
              ],
              "info": {
                "format": "mender",
                "version": 3
              },
              "signed": false,
              "updates": [
                {
                  "type_info": {
                    "type": "directory"
                  },
                  "files": [
                    {
                      "name": "update.tar",
                      "checksum": "d42f349fd9fbff8dae4c9ec8ba4f27dbbc1f2dc7e9eb81d52d460cd3754f870b",
                      "size": 3235840,
                      "date": "2020-10-12T06:32:04Z"
                    },
                    {
                      "name": "dest_dir",
                      "checksum": "15c9b27e96852e92dddade6417561a6b6ed701efa179063c5a501c3d435ae20b",
                      "size": 19,
                      "date": "2020-10-12T06:32:04Z"
                    }
                  ],
                  "meta_data": []
                }
              ],
              "artifact_provides": {
                "artifact_name": "mender-demo-artifact-2.5.0"
              },
              "artifact_depends": {
                "device_type": [
                  "beaglebone",
                  "beaglebone-yocto",
                  "beaglebone-yocto-grub",
                  "generic-armv6",
                  "generic-x86_64",
                  "qemux86-64",
                  "raspberrypi0w",
                  "raspberrypi0-wifi",
                  "raspberrypi3",
                  "raspberrypi4",
                  "raspberrypi"
                ]
              },
              "size": 2034176,
              "modified": "2020-10-16T10:45:11.367Z"
            }
          ]
        }
      ]
      

        Attachments

          Activity

            People

            • Assignee:
              tranchitella Fabio Tranchitella
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Summary Panel