dry-dock / u14

Ubuntu 14.04 base image
MIT License
1 stars 26 forks source link

adds get_resource_version_key utility #111

Closed Bharath92 closed 7 years ago

Bharath92 commented 7 years ago

https://github.com/dry-dock/u14/issues/110

{
  "subscriptionIntegrationId": 376,
  "version": {
    "propertyBag": {
      "trace": [
        {
          "usedByVersionId": 0,
          "operation": "IN",
          "resourceId": 2126,
          "resourceName": "script-1",
          "resourceTypeCode": 2007,
          "versionId": 1570492,
          "versionNumber": 62,
          "versionName": "88149",
          "versionCreatedAt": "2017-09-08T06:47:16.581Z"
        },
        {
          "usedByVersionId": 1570492,
          "operation": "IN",
          "resourceId": 47029,
          "resourceName": "myParams1",
          "resourceTypeCode": 1004,
          "versionId": 1570394,
          "versionNumber": 9,
          "versionName": null,
          "versionCreatedAt": "2017-09-08T06:34:09.343Z"
        },
        {
          "usedByVersionId": 1570492,
          "operation": "IN",
          "resourceId": 2130,
          "resourceName": "sample-script-3",
          "resourceTypeCode": 1000,
          "versionId": 1570393,
          "versionNumber": 70,
          "versionName": "79d7a08361db4a953280802f7087ffb0c6f4aaf1",
          "versionCreatedAt": "2017-09-08T06:34:09.339Z"
        },
        {
          "usedByVersionId": 1570492,
          "operation": "IN",
          "resourceId": 2468,
          "resourceName": "myParams",
          "resourceTypeCode": 1004,
          "versionId": 1570405,
          "versionNumber": 12,
          "versionName": null,
          "versionCreatedAt": "2017-09-08T06:34:09.762Z"
        },
        {
          "usedByVersionId": 1570492,
          "operation": "IN",
          "resourceId": 2129,
          "resourceName": "trigger-1",
          "resourceTypeCode": 1013,
          "versionId": 1570406,
          "versionNumber": 3,
          "versionName": null,
          "versionCreatedAt": "2017-09-08T06:34:09.842Z"
        }
      ]
    },
    "createdAt": "2017-09-08T06:47:16.777Z",
    "versionName": ".88149",
    "versionNumber": 22,
    "versionId": 1570493
  },
  "versionDependencyPropertyBag": {},
  "isJob": false,
  "operation": "IN",
  "resourceId": 2464,
  "name": "dv-image",
  "sourceName": "library/nginx",
  "projectId": "583dc187d4d77b0f0021d73e",
  "isConsistent": true,
  "type": "image",
  "propertyBag": {
    "sysIntegrationName": "image",
    "yml": {
      "flags": [
        "sample-runsh_master_rSync"
      ],
      "seed": {
        "versionName": "latest"
      },
      "pointer": {
        "sourceName": "library/nginx"
      },
      "integration": "image",
      "type": "image",
      "name": "dv-image"
    }
  }
}