Project

General

Profile

Revision 524638e4

Added by Partha Aji over 5 years ago

Fixes #18076 - Can set OSTree repo depth

Enables one to set the importer depth value for the ostree repo.
look at http://projects.theforeman.org/issues/18076 for more info.

View differences:

test/fixtures/vcr_cassettes/extensions/ostree_branch_repository_unit_list/ostree_branch_ids.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: post
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
5
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
6 6
    body:
7 7
      encoding: UTF-8
8 8
      string: '{"criteria":{"type_ids":["ostree"],"fields":{"unit":[],"association":["unit_id"]}}}'
......
23 23
      message: OK
24 24
    headers:
25 25
      Date:
26
      - Fri, 29 Apr 2016 16:21:34 GMT
26
      - Wed, 01 Feb 2017 12:30:49 GMT
27 27
      Server:
28 28
      - Apache/2.4.6 (CentOS)
29 29
      Vary:
30 30
      - Accept-Encoding
31 31
      Content-Length:
32 32
      - '430'
33
      Connection:
34
      - close
33 35
      Content-Type:
34 36
      - application/json; charset=utf-8
35 37
    body:
36 38
      encoding: ASCII-8BIT
37
      string: '[{"metadata": {"_id": "1fcc2805-3663-4131-b174-75b6bc68ead1", "_content_type_id":
38
        "ostree"}, "_id": {"$oid": "57238a0d898f5c862fa3ea79"}, "unit_id": "1fcc2805-3663-4131-b174-75b6bc68ead1",
39
        "unit_type_id": "ostree"}, {"metadata": {"_id": "590cfad9-4ef7-4db8-a954-bf48591e074c",
40
        "_content_type_id": "ostree"}, "_id": {"$oid": "57238a0d898f5c862fa3ea7a"},
41
        "unit_id": "590cfad9-4ef7-4db8-a954-bf48591e074c", "unit_type_id": "ostree"}]'
39
      string: '[{"metadata": {"_id": "8f958529-8425-4a97-befd-3283e77665be", "_content_type_id":
40
        "ostree"}, "_id": {"$oid": "5891d4f94b92d9e3004e81da"}, "unit_id": "8f958529-8425-4a97-befd-3283e77665be",
41
        "unit_type_id": "ostree"}, {"metadata": {"_id": "f3f067ea-2fd6-40b3-b138-cc28117063ed",
42
        "_content_type_id": "ostree"}, "_id": {"$oid": "5891d4f94b92d9e3004e81d9"},
43
        "unit_id": "f3f067ea-2fd6-40b3-b138-cc28117063ed", "unit_type_id": "ostree"}]'
42 44
    http_version: 
43
  recorded_at: Fri, 29 Apr 2016 16:21:34 GMT
44
recorded_with: VCR 3.0.1
45
  recorded_at: Wed, 01 Feb 2017 12:30:49 GMT
46
recorded_with: VCR 3.0.3

Also available in: Unified diff