Fixes #3650, #11600 - Compute Resource availability_zones, flavors, security_groups API v2 endpoints
Fixes #11693 - removed 'destroy' for smart class parameter from API controllers
Fixes #10782 - global host status
Plugins can add their own substatuses. These are automatically...
fixes #11175 - [API] Add taxonomies to ptables, display ptables in taxonomies
Fixes #10917 - Update API docs for template combinations
Fixes #6976 - Build default PXE menu should be POST request
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
fixes #10720 - Adds API to get host vm attributes
This exposes an API to fetch a host's vm_compute_attributes,such as vmware cpus and memory. It lives at a separate endpointbecause it involves a fetch for data from the compute resource,and may have different performance characteristics than the database.
fixes #9031 - Add routes to view template_combinations per hostgroup / environment
fixes #10167 - change default API from v1 to v2
Refs #3809 - Remove cops for empty lines
fixes #9030 - Adds support to clone config template via api
fixes #7586, #7734, #7172 - user preferences for receiving mail notifications
Adds a framework for user-selectable mail notifications. The work isstill done in ActionMailer classes and launch by rake in cron, however awrapper called MailNotification is used to provide RBAC and make the...
fixes #3492 - API v2 nested routes for each controller
Refs #3809 - Fix a few rubocop TODOs
Fixes #3085: Request to be able to clone host groups via API
Fixes #6756 - exposes vmware resource pools and folders through the API
Fixes #6608 - expose disk usage info through available_storage_domains API
Fixes #5734 - API for external groups management
fixes #4155 - enable host/CR (dis)association via api
Fixes #6532 - permission related api extensions
- usergroups#show lists associated roles - listing available resource types - filters#show lists associated roles - filters#index lists associated roles and permissions and orders the results - pagination in permissions#index...
fixes #4250 - API v2 - add compute profiles
fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup
fixes #1809 - foreman realm integration
fixes #4581 Implement available_networks API for VMware
fixes #4201 - update operating system by label, use description or fallname otherwise
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4222 Add capability to compute resource API to retrieve cluster,network,storage info on oVirt
Fixes #4022: Make api puppetrun a PUT for REST standards
fixes #3099 - Adding parameters to locations and organizations
Fixes #3974 - Drop leftover Api::V2 wildcard route
fixes #3928 - API v2 - update os_default_templates for operating system
fixes #3524 - api cannot reference smart proxies by name when they contain a "."
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3020 - API v2 - option to specify version in URL as well as in header
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3566 - exposes orchestration tasks via the API at /api/orchestration/id/tasks
fixes #3140 - API to allow importing of puppet classes
fixes #3165 - /api/fact_values route missing from v2 API
fixes #1244 - add smart proxy feature refresh link + API call
fixes #2810 - more restful API v2 JSON responses in puppetclasses
NOTE: breaking changes to API v2 api/lookup_keys does not exist, replaced by api/smart_variables and api/smart_class_parameters
fixes #3101 - list available images for CRs, add iam_role field to images API
Fixes #2984 - API v1/v2 StatisticsController and remove JSON from UI controller
fixes #3046 - add NIC CRUD, power and boot operations API
Fixes #2414 - Move puppet report processing code to the report processor
This creates a API route for POST:/api/reports which matches the GETformat for reports. Tests are updated, with the report model testsmoving to the puppet-foreman module (along with the report fixtures).
Refs #2414 - Remove Puppet from facts API and Settings
Reports are still in progress and will come in a later PRDB schema is updated to not need puppet/rails
fixes #2898 - missing API v2 nested routes for config_templates/:id/locations & organizations
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #2539 - puppetrun API added.
fixes #2248 adds api controllers and actions to access_permissions.rb
fixes #2250 API v2 add/remove puppetclasses from hosts and hostgroups
fixes #2299 - Parameters Controller (API v2) can reset parameters (delete them all)
Ensures that unused API v2 routes are not added when using nested routes
refs #1988 and refs #2239
fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os
e.g.
GET /api/domains/6/parametersPOST /api/hosts/6/parametersPUT /api/hostgroups/6/parameters/100DELETE /api/operatingsystems/6/parameters/100
fixes #2239 API v2 CRUD for locations and organizations and added nested loc/org
Fix home mapping in API v2
Home controller is in v1, mapping all the routes from scope for v1except the final fallback, that needs to go to the end of routes file.
Oterwise status is not working for V2.
v2 api for configuration_templates and template_combinations
added API v2 placeholders.
corrected routes DSL
split api routes to separate routes file
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json