1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration
Dag Wieers 6874ba23ff New module: Support manipulating XML files (#25323)
* Import original unmodified upstream version

This is another attempt to get the xml module upstream.
https://github.com/cmprescott/ansible-xml/

This is the original file from upstream,
without commit 1e7a3f6b6e2bc01aa9cebfd80ac5cd4555032774

* Add additional changes required for upstreaming

This PR includes the following changes:

- Clean up of DOCUMENTATION
- Rename "ensure" parameter to "state" parameter (kept alias)
- Added EXAMPLES
- Remove explicit type-case using str() for formatting
- Clean up AnsibleModule parameter handling
- Retained Python 2.4 compatibility
- PEP8 compliancy
- Various fixes as suggested by abadger during first review

This fixes cmprescott/ansible-xml#108

* Added original integration tests

There is some room for improvement wrt. idempotency and check-mode
testing.

* Some tests depend on lxml v3.0alpha1 or higher

We are now expecting lxml v2.3.0 or higher.
We skips tests if lxml is too old.

Plus small fix.

* Relicense to GPLv3+ header

All past contributors have agreed to relicense this module to GPLv2+, and GPLv3 specifically.

See: https://github.com/cmprescott/ansible-xml/issues/113

This fixes cmprescott/ansible-xml#73

* Fix small typo in integration tests

* Python 3 support

This PR also includes:
- Python 3 support
- Documentation fixes
- Check-mode fixes and improvements
- Bugfix in check-mode support
- Always return xmlstring, even if there's no change
- Check for lxml 2.3.0 or newer

* Add return values

* Various fixes after review
2017-08-08 20:21:03 -07:00
..
group_vars Comment cli provider creds on junos group_vars (#27611) 2017-08-02 00:46:31 +02:00
host_vars breaks testing in non virtual envs, since env var can be used in those 2015-11-12 09:40:43 -08:00
roles New module: manage Citrix Netscaler GSLB site configuration (network/netscaler/netscaler_gslb_site) (#27639) 2017-08-03 15:26:17 +01:00
targets New module: Support manipulating XML files (#25323) 2017-08-08 20:21:03 -07:00
vars Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
amazon.yml Adding support for Amazon ECR (#19306) 2017-01-17 14:45:43 -05:00
asa.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
azure.yml add azure integration tests 2015-05-04 23:45:03 -04:00
cleanup_azure.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
cleanup_ec2.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cleanup_gce.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cleanup_rax.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cloud-config-aws.yml.template Add support for cloud tests to ansible-test. (#24315) 2017-05-05 16:23:00 +08:00
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 2017-05-05 16:23:00 +08:00
cloudflare.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
cloudscale.yml new module cloudscale_server (#20175) 2017-01-17 23:15:20 +01:00
cnos.yaml New module: cnos_vlan and various utility files (#21107) 2017-02-16 08:11:39 +00:00
connection-buildah.yaml add connection plugin for buildah (#26170) 2017-07-11 22:36:25 -04:00
consul.yml Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 2015-01-24 01:09:03 +00:00
consul_inventory.yml Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 2015-01-24 01:09:03 +00:00
consul_running.py Support print() function in test/ 2015-08-27 22:15:57 +03:00
credentials.template Update git test to not rm ~/.ssh/known_hosts. 2017-07-05 16:05:28 -07:00
dellos6.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
dellos9.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
dellos10.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
eos.yaml Remove Deprecated Template network modules (#27076) 2017-07-27 19:40:11 +01:00
exoscale.yml exo_dns: new module utils and integration tests for exoscale DNS (#17230) 2016-08-30 21:48:28 +02:00
galaxy_playbook.yml Allow installation of roles from yaml roles file 2014-08-21 17:15:23 -04:00
galaxy_playbook_git.yml [hotfix] add missed playbook file 2016-01-21 14:08:26 +02:00
galaxy_roles.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
galaxy_rolesfile Add tests for #10620 2015-11-18 20:47:54 +10:00
gce.yml [google] adding a GCE labels module 2017-07-25 09:36:33 -04:00
gce_credentials.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
integration_config.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
inventory Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
inventory.network Add VyOS integration tests for net_linkagg (#26478) 2017-07-06 11:25:15 +02:00
inventory.networking.template Increase python version coverage for tests. (#24762) 2017-05-19 01:37:53 +08:00
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 2016-08-23 10:49:46 -07:00
inventory.winrm.template Increase python version coverage for tests. (#24762) 2017-05-19 01:37:53 +08:00
inventory.yaml add new yaml inventory for testing 2017-07-24 16:39:00 -04:00
ios.yaml ios implementation for net_interface (#27459) 2017-08-01 11:50:08 -06:00
iosxr.yaml iosxr implemetation for net_interface (#27513) 2017-08-01 20:19:54 +05:30
jenkins.yml jenkins_job: add integration tests (#17499) 2016-09-13 16:03:58 +02:00
junos.yaml Remove Deprecated Template network modules (#27076) 2017-07-27 19:40:11 +01:00
Makefile Remove legacy integration test make targets. (#26255) 2017-06-29 12:34:54 -07:00
netscaler.yaml Add netscaler_server module (#25537) 2017-06-27 23:08:00 +05:30
network-all.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 2017-07-25 12:35:03 +01:00
network-integration.cfg network-integration UserKnownHostsFile=/dev/null (#27622) 2017-08-02 09:18:22 +01:00
nuage.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 2017-07-25 12:35:03 +01:00
nxos.yaml Fix nxos_interface_ospf idempotence issue (#27783) 2017-08-07 13:54:31 -04:00
ops.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
ovs.yaml Revert "Enforce the _raw_params variable with include_role (#26430)" 2017-07-25 11:10:19 -04:00
platform_agnostic.yaml junos implementation for net_l3_interface module (#26829) 2017-07-15 12:38:44 +05:30
rackspace.yml Add tests for rax_scaling_group 2015-06-18 13:08:35 -05:00
setup_gce.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
target-prefixes.network openvswitch targets via network-integration (#27295) 2017-07-27 14:14:13 +01:00
vyos.yaml added integration tests for vyos_facts (#26748) 2017-08-08 18:20:47 +02:00