Project

General

Profile

Actions

Bug #35586

closed

Import Ansible roles button in UI uses functional, but depricated endpoint

Added by Nofar Alfassi about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2130673

Description of problem:
The "Import Ansible Roles from <satellite IP> button uses the following endpoint:
/ansible/api/ansible_roles/import

This has been marked as deprecated. It does however still work.

Version-Release number of selected component (if applicable):
6.12.0 - 12

How reproducible:
Everytime

Steps to Reproduce:
1.Navigate to Configure -> Ansible Roles
2.Inspect the Import Ansible roles button

Actual results:
The endpoint used here is marked as deprecated

Expected results:
The endpoint used here isn't deprecated

Additional info:
There is an additional endpoint available:
/ansible/api/ansible_roles/sync
This has (at least in the case of the button involved) the same function.

Actions

Also available in: Atom PDF