Project

General

Profile

Bug #14240

GET/POST/PUT /api/v2/auth_source_ldaps/ do not return 'server_type' attribute

Added by Shimon Shtein almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1318325
Description of problem:
auth_source_ldaps have 'server_type' attribute, value of which is not returned by any of POST/GET/PUT request in sat6.2.

Version-Release number of selected component (if applicable):
Satellite 6.2.0 Compose 3

How reproducible:
100%

Steps to Reproduce:
1. Issue HTTP POST request to https://sat.example.com/api/v2/auth_source_ldaps with 'server_type' attribute set to some value (e.g. 'active_directory').
2. Capture the response. Examine the JSON payload and discover that the "server_type" attribute is not mentioned.
3. Issue HTTP GET and HTTP PUT requests to previously created auth_source_ldap. Check the "server_type" attribute presence.

Actual results:
'server_type' attribute is absent in GET/POST/PUT responses.

Expected results:
'server_type' attribute is present and has correct value.

Additional info:

Associated revisions

Revision 82a0ba46 (diff)
Added by Shimon Shtein almost 4 years ago

Fixes #14240 - added :server_type attribute to API rabl

Revision 7677b976 (diff)
Added by Shimon Shtein almost 4 years ago

Fixes #14240 - added :server_type attribute to API rabl

(cherry picked from commit 82a0ba465e8de728c10f2d1e5678c9df2499186f)

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3337 added

#2 Updated by Dominic Cleal almost 4 years ago

  • Category set to API

#3 Updated by Shimon Shtein almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 141

Also available in: Atom PDF