You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The classifier API can take an optional parameter for a specific environment. But I didn't see an option in the code manager config to set this. So calling the classifier API will always trigger a full refresh, which is quite resource intensive.
Describe the Solution You Would Like
Add an option to code-manager to use the deployed environment in the hook url.
Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
I would have provided a patch, but the source code is private and not accessible for partners.
The text was updated successfully, but these errors were encountered:
Use Case
Code-Manager has support for post environment hooks: https://www.puppet.com/docs/pe/2023.8/code_mgr_customizing#config_post_env_hooks
And there's an API endpoint for the classifier to refresh classes: https://www.puppet.com/docs/pe/2023.8/update_classes_endpoint
The classifier API can take an optional parameter for a specific environment. But I didn't see an option in the code manager config to set this. So calling the classifier API will always trigger a full refresh, which is quite resource intensive.
Describe the Solution You Would Like
Add an option to code-manager to use the deployed environment in the hook url.
Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
I would have provided a patch, but the source code is private and not accessible for partners.
The text was updated successfully, but these errors were encountered: