Fixes #2267 - general rebuild of TFTP, DNS, DHCP
Fixes #10782 - global host status
Plugins can add their own substatuses. These are automatically...
Fixes #10248 - cloning volume information for virtual machines
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template
HTTP response code standardized to 201 on create.
Refs #10720 - Use API v2 response for vm_compute_attributes
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 #8812 - Pass model type so search_for is called on Host
At least on version 1.6.1, the absence of this second parameter leads to aruntime crash when it's time to validate if the current user (non-admin) isallowed to perform a power operation on given a host via the APIv2....
Fixes #9657 - merge NICs from compute profile in host create API
- updated api docs for hosts and interfaces- host create/update api actions now merge interfaces from compute profiles- NIC type mapping extracted into a separate class- return full host detail after host update
Refs #3809 - Remove cops for empty lines
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
fixes #8484 - make SmartProxyAuth concern more useful to plugins
Refs #3809 - Remove useless assignments
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead
Refs #3809 - Use parentheses in method definitions
fixes #6696 - API v2 - specify 'host' as the key in which parameters will be wrapped rather than Host::Base
Refs #4478 - API doc strings marked for translation
fixes #6430 - validate presence of location and organization for managed host if Settings are turned on
fixes #4155 - enable host/CR (dis)association via api
fixes #6229 - validate installation media exists for new host if pxe_build
fixes #5722: VM-based host cloning picks up existing compute attributes
Fixes #4976 - ensure the process is really running inside a rake task
fixes #1966 - improved UI errors for proxy
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4268 - don't search for host with nil IP on hostname spoofing
fixes #3725, #4167 - root password validations, remove default password
fixes #3960 - wrap APIv2 errors in an "error" node
fixes #3760 - API v2 define metadata @total for each controller
Fixes #4022: Make api puppetrun a PUT for REST standards
fixes #3646 - API v2 change default root name for api json single object response to no root node but make it configurable
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3597 - removing rr gem, make tests consistent by using just mocha
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
fixes #3046 - add NIC CRUD, power and boot operations API
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 #2539 - added API puppetrun access permission and test