foremancommunity-templatesforeman_api
Fixes #33470 - Adding support for CentOS Stream
The facts from Stream has not yet supported in Foreman. This PR adds correct recognition for all parsers.
Fixes #34146 - Move services from lib/foreman to app/services/foreman
Fixes #34026 - authorize puppet reports via Proxy
Signed-off-by: Lukas Zapletal <lzap+git@redhat.com>
Fixes #34138 - Autoload ProxyAPI files from /app/services
Fixes #34139 - Move Foreman::Renderer from lib/ to app/services
Refs #34093 - Document Authorizer#can? and log huge cache loads
Also flatten the authorizer cache instead of a nested hash.
Refs #34093 - Minor authorizer clean ups
- Use `.exists?` instead of `.where.any?` and `.where.present?`.`.any?` avoids triggering another sql query for loaded relations, but inthis specific case the relation won't be loaded. `.present?` loads therelation to an array and checks if it is empty, which is obviously worse...
Fixes #34093 - Don't eager load all authorized resources
The authorizer cache currently loads all permitted resources to memorywhen `.includes?` is called just to check if one resource is in thelist. This can get very heavy when authorizing resources that have many...
Fixes #33996 - Clean up deprecated methods
Cleans up all methods that have been marked for removal in 3.2 or older.
Fixes #33981 - fix the RHEL OS name parsing
When the parser lived in the foreman_ansible plugin, it started toprefer the lsb facts over the distribution one, which is correctbehavior. Seehttps://github.com/theforeman/foreman_ansible/commit/ba50f37a00fb55c9695b5ef0cb80987f8eb532f8...
View revisions
Also available in: Atom