Skip to content

📦 Discover injectors through entrypoints#50

Open
webknjaz wants to merge 2 commits intoansible:develfrom
webknjaz:features/inventory-entry-points
Open

📦 Discover injectors through entrypoints#50
webknjaz wants to merge 2 commits intoansible:develfrom
webknjaz:features/inventory-entry-points

Conversation

@webknjaz
Copy link
Copy Markdown
Member

This patch eliminates import-based injector discovery, switching to
distribution package-independent hosting of the respective callables.

@webknjaz
Copy link
Copy Markdown
Member Author

pre-commit.ci run

@webknjaz webknjaz force-pushed the features/inventory-entry-points branch from b314739 to bfabdd3 Compare October 23, 2024 01:00
@codecov

This comment was marked as outdated.

@webknjaz webknjaz force-pushed the features/inventory-entry-points branch from bfabdd3 to 6ffec3a Compare October 23, 2024 01:10
This patch eliminates import-based injector discovery, switching to
distribution package-indepdendent hosting of the respective callables.
@webknjaz webknjaz force-pushed the features/inventory-entry-points branch from 6ffec3a to ca70f64 Compare October 23, 2024 01:14
TODO: Revert this commit before merging!
@webknjaz webknjaz force-pushed the features/inventory-entry-points branch from ca70f64 to 3e25834 Compare October 23, 2024 13:55

[project.entry-points."awx_plugins.injector"]
aws = "awx_plugins.credential.injectors:aws"
azure_rm = "awx_plugins.credential.injectors:azure_rm"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azure_rm = "awx_plugins.credential.injectors:azure_rm"
azure-rm = "awx_plugins.credential.injectors:azure_rm"

azure_rm = "awx_plugins.credential.injectors:azure_rm"
ec2 = "awx_plugins.credential.injectors:aws"
gce = "awx_plugins.credential.injectors:gce"
kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token"
kubernetes-bearer-token = "awx_plugins.credential.injectors:kubernetes_bearer_token"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant