awx icon indicating copy to clipboard operation
awx copied to clipboard

Remove extra redirects from the runtime.yml

Open s-hertel opened this issue 3 years ago • 2 comments

SUMMARY

The plugin_routing keys should just be plugin names without the namespace and package. A collection can only redirect its own content - ansible-core searches for the name as-given inside the collection.

This

plugin_routing:
  modules:
    awx.awx.tower_ad_hoc_command_cancel:
      redirect: awx.awx.ad_hoc_command_cancel

redirects the FQCN awx.awx.awx.awx.tower_ad_hoc_command_cancel to awx.awx.ad_hoc_command_cancel.

ISSUE TYPE
  • Bug or Docs Fix
COMPONENT NAME
  • Collection
AWX VERSION

ADDITIONAL INFORMATION

s-hertel avatar Jul 15 '22 22:07 s-hertel

I think all this needs is an update to the API test so that that check passes. cc @AlanCoding

rebeccahhh avatar Jul 28 '22 17:07 rebeccahhh

It's on my radar but I haven't figured out the AWX tests yet. If someone wants to take over or push to my branch, please feel free to beat me to it.

s-hertel avatar Aug 02 '22 16:08 s-hertel

Replaced by https://github.com/ansible/awx/pull/12885 to see if we can the api-tests working.

john-westcott-iv avatar Sep 14 '22 20:09 john-westcott-iv