You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Kevin Breit a85750dc98 Meraki - Convert response keys to snake_case from camelCase (#53891)
* Initial proposal for new parameter option for response format
- output_version parameter dictates the response key case
- new is snake_case, old is camelCase
- If new, conversion is done at the end of module execution
- This is purely a proposal and not a final draft

* Add support for ANSIBLE_MERAKI_FORMAT env var
- If env var is set to 'camelcase' it will output camelcase
- Otherwise, will default to snakecase
- Added note to documentation fragment
- As of now, all module documentation needs to be updated

* Fix pep8 errors and remove output_version args

* Restructure check in exit_json so it actually works

* Add changelog fragment

* Change output_format to a parameter with env var fallback
- ANSIBLE_MERAKI_FORMAT is the valid env var
- Added documentation

* Convert to camel_dict_to_snake_dict() which is from Ansible
- Fixed integration tests

* Fix yaml lint error

* exit_json camel_case conversion handles no data
- exit_json would fail if data wasn't provided
- Updated 3 integration tests for new naming convention

* convert_camel_to_snake() handles lists and dicts
- The native Ansible method doesn't handle first level lists
- convert_camel_to_snake() acts simply as a wrapper for the method
- There maybe a situation where nested lists are a problem, must test
- Fixed integration tests in some modules

* A few integration test fixes

* Convert response documentation to snake case
7 years ago
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 7 years ago
targets Meraki - Convert response keys to snake_case from camelCase (#53891) 7 years ago
cloud-config-aws.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 7 years ago
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 8 years ago
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 7 years ago
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 7 years ago
cloud-config-vcenter.ini.template Add proxy vars to vcenter integration test config 7 years ago
cloud-config-vultr.ini.template tests: vultr: convert legacy tests to targets (#50156) 7 years ago
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 7 years ago
integration_config.yml Fix pip integration test. 8 years ago
inventory Overhaul ansible-test code coverage and injector. (#53510) 7 years ago
inventory.networking.template Rename MSC modules to MSO nomenclature (#50959) 7 years ago
inventory.remote.template
inventory.winrm.template Cleanup integration test inventory. (#50753) 7 years ago
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 7 years ago
target-prefixes.network Rename MSC modules to MSO nomenclature (#50959) 7 years ago
windows-integration.cfg Enable force_handlers for integration tests. 7 years ago