-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.492.1
Ansible Tower Plugin 0.17.0
Ansible Automation Platform 2.5
I am testing our Jenkins instance with an updated version of Ansible Automation Platform (AAP), and the new version of AAP is using a new API endpoint. I am receiving an 'item not found' when testing access to AAP from Jenkins using the Ansible Tower Plugin. I believe this is because the plugin is using the API endpoint '/api/v2/' when the endpoint is now /api/ansible_component/v2/ (e.g. ansible_component = 'gateway'). Is this something your team is aware of? Is there something I'm missing?
Same issue on our side after the Automation Platform was updated from 2.4 to 2.5
Unfortunately it looks like that the whole authentication mechanism has changed,
so that token-based authentication on the controller is no longer supported in favor of a centralized authentication on the gateway.https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/release_notes/aap-2.5-deprecated-features#deprecated_api_endpoints
UPDATE:
I tested with Postman and triggering a job launch is possible on the "new" controller API using the OAuth token
The token-based endpoints are now at /api/gateway/v2/. But I have not found all of them that are currently used in https://github.com/jenkinsci/ansible-tower-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ansible_tower/util/TowerConnector.java