Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-30769

content_default_http_proxy value is not in the response of "POST /api/http_proxies"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.17.0
    • HTTP Proxy, Settings
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • To Do
    • None

      Description of problem:

       

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. # curl -k -X POST -u admin:changeme -H 'Accept: application/json' -H 'Content-Type: application/json' -i 'https://satellite.redhat.com/api/http_proxies' --data '{"http_proxy": { "name": "test_proxy", "url": "https://env-proxy-03.example.com:3401", "organization_ids": [1], "content_default_http_proxy": true }}'

      .

      .

      {"id":10,"name":"test_proxy","url":"[https://env-proxy-03.example.com:3401|https://env-proxy-03.example.com:3401/]","username":null,"password":null,"cacert":null}

       

      Actual behavior:
      content_default_http_proxy value is not in the response of "POST /api/http_proxies"

      Expected behavior:
      content_default_http_proxy value is added in the response of "POST /api/http_proxies"

      Business Impact / Additional info:

      content_default_http_proxy value is added already in the response of "GET /api/http_proxies"

              Unassigned Unassigned
              gtalreja@redhat.com Gaurav Talreja
              Gaurav Talreja
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: