├── .gitattributes ├── compute └── src │ └── test │ └── resources │ ├── .gitattributes │ ├── operatingsystemsection.xml │ ├── networksection.xml │ └── disksection.xml ├── scriptbuilder └── src │ ├── test │ └── resources │ │ ├── functions │ │ ├── nonewline.sh │ │ ├── nonewline.cmd │ │ └── .gitattributes │ │ ├── .gitattributes │ │ ├── test_install_ruby.sh │ │ ├── client_rb_append.sh │ │ ├── client_rb_overwrite.sh │ │ ├── client_rb_append.cmd │ │ ├── client_rb_overwrite.cmd │ │ ├── test_env.sh │ │ ├── test_env.cmd │ │ └── test_install_rubygems.sh │ └── main │ └── resources │ └── functions │ └── .gitattributes ├── apis ├── docker │ └── src │ │ └── test │ │ └── resources │ │ ├── exec.start │ │ ├── exec.json │ │ ├── container-creation.json │ │ ├── network-creation.json │ │ └── version.json ├── cloudstack │ └── src │ │ └── test │ │ └── resources │ │ ├── deletedomainresponse.json │ │ ├── deletenetworkresponse.json │ │ ├── deletezoneresponse.json │ │ ├── logoutresponse.json │ │ ├── disablestaticnatresponse.json │ │ ├── deletefirewallrulesresponse.json │ │ ├── deployvirtualmachineresponse.json │ │ ├── createfirewallrulesresponse.json │ │ ├── deleteegressfirewallrulesresponse.json │ │ ├── deleteipforwardingruleresponse.json │ │ ├── deleteportforwardingrulesresponse.json │ │ ├── deletesecuritygroupresponse.json │ │ ├── enablestaticnatresponse-withoutjob.json │ │ ├── createtagsresponse.json │ │ ├── deletetagsresponse.json │ │ ├── createegressfirewallrulesresponse.json │ │ ├── createportforwardingrulesresponse.json │ │ ├── getsecuritygroupresponse.json │ │ ├── reconnecthostresponse.json │ │ ├── cancelhostmaintenanceresponse.json │ │ ├── getdomainresponse.json │ │ ├── stopvirtualmachineresponse-imageextension.json │ │ ├── listhypervisorsresponse.json │ │ ├── revokesecuritygroupingressresponse.json │ │ ├── authorizesecuritygroupingressresponse.json │ │ ├── getzoneresponse.json │ │ ├── preparehostformaintenanceresponse.json │ │ ├── getzoneresponse-2.json │ │ ├── listzonesresponse_single.json │ │ ├── createtemplateresponse.json │ │ ├── createtemplateresponse-imageextension.json │ │ ├── listcapabilitiesresponse.json │ │ ├── createdomainresponse.json │ │ ├── updatedomainresponse.json │ │ ├── createsecuritygroupresponse.json │ │ ├── deletetemplateresponse.json │ │ ├── listalertsresponse.json │ │ ├── registersshkeypairresponse.json │ │ ├── listsshkeypairsresponse.json │ │ ├── deployvirtualmachineresponse4x.json │ │ ├── getsecuritygroupresponse_extension_byid_empty.json │ │ ├── listdomainsresponse.json │ │ ├── getfirewallrulesresponse.json │ │ ├── createpodresponse.json │ │ ├── getegressfirewallrulesresponse.json │ │ ├── updatepodresponse.json │ │ ├── loginresponse.json │ │ ├── registeruserkeysresponse.json │ │ ├── getvmpasswordresponse.json │ │ ├── getsecuritygroupresponse_extension_byid_with_cidr.json │ │ ├── listdomainchildrenresponse.json │ │ ├── addclusterresponse.json │ │ ├── updateconfigurationsresponse.json │ │ ├── updateclusterresponse.json │ │ ├── createzoneresponse.json │ │ ├── listloadbalancerrulesresponse.json │ │ ├── updatezoneresponse.json │ │ ├── createvlaniprangeresponse.json │ │ ├── listoscategoriesresponse.json │ │ ├── getsecuritygroupresponse_extension_byid_with_group.json │ │ ├── queryasyncjobresultresponse-ipforwardingrule.json │ │ ├── listcapacityresponse.json │ │ ├── listconfigurationsresponse.json │ │ ├── getsecuritygroupresponse_extension_byid.json │ │ ├── listusagerecordsresponse.json │ │ ├── getisoresponse.json │ │ ├── liststoragepoolsresponse.json │ │ ├── listpodsresponse.json │ │ ├── listnetworkofferingsresponse.json │ │ ├── queryasyncjobresultresponse-extracttemplate.json │ │ ├── queryasyncjobresultresponse-ipaddress.json │ │ ├── listclustersresponse.json │ │ ├── listtagsresponse.json │ │ ├── listserviceofferingsresponse.json │ │ ├── listdiskofferingsresponse.json │ │ ├── listvlaniprangesresponse.json │ │ └── registerisoresponse.json ├── openstack-trove │ ├── src │ │ └── test │ │ │ └── resources │ │ │ ├── instance_is_rooted.json │ │ │ ├── instance_is_rooted_false.json │ │ │ ├── instance_root.json │ │ │ ├── user_grant_simple_request.json │ │ │ ├── database_create_simple_request.json │ │ │ ├── user_grant_request.json │ │ │ ├── user_list_access.json │ │ │ ├── instance_create_request.json │ │ │ ├── database_create_request.json │ │ │ ├── user_password_request.json │ │ │ ├── user_get.json │ │ │ ├── user_get_withhost.json │ │ │ ├── user_create_simple_request.json │ │ │ ├── user_create_with_host_simple_request.json │ │ │ ├── database_list.json │ │ │ └── flavor_get.json │ └── README.md ├── rackspace-cloudloadbalancers │ └── src │ │ └── test │ │ └── resources │ │ ├── virtualips-create.json │ │ ├── contentcaching-disable.json │ │ ├── contentcaching-enable.json │ │ ├── connectionlogging-disable.json │ │ ├── connectionlogging-enable.json │ │ ├── healthmonitor-get-deleted.json │ │ ├── node-update.json │ │ ├── connectionthrottle-get-deleted.json │ │ ├── sessionpersistence-get-deleted.json │ │ ├── sessionpersistence-create.json │ │ ├── loadbalancer-update.json │ │ ├── healthmonitor-create.json │ │ ├── sessionpersistence-get.json │ │ ├── connectionthrottle-create.json │ │ ├── metadata-create.json │ │ ├── accesslist-create.json │ │ ├── virtualips-create-response.json │ │ ├── healthmonitor-get.json │ │ ├── report-loadbalancerstats-get.json │ │ ├── loadbalancer-get-deleted.json │ │ ├── connectionthrottle-get.json │ │ ├── nodes-add.json │ │ ├── loadbalancer-create.json │ │ ├── report-algorithms-list.json │ │ ├── metadata-list.json │ │ └── accesslist-list.json ├── chef │ └── src │ │ └── test │ │ └── resources │ │ ├── search_role_empty.json │ │ ├── environment_recipes.json │ │ ├── group-update.json │ │ ├── data_list.json │ │ ├── roles_list.json │ │ ├── clients_list.json │ │ ├── nodes_list.json │ │ ├── group.json │ │ ├── node.json │ │ ├── sandbox.json │ │ ├── groups.json │ │ └── pubkey.txt ├── rackspace-clouddns │ └── src │ │ └── test │ │ └── resources │ │ ├── domain-update-ttl.json │ │ ├── domain-update.json │ │ ├── records-update.json │ │ ├── limit-types-list.json │ │ ├── domain-update-email.json │ │ ├── record-update.json │ │ ├── record-create.json │ │ ├── domain-import.json │ │ ├── record-get.json │ │ ├── record-ptr-get.json │ │ ├── record-ptr-update.json │ │ ├── job.json │ │ ├── record-list-with-filter.json │ │ ├── record-delete.json │ │ ├── domain-delete.json │ │ ├── records-delete.json │ │ ├── domain-list-with-filter.json │ │ ├── record-ptr-create.json │ │ ├── records-ptr-delete.json │ │ ├── record-ptr-delete.json │ │ └── record-update-response.json ├── openstack-nova │ └── src │ │ └── test │ │ └── resources │ │ ├── metadata_item.json │ │ ├── volume_type_extra_specs.json │ │ ├── floatingippool_list.json │ │ ├── metadata_list.json │ │ ├── metadata_updated.json │ │ ├── xvpvnc_console.json │ │ ├── hosts_list.json │ │ ├── attachment_details.json │ │ ├── virtual_interfaces_list.json │ │ ├── floatingip_details.json │ │ ├── flavor_new.json │ │ ├── rdp_console.json │ │ ├── novnc_console.json │ │ ├── hypervisor_list.json │ │ ├── spice_console.json │ │ ├── securitygroup_created.json │ │ ├── securitygroup_details_extension_norules.json │ │ ├── attachment_list.json │ │ ├── snapshot_details.json │ │ ├── securitygrouprule_created.json │ │ ├── securitygrouprule_created_cidr.json │ │ ├── securitygrouprule_created_group.json │ │ ├── volume_type.json │ │ ├── snapshot_list.json │ │ ├── snapshot_list_detail.json │ │ ├── volume_type_list.json │ │ ├── quotas.json │ │ ├── attach_interface_details.json │ │ ├── server_diagnostics.json │ │ ├── simple_tenant_usages.json │ │ ├── host_aggregate_details.json │ │ ├── attach_interfaces_list.json │ │ └── host_aggregate_with_host_details.json ├── elasticstack │ ├── src │ │ └── test │ │ │ └── resources │ │ │ ├── uuids.txt │ │ │ ├── drive_data.txt │ │ │ ├── standard_drive.txt │ │ │ ├── create_server.txt │ │ │ └── create_drive.txt │ └── README.txt ├── openstack-keystone │ └── src │ │ └── test │ │ └── resources │ │ ├── role_create_response.json │ │ ├── user_role_list.json │ │ ├── user_create_response.json │ │ ├── tenant_details.json │ │ ├── tenant_create_response.json │ │ ├── user_update_response.json │ │ ├── tenant_update_response.json │ │ ├── service_create_response.json │ │ ├── user_details.json │ │ ├── tenant_list_att.json │ │ ├── admin_extensions.json │ │ ├── user_endpoints.json │ │ ├── role_list_response.json │ │ ├── user_tenant_role_list.json │ │ ├── access_minimal.json │ │ ├── tenant_list.json │ │ └── service_list_response.json ├── atmos │ ├── src │ │ └── test │ │ │ └── resources │ │ │ ├── error.xml │ │ │ └── hashstring.txt │ └── README.txt ├── s3 │ ├── README.txt │ └── src │ │ └── test │ │ └── resources │ │ ├── copy_object.xml │ │ ├── initiate-multipart-upload.xml │ │ ├── complete-multipart-upload.xml │ │ ├── delete-result.xml │ │ └── bucket_logging.xml ├── ec2 │ └── src │ │ └── test │ │ └── resources │ │ ├── allocate_address.xml │ │ ├── delete_keypair.xml │ │ ├── delete_placementgroup.xml │ │ ├── delete_securitygroup.xml │ │ ├── authorize_securitygroup_ingress_response.xml │ │ ├── created_securitygroup.xml │ │ ├── attach.xml │ │ ├── describe_addresses_single.xml │ │ ├── describe_keypairs.xml │ │ ├── ramdisk.xml │ │ ├── describe_keypairs_jcloudssingle.xml │ │ ├── userData.xml │ │ ├── instanceType.xml │ │ ├── disableApiTermination.xml │ │ ├── describe_image_attribute_launchPermission.xml │ │ ├── instanceInitiatedShutdownBehavior.xml │ │ ├── get_passworddata.xml │ │ ├── describe_addresses.xml │ │ ├── created_snapshot.xml │ │ ├── terminate_instances.xml │ │ ├── created_volume.xml │ │ ├── describe_securitygroups_extension_single.xml │ │ ├── stop_instances.xml │ │ ├── start_instances.xml │ │ ├── cancel_bundle_task.xml │ │ └── describe_instances_empty.xml ├── filesystem │ └── README.txt ├── openstack-cinder │ └── src │ │ └── test │ │ └── resources │ │ ├── quotas.json │ │ ├── availability_zones_list.json │ │ ├── volume_create.json │ │ ├── snapshot_create.json │ │ ├── volume_type_get.json │ │ ├── snapshot_create_response.json │ │ ├── snapshot_list_simple.json │ │ ├── volume_create_response.json │ │ └── snapshot_get.json ├── cloudwatch │ └── src │ │ └── test │ │ └── resources │ │ ├── VoidResponse.xml │ │ ├── InvalidFormatResponse.xml │ │ ├── LimitExceededResponse.xml │ │ ├── list_metrics.xml │ │ └── list_metrics_marker.xml ├── sts │ └── src │ │ └── test │ │ └── resources │ │ ├── error.xml │ │ └── credentials.xml ├── byon │ └── src │ │ └── test │ │ └── resources │ │ └── testkey.txt ├── openstack-swift │ ├── src │ │ └── test │ │ │ └── resources │ │ │ ├── container_list.json │ │ │ └── manifest_get_response.json │ └── README.md ├── route53 │ └── src │ │ └── test │ │ └── resources │ │ ├── change.xml │ │ ├── invalid_change_batch.xml │ │ ├── create_rrs_request.xml │ │ └── delete_rrs_request.xml ├── sqs │ └── src │ │ └── test │ │ └── resources │ │ ├── get_queue_url.xml │ │ ├── create_queue.xml │ │ ├── list_queues.xml │ │ ├── send_message.xml │ │ └── delete_message_batch.xml └── openstack-nova-ec2 │ └── src │ └── test │ └── resources │ ├── nova_ec2_import_keypair_response.xml │ └── nova_ec2_availabilityZones.xml ├── providers ├── softlayer │ └── src │ │ └── test │ │ └── resources │ │ ├── virtual_guest_set_tags_response.json │ │ ├── virtual_guest_set_tags.json │ │ ├── virtual_guest_set_notes.json │ │ ├── virtual_guest_get_filtered.json │ │ └── virtual_guest_create.json ├── google-compute-engine │ └── src │ │ └── test │ │ └── resources │ │ ├── address_insert.json │ │ ├── disk_create_snapshot.json │ │ ├── disk_insert.json │ │ ├── targetpool_insert.json │ │ ├── tag_insert.json │ │ ├── network_insert.json │ │ ├── quota.json │ │ ├── httphealthcheck_patch.json │ │ ├── instance_set_metadata.json │ │ ├── instance_set_tags.json │ │ ├── metadata.json │ │ ├── target_http_proxy_set_url_map.json │ │ ├── targetpool_setbackup.json │ │ ├── forwardingrule_set_target.json │ │ ├── image_insert_from_pd.json │ │ ├── targetpool_addinstance.json │ │ ├── disk_insert_ssd.json │ │ ├── global_forwarding_rule_setTarget.json │ │ ├── targetpool_changehealthcheck.json │ │ ├── backend_service_get_health_request.json │ │ ├── httphealthcheck_insert.json │ │ ├── target_http_proxy_insert.json │ │ ├── global_forwarding_rule_insert.json │ │ ├── forwardingrule_insert.json │ │ ├── image_insert.json │ │ ├── license_get.json │ │ ├── image_list_empty.json │ │ ├── instance_serial_port.json │ │ ├── list_empty.json │ │ ├── target_instance_insert.json │ │ ├── instance_list_central1b_empty.json │ │ ├── backend_service_insert.json │ │ ├── image_deprecate.json │ │ ├── health_status_get_health.json │ │ ├── route_insert.json │ │ ├── network_get.json │ │ ├── network_get_default.json │ │ ├── target_http_proxy_get.json │ │ ├── targetpool_get.json │ │ ├── firewall_insert.json │ │ ├── instance_add_access_config.json │ │ ├── disktype_ssd.json │ │ ├── disktype.json │ │ ├── snapshot_get.json │ │ ├── disk_get.json │ │ ├── httphealthcheck_get.json │ │ ├── firewall_insert_2.json │ │ └── global_forwarding_rule_get.json ├── glesys │ └── src │ │ └── test │ │ └── resources │ │ ├── ip_take.json │ │ ├── ip_release.json │ │ ├── archive_list.json │ │ ├── server_list.json │ │ ├── server_console.json │ │ ├── archive_details.json │ │ ├── domain_list.json │ │ ├── domain_details.json │ │ ├── archive_allowed_arguments.json │ │ ├── domain_record.json │ │ ├── email_overview.json │ │ ├── server_status.json │ │ ├── server_noip.json │ │ └── email_details.json ├── dynect │ └── src │ │ └── test │ │ └── resources │ │ ├── delete_zone.json │ │ ├── logout.json │ │ ├── session_valid.json │ │ ├── delete_zone_changes.json │ │ ├── create_session.json │ │ ├── get_zone.json │ │ ├── list_zones.json │ │ ├── get_record_a.json │ │ ├── session_invalid.json │ │ ├── get_record_ns.json │ │ ├── get_record_aaaa.json │ │ ├── get_record_mx.json │ │ ├── delete_record.json │ │ ├── get_record_cname.json │ │ ├── new_record.json │ │ ├── get_record_spf.json │ │ ├── list_geo_services.json │ │ ├── get_record_ptr.json │ │ ├── get_record_txt.json │ │ ├── get_record_srv.json │ │ ├── get_record_sshfp.json │ │ ├── list_geo_regiongroups.json │ │ ├── get_record_soa.json │ │ └── ip_mismatch.json ├── gogrid │ ├── README.txt │ └── src │ │ └── test │ │ └── resources │ │ └── test_error_handler.json ├── rackspace-clouddatabases-uk │ └── README.md ├── rackspace-clouddatabases-us │ └── README.md ├── elastichosts-hkg-e │ └── README.txt ├── elastichosts-sjc-c │ └── README.txt ├── elastichosts-syd-v │ └── README.txt ├── ultradns-ws │ └── src │ │ └── test │ │ └── resources │ │ ├── rrpool_created.xml │ │ ├── tcpool_created.xml │ │ ├── zone_deleted.xml │ │ ├── poolrecord_updated.xml │ │ ├── rr_deleted.xml │ │ ├── rr_updated.xml │ │ ├── tcrecord_deleted.xml │ │ ├── lbpool_deleted.xml │ │ ├── rr_created.xml │ │ ├── tcrecord_created.xml │ │ ├── zone_created.xml │ │ ├── directionalpool_deleted.xml │ │ ├── directionalpool_created.xml │ │ ├── directionalrecord_deleted.xml │ │ ├── directionalrecord_updated.xml │ │ ├── taskid.xml │ │ ├── tcpool_name.xml │ │ ├── directionalrecord_created.xml │ │ ├── account.xml │ │ ├── zoneproperties.xml │ │ ├── poolrecordspec.xml │ │ ├── directionalgroup_names.xml │ │ └── task.xml ├── azureblob │ └── README.txt ├── elastichosts-ams-e │ └── README.txt ├── elastichosts-dal-a │ └── README.txt ├── elastichosts-mmi-a │ └── README.txt ├── aws-s3 │ └── README.txt ├── aws-ec2 │ ├── README.txt │ └── src │ │ └── test │ │ └── resources │ │ ├── describe_instances_3.xml │ │ ├── describe_placement_groups_empty.xml │ │ ├── describe_image_attribute_productCodes.xml │ │ ├── describe_placement_groups.xml │ │ └── monitoring.xml ├── digitalocean2 │ └── src │ │ └── test │ │ └── resources │ │ ├── ssh-ecdsa.pub │ │ ├── droplet-create-req.json │ │ ├── ssh-dsa.pub │ │ └── key.json ├── openhosting-east1 │ └── README.txt ├── serverlove-z1-man │ └── README.txt ├── skalicloud-sdg-my │ └── README.txt ├── elastichosts-lon-b │ └── README.txt ├── elastichosts-tor-p │ └── README.txt ├── elastichosts-lax-p │ └── README.txt ├── elastichosts-lon-p │ └── README.txt ├── elastichosts-sat-p │ └── README.txt └── profitbricks │ └── src │ └── test │ └── resources │ ├── datacenter │ ├── datacenter-state.xml │ ├── datacenter-state-inprocess.xml │ ├── datacenter-deleted.xml │ ├── datacenter-cleared.xml │ └── datacenter-updated.xml │ ├── fault-500.xml │ ├── snapshot │ ├── snapshot-delete.xml │ ├── snapshot-update.xml │ ├── snapshot-create.xml │ └── snapshot-rollback.xml │ ├── ipblock │ ├── ipblock-release.xml │ ├── ipblock-addtonic.xml │ ├── ipblock-reserve.xml │ └── ipblock-removefromnic.xml │ ├── server │ ├── server-stop.xml │ ├── server-reset.xml │ └── server-start.xml │ ├── nic │ ├── nic-update.xml │ ├── nic-delete.xml │ ├── nic-internetaccess.xml │ └── nic-create.xml │ ├── drives │ ├── drives-add.xml │ └── drives-remove.xml │ ├── firewall │ ├── firewall-delete.xml │ ├── firewall-activate.xml │ ├── firewall-remove.xml │ └── firewall-deactivate.xml │ └── loadbalancer │ ├── loadbalancer-delete.xml │ └── loadbalancer-update.xml ├── core └── src │ └── test │ └── resources │ ├── test.jks │ └── test.pub ├── drivers ├── gae │ ├── src │ │ └── test │ │ │ └── resources │ │ │ └── test.jks │ └── README.txt ├── apachehc │ ├── src │ │ └── test │ │ │ └── resources │ │ │ └── test.jks │ └── README.txt ├── okhttp │ ├── src │ │ └── test │ │ │ └── resources │ │ │ └── test.jks │ └── README.md ├── joda │ └── README.txt ├── jsch │ └── README.txt ├── bouncycastle │ └── README.txt ├── log4j │ └── README.txt └── enterprise │ └── README.txt ├── common └── openstack │ └── README.txt ├── skeletons └── standalone-compute │ └── README.txt ├── .gitignore ├── CONTRIBUTING.md └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | *.cmd binary 3 | -------------------------------------------------------------------------------- /compute/src/test/resources/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh -crlf 2 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/functions/nonewline.sh: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh -crlf 2 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/functions/nonewline.cmd: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /apis/docker/src/test/resources/exec.start: -------------------------------------------------------------------------------- 1 | StandardError -------------------------------------------------------------------------------- /scriptbuilder/src/main/resources/functions/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh -crlf 2 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/functions/.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh -crlf 2 | -------------------------------------------------------------------------------- /providers/softlayer/src/test/resources/virtual_guest_set_tags_response.json: -------------------------------------------------------------------------------- 1 | "true" -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/address_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"test-ip1"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disk_create_snapshot.json: -------------------------------------------------------------------------------- 1 | {"name":"test-snap"} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletedomainresponse.json: -------------------------------------------------------------------------------- 1 | { "deletedomainresponse" : {"jobid":2413} } -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/instance_is_rooted.json: -------------------------------------------------------------------------------- 1 | { 2 | "rootEnabled": true 3 | } 4 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disk_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"testimage1","sizeGb":1} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/targetpool_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "test" 3 | } -------------------------------------------------------------------------------- /providers/softlayer/src/test/resources/virtual_guest_set_tags.json: -------------------------------------------------------------------------------- 1 | {"parameters":["test1,test2,test3"]} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletenetworkresponse.json: -------------------------------------------------------------------------------- 1 | { "deletenetworkresponse" : {"jobid":45612} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletezoneresponse.json: -------------------------------------------------------------------------------- 1 | { "deletezoneresponse" : { "success" : "true"} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/logoutresponse.json: -------------------------------------------------------------------------------- 1 | { "logoutresponse" : { "description" : "success" } } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/tag_insert.json: -------------------------------------------------------------------------------- 1 | {"items":["aTag"],"fingerprint":"abcd"} -------------------------------------------------------------------------------- /providers/softlayer/src/test/resources/virtual_guest_set_notes.json: -------------------------------------------------------------------------------- 1 | {"parameters":[{"notes":"some notes"}]} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/disablestaticnatresponse.json: -------------------------------------------------------------------------------- 1 | { "disablestaticnatresponse" : {"jobid":50006} } -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/instance_is_rooted_false.json: -------------------------------------------------------------------------------- 1 | { 2 | "rootEnabled": false 3 | } 4 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/virtualips-create.json: -------------------------------------------------------------------------------- 1 | {"type":"PUBLIC","ipVersion":"IPV6"} -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/test_install_ruby.sh: -------------------------------------------------------------------------------- 1 | setupPublicCurl || return 1 2 | installRuby || return 1 3 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletefirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "deletefirewallruleresponse" : {"jobid":2037} } -------------------------------------------------------------------------------- /apis/docker/src/test/resources/exec.json: -------------------------------------------------------------------------------- 1 | {"Id":"dbf45d296388032ebb9872edb75847f6655a72b4e9ab0d99ae1c75589c4ca957"} 2 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/contentcaching-disable.json: -------------------------------------------------------------------------------- 1 | {"contentCaching":{"enabled":false}} -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/contentcaching-enable.json: -------------------------------------------------------------------------------- 1 | {"contentCaching":{"enabled":true}} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/network_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"test-network","IPv4Range":"10.0.0.0/8"} -------------------------------------------------------------------------------- /apis/chef/src/test/resources/search_role_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "start": 0, 4 | "rows": [] 5 | } 6 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deployvirtualmachineresponse.json: -------------------------------------------------------------------------------- 1 | { "deployvirtualmachine" : {"id":1234, "jobid":50006} } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/connectionlogging-disable.json: -------------------------------------------------------------------------------- 1 | {"connectionLogging":{"enabled":false}} -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/connectionlogging-enable.json: -------------------------------------------------------------------------------- 1 | {"connectionLogging":{"enabled":true}} -------------------------------------------------------------------------------- /core/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rackspace/jclouds/master/core/src/test/resources/test.jks -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createfirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "createfirewallruleresponse" : {"jobid":2036,"id":2017} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deleteegressfirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "deleteegressfirewallruleresponse" : {"jobid":2037} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deleteipforwardingruleresponse.json: -------------------------------------------------------------------------------- 1 | { "deleteipforwardingruleresponse" : {"jobid":50005} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deleteportforwardingrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "deleteportforwardingruleresponse" : {"jobid":2038} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletesecuritygroupresponse.json: -------------------------------------------------------------------------------- 1 | { "deletesecuritygroupresponse" : { "success" : "true"} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/enablestaticnatresponse-withoutjob.json: -------------------------------------------------------------------------------- 1 | { "enablestaticnatresponse" : { "success" : "true"} } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/healthmonitor-get-deleted.json: -------------------------------------------------------------------------------- 1 | { 2 | "healthMonitor": { 3 | } 4 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createtagsresponse.json: -------------------------------------------------------------------------------- 1 | { "createtagsresponse" : {"jobid":"32cfab73-f221-4b2b-a728-a73e924ac95d"} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletetagsresponse.json: -------------------------------------------------------------------------------- 1 | { "deletetagsresponse" : {"jobid":"32cfab73-f221-4b2b-a728-a73e924ac95d"} } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/node-update.json: -------------------------------------------------------------------------------- 1 | {"node":{"condition":"DISABLED","type":"SECONDARY","weight":20}} -------------------------------------------------------------------------------- /drivers/gae/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rackspace/jclouds/master/drivers/gae/src/test/resources/test.jks -------------------------------------------------------------------------------- /apis/chef/src/test/resources/environment_recipes.json: -------------------------------------------------------------------------------- 1 | [ 2 | "ant", 3 | "apache2", 4 | "apache2::mod_auth_openid" 5 | ] 6 | 7 | -------------------------------------------------------------------------------- /apis/chef/src/test/resources/group-update.json: -------------------------------------------------------------------------------- 1 | {"groupname":"admins","actors":{"clients":["abiquo"],"groups":["admins"],"users":["nacx"]}} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createegressfirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "createegressfirewallruleresponse" : {"jobid":2036,"id":2017} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createportforwardingrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "createportforwardingruleresponse" : {"jobid":2035,"id":2015} } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-update-ttl.json: -------------------------------------------------------------------------------- 1 | {"domains":[{"id":3650906,"ttl":1234567},{"id":3650908,"ttl":1234567}]} -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/connectionthrottle-get-deleted.json: -------------------------------------------------------------------------------- 1 | { 2 | "connectionThrottle": { 3 | } 4 | } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/sessionpersistence-get-deleted.json: -------------------------------------------------------------------------------- 1 | { 2 | "sessionPersistence": { 3 | } 4 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/quota.json: -------------------------------------------------------------------------------- 1 | { 2 | "metric": "INSTANCES", 3 | "usage": 0, 4 | "limit": 8 5 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getsecuritygroupresponse.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { count: 0, "securitygroup" : [ { } ] } } 2 | -------------------------------------------------------------------------------- /apis/docker/src/test/resources/container-creation.json: -------------------------------------------------------------------------------- 1 | {"Id":"c6c74153ae4b1d1633d68890a68d89c40aa5e284a1ea016cbc6ef0e634ee37b2","Warnings":null} -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/metadata_item.json: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": { 3 | "Server Label": "Web Head 1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/volume_type_extra_specs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extra_specs": { 3 | "test": "value1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/sessionpersistence-create.json: -------------------------------------------------------------------------------- 1 | {"sessionPersistence":{"persistenceType":"HTTP_COOKIE"}} -------------------------------------------------------------------------------- /drivers/apachehc/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rackspace/jclouds/master/drivers/apachehc/src/test/resources/test.jks -------------------------------------------------------------------------------- /drivers/okhttp/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rackspace/jclouds/master/drivers/okhttp/src/test/resources/test.jks -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/httphealthcheck_patch.json: -------------------------------------------------------------------------------- 1 | {"name":"http-health-check","timeoutSec":0,"unhealthyThreshold":0} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/instance_set_metadata.json: -------------------------------------------------------------------------------- 1 | {"fingerprint":"efgh","items":[{"key":"foo","value":"bar"}]} 2 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/ip_take.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"debug":{"input":{"ipaddress":"46.21.105.186"}}}} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/instance_set_tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "items": [ "foo", "bar" ], 3 | "fingerprint": "efgh" 4 | } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-update.json: -------------------------------------------------------------------------------- 1 | {"ttl":600001,"emailAddress":"everett@jclouds-example.com","comment":"Hello Domain Update"} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/ip_release.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"debug":{"input":{"ipaddress":"31.192.227.37"}}}} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/reconnecthostresponse.json: -------------------------------------------------------------------------------- 1 | { "reconnecthostresponse" : {"warning":"this test data is fabricated","jobid":2036,"id":2017} } -------------------------------------------------------------------------------- /apis/docker/src/test/resources/network-creation.json: -------------------------------------------------------------------------------- 1 | { 2 | "Id": "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30", 3 | "Warning": "" 4 | } -------------------------------------------------------------------------------- /apis/openstack-trove/README.md: -------------------------------------------------------------------------------- 1 | OpenStack Trove 2 | =============== 3 | 4 | Trove is Database as a Service for OpenStack. 5 | 6 | Production ready? 7 | Yes 8 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/instance_root.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "name": "root", 4 | "password": "12345" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/loadbalancer-update.json: -------------------------------------------------------------------------------- 1 | {"loadBalancer":{"name":"foo","protocol":"HTTPS","port":443,"algorithm":"RANDOM"}} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/metadata.json: -------------------------------------------------------------------------------- 1 | {"fingerprint":"efgh","items":[{"key":"propA","value":"valueA"},{"key":"propB","value":"valueB"}]} 2 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/cancelhostmaintenanceresponse.json: -------------------------------------------------------------------------------- 1 | { "cancelhostmaintenanceresponse" : {"warning":"this test data is fabricated","jobid":2036,"id":2017} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getdomainresponse.json: -------------------------------------------------------------------------------- 1 | { "listdomainsresponse" : { "count":1 ,"domain" : [ 2 | {"id":1,"name":"ROOT","level":0,"haschild":true} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/stopvirtualmachineresponse-imageextension.json: -------------------------------------------------------------------------------- 1 | { "stopvirtualmachineresponse" : {"jobid":"a7d5127b-24a2-4a44-a4a7-25a6d057b453"} } 2 | -------------------------------------------------------------------------------- /apis/elasticstack/src/test/resources/uuids.txt: -------------------------------------------------------------------------------- 1 | 7e8ab721-81c9-4cb9-a651-4cafbfe1501c 2 | ea6a8fdb-dab3-4d06-86c2-41a5835e6ed9 3 | 74744450-d338-4087-b3b8-59b505110a57 4 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/role_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "role": { 3 | "id": "r1000", 4 | "name": "jclouds-role" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_grant_simple_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "name": "databaseZ" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/healthmonitor-create.json: -------------------------------------------------------------------------------- 1 | {"healthMonitor":{"type":"CONNECT","delay":3599,"timeout":30,"attemptsBeforeDeactivation":2}} -------------------------------------------------------------------------------- /drivers/joda/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to use Joda (http://joda-time.sourceforge.net/) as a time and date library 3 | # in jclouds. 4 | # 5 | # TODO: Usage example. 6 | -------------------------------------------------------------------------------- /drivers/jsch/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to use JSch (http://www.jcraft.com/jsch/) as the SSH connection provider 3 | # for jclouds. 4 | # 5 | # TODO: Usage example. 6 | -------------------------------------------------------------------------------- /apis/chef/src/test/resources/data_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "users": "http://localhost:4000/data/users", 3 | "applications": "http://localhost:4000/data/applications" 4 | } 5 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listhypervisorsresponse.json: -------------------------------------------------------------------------------- 1 | { "listhypervisorsresponse" : { "hypervisor" : [ {"name":"KVM"}, {"name":"VMware"}, {"name":"XenServer"} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/revokesecuritygroupingressresponse.json: -------------------------------------------------------------------------------- 1 | { "revokesecuritygroupingressresponse" : 2 | {"jobid":"13330fc9-8b3e-4582-aa3e-90883c041010"} } 3 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/floatingippool_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "floating_ip_pools": [ 3 | { 4 | "name": "VLAN867" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/metadata_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": { 3 | "Server Label": "Web Head 1", 4 | "Image Version": "2.1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/sessionpersistence-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "sessionPersistence": { 3 | "persistenceType": "HTTP_COOKIE" 4 | } 5 | } -------------------------------------------------------------------------------- /apis/chef/src/test/resources/roles_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "webserver": "http://localhost:4000/roles/webserver", 3 | "smtpserver": "http://localhost:4000/roles/smtpserver" 4 | } 5 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/authorizesecuritygroupingressresponse.json: -------------------------------------------------------------------------------- 1 | { "authorizesecuritygroupingressresponse" : 2 | {"jobid":"13330fc9-8b3e-4582-aa3e-90883c041010"} } 3 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getzoneresponse.json: -------------------------------------------------------------------------------- 1 | { "listzonesresponse" : { "zone" : [ {"id":1,"name":"San Jose 1","networktype":"Advanced","securitygroupsenabled":false} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/preparehostformaintenanceresponse.json: -------------------------------------------------------------------------------- 1 | { "preparehostformaintenanceresponse" : {"warning":"this test data is fabricated","jobid":2036,"id":2017} } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/records-update.json: -------------------------------------------------------------------------------- 1 | {"records":[{"id":"A-9846146","comment":"Multi-record Update"},{"id":"MX-9846146","comment":"Multi-record Update"}]} 2 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/target_http_proxy_set_url_map.json: -------------------------------------------------------------------------------- 1 | {"urlMap":"https://www.googleapis.com/compute/v1/projects/myproject/global/urlMaps/jclouds-test"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/targetpool_setbackup.json: -------------------------------------------------------------------------------- 1 | {"target":"https://www.googleapis.com/compute/v1/projects/party/regions/us-central1/targetPools/tpool"} -------------------------------------------------------------------------------- /apis/atmos/src/test/resources/error.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1003 4 | The requested object was not found. 5 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getzoneresponse-2.json: -------------------------------------------------------------------------------- 1 | { "listzonesresponse" : { "zone" : [ {"id":2,"name":"Chicago","networktype":"Advanced","securitygroupsenabled":true} ] } } 2 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listzonesresponse_single.json: -------------------------------------------------------------------------------- 1 | { "listzonesresponse" : { "zone" : [ {"id":2,"name":"Chicago","networktype":"Advanced","securitygroupsenabled":true} ] } } -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/database_create_simple_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "name": "testingdb" 5 | } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createtemplateresponse.json: -------------------------------------------------------------------------------- 1 | { "createtemplateresponse" : {"id":"3dc6ce25-a6cf-4d60-a664-3499993b511b","jobid":"4e345230-8fcc-48a3-8a37-c5fe960df671"} } 2 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/limit-types-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "limitTypes": [ 3 | "RATE_LIMIT", 4 | "DOMAIN_LIMIT", 5 | "DOMAIN_RECORD_LIMIT" 6 | ] 7 | } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/connectionthrottle-create.json: -------------------------------------------------------------------------------- 1 | {"connectionThrottle":{"maxConnections":100,"minConnections":10,"maxConnectionRate":100,"rateInterval":100}} -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/metadata-create.json: -------------------------------------------------------------------------------- 1 | {"metadata":[{"key":"os","value":"ubuntu"},{"key":"color","value":"red"},{"key":"label","value":"web-load-balancer"}]} -------------------------------------------------------------------------------- /apis/s3/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds API for Amazon's S3 (http://aws.amazon.com/s3/). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /drivers/apachehc/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to use the Apache HTTP Components Client (http://hc.apache.org/) 3 | # as an encryption library in jclouds. 4 | # 5 | # TODO: Usage example. 6 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/allocate_address.xml: -------------------------------------------------------------------------------- 1 | 2 | 67.202.55.255 3 | -------------------------------------------------------------------------------- /drivers/bouncycastle/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to use the Bouncy Castle Crypto API (http://www.bouncycastle.org/) 3 | # as an encryption library in jclouds. 4 | # 5 | # TODO: Usage example. 6 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/delete_zone.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {}, "job_id": 262989027, "msgs": [{"INFO": "remove: Zone removed", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/logout.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {}, "job_id": 254506373, "msgs": [{"INFO": "logout: Logout successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/gogrid/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for GoGrid (http://www.gogrid.com/). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/forwardingrule_set_target.json: -------------------------------------------------------------------------------- 1 | {"target":"https://www.googleapis.com/compute/v1/projects/party/regions/europe-west1/targetPools/test-target-pool"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/image_insert_from_pd.json: -------------------------------------------------------------------------------- 1 | {"name":"my-image","sourceDisk":"https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/disks/mydisk"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/targetpool_addinstance.json: -------------------------------------------------------------------------------- 1 | {"instances":[{"instance":"https://www.googleapis.com/compute/v1/projects/party/zones/europe-west1-a/instances/test"}]} -------------------------------------------------------------------------------- /apis/filesystem/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds API for accessing a local filesystem as a blobstore. 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-update-email.json: -------------------------------------------------------------------------------- 1 | {"domains":[{"id":3650906,"emailAddress":"everett@jclouds-example.com"},{"id":3650908,"emailAddress":"everett@jclouds-example.com"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disk_insert_ssd.json: -------------------------------------------------------------------------------- 1 | {"name":"testimage1","sizeGb":1,"type":"https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/diskTypes/pd-ssd"} -------------------------------------------------------------------------------- /apis/atmos/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds API for EMC's Atmos Online Storage (http://www.emccis.com/). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createtemplateresponse-imageextension.json: -------------------------------------------------------------------------------- 1 | { "createtemplateresponse" : {"id":"3dc6ce25-a6cf-4d60-a664-3499993b511b","jobid":"4e345230-8fcc-48a3-8a37-c5fe960df671"} } 2 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listcapabilitiesresponse.json: -------------------------------------------------------------------------------- 1 | { "listcapabilitiesresponse" : { "capability" : {"securitygroupsenabled":true,"cloudstackversion":"2.2","userpublictemplateenabled":true} } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createdomainresponse.json: -------------------------------------------------------------------------------- 1 | { "createdomainresponse" : { "domain" : 2 | {"id":10,"name":"test","level":1,"parentdomainid":1,"parentdomainname":"ROOT","haschild":false} } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/updatedomainresponse.json: -------------------------------------------------------------------------------- 1 | { "updatedomainresponse" : { "domain" : 2 | {"id":10,"name":"test-2","level":1,"parentdomainid":1,"parentdomainname":"ROOT","haschild":false} } } -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/quotas.json: -------------------------------------------------------------------------------- 1 | { 2 | "quota_set": { 3 | "gigabytes": 1000, 4 | "volumes": 10, 5 | "snapshots": 20, 6 | "id": "demo" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-update.json: -------------------------------------------------------------------------------- 1 | {"name":"_sip._udp.jclouds-example.com","ttl":86401,"data":"1 3444 sip.jclouds-example.com","priority":12358,"comment":"Updated Protocol to UDP"} 2 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/global_forwarding_rule_setTarget.json: -------------------------------------------------------------------------------- 1 | { 2 | "target": "https://www.googleapis.com/compute/v1/projects/myproject/global/targetHttpProxies/jclouds-test-2" 3 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/targetpool_changehealthcheck.json: -------------------------------------------------------------------------------- 1 | {"healthChecks":[{"healthCheck":"https://www.googleapis.com/compute/v1/projects/party/global/httpHealthChecks/health-check-1"}]} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createsecuritygroupresponse.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { "securitygroup" : 2 | {"id":30,"name":"jclouds-test","account":"adrian","domainid":1,"domain":"ROOT"} 3 | } } 4 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deletetemplateresponse.json: -------------------------------------------------------------------------------- 1 | { "queryasyncjobresultresponse" : {"jobid":118,"jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"success":true}} } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listalertsresponse.json: -------------------------------------------------------------------------------- 1 | { "listalertsresponse" : { "count":1 ,"alert" : [ {"id":20,"type":7,"description":"Failed to deploy Vm with Id: 52","sent":"2011-12-04T10:05:02+0200"} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/registersshkeypairresponse.json: -------------------------------------------------------------------------------- 1 | { "registersshkeypairresponse" : { "keypair" : 2 | {"name":"jclouds-keypair","fingerprint":"8f:f1:91:2d:b1:a8:51:f1:79:cf:c4:31:c4:14:9d:81"} } } -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/session_valid.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {}, "job_id": 254504748, "msgs": [{"INFO": "isalive: User session is still active", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/archive_list.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"archives":[{"username":"xxxxx_test1","sizetotal":"30 GB","sizefree":"20 GB","locked":false}],"debug":{"input":[]}}} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/backend_service_get_health_request.json: -------------------------------------------------------------------------------- 1 | {"group":"https://www.googleapis.com/resourceviews/v1beta1/projects/myproject/zones/us-central1-a/resourceViews/jclouds-test"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/httphealthcheck_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"http-health-check","requestPath":"/","port":80,"checkIntervalSec":5,"timeoutSec":0,"unhealthyThreshold":0,"healthyThreshold":2} -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_role_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "roles": [ 3 | { 4 | "id": "79cada5c02814b57a52e0eed4dd388cb", 5 | "name": "admin" 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/accesslist-create.json: -------------------------------------------------------------------------------- 1 | {"accessList":[{"address":"206.160.163.21","type":"DENY"},{"address":"206.160.165.11","type":"DENY"},{"address":"206.160.163.22","type":"DENY"}]} -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/delete_zone_changes.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {}, "job_id": 275625520, "msgs": [{"INFO": "discard: 0 zone changes discarded", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/target_http_proxy_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jclouds-test", 3 | "urlMap": "https://www.googleapis.com/compute/v1/projects/myproject/global/urlMaps/jclouds-test" 4 | } -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/client_rb_append.sh: -------------------------------------------------------------------------------- 1 | cat >> /etc/chef/client.rb <<-'END_OF_JCLOUDS_FILE' 2 | log_level :info 3 | log_location STDOUT 4 | chef_server_url "http://localhost:4000" 5 | END_OF_JCLOUDS_FILE 6 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listsshkeypairsresponse.json: -------------------------------------------------------------------------------- 1 | { "listsshkeypairsresponse" : { "count":1 ,"sshkeypair" : [ 2 | {"name":"jclouds-keypair","fingerprint":"1c:06:74:52:3b:99:1c:95:5c:04:c2:f4:ba:77:6e:7b"} ] } } -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/server_list.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"servers":[{"serverid":"vz1541880","hostname":"mammamia","datacenter":"Falkenberg","platform":"OpenVZ"}],"arguments":[]}} 2 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/client_rb_overwrite.sh: -------------------------------------------------------------------------------- 1 | cat > /etc/chef/client.rb <<-'END_OF_JCLOUDS_FILE' 2 | log_level :info 3 | log_location STDOUT 4 | chef_server_url "http://localhost:4000" 5 | END_OF_JCLOUDS_FILE 6 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/metadata_updated.json: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": { 3 | "Server Label": "Web Head 2", 4 | "Image Version": "2.1", 5 | "Server Description": "Simple Server" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/xvpvnc_console.json: -------------------------------------------------------------------------------- 1 | { 2 | "console": { 3 | "type": "xvpvnc", 4 | "url": "http://example.com:6081/console?token=2abbe0b2-dcf1-479d-8d58-88e82b477865" 5 | } 6 | } 7 | 8 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_grant_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "name": "databaseC" 5 | }, 6 | { 7 | "name": "databaseD" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_list_access.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "name": "databaseA" 5 | }, 6 | { 7 | "name": "databaseB" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/virtualips-create-response.json: -------------------------------------------------------------------------------- 1 | { 2 | "address": "fd24:f480:ce44:91bc:1af2:15ff:0000:0002", 3 | "id": 9000134, 4 | "type": "PUBLIC", 5 | "ipVersion": "IPV6" 6 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/global_forwarding_rule_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"jclouds-test","target":"https://www.googleapis.com/compute/v1/projects/myproject/global/targetHttpProxies/jclouds-test", "portRange":"80"} -------------------------------------------------------------------------------- /providers/rackspace-clouddatabases-uk/README.md: -------------------------------------------------------------------------------- 1 | Rackspace Cloud Databases UK 2 | ============================ 3 | 4 | The Rackspace deployment of OpenStack Trove, the Database as a Service. 5 | 6 | Production ready? 7 | Yes 8 | -------------------------------------------------------------------------------- /providers/rackspace-clouddatabases-us/README.md: -------------------------------------------------------------------------------- 1 | Rackspace Cloud Databases US 2 | ============================ 3 | 4 | The Rackspace deployment of OpenStack Trove, the Database as a Service. 5 | 6 | Production ready? 7 | Yes 8 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/client_rb_append.cmd: -------------------------------------------------------------------------------- 1 | echo log_level :info >>c:\etc\chef\client.rb 2 | echo log_location STDOUT >>c:\etc\chef\client.rb 3 | echo chef_server_url "http://localhost:4000" >>c:\etc\chef\client.rb 4 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/availability_zones_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "availabilityZoneInfo": [{ 3 | "zoneState": { 4 | "available": true 5 | }, 6 | "zoneName": "nova" 7 | }] 8 | } 9 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/server_console.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"console":{"host":"79.99.2.147","port":"59478","protocol":"vnc","password":"1476897311"},"debug":{"input":{"serverid":"vz1842554"}}}} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/deployvirtualmachineresponse4x.json: -------------------------------------------------------------------------------- 1 | { "deployvirtualmachineresponse" : {"id":"1cce6cb7-2268-47ff-9696-d9e610f6619a","jobid":"13330fc9-8b3e-4582-aa3e-90883c041ff0"}, "cloudstack-version": "4.1.0-SNAPSHOT" } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/delete_keypair.xml: -------------------------------------------------------------------------------- 1 | 2 | d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE 3 | true 4 | -------------------------------------------------------------------------------- /apis/elasticstack/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds API for ElasticHosts' Cloud Servers API (http://www.elastichosts.com/cloud-hosting/api/). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/volume_create.json: -------------------------------------------------------------------------------- 1 | { 2 | "volume": { 3 | "display_name": "jclouds-test-volume", 4 | "display_description": "description of test volume", 5 | "size": 1 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "id": "u1000", 4 | "name": "jqsmith", 5 | "email": "john.smith@example.org", 6 | "enabled": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/hosts_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosts": [ 3 | { 4 | "zone": "nova", 5 | "host_name": "ubuntu", 6 | "service": "compute" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /drivers/log4j/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to use Log4j (http://logging.apache.org/log4j/) as the logging provider 3 | # for jclouds. 4 | # 5 | # Expects log4j to be present on your application's classpath. 6 | # 7 | # TODO: Usage example. 8 | -------------------------------------------------------------------------------- /providers/elastichosts-hkg-e/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Hong Kong ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # -------------------------------------------------------------------------------- /providers/elastichosts-sjc-c/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' San Jose ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # -------------------------------------------------------------------------------- /providers/elastichosts-syd-v/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Sydney ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/forwardingrule_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "test-forwarding-rule", 3 | "target": "https://www.googleapis.com/compute/v1/projects/party/regions/europe-west1/targetPools/test-target-pool" 4 | } -------------------------------------------------------------------------------- /apis/chef/src/test/resources/clients_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "chef-webui": "http://localhost:4000/clients/chef-webui", 3 | "chef-validator": "http://localhost:4000/clients/chef-validator", 4 | "adam": "http://localhost:4000/clients/adam" 5 | } 6 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/tenant_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenant": { 3 | "enabled": true, 4 | "description": null, 5 | "name": "admin", 6 | "id": "013ba41150a14830bec85ffe93353bcc" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/healthmonitor-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "healthMonitor": { 3 | "type": "CONNECT", 4 | "delay": 3599, 5 | "timeout": 30, 6 | "attemptsBeforeDeactivation": 2 7 | } 8 | } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/report-loadbalancerstats-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "connectTimeOut": 2, 3 | "connectError": 0, 4 | "connectFailure": 0, 5 | "dataTimedOut": 10, 6 | "keepAliveTimedOut": 0, 7 | "maxConn": 22 8 | } -------------------------------------------------------------------------------- /compute/src/test/resources/operatingsystemsection.xml: -------------------------------------------------------------------------------- 1 | 2 | Specifies the operating system installed 3 | Microsoft Windows Server 2008 4 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/create_session.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"token": "FFFFFFFFFF", "version": "3.3.8"}, "job_id": 254417252, "msgs": [{"INFO": "login: Login successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/archive_details.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"details":{"username":"xxxxxx_test1","sizetotal":"30 GB","sizefree":"30 GB","locked":false},"debug":{"input":{"username":"xxxxxx_test1"}}}} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/rrpool_created.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 060339AA04175655 4 | 5 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/tcpool_created.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 060339AA0417567A 4 | 5 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getsecuritygroupresponse_extension_byid_empty.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { "securitygroup" : [ {"id":13,"name":"default","description":"description","account":"adrian","domainid":1,"domain":"ROOT"} ] } } -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/instance_create_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "instance":{ 3 | "name":"json_rack_instance", 4 | "volume":{ 5 | "size":2 6 | }, 7 | "flavorRef":"1" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/loadbalancer-get-deleted.json: -------------------------------------------------------------------------------- 1 | {"loadBalancer":{"name":"adriancole-LON","id":4865,"status":"DELETED","created":{"time":"2011-12-05T18:03:23Z"},"updated":{"time":"2011-12-05T18:04:04Z"},"nodeCount":0}} -------------------------------------------------------------------------------- /drivers/gae/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # A driver to run jclouds on Google App Engine (http://code.google.com/appengine/). 3 | # 4 | # Expects the joda-time JAR (see drivers/joda) to be present on your application's classpath. 5 | # 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /providers/azureblob/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for Windows Azure's Storage (http://www.microsoft.com/windowsazure/storage/default.aspx). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /providers/elastichosts-ams-e/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Amsterdam ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | 7 | -------------------------------------------------------------------------------- /providers/elastichosts-dal-a/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Dallas ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | 7 | -------------------------------------------------------------------------------- /providers/elastichosts-mmi-a/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Miami ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | 7 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/tenant_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenant": { 3 | "id": "t1000", 4 | "name": "jclouds-tenant", 5 | "description": "jclouds-description", 6 | "enabled": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_update_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "id": "u1000", 4 | "name": "jqsmith-renamed", 5 | "email": "john.smith.renamed@example.org", 6 | "enabled": false 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-create.json: -------------------------------------------------------------------------------- 1 | {"records":[{"name":"jclouds-example.com","type":"MX","data":"mail.jclouds-example.com","comment":"MX Record","priority":11235},{"name":"jclouds-example.com","type":"A","data":"10.0.0.1"}]} 2 | -------------------------------------------------------------------------------- /apis/s3/src/test/resources/copy_object.xml: -------------------------------------------------------------------------------- 1 | 2 | 2009-03-19T13:23:27.000Z 3 | "92836a3ea45a6984d1b4d23a747d46bb" 4 | 5 | -------------------------------------------------------------------------------- /apis/cloudwatch/src/test/resources/VoidResponse.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | a9f8f3a3-e40f-11dd-af0f-cf11f65ec49d 4 | 5 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/delete_placementgroup.xml: -------------------------------------------------------------------------------- 1 | 2 | d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE 3 | true 4 | -------------------------------------------------------------------------------- /apis/elasticstack/src/test/resources/drive_data.txt: -------------------------------------------------------------------------------- 1 | name Ubuntu 10.10 Server Edition Linux 64bit Preinstalled System 2 | size 8589934592 3 | claim:type shared 4 | readers ffffffff-ffff-ffff-ffff-ffffffffffff 5 | tags tag1 tag2 6 | user:foo bar 7 | user:baz raz -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/attachment_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "volumeAttachment": { 3 | "device": "/dev/vdc", 4 | "serverId": "b4785058-cb80-491b-baa3-e4ee6546450e", 5 | "id": 1, 6 | "volumeId": 1 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/virtual_interfaces_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "virtual_interfaces": [ 3 | { 4 | "id": "02315827-b05c-4668-9c05-75c68838074a", 5 | "mac_address": "fa:16:3e:09:71:34" 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /common/openstack/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for Rackspace (http://www.rackspace.com/). 3 | # 4 | # TODO: Implementation status. 5 | # TODO: Supported features. 6 | # See http://code.google.com/p/jclouds/wiki/QuickStartRackspace for example usage. 7 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/domain_list.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"text":"OK"},"domains":[{"domainname":"testglesys.jclouds.org","createtime":"2012-01-31T12:19:03+01:00","recordcount":9,"usingglesysnameserver":"no"}],"debug":{"input":[]}}} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/image_insert.json: -------------------------------------------------------------------------------- 1 | {"sourceType": "RAW", "rawDisk": { 2 | "source": "https://storage.googleapis.com/mybuket/myimage.image.tar.gz", 3 | "containerType": "TAR" 4 | }, "kind": "compute#image", "name": "myimage"} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/license_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#license", 3 | "selfLink": "https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-12", 4 | "name": "sles-12", 5 | "chargesUseFee": true 6 | } -------------------------------------------------------------------------------- /apis/chef/src/test/resources/nodes_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "blah": "https://api.opscode.com/org/directory/nodes/blah", 3 | "boxer": "https://api.opscode.com/org/directory/nodes/boxer", 4 | "blarrrrgh": "https://api.opscode.com/org/directory/nodes/blarrrrgh" 5 | } 6 | -------------------------------------------------------------------------------- /apis/docker/src/test/resources/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "ApiVersion": "1.15", 3 | "Arch": "amd64", 4 | "GitCommit": "c78088f", 5 | "GoVersion": "go1.3.3", 6 | "KernelVersion": "3.16.4-tinycore64", 7 | "Os": "linux", 8 | "Version": "1.3.0" 9 | } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/delete_securitygroup.xml: -------------------------------------------------------------------------------- 1 | 2 | 59dbff89-35bd-4eac-99ed-be587EXAMPLE 3 | true 4 | 5 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/floatingip_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "floating_ip": { 3 | "id": 1, 4 | "ip": "10.0.0.3", 5 | "fixed_ip": "10.0.0.2", 6 | "instance_id": 123, 7 | "pool": "nova" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/connectionthrottle-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "connectionThrottle": { 3 | "maxConnections": 100, 4 | "minConnections": 10, 5 | "maxConnectionRate": 100, 6 | "rateInterval": 100 7 | } 8 | } -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/flavor_new.json: -------------------------------------------------------------------------------- 1 | { 2 | "flavor": { 3 | "id": "1cb47a44-9b84-4da4-bf81-c1976e8414ab", 4 | "name": "128 MB Server", 5 | "ram": 128, 6 | "disk": 10, 7 | "vcpus": 1 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/client_rb_overwrite.cmd: -------------------------------------------------------------------------------- 1 | copy /y CON c:\etc\chef\client.rb 2 | echo log_level :info >>c:\etc\chef\client.rb 3 | echo log_location STDOUT >>c:\etc\chef\client.rb 4 | echo chef_server_url "http://localhost:4000" >>c:\etc\chef\client.rb 5 | -------------------------------------------------------------------------------- /skeletons/standalone-compute/README.txt: -------------------------------------------------------------------------------- 1 | this is a skeleton for a standalone compute provider. 2 | 3 | Essentially, a standalone provider is one that doesn't use jclouds http services. Examples could be native drivers like libvirt or shell-driven ones like virtualbox. 4 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/tenant_update_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenant": { 3 | "id": "t1000", 4 | "name": "jclouds-tenant-modified", 5 | "description": "jclouds-description-modified", 6 | "enabled": false 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/rdp_console.json: -------------------------------------------------------------------------------- 1 | { 2 | "console": { 3 | "type": "rdp-html5", 4 | "url": "http://example.com:6083/?token=f9906a48-b71e-4f18-baca-c987da3ebdb3&title=dafa(75ecef58-3b8e-4659-ab3b-5501454188e9)" 5 | } 6 | } 7 | 8 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listdomainsresponse.json: -------------------------------------------------------------------------------- 1 | { "listdomainsresponse" : { "count":2 ,"domain" : [ 2 | {"id":1,"name":"ROOT","level":0,"haschild":true}, 3 | {"id":2,"name":"jclouds1","level":1,"parentdomainid":1,"parentdomainname":"ROOT","haschild":false} ] } } -------------------------------------------------------------------------------- /apis/elasticstack/src/test/resources/standard_drive.txt: -------------------------------------------------------------------------------- 1 | claim:type shared 2 | drive 11b84345-7169-4279-8038-18d6ba1a7712 3 | format gzip 4 | media disk 5 | name Windows Web Server 2008 R2 6 | rawsize 11811160064 7 | readers ffffffff-ffff-ffff-ffff-ffffffffffff 8 | size 4743757824 -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/database_create_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "character_set": "utf8", 5 | "collate": "utf8_general_ci", 6 | "name": "testingdb" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getfirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "listfirewallrulesresponse" : { "count":1 ,"firewallrule" : [ 2 | {"id":2017,"protocol":"tcp","startport":"30","endport":"35","ipaddressid":2,"ipaddress":"10.27.27.51","state":"Active","cidrlist":"0.0.0.0/0"} ] } } -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/novnc_console.json: -------------------------------------------------------------------------------- 1 | { 2 | "console": { 3 | "type": "novnc", 4 | "url": "http://example.com:6080/vnc_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3&title=dafa(75ecef58-3b8e-4659-ab3b-5501454188e9)" 5 | } 6 | } 7 | 8 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-import.json: -------------------------------------------------------------------------------- 1 | {"domains":[{"contentType":"BIND_9","contents":"jclouds-example.com. 3600 IN SOA ns.rackspace.com. jclouds.jclouds-example.com. 1363882703 3600 3600 3600 3600\njclouds-example.com. 600 IN A 50.56.174.152"}]} -------------------------------------------------------------------------------- /drivers/enterprise/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Sets up most commonly requested options for enterprise Java support. 3 | # 4 | # Expects the joda-time and bcprov JARs (see drivers/joda and drivers/bouncycastle) to be present on your application's classpath. 5 | # 6 | # TODO: Usage example. 7 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/image_list_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#imageList", 3 | "id": "projects/debian-cloud/global/images", 4 | "selfLink": "https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images", 5 | "items": [ ] 6 | } 7 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createpodresponse.json: -------------------------------------------------------------------------------- 1 | { "createpodresponse" : { "pod" : {"id":6,"name":"richard-pod","zoneid":10,"zonename":"richard-zone","gateway":"172.20.0.254","netmask":"255.255.255.0","startip":"172.20.0.1","endip":"172.20.0.250","allocationstate":"Enabled"} } } -------------------------------------------------------------------------------- /apis/elasticstack/src/test/resources/create_server.txt: -------------------------------------------------------------------------------- 1 | name TestServer 2 | cpu 2000 3 | smp auto 4 | mem 1024 5 | persistent false 6 | boot ide:0:0 7 | ide:0:0 08c92dd5-70a0-4f51-83d2-835919d254df 8 | ide:0:0:media disk 9 | nic:0:model e1000 10 | vnc:ip auto 11 | password XXXXXXXX -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/hypervisor_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "hypervisors": [ 3 | { 4 | "id": 1, 5 | "hypervisor_hostname": "os-compute1" 6 | }, 7 | { 8 | "id": 4, 9 | "hypervisor_hostname": "os-compute02" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/spice_console.json: -------------------------------------------------------------------------------- 1 | { 2 | "console": { 3 | "type": "spice-html5", 4 | "url": "http://example.com:6080/spice_auto.html?token=f9906a48-b71e-4f18-baca-c987da3ebdb3&title=dafa(75ecef58-3b8e-4659-ab3b-5501454188e9)" 5 | } 6 | } 7 | 8 | -------------------------------------------------------------------------------- /apis/sts/src/test/resources/error.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | NoSuchKey 4 | The resource you requested does not exist 5 | /mybucket/myfoto.jpg 6 | 4442587FB7D0A2F9 7 | -------------------------------------------------------------------------------- /providers/aws-s3/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for Amazon's S3 (http://aws.amazon.com/s3/). 3 | # 4 | # Expects the jclouds s3 API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_zone.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone_type": "Primary", "serial_style": "increment", "serial": 5, "zone": "jclouds.org"}, "job_id": 260737493, "msgs": [{"INFO": "get: Your zone, jclouds.org", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/instance_serial_port.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#serialPortOutput", 3 | "contents": "console output", 4 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/instances/test-instance/serialPort" 5 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getegressfirewallrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "listegressfirewallrulesresponse" : { "count":1 ,"firewallrule" : [ 2 | {"id":2017,"protocol":"tcp","startport":"30","endport":"35","ipaddressid":2,"ipaddress":"10.27.27.51","state":"Active","cidrlist":"0.0.0.0/0"} ] } } -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/service_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "OS-KSADM:service": { 3 | "id": "s1000", 4 | "type": "jclouds-service-type", 5 | "name": "jclouds-service-test", 6 | "description": "jclouds-service-description" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/securitygroup_created.json: -------------------------------------------------------------------------------- 1 | { 2 | "security_group": { 3 | "rules": [], 4 | "tenant_id": "dev_16767499955063", 5 | "id": 160, 6 | "name": "jclouds-test", 7 | "description": "jclouds-test" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/securitygroup_details_extension_norules.json: -------------------------------------------------------------------------------- 1 | { 2 | "security_group": { 3 | "rules": [], 4 | "tenant_id": "tenant0", 5 | "id": 160, 6 | "name": "name0", 7 | "description": "description0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/nodes-add.json: -------------------------------------------------------------------------------- 1 | {"nodes":[{"address":"10.1.1.1","port":80,"condition":"ENABLED","weight":3},{"address":"10.1.1.2","port":80,"condition":"ENABLED","type":"SECONDARY","weight":8},{"address":"10.1.1.3","port":80,"condition":"DISABLED","weight":12}]} -------------------------------------------------------------------------------- /providers/aws-ec2/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for Amazon's EC2 (http://aws.amazon.com/ec2/). 3 | # 4 | # Expects the jclouds ec2 API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /apis/byon/src/test/resources/testkey.txt: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEowIBAAKCAQEAuzaE6azgUxwESX1rCGdJ5xpdrc1XC311bOGZBCE8NA+CpFh2 3 | u01Vfv68NC4u6LFgdXSY1vQt6hiA5TNqQk0TyVfFAunbXgTekF6XqDPQUf1nq9aZ 4 | lMvo4vlaLDKBkhG5HJE/pIa0iB+RMZLS0GhxsIWerEDmYdHKM25o 5 | -----END RSA PRIVATE KEY----- -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/updatepodresponse.json: -------------------------------------------------------------------------------- 1 | { "updatepodresponse" : { "pod" : {"id":7,"name":"richard-updatedpod","zoneid":11,"zonename":"richard-zone","gateway":"172.21.0.254","netmask":"255.255.255.128","startip":"172.21.0.129","endip":"172.21.0.250","allocationstate":"Disabled"} } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/authorize_securitygroup_ingress_response.xml: -------------------------------------------------------------------------------- 1 | 2 | 9b6a9df1-bc19-4e56-9d11-7f8382538667 3 | true 4 | -------------------------------------------------------------------------------- /apis/openstack-swift/src/test/resources/container_list.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "test_container_1", 4 | "count": 2, 5 | "bytes": 78 6 | }, 7 | { 8 | "name": "test_container_2", 9 | "count": 1, 10 | "bytes": 17 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/list_zones.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": ["/REST/Zone/0.0.0.0.d.6.e.0.0.a.2.ip6.arpa/", "/REST/Zone/126.12.44.in-addr.arpa/", "/REST/Zone/jclouds.org/"], "job_id": 260657587, "msgs": [{"INFO": "get: Your 3 zones", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/list_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#forwardingRuleList", 3 | "id": "projects/jclouds-dev/regions/asia-east1/forwardingRules", 4 | "selfLink": "https://www.googleapis.com/compute/v1/projects/jclouds-dev/regions/asia-east1/forwardingRules" 5 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/target_instance_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "test-target-instance", 3 | "description": "This is a test", 4 | "natPolicy": "NO_NAT", 5 | "instance": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/instances/instance-1" 6 | } -------------------------------------------------------------------------------- /providers/softlayer/src/test/resources/virtual_guest_get_filtered.json: -------------------------------------------------------------------------------- 1 | { 2 | "primaryBackendNetworkComponent": { 3 | "networkId" : 123456, 4 | "networkVlan": { 5 | "id": 1234, 6 | "name": "abc" 7 | } 8 | }, 9 | "id": 3001812 10 | } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jclouds-example.com", 3 | "id": "A-9846146", 4 | "type": "A", 5 | "data": "10.0.1.0", 6 | "ttl": 60000, 7 | "updated": "2013-04-06T15:20:29.000+0000", 8 | "created": "2013-04-06T15:20:29.000+0000" 9 | } 10 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/snapshot_create.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshot": { 3 | "display_name": "jclouds-test-snapshot", 4 | "volume_id": "ea6f70ef-2784-40b9-9d14-d7f33c507c3f", 5 | "display_description": "jclouds test snapshot", 6 | "force": "true" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/attachment_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "volumeAttachments": [ 3 | { 4 | "device": "/dev/vdc", 5 | "serverId": "b4785058-cb80-491b-baa3-e4ee6546450e", 6 | "id": 1, 7 | "volumeId": 1 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /providers/aws-ec2/src/test/resources/describe_instances_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 440faed2-0331-488d-a04d-d8c9aba85307 4 | 5 | 6 | -------------------------------------------------------------------------------- /providers/digitalocean2/src/test/resources/ssh-ecdsa.pub: -------------------------------------------------------------------------------- 1 | ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBACeO2+Ci8Aw76SDF1FJyrwAp2fUhNeIgkP7G2x0SvF/yvZarOkZbCg1MAav3JobuqYZEA4GbLnoT2UK9OBAenucTgHXhEX91mQaFWe3pKqroealb7Vc059za+h6b6IfzONNhyXGpCVYlh6tUdq8y1nhGjMzIsUrma+hA1+ERJGFfGDLgA== 2 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/loginresponse.json: -------------------------------------------------------------------------------- 1 | { "loginresponse" : { "timeout" : "1800", "lastname" : "Kiran", "registered" : "false", "username" : "jclouds", "firstname" : "Vijay", "domainid" : "11", "type" : "2", "userid" : "19", "sessionkey" : "uYT4/MNiglgAKiZRQkvV8QP8gn0=", "account" : "jclouds" } } 2 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/registeruserkeysresponse.json: -------------------------------------------------------------------------------- 1 | { "registeruserkeysresponse" : { "userkeys" : {"apikey":"5nn6IAQ-0BYuAKTu45rf49VsyX0rg9t48TpY8NKsduE5t-_1_g_AU8ZjP3OJvVdlzWKL3Lgfa6_nkC9hU6NyQQ","secretkey":"GSCDYzj65CiSkxzCJxlFvcF52qglM7HbuG6QL7zYVeWVhVO8GnW85wGTBBuZ3xpzEN_UfKnsORvrNszYQ1ofAw"} } } -------------------------------------------------------------------------------- /apis/elasticstack/src/test/resources/create_drive.txt: -------------------------------------------------------------------------------- 1 | name Ubuntu 10.10 Server Edition Linux 64bit Preinstalled System 2 | size 8589934592 3 | claim:type shared 4 | readers ffffffff-ffff-ffff-ffff-ffffffffffff 5 | tags tag1 tag2 6 | user:foo bar 7 | user:baz raz 8 | avoid avoid1 9 | encryption:cipher aes-xts-plain -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-ptr-get.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jclouds-example.com", 3 | "id": "PTR-557437", 4 | "type": "PTR", 5 | "data": "166.78.146.80", 6 | "ttl": 11235, 7 | "updated": "2013-04-11T15:35:34.000+0000", 8 | "created": "2013-04-11T15:35:34.000+0000" 9 | } 10 | -------------------------------------------------------------------------------- /providers/aws-ec2/src/test/resources/describe_placement_groups_empty.xml: -------------------------------------------------------------------------------- 1 | 2 | d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE 3 | 4 | 5 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "name": "nova", 4 | "enabled": true, 5 | "email": "nova@example.com", 6 | "id": "e021dfd758eb44a89f1c57c8ef3be8e2", 7 | "tenantId": "ab1da202f5774cceb5da2aeff1f0aa87" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_password_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "users": [ 3 | { 4 | "name": "dbuser1", 5 | "password": "newpassword" 6 | }, 7 | { 8 | "name": "dbuser2", 9 | "password": "anotherpassword" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/instance_list_central1b_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#instanceList", 3 | "id": "projects/party/zones/us-central1-b/instances", 4 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-b/instances", 5 | "items": [ ] 6 | } 7 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getvmpasswordresponse.json: -------------------------------------------------------------------------------- 1 | { "getvmpasswordresponse" : { "password" : 2 | {"encryptedpassword":"EFOwm8icZ4sEib4y6ntVHUKHZJQrGBdyPkL1L9lpFHYhs3JfAtL5E5bxBP5Er27bJyOZPjKFcInX\r\npQ0LZlQBZDd5/ac0NSoM6tAX3H30pYxNw4t2f9u8aJ48oOEvufgGxTTHnM9qHXD04lt+Ouql6i2q\r\nHxBqCxFkMZEla3LFieE=\r\n"} } } -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/loadbalancer-create.json: -------------------------------------------------------------------------------- 1 | {"loadBalancer":{"virtualIps":[{"type":"PUBLIC"}],"name":"sample-loadbalancer","protocol":"HTTP","port":80,"algorithm":"RANDOM","nodes":[{"address":"10.1.1.1","port":80,"condition":"ENABLED"},{"address":"10.1.1.2","port":80,"condition":"ENABLED"}]}} -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_a.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "egg.org", "record_type": "A", "rdata": {"address": "1.1.1.1"}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/backend_service_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jclouds-test", 3 | "healthChecks": [ 4 | "https://www.googleapis.com/compute/v1/projects/myproject/global/httpHealthChecks/jclouds-test" 5 | ], 6 | "timeoutSec": 30, 7 | "port": 80, 8 | "protocol": "HTTP" 9 | } -------------------------------------------------------------------------------- /providers/openhosting-east1/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for Open Hosting's ElasticStack (http://openhosting.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/serverlove-z1-man/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for serverlove's ElasticStack (http://www.serverlove.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/skalicloud-sdg-my/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for SKALI Cloud's ElasticStack (http://www.skalicloud.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /apis/cloudwatch/src/test/resources/InvalidFormatResponse.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | InvalidFormat 5 | Data was not syntactically valid JSON. 6 | 7 | 8 | a9f8f3a3-e40f-11dd-af0f-cf11f65ec49d 9 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "name": "exampleuser", 4 | "host": "%", 5 | "databases": [ 6 | { 7 | "name": "databaseA" 8 | }, 9 | { 10 | "name": "databaseB" 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-ptr-update.json: -------------------------------------------------------------------------------- 1 | {"recordsList":{"records":[{"id":"PTR-557437","name":"jclouds-example.com","ttl":12358,"data":"166.78.146.80"}]},"link":{"href":"https://dfw.servers.api.rackspacecloud.com/v2/123123/servers/f5fb9334-b4f0-49d0-a2cc-57a5772dc7d1","rel":"cloudServersOpenStack"}} 2 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/session_invalid.json: -------------------------------------------------------------------------------- 1 | {"status": "failure", "data": {}, "job_id": 254505048, "msgs": [{"INFO": "login: Bad or expired credentials", "SOURCE": "BLL", "ERR_CD": "INVALID_DATA", "LVL": "ERROR"}, {"INFO": "login: There was a problem with your credentials", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_ns.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "egg.org", "record_type": "NS", "rdata": {"nsdname": "ns4.p28.dynect.net."}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getsecuritygroupresponse_extension_byid_with_cidr.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { "securitygroup" : [ {"id":13,"name":"default","description":"description","account":"adrian","domainid":1,"domain":"ROOT","ingressrule":[{"ruleid":6,"protocol":"udp","startport":11,"endport":11,"cidr":"1.1.1.1/24"}]} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listdomainchildrenresponse.json: -------------------------------------------------------------------------------- 1 | { "listdomainchildrenresponse" : { "count":2 ,"domain" : [ 2 | {"id":2,"name":"jclouds1","level":1,"parentdomainid":1,"parentdomainname":"ROOT","haschild":false}, 3 | {"id":3,"name":"jclouds2","level":1,"parentdomainid":1,"parentdomainname":"ROOT","haschild":false} ] } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/created_securitygroup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8bf8a888-33af-459a-8424-13d4da0c2341 4 | true 5 | sg-3c6ef654 6 | -------------------------------------------------------------------------------- /apis/sts/src/test/resources/credentials.xml: -------------------------------------------------------------------------------- 1 | 2 | AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT 3 | wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY 4 | 2011-07-11T19:55:29.611Z 5 | AKIAIOSFODNN7EXAMPLE 6 | -------------------------------------------------------------------------------- /providers/digitalocean2/src/test/resources/droplet-create-req.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "digitalocean2-s-d5e", 3 | "region": "sfo1", 4 | "size": "512mb", 5 | "image": "6374124", 6 | "ssh_keys": [ 7 | 421192 8 | ], 9 | "backups": false, 10 | "ipv6": false, 11 | "private_networking": false 12 | } 13 | -------------------------------------------------------------------------------- /providers/elastichosts-lon-b/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Peer1 London ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/elastichosts-tor-p/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Peer1 Toronto ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/softlayer/src/test/resources/virtual_guest_create.json: -------------------------------------------------------------------------------- 1 | {"parameters":[{"hostname":"host1","domain":"example.com","startCpus":1,"maxMemory":1024,"hourlyBillingFlag":false,"localDiskFlag":true,"dedicatedAccountHostOnlyFlag":false,"privateNetworkOnlyFlag":false,"operatingSystemReferenceCode":"UBUNTU_LATEST","datacenter":{"name":"test"}}]} -------------------------------------------------------------------------------- /apis/chef/src/test/resources/group.json: -------------------------------------------------------------------------------- 1 | { 2 | "actors" : [ "abiquo", 3 | "nacx", 4 | "pivotal" 5 | ], 6 | "clients" : [ "abiquo" ], 7 | "groupname" : "admins", 8 | "groups" : [ "billing-admins" ], 9 | "name" : "admins", 10 | "orgname" : "nacx", 11 | "users" : [ "nacx", 12 | "pivotal" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /apis/chef/src/test/resources/node.json: -------------------------------------------------------------------------------- 1 | { "automatic" : { }, 2 | "chef_environment" : "prod", 3 | "chef_type" : "node", 4 | "default" : { }, 5 | "json_class" : "Chef::Node", 6 | "name" : "adrian-jcloudstest", 7 | "normal" : { "tomcat6" : { "ssl_port" : 8433 } }, 8 | "override" : { }, 9 | "run_list" : [ "recipe[java]" ] 10 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/addclusterresponse.json: -------------------------------------------------------------------------------- 1 | { "addclusterresponse" : { "cluster" : {"warning":"this test data is fabricated","id":1,"name":"Xen Clust 1","podid":1,"podname":"Dev Pod 1","zoneid":1,"zonename":"Dev Zone 1","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed"} } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/updateconfigurationsresponse.json: -------------------------------------------------------------------------------- 1 | { "updateconfigurationresponse" : { "configuration" : 2 | {"category":"Advanced","name":"expunge.delay","value":"11","description":"Determines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval"} } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/attach.xml: -------------------------------------------------------------------------------- 1 | 2 | vol-4d826724 3 | i-6058a509 4 | /dev/sdh 5 | attaching 6 | 2008-05-07T11:51:50.000Z 7 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_aaaa.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "egg.org", "record_type": "AAAA", "rdata": {"address": "2406:bbbb:ff00::6b14:aaaa"}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/elastichosts-lax-p/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Peer1 Los Angeles ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/elastichosts-lon-p/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' BlueSquare London ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /providers/elastichosts-sat-p/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # The jclouds provider for ElasticHosts' Peer1 San Antonio ElasticStack (http://www.elastichosts.com/). 3 | # 4 | # Expects the jclouds elasticstack API to be present on your application's classpath. 5 | # 6 | # TODO: Implementation status. 7 | # TODO: Supported features. 8 | # TODO: Usage example. 9 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/test_env.sh: -------------------------------------------------------------------------------- 1 | # Env file: please do not confuse people by making this executable 2 | # 3 | # Example usage to set a variable 4 | # 5 | # export MAVEN_OPTS="-Xms64m -Xmx128m" 6 | 7 | export JAVA_HOME="/apps/jdk1.6" 8 | 9 | # Please retain this statement so that the script can be validated 10 | return 0 11 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/updateclusterresponse.json: -------------------------------------------------------------------------------- 1 | { "updateclusterresponse" : { "cluster" : {"warning":"this test data is fabricated","id":1,"name":"Xen Clust 1","podid":1,"podname":"Dev Pod 1","zoneid":1,"zonename":"Dev Zone 1","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed"} } } -------------------------------------------------------------------------------- /apis/cloudwatch/src/test/resources/LimitExceededResponse.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | LimitExceeded 5 | The quota for alarms for this customer has already been reached. 6 | 7 | 8 | a9f8f3a3-e40f-11dd-af0f-cf11f65ec49d 9 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_addresses_single.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-f15ebb98 5 | 67.202.55.255 6 | 7 | 8 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_get_withhost.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "name": "example.user", 4 | "host": "192.168.64.64", 5 | "databases": [ 6 | { 7 | "name": "databaseA" 8 | }, 9 | { 10 | "name": "databaseB" 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_mx.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "egg.org", "record_type": "MX", "rdata": {"preference": 10, "exchange": "mail.egg.org."}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/domain_details.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"timestamp":"2012-06-24T11:52:49+02:00","text":"Domain added"},"domain":{"domainname":"cl13016-domain.jclouds.org","createtime":"2012-06-24T11:52:49+02:00","recordcount":9,"usingglesysnameserver":"no"},"debug":{"input":{"domainname":"cl13016-domain.jclouds.org"}}}} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/zone_deleted.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_keypairs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | gsg-keypair 5 | 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f 6 | 7 | 8 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_create_simple_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "users":[ 3 | { 4 | "databases":[ 5 | { 6 | "name":"databaseA" 7 | } 8 | ], 9 | "name":"dbuser1", 10 | "password":"password" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apis/route53/src/test/resources/change.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | /change/C2682N5HXP0BZ4 5 | INSYNC 6 | 2011-09-10T01:36:41.958Z 7 | 8 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/delete_record.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {}, "job_id": 285372457, "msgs": [{"INFO": "delete: Record will be deleted on zone publish", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}, {"INFO": "remove_node: www.adriancole.zone.dynecttest.jclouds.org removed from tree.", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createzoneresponse.json: -------------------------------------------------------------------------------- 1 | { "createzoneresponse" : { "zone" : 2 | {"id":6,"name":"test-zone","dns1":"8.8.8.8","internaldns1":"10.10.10.10","networktype":"Basic", 3 | "securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"7b6e27df-30a6-3024-9d8b-7971a3127f64", 4 | "dhcpprovider":"DhcpServer"} } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listloadbalancerrulesresponse.json: -------------------------------------------------------------------------------- 1 | { "listloadbalancerrulesresponse" : { "count":1 ,"loadbalancerrule" : [ 2 | {"id":93,"name":"Ranny","publicipid":10,"publicip":"10.27.27.59","publicport":"80","privateport":"80","algorithm":"roundrobin","cidrlist":"","account":"admin","domainid":1,"domain":"ROOT","state":"Add","zoneid":1} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/updatezoneresponse.json: -------------------------------------------------------------------------------- 1 | { "updatezoneresponse" : { "zone" : 2 | {"id":6,"name":"test-zone","dns1":"8.8.8.8","internaldns1":"10.10.10.10","networktype":"Basic", 3 | "securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"7b6e27df-30a6-3024-9d8b-7971a3127f64", 4 | "dhcpprovider":"DhcpServer"} } } -------------------------------------------------------------------------------- /apis/sqs/src/test/resources/get_queue_url.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://sqs.us-east-1.amazonaws.com/123456789012/testQueue 4 | 5 | 6 | 470a6f13-2ed9-4181-ad8a-2fdea142988e 7 | 8 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/image_deprecate.json: -------------------------------------------------------------------------------- 1 | { 2 | "state": "DEPRECATED", 3 | "replacement": "https://www.googleapis.com/compute/v1/projects/centos-cloud/global/images/centos-6-2-v20120326test", 4 | "deprecated": "2014-07-16T22:16:13.468Z", 5 | "obsolete": "2014-10-16T22:16:13.468Z", 6 | "deleted": "2015-01-16T22:16:13.468Z" 7 | } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/job.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "RUNNING", 3 | "verb": "GET", 4 | "jobId": "bfbd6ec8-5d4c-49f8-97b5-aa5bfd3e95a4", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/status/bfbd6ec8-5d4c-49f8-97b5-aa5bfd3e95a4", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/domains/3650883/export" 7 | } 8 | -------------------------------------------------------------------------------- /apis/s3/src/test/resources/initiate-multipart-upload.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | example-bucket 4 | example-object 5 | VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA 6 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_cname.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "egg.org", "record_type": "CNAME", "rdata": {"cname": "prod-LB-359594650.us-east-1.elb.amazonaws.com."}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/poolrecord_updated.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/rr_deleted.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/rr_updated.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/tcrecord_deleted.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/test_env.cmd: -------------------------------------------------------------------------------- 1 | @rem Env file: please do not confuse people by making this executable 2 | @rem 3 | @rem Example usage to set a variable 4 | @rem 5 | @rem set MAVEN_OPTS=-Xms64m -Xmx128m 6 | 7 | set JAVA_HOME=/apps/jdk1.6 8 | 9 | @rem Please retain this statement so that the script can be validated 10 | exit /b 0 11 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/createvlaniprangeresponse.json: -------------------------------------------------------------------------------- 1 | { "createvlaniprangeresponse" : { "vlaniprange" : {"id":2,"forvirtualnetwork":false,"zoneid":2,"vlan":"untagged","account":"system","domainid":1,"domain":"ROOT","podid":2,"podname":"Dev Pod 2","gateway":"10.22.22.254","netmask":"255.255.255.0","startip":"10.22.22.51","endip":"10.22.22.100","networkid":209} } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listoscategoriesresponse.json: -------------------------------------------------------------------------------- 1 | { "listoscategoriesresponse" : { "oscategory" : [ {"id":1,"name":"CentOS"}, {"id":2,"name":"Debian"}, {"id":3,"name":"Oracle"}, {"id":4,"name":"RedHat"}, {"id":5,"name":"SUSE"}, {"id":6,"name":"Windows"}, {"id":7,"name":"Other"}, {"id":8,"name":"Novel"}, {"id":9,"name":"Unix"}, {"id":10,"name":"Ubuntu"} ] } } -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/tenant_list_att.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenants": { 3 | "values": [ 4 | { 5 | "enabled": true, 6 | "description": "None", 7 | "name": "this-is-a-test", 8 | "id": "14" 9 | } 10 | ], 11 | "links": [] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/lbpool_deleted.xml: -------------------------------------------------------------------------------- 1 | Successful -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/rr_created.xml: -------------------------------------------------------------------------------- 1 | 04063D9D54C6A01F -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getsecuritygroupresponse_extension_byid_with_group.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { "securitygroup" : [ {"id":13,"name":"default","description":"description","account":"adrian","domainid":1,"domain":"ROOT","ingressrule":[{"ruleid":5,"protocol":"tcp","startport":22,"endport":22,"securitygroupname":"adriancole","account":"adrian"}] }] }} -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/ramdisk.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 94174289-29d5-40d2-95f2-2b3d3005d58c 4 | i-c72d0baf 5 | 6 | ari-a51cf9cc 7 | 8 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/snapshot_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshot": { 3 | "status": "available", 4 | "displayDescription": "jclouds live test snapshot", 5 | "displayName": "jclouds-live-test", 6 | "volumeId": 9, 7 | "id": 7, 8 | "createdAt": "2012-04-24 13:34:42", 9 | "size": 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /providers/aws-ec2/src/test/resources/describe_image_attribute_productCodes.xml: -------------------------------------------------------------------------------- 1 | 3 | ami-61a54008 4 | 5 | 6 | 774F4FF8 7 | 8 | 9 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/new_record.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "adriancole.zone.dynecttest.jclouds.org", "ttl": 86400, "fqdn": "www.adriancole.zone.dynecttest.jclouds.org", "record_type": "A", "rdata": {"address": "1.1.1.1"}, "record_id": 0}, "job_id": 285372440, "msgs": [{"INFO": "add: Record added", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/archive_allowed_arguments.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"argumentslist":{"archivesize":["10","20","30","40","50","60","70","80","90","100","125","150","175","200","225","250","275","300","325","350","375","400","425","450","475","500","550","600","650","700","750","800","850","900","950","1000"]},"debug":{"input":[]}}} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/tcrecord_created.xml: -------------------------------------------------------------------------------- 1 | 06063DAC54F8D3D9 -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_keypairs_jcloudssingle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | jclouds#sg-3c6ef654 5 | 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f 6 | 7 | 8 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/userData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0d0ca353-fba3-402c-8516-005e2b41d0ba 4 | i-c72d0baf 5 | 6 | IyEvYmluL2Jhc2gK 7 | 8 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_spf.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "adrianc.zone.dynecttest.jclouds.org", "ttl": 3600, "fqdn": "_http._tcp.www.jclouds.org.", "record_type": "SPF", "rdata": {"txtdata": "v=spf1 a -all"}, "record_id": 50976579}, "job_id": 273523378, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/list_geo_services.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "success", 3 | "data": ["/REST/Geo/srv/", "/REST/Geo/srv-log/"], 4 | "job_id": 321483166, 5 | "msgs": [{ 6 | "INFO": "GET: Found 2 services", 7 | "SOURCE": "BLL", 8 | "ERR_CD": null, 9 | "LVL": "INFO" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/domain_record.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"timestamp":"2012-06-24T11:52:51+02:00","text":"Record added."},"record":{"recordid":256151,"domainname":"cl13016-domain.jclouds.org","host":"test","type":"A","data":"127.0.0.1","ttl":3600},"debug":{"input":{"domainname":"cl13016-domain.jclouds.org","type":"A","host":"test","data":"127.0.0.1"}}}} -------------------------------------------------------------------------------- /apis/atmos/src/test/resources/hashstring.txt: -------------------------------------------------------------------------------- 1 | POST 2 | application/octet-stream 3 | 4 | Thu, 05 Jun 2008 16:38:19 GMT 5 | /rest/objects 6 | x-emc-date:Thu, 05 Jun 2008 16:38:19 GMT 7 | x-emc-groupacl:other=NONE 8 | x-emc-listable-meta:part4/part7/part8=quick 9 | x-emc-meta:part1=buy 10 | x-emc-uid:6039ac182f194e15b9261d73ce044939/user1 11 | x-emc-useracl:john=FULL_CONTROL,mary=WRITE -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/securitygrouprule_created.json: -------------------------------------------------------------------------------- 1 | { 2 | "security_group_rule": { 3 | "from_port": 80, 4 | "group": {}, 5 | "ip_protocol": "tcp", 6 | "to_port": 8080, 7 | "parent_group_id": 161, 8 | "ip_range": { 9 | "cidr": "0.0.0.0/0" 10 | }, 11 | "id": 218 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # use glob syntax. 2 | syntax: glob 3 | target/ 4 | test-output/ 5 | bin/ 6 | .settings/ 7 | .classpath 8 | .project 9 | .idea/ 10 | *.iml 11 | *.eml 12 | *.ipr 13 | *.iws 14 | *.DS_STORE 15 | TAGS 16 | .metadata/ 17 | atlassian-ide-plugin.xml 18 | .DS_Store 19 | .java-version 20 | .factorypath 21 | .apt_generated 22 | .checkstyle 23 | nb-configuration.xml 24 | nbactions.xml -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/instanceType.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 947779ee-439a-46b5-82db-5f015f75b6d0 5 | i-7736101f 6 | 7 | m1.small 8 | 9 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/securitygrouprule_created_cidr.json: -------------------------------------------------------------------------------- 1 | { 2 | "security_group_rule": { 3 | "from_port": 22, 4 | "group": {}, 5 | "ip_protocol": "tcp", 6 | "to_port": 22, 7 | "parent_group_id": 160, 8 | "ip_range": { 9 | "cidr": "10.2.6.0/24" 10 | }, 11 | "id": 108 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-list-with-filter.json: -------------------------------------------------------------------------------- 1 | { 2 | "records": [ 3 | { 4 | "name": "jclouds-example.com", 5 | "id": "A-9846146", 6 | "type": "A", 7 | "data": "10.0.1.0", 8 | "ttl": 60000, 9 | "updated": "2013-04-06T15:20:29.000+0000", 10 | "created": "2013-04-06T15:20:29.000+0000" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "COMPLETED", 3 | "verb": "DELETE", 4 | "jobId": "2a5b0f28-05a1-4003-9cec-470c7602cc02", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/status/2a5b0f28-05a1-4003-9cec-470c7602cc02", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/domains/3670431/records/A-9849792" 7 | } 8 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_ptr.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "1.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.d.9.2.1.4.0.0.7.0.c.6.8.0.0.a.2.ip6.arpa", "record_type": "PTR", "rdata": {"ptrdname": "egg.org."}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/health_status_get_health.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#backendServiceGroupHealth", 3 | "healthStatus": [ 4 | { 5 | "port": 80, 6 | "instance": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/instances/jclouds-test", 7 | "healthState": "HEALTHY" 8 | } 9 | ] 10 | } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "COMPLETED", 3 | "verb": "DELETE", 4 | "jobId": "769cffe7-407c-4146-bab5-3a6c4da3e374", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/status/769cffe7-407c-4146-bab5-3a6c4da3e374", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/domainsid=3650909&deleteSubdomains=true" 7 | } 8 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/user_create_with_host_simple_request.json: -------------------------------------------------------------------------------- 1 | { 2 | "users":[ 3 | { 4 | "databases":[ 5 | { 6 | "name":"databaseA" 7 | } 8 | ], 9 | "name":"dbuser1", 10 | "password":"password", 11 | "host":"192.168.64.64" 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/datacenter/datacenter-state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AVAILABLE 6 | 7 | 8 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/queryasyncjobresultresponse-ipforwardingrule.json: -------------------------------------------------------------------------------- 1 | { "queryasyncjobresultresponse" : {"jobid":1133,"jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"ipforwardingrule":{"id":109,"protocol":"tcp","virtualmachineid":226,"virtualmachinename":"i-3-226-VM","ipaddressid":36,"ipaddress":"72.52.126.65","startport":22,"endport":22,"state":"Active"}}} } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/disableApiTermination.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | b47e8cff-0647-4260-adfe-022c878b1f7d 4 | i-e9290f81 5 | 6 | false 7 | 8 | -------------------------------------------------------------------------------- /apis/openstack-nova-ec2/src/test/resources/nova_ec2_import_keypair_response.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | req-dd54edc5-4beb-4b40-9694-0209fcf50459 4 | aplowe-nova-ec22 5 | e3:fd:de:f6:4c:36:7d:9b:8f:2f:4c:20:f8:ae:b0:ea 6 | 7 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/records-delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "COMPLETED", 3 | "verb": "DELETE", 4 | "jobId": "2ad9876f-74f8-4c1c-af9c-1641a72cab75", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/status/2ad9876f-74f8-4c1c-af9c-1641a72cab75", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/domains/3670431/records?id=A-9846146&id=MX-9846146" 7 | } 8 | -------------------------------------------------------------------------------- /core/src/test/resources/test.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCcm8DjTHg4r72dVhNLQ33XpUyMLr+ph78i4NR3LqF1bXDP0g4xNLcI/GUTQq6g07X8zs7vIWyjoitqBPFSQ2onaZQ6pXQF/QISRQgrN5hEZ+nH5Aw+isdstBeOMWKdYrCJtm6/qWq2+rByyuNbtulazP3H7SqoozSjRSGNQyFNGpmhjGgTbNQftYDwlFq0T9tCSO/+dYF8j79bNIOEmfsCMiqXQ13hD5vGiEgkRm7zIPDUfpOl3ubDzebpRgGTh5kfv2vd3Z665AxQoi6fItvDu80knyphMlC41giIm5YqfPOPG4lR+6aF06p+NKhvOeECNMtRsD9u1kKJD9NqxXhx 2 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_txt.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "egg.org", "ttl": 86400, "fqdn": "sm._domainkey.email.egg.org", "record_type": "TXT", "rdata": {"txtdata": "k=rsa\\; p=4KAtUdsUGRtjPHE1rsyFYs8XVzvdke8pXnoo+80Kj5b6C37rnyCmZ0w1R5LY=="}, "record_id": 50959331}, "job_id": 274279510, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/zone_created.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | Successful 6 | 7 | 8 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_image_attribute_launchPermission.xml: -------------------------------------------------------------------------------- 1 | 2 | ami-61a54008 3 | 4 | 5 | all 6 | 7 | 8 | 495219933132 9 | 10 | 11 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/instanceInitiatedShutdownBehavior.xml: -------------------------------------------------------------------------------- 1 | 2 | 564827a8-c70d-4a76-bb9b-87fb5e5a6cee 3 | i-7736101f 4 | 5 | stop 6 | 7 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/route_insert.json: -------------------------------------------------------------------------------- 1 | {"name":"default-route-c99ebfbed0e1f375","description":"Default route to the virtual network.","network":"https://www.googleapis.com/compute/v1/projects/party/global/networks/default","destRange":"10.240.0.0/16","priority":1000,"nextHopNetwork":"https://www.googleapis.com/compute/v1/projects/party/global/networks/default","tags":["fooTag","barTag"]} -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/datacenter/datacenter-state-inprocess.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | INPROCESS 6 | 7 | 8 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please review the [How to Contribute](https://cwiki.apache.org/confluence/display/JCLOUDS/Contribute) page for information on how to submit your patch and how the review process works. 2 | 3 | Also make sure all the changes are aligned with the [Coding Standards](https://cwiki.apache.org/confluence/display/JCLOUDS/Writing+jclouds+Code) of the project. 4 | 5 | Thanks! 6 | 7 | The Apache jclouds team 8 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/report-algorithms-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "algorithms": [ 3 | { 4 | "name": "LEAST_CONNECTIONS" 5 | }, 6 | { 7 | "name": "RANDOM" 8 | }, 9 | { 10 | "name": "ROUND_ROBIN" 11 | }, 12 | { 13 | "name": "WEIGHTED_LEAST_CONNECTIONS" 14 | }, 15 | { 16 | "name": "WEIGHTED_ROUND_ROBIN" 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /apis/sqs/src/test/resources/create_queue.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://sqs.us-east-1.amazonaws.com/993194456877/adrian-sqs11 5 | 6 | 7 | 86f9002d-531a-5868-a452-48e4293ae0a4 8 | 9 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_srv.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "adrianc.zone.dynecttest.jclouds.org", "ttl": 3600, "fqdn": "_http._tcp.www.jclouds.org.", "record_type": "SRV", "rdata": {"priority": 0, "weight": 2, "port": 80, "target": "www.jclouds.org."}, "record_id": 50976579}, "job_id": 273523378, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/email_overview.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"timestamp":"2012-06-24T11:53:53+02:00","text":"OK"}, 2 | "overview":{ 3 | "summary":{"accounts":2,"maxaccounts":50,"aliases":1,"maxaliases":1000}, 4 | "domains":[{ 5 | "domainname":"cl13016.test.jclouds.org","accounts":2,"aliases":1,"usingglesysemailserver":"no"}]}, 6 | "debug":{"input":[]}}}" 7 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/fault-500.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | S:Server 6 | javax.ejb.EJBException 7 | 8 | 9 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/get_passworddata.xml: -------------------------------------------------------------------------------- 1 | 2 | 59dbff89-35bd-4eac-99ed-be587EXAMPLE 3 | i-2574e22a 4 | 2012-07-30T07:27:23.000+0000 5 | TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj 6 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/securitygrouprule_created_group.json: -------------------------------------------------------------------------------- 1 | { 2 | "security_group_rule": { 3 | "from_port": 22, 4 | "group": { 5 | "tenant_id": "admin", 6 | "name": "11111" 7 | }, 8 | "ip_protocol": "tcp", 9 | "to_port": 22, 10 | "parent_group_id": 160, 11 | "ip_range": {}, 12 | "id": 109 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/volume_type.json: -------------------------------------------------------------------------------- 1 | { 2 | "volume_type": { 3 | "name": "jclouds-test-1", 4 | "deleted": false, 5 | "created_at": "2012-05-10 12:33:06", 6 | "updated_at": null, 7 | "extra_specs": { 8 | "test": "value1", 9 | "test1": "wibble" 10 | }, 11 | "deleted_at": null, 12 | "id": 8 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/s3/src/test/resources/complete-multipart-upload.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://Example-Bucket.s3.amazonaws.com/Example-Object 4 | Example-Bucket 5 | Example-Object 6 | "3858f62230ac3c915f300c664312c11f-9" 7 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listcapacityresponse.json: -------------------------------------------------------------------------------- 1 | { "listcapacityresponse" : { "count":2 ,"capacity" : [ {"type":3,"zoneid":1,"zonename":"Dev Zone 1","podid":"null","podname":"All","capacityused":34057748480,"capacitytotal":1796712955904,"percentused":"1.9"}, {"type":3,"zoneid":1,"zonename":"Dev Zone 1","podid":1,"podname":"Dev Pod 1","capacityused":34057748480,"capacitytotal":1796712955904,"percentused":"1.9"} ] } } 2 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/volume_type_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "volume_type": { 3 | "name": "jclouds-test-1", 4 | "deleted": false, 5 | "created_at": "2012-05-10 12:33:06", 6 | "updated_at": null, 7 | "extra_specs": { 8 | "test": "value1", 9 | "test1": "wibble" 10 | }, 11 | "deleted_at": null, 12 | "id": 1 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/admin_extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": [ 3 | { 4 | "name": "OS-KSADM", 5 | "alias": "OS-KSADM", 6 | "namespace": "http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0", 7 | "updated": "2011-08-08T00:00:00+00:00", 8 | "description": "Keystone Administration Extension" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/snapshot_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshots": [ 3 | { 4 | "status": "available", 5 | "displayDescription": "jclouds live test snapshot", 6 | "displayName": "jclouds-live-test", 7 | "volumeId": 9, 8 | "id": 7, 9 | "createdAt": "2012-04-24 13:34:42", 10 | "size": 1 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listconfigurationsresponse.json: -------------------------------------------------------------------------------- 1 | { "listconfigurationsresponse" : { "count":2 ,"configuration" : [ 2 | {"category":"Advanced","name":"account.cleanup.interval","value":"86400","description":"The interval (in seconds) between cleanup for removed accounts"}, 3 | {"category":"Advanced","name":"agent.lb.enabled","value":"true","description":"If agent load balancing enabled in cluster setup"}] 4 | }} -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/domain-list-with-filter.json: -------------------------------------------------------------------------------- 1 | { 2 | "domains": [ 3 | { 4 | "name": "test.jclouds-example.com", 5 | "id": 3650908, 6 | "comment": "Hello test subdomain", 7 | "emailAddress": "jclouds@jclouds-example.com", 8 | "updated": "2013-03-22T03:04:16.000+0000", 9 | "created": "2013-03-22T03:04:15.000+0000" 10 | } 11 | ], 12 | "totalEntries": 1 13 | } -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-ptr-create.json: -------------------------------------------------------------------------------- 1 | {"recordsList":{"records":[{"name":"jclouds-example.com","type":"PTR","ttl":11235,"data":"166.78.146.80"},{"name":"jclouds-example.com","type":"PTR","data":"2001:4800:7812:0514:9a32:3c2a:ff04:aed2","comment":"Hello IPv6"}]},"link":{"href":"https://dfw.servers.api.rackspacecloud.com/v2/123123/servers/f5fb9334-b4f0-49d0-a2cc-57a5772dc7d1","rel":"cloudServersOpenStack"}} 2 | -------------------------------------------------------------------------------- /apis/route53/src/test/resources/invalid_change_batch.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tried to create resource record set duplicate.example.com. type A, but it already exists 5 | Tried to delete resource record set noexist.example.com. type A, but it was not found 6 | 7 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalpool_deleted.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | Successful 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getsecuritygroupresponse_extension_byid.json: -------------------------------------------------------------------------------- 1 | { "listsecuritygroupsresponse" : { "securitygroup" : [ {"id":13,"name":"default","description":"description","account":"adrian","domainid":1,"domain":"ROOT","ingressrule":[{"ruleid":5,"protocol":"tcp","startport":22,"endport":22,"securitygroupname":"adriancole","account":"adrian"},{"ruleid":6,"protocol":"udp","startport":11,"endport":11,"cidr":"1.1.1.1/24"}]} ] } } -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/snapshot_list_detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshots": [ 3 | { 4 | "status": "available", 5 | "displayDescription": "jclouds live test snapshot", 6 | "displayName": "jclouds-live-test", 7 | "volumeId": 9, 8 | "id": 7, 9 | "createdAt": "2012-04-24 13:34:42", 10 | "size": 1 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apis/route53/src/test/resources/create_rrs_request.xml: -------------------------------------------------------------------------------- 1 | CREATEjclouds.org.TXT300my texts -------------------------------------------------------------------------------- /apis/route53/src/test/resources/delete_rrs_request.xml: -------------------------------------------------------------------------------- 1 | CREATEjclouds.org.TXT0my texts -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalpool_created.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 06063DC355055E68 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listusagerecordsresponse.json: -------------------------------------------------------------------------------- 1 | { "listusagerecordsresponse" : { "count":1 ,"usagerecord" : [ {"account":"admin","accountid":2,"domainid":1,"zoneid":1,"description":"Template Id:203 Size:3117171712","usage":"24 Hrs","usagetype":7,"rawusage":"24","templateid":0,"usageid":203,"size":3117171712,"project":"project1","projectId":1,"startdate":"2011-12-15'T'00:00:00+00:00","enddate":"2011-12-15'T'23:59:59+00:00"} ] } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_addresses.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-f15ebb98 5 | 67.202.55.255 6 | 7 | 8 | 67.202.55.233 9 | 10 | 11 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/database_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "databases": [ 3 | { 4 | "name": "anotherdb" 5 | }, 6 | { 7 | "name": "nextround" 8 | }, 9 | { 10 | "name": "oneMoreDB" 11 | }, 12 | { 13 | "name": "sampledb" 14 | }, 15 | { 16 | "name": "testingdb" 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_sshfp.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "adrianc.zone.dynecttest.jclouds.org", "ttl": 3600, "fqdn": "_http._tcp.www.jclouds.org.", "record_type": "SSHFP", "rdata": {"fptype": 1, "algorithm": 2, "fingerprint": "190E37C5B5DB9A1C455E648A41AF3CC83F99F102"}, "record_id": 50976579}, "job_id": 273523378, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/server_status.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"timestamp":"2012-06-21T15:29:31+02:00","text":"OK"},"server":{"state":"running","cpu":{"usage":0,"max":1,"unit":"cores"},"memory":{"usage":2,"max":512,"unit":"MB"},"disk":{"usage":0,"max":5120,"unit":"MB"},"transfer":{"usage":0,"max":50,"unit":"GB last 30 days"},"uptime":{"current":21,"unit":"seconds"},"warnings":[]},"debug":{"input":{"serverid":"vz1321233"}}}} -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalrecord_deleted.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | Successful 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalrecord_updated.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | Successful 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apis/chef/src/test/resources/sandbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "_rev": "1-8c27b0ea4c2b7aaedbb44cfbdfcc11b2", 3 | "json_class": "Chef::Sandbox", 4 | "is_completed": false, 5 | "create_time": "2010-07-07T03:36:00+00:00", 6 | "chef_type": "sandbox", 7 | "checksums": [], 8 | "name": "f9d6d9b72bae465890aae87969f98a9c", 9 | "guid": "f9d6d9b72bae465890aae87969f98a9c" 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_endpoints.json: -------------------------------------------------------------------------------- 1 | { 2 | "endpoints": [ 3 | { 4 | "adminURL": "https://csnode.jclouds.org:35357/v2.0/", 5 | "publicURL": "https://csnode.jclouds.org/v2.0/", 6 | "region": "region-a.geo-1", 7 | "id": "2.0", 8 | "versionId": "2.0", 9 | "list": "https://csnode.jclouds.org/extension" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /compute/src/test/resources/networksection.xml: -------------------------------------------------------------------------------- 1 | 2 | List of logical networks used in the package 3 | 4 | The network the Red service is available on 5 | 6 | 7 | 8 | The network the Blue service is available on 9 | 10 | 11 | -------------------------------------------------------------------------------- /apis/s3/src/test/resources/delete-result.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | key1 5 | 6 | 7 | key1.1 8 | 9 | 10 | key2 11 | AccessDenied 12 | Access Denied 13 | 14 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/network_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#network", 3 | "id": "13024414170909937976", 4 | "creationTimestamp": "2012-10-24T20:13:19.967", 5 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/networks/jclouds-test", 6 | "name": "jclouds-test", 7 | "description": "A custom network for the project", 8 | "IPv4Range": "10.0.0.0/8", 9 | "gatewayIPv4": "10.0.0.1" 10 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/network_get_default.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#network", 3 | "id": "13024414170909937976", 4 | "creationTimestamp": "2012-10-24T20:13:19.967", 5 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/networks/default", 6 | "name": "default", 7 | "description": "Default network for the project", 8 | "IPv4Range": "10.0.0.0/8", 9 | "gatewayIPv4": "10.0.0.1" 10 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/getisoresponse.json: -------------------------------------------------------------------------------- 1 | { "listisosresponse" : { "count":1 ,"iso" : [ {"id":"018e0928-8205-4d8e-9329-f731a9ccd488","name":"xs-tools.iso","displaytext":"xen-pv-drv-iso","ispublic":true,"created":"2012-08-21T15:45:01+0530","isready":true,"passwordenabled":false,"bootable":false,"isfeatured":true,"crossZones":false,"account":"system","domain":"ROOT","domainid":"9d189ea2-097e-4b2b-9bae-d885f5430d69","isextractable":false,"tags":[]} ] } } -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/role_list_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "roles": [ 3 | { 4 | "id": "22529316b2384072b2e8946af5e8cfb6", 5 | "name": "admin" 6 | }, 7 | { 8 | "enabled": "True", 9 | "description": "Default role for project membership", 10 | "name": "_member_", 11 | "id": "9fe2ff9ee4384b1894a90878d3e92bab" 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/server_noip.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":"200","text":"OK"},"server":{"serverid":"vz1541880","hostname":"mammamia","description":"description","cpucores":"1","memorysize":"128","disksize":"5","transfer":"50","templatename":"Ubuntu 11.04 64-bit","datacenter":"Falkenberg","managedhosting":"no","platform":"OpenVZ","cost":{"amount":6.38,"currency":"EUR","timeperiod":"month"},"iplist":[]},"debug":{"serverid":"vz1541880"}}} 2 | -------------------------------------------------------------------------------- /apis/sqs/src/test/resources/list_queues.xml: -------------------------------------------------------------------------------- 1 | 2 | https://eu-west-1.queue.amazonaws.com/993194456877/adriancole-sqs1https://eu-west-1.queue.amazonaws.com/993194456877/adriancole-sqs111313c81c8-e345-4c75-ad57-ce4d9d5ff35a -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/target_http_proxy_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#targetHttpProxy", 3 | "id": "13050421646334304115", 4 | "creationTimestamp": "2012-11-25T01:38:48.306", 5 | "selfLink": "https://www.googleapis.com/compute/v1/projects/myproject/global/targetHttpProxies/jclouds-test", 6 | "name": "jclouds-test", 7 | "urlMap": "https://www.googleapis.com/compute/v1/projects/myproject/global/urlMaps/jclouds-test" 8 | } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/liststoragepoolsresponse.json: -------------------------------------------------------------------------------- 1 | { "liststoragepoolsresponse" : { "count":1 ,"storagepool" : [ {"id":201,"zoneid":1,"zonename":"Dev Zone 1","podid":1,"podname":"Dev Pod 1","name":"NFS Pri 1","ipaddress":"10.26.26.165","path":"/mnt/nfs/cs_pri","created":"2011-11-26T23:33:06+0200","type":"NetworkFilesystem","clusterid":1,"clustername":"Xen Clust 1","disksizetotal":898356445184,"disksizeallocated":18276679680,"tags":"tag1","state":"Up"} ] } } -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/snapshot_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshot": { 3 | "status": "creating", 4 | "display_name": "jclouds-test-snapshot", 5 | "created_at": "2012-11-02T16:23:27.000000", 6 | "display_description": "jclouds test snapshot", 7 | "volume_id": "ea6f70ef-2784-40b9-9d14-d7f33c507c3f", 8 | "id": "67d03df1-ce5d-4ba7-adbe-492ceb80170b", 9 | "size": 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apis/s3/src/test/resources/bucket_logging.xml: -------------------------------------------------------------------------------- 1 | mylogsaccess_log-adrian@jclouds.orgFULL_CONTROL -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/snapshot/snapshot-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 123456789 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/snapshot/snapshot-update.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12345678 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/taskid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8d7a1725-4f4a-4b70-affa-f01dcce1526e 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/created_snapshot.xml: -------------------------------------------------------------------------------- 1 | 2 | snap-78a54011 3 | vol-4d826724 4 | 10 5 | pending 6 | 2008-05-07T12:51:50.000Z 7 | 60% 8 | 213457642086 9 | Daily Backup 10 | -------------------------------------------------------------------------------- /providers/aws-ec2/src/test/resources/describe_placement_groups.xml: -------------------------------------------------------------------------------- 1 | 2 | d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE 3 | 4 | 5 | XYZ-cluster 6 | cluster 7 | available 8 | 9 | 10 | -------------------------------------------------------------------------------- /providers/gogrid/src/test/resources/test_error_handler.json: -------------------------------------------------------------------------------- 1 | { 2 | "list": [ 3 | { 4 | "object": "error", 5 | "message": "No object found that matches your input criteria.", 6 | "errorcode": "IllegalArgumentException" 7 | } 8 | ], 9 | "summary": { 10 | "total": 1, 11 | "start": 0, 12 | "returned": 1 13 | }, 14 | "status": "failure", 15 | "method": "/grid/server/get" 16 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/targetpool_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#targetPool", 3 | "id": "5199309593612841404", 4 | "creationTimestamp": "2014-01-07T05:25:27.783-08:00", 5 | "name": "test-targetpool", 6 | "region": "https://www.googleapis.com/compute/v1/projects/party/regions/us-central1", 7 | "sessionAffinity": "NONE", 8 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/regions/us-central1/targetPools/test-targetpool" 9 | } -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/datacenter/datacenter-deleted.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 11411363 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/ipblock/ipblock-release.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listpodsresponse.json: -------------------------------------------------------------------------------- 1 | { "listpodsresponse" : { "count":2 ,"pod" : [ {"id":1,"name":"Dev Pod 1","zoneid":1,"zonename":"Dev Zone 1","gateway":"10.26.26.254","netmask":"255.255.255.0","startip":"10.26.26.50","endip":"10.26.26.100","allocationstate":"Enabled"}, {"id":2,"name":"Dev Pod 2","zoneid":2,"zonename":"Dev Zone 2","gateway":"10.22.22.254","netmask":"255.255.255.0","startip":"10.22.22.25","endip":"10.22.22.50","allocationstate":"Enabled"} ] } } -------------------------------------------------------------------------------- /apis/sqs/src/test/resources/send_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | c332b2b0-b61f-42d3-8832-d03ebd89f68d 5 | e32aedf2b2b25355d04b1507055532e6 6 | 7 | 8 | c6c18089-18ad-52f8-9d06-c840628cb2ea 9 | 10 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/list_geo_regiongroups.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "success", 3 | "data": ["/REST/GeoRegionGroup/srv/Everywhere Else", "/REST/GeoRegionGroup/srv/Europe", "/REST/GeoRegionGroup/srv/Fallback"], 4 | "job_id": 321503402, 5 | "msgs": [{ 6 | "INFO": "get_region_groups: Here are your groups", 7 | "SOURCE": "BLL", 8 | "ERR_CD": null, 9 | "LVL": "INFO" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listnetworkofferingsresponse.json: -------------------------------------------------------------------------------- 1 | { "listnetworkofferingsresponse" : { "networkoffering" : [ {"id":6,"name":"DefaultVirtualizedNetworkOffering","displaytext":"Virtual Vlan","traffictype":"Guest","isdefault":true,"specifyvlan":false,"availability":"Required","networkrate":200}, {"id":7,"name":"DefaultDirectNetworkOffering","displaytext":"Direct","traffictype":"Public","isdefault":true,"specifyvlan":false,"availability":"Required","networkrate":200} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/queryasyncjobresultresponse-extracttemplate.json: -------------------------------------------------------------------------------- 1 | { "queryasyncjobresultresponse" : {"jobid":2720,"jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"template":{"id":249,"name":"jclouds-c5c7dce0","extractId":6,"accountid":19,"state":"DOWNLOAD_URL_CREATED","zoneid":1,"zonename":"Demo5","extractMode":"HTTP_DOWNLOAD","url":"https:%2F%2F72-52-126-96.realhostip.com%2Fuserdata%2Ff52f8e7d-7c89-4cf7-8e5a-b5ea17366d73.vhd"}}} } -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/tcpool_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apis/chef/src/test/resources/groups.json: -------------------------------------------------------------------------------- 1 | { 2 | "965f2db33d302ed4625d172e0bc36920" : "https://api.opscode.com/organizations/nacx/groups/965f2db33d302ed4625d172e0bc36920", 3 | "admins" : "https://api.opscode.com/organizations/nacx/groups/admins", 4 | "billing-admins" : "https://api.opscode.com/organizations/nacx/groups/billing-admins", 5 | "clients" : "https://api.opscode.com/organizations/nacx/groups/clients", 6 | "users" : "https://api.opscode.com/organizations/nacx/groups/users" 7 | } -------------------------------------------------------------------------------- /apis/openstack-nova-ec2/src/test/resources/nova_ec2_availabilityZones.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | req-a6cd42f8-b5e5-4c94-a1e0-41d21ea0a032 4 | 5 | 6 | available 7 | nova 8 | 9 | 10 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/records-ptr-delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "COMPLETED", 3 | "verb": "DELETE", 4 | "jobId": "ddeea5c4-cbec-4bc3-b37f-eb4f8c0771cc", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/status/ddeea5c4-cbec-4bc3-b37f-eb4f8c0771cc", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/rdns/cloudServersOpenStackhref=https://dfw.servers.api.rackspacecloud.com/v2/123123/servers/f5fb9334-b4f0-49d0-a2cc-57a5772dc7d1" 7 | } 8 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/metadata-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": [ 3 | { 4 | "id": "1", 5 | "key": "color", 6 | "value": "red" 7 | }, 8 | { 9 | "id": "2", 10 | "key": "label", 11 | "value": "web-load-balancer" 12 | }, 13 | { 14 | "id": "3", 15 | "key": "os", 16 | "value": "ubuntu" 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/user_tenant_role_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "roles": [ 3 | { 4 | "id": "31c451195aac49b386039341e2c92a16", 5 | "name": "KeystoneServiceAdmin" 6 | }, 7 | { 8 | "id": "79cada5c02814b57a52e0eed4dd388cb", 9 | "name": "admin" 10 | }, 11 | { 12 | "id": "6ea17ddd37a6447794cb0e164d4db894", 13 | "name": "KeystoneAdmin" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/volume_type_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "volume_types": [ 3 | { 4 | "name": "jclouds-test-1", 5 | "deleted": false, 6 | "created_at": "2012-05-10 12:33:06", 7 | "updated_at": null, 8 | "extra_specs": { 9 | "test": "value1", 10 | "test1": "wibble" 11 | }, 12 | "deleted_at": null, 13 | "id": 8 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/server/server-stop.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 123456 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalrecord_created.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 06063DC355058294 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/queryasyncjobresultresponse-ipaddress.json: -------------------------------------------------------------------------------- 1 | { "queryasyncjobresultresponse" : {"jobid":860,"jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"ipaddress":{"id":6,"ipaddress":"72.52.126.35","allocated":"2011-02-23T20:15:01-0800","zoneid":1,"zonename":"San Jose 1","issourcenat":false,"account":"adrian","domainid":1,"domain":"ROOT","forvirtualnetwork":true,"isstaticnat":false,"associatednetworkid":204,"networkid":200,"state":"Allocating"}}} } -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/server/server-reset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 123456 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/server/server-start.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 123456 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-ptr-delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "COMPLETED", 3 | "verb": "DELETE", 4 | "jobId": "4988d69c-37b5-406c-b82b-58ed099d68cd", 5 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/status/4988d69c-37b5-406c-b82b-58ed099d68cd", 6 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/123123/rdns/cloudServersOpenStackhref=https://dfw.servers.api.rackspacecloud.com/v2/123123/servers/f5fb9334-b4f0-49d0-a2cc-57a5772dc7d1&ip=166.78.146.80" 7 | } 8 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/firewall_insert.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myfw", 3 | "network": "https://www.googleapis.com/compute/v1/projects/party/global/networks/default", 4 | "sourceRanges": [ 5 | "10.0.1.0/32" 6 | ], 7 | "sourceTags": [ 8 | "tag1" 9 | ], 10 | "targetTags": [ 11 | "tag2" 12 | ], 13 | "allowed": [ 14 | { 15 | "IPProtocol": "tcp", 16 | "ports": [ 17 | "22", 18 | "23-24" 19 | ] 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /apis/chef/src/test/resources/pubkey.txt: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ueqo76MXuP6XqZBILFz 3 | iH/9AI7C6PaN5W0dSvkr9yInyGHSz/IR1+4tqvP2qlfKVKI4CP6BFH251Ft9qMUB 4 | uAsnlAVQ1z0exDtIFFOyQCdR7iXmjBIWMSS4buBwRQXwDK7id1OxtU23qVJv+xwE 5 | V0IzaaSJmaGLIbvRBD+qatfUuQJBMU/04DdJIwvLtZBYdC2219m5dUBQaa4bimL+ 6 | YN9EcsDzD9h9UxQo5ReK7b3cNMzJBKJWLzFBcJuePMzAnLFktr/RufX4wpXe6XJx 7 | oVPaHo72GorLkwnQ0HYMTY8rehT4mDi1FI969LHCFFaFHSAaRnwdXaQkJmSfcxzC 8 | YQIDAQAB 9 | -----END PUBLIC KEY----- -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/instance_add_access_config.json: -------------------------------------------------------------------------------- 1 | POST https://www.googleapis.com/compute/v1/projects/party-gce/zones/us-central1-a/instances/test-instance/addAccessConfig?network_interface=nic0&key={YOUR_API_KEY} 2 | 3 | Content-Type: application/json 4 | Authorization: Bearer ya29.AHES6ZRyNKVHwnMPUvZitAuA8mR8b0lcWh1bMI5UQ5bgsJ4j 5 | X-JavaScript-User-Agent: Google APIs Explorer 6 | 7 | { 8 | "name": "config1", 9 | "natIP": "10.0.1.1", 10 | "type": "ONE_TO_ONE_NAT" 11 | } -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/access_minimal.json: -------------------------------------------------------------------------------- 1 | { 2 | "access": { 3 | "token": { 4 | "expires": "2012-12-02T01:44:54Z", 5 | "id": "5afc3adea6654e758b4a9cf01bafe507" 6 | }, 7 | "serviceCatalog": [], 8 | "user": { 9 | "username": "nova", 10 | "roles_links": [], 11 | "id": "bf45fd7586c2410c980c651b918aa850", 12 | "roles": [], 13 | "name": "nova" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/tenant_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenants_links": [], 3 | "tenants": [ 4 | { 5 | "enabled": true, 6 | "description": null, 7 | "name": "demo", 8 | "id": "05d1dc7af71646deba64cfc17b81bec0" 9 | }, 10 | { 11 | "enabled": true, 12 | "description": null, 13 | "name": "admin", 14 | "id": "7aa2e17ec29f44d193c48feaba0852cc" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /apis/openstack-swift/src/test/resources/manifest_get_response.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "path": "/mycontainer/objseg1", 4 | "etag": "0228c7926b8b642dfb29554cd1f00963", 5 | "size_bytes": 1468006 6 | }, 7 | { 8 | "path": "/mycontainer/pseudodir/seg-obj2", 9 | "etag": "5bfc9ea51a00b790717eeb934fb77b9b", 10 | "size_bytes": 1572864 11 | }, 12 | { 13 | "path": "/other-container/seg-final", 14 | "etag": "b9c3da507d2557c1ddc51f27c54bae51", 15 | "size_bytes": 256 16 | } 17 | ] 18 | -------------------------------------------------------------------------------- /apis/rackspace-cloudloadbalancers/src/test/resources/accesslist-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "accessList": [ 3 | { 4 | "address": "206.160.163.21", 5 | "id": 23, 6 | "type": "DENY" 7 | }, 8 | { 9 | "address": "206.160.165.11", 10 | "id": 24, 11 | "type": "DENY" 12 | }, 13 | { 14 | "address": "206.160.163.22", 15 | "id": 25, 16 | "type": "DENY" 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disktype_ssd.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#diskType", 3 | "creationTimestamp": "2014-06-02T11:07:28.529-07:00", 4 | "name": "pd-ssd", 5 | "description": "SSD Persistent Disk", 6 | "validDiskSize": "10GB-1TB", 7 | "zone": "https://content.googleapis.com/compute/v1/projects/party/zones/us-central1-a", 8 | "selfLink": "https://content.googleapis.com/compute/v1/projects/party/zones/us-central1-a/diskTypes/pd-ssd", 9 | "defaultDiskSizeGb": "100" 10 | } 11 | 12 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/terminate_instances.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-3ea74257 5 | 6 | 32 7 | shutting-down 8 | 9 | 10 | 16 11 | running 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/snapshot_list_simple.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshots": [ 3 | { 4 | "status": "available", 5 | "display_name": "jclouds-test-snapshot", 6 | "created_at": "2012-11-02T16:23:27.000000", 7 | "display_description": "jclouds test snapshot", 8 | "volume_id": "ea6f70ef-2784-40b9-9d14-d7f33c507c3f", 9 | "id": "67d03df1-ce5d-4ba7-adbe-492ceb80170b", 10 | "size": 1 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/quotas.json: -------------------------------------------------------------------------------- 1 | { 2 | "quota_set": { 3 | "metadata_items": 128, 4 | "injected_file_content_bytes": 10240, 5 | "injected_files": 5, 6 | "gigabytes": 1000, 7 | "ram": 51200, 8 | "floating_ips": 10, 9 | "security_group_rules": 20, 10 | "instances": 10, 11 | "key_pairs": 100, 12 | "volumes": 10, 13 | "cores": 20, 14 | "id": "demo", 15 | "security_groups": 10 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /providers/aws-ec2/src/test/resources/monitoring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-43a4412a 5 | 6 | pending 7 | 8 | 9 | 10 | i-23a3397d 11 | 12 | pending 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listclustersresponse.json: -------------------------------------------------------------------------------- 1 | { "listclustersresponse" : { "count":2 ,"cluster" : [ {"id":1,"name":"Xen Clust 1","podid":1,"podname":"Dev Pod 1","zoneid":1,"zonename":"Dev Zone 1","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed"}, {"id":2,"name":"Xen Clust 1","podid":2,"podname":"Dev Pod 2","zoneid":2,"zonename":"Dev Zone 2","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed"} ] } } -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/account.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/attach_interface_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "interfaceAttachment": { 3 | "port_state": "ACTIVE", 4 | "fixed_ips": [ 5 | { 6 | "subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef", 7 | "ip_address": "192.168.1.3" 8 | } 9 | ], 10 | "net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", 11 | "port_id": "ce531f90-199f-48c0-816c-13e38010b442", 12 | "mac_addr": "fa:16:3e:4c:2c:30" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/zoneproperties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/server_diagnostics.json: -------------------------------------------------------------------------------- 1 | { 2 | "vnet0_tx_errors": 0, 3 | "vda_read": 77364736, 4 | "vda_write": 415446016, 5 | "vnet0_tx_packets": 9701, 6 | "vda_write_req": 47278, 7 | "cpu0_time": 143150000000, 8 | "vnet0_tx": 1691221, 9 | "vnet0_rx_drop": 0, 10 | "vda_errors": -1, 11 | "vnet0_rx_errors": 0, 12 | "memory": 524288, 13 | "vnet0_rx_packets": 11271, 14 | "vda_read_req": 9551, 15 | "vnet0_rx": 1805288, 16 | "vnet0_tx_drop": 0 17 | } 18 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/get_record_soa.json: -------------------------------------------------------------------------------- 1 | {"status": "success", "data": {"zone": "adrianc.zone.dynecttest.jclouds.org", "ttl": 3600, "fqdn": "adrianc.zone.dynecttest.jclouds.org", "record_type": "SOA", "rdata": {"rname": "1\\.5\\.7-SNAPSHOT@jclouds.org.", "retry": 600, "mname": "ns1.p28.dynect.net.", "minimum": 60, "refresh": 3600, "expire": 604800, "serial": 1}, "record_id": 50976579, "serial_style": "increment"}, "job_id": 273523378, "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, "LVL": "INFO"}]} -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disktype.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#diskType", 3 | "creationTimestamp": "2014-06-02T11:07:28.529-07:00", 4 | "name": "pd-ssd", 5 | "description": "SSD Persistent Disk", 6 | "validDiskSize": "10GB-1TB", 7 | "zone": "https://content.googleapis.com/compute/v1/projects/studied-point-720/zones/us-central1-a", 8 | "selfLink": "https://content.googleapis.com/compute/v1/projects/studied-point-720/zones/us-central1-a/diskTypes/pd-ssd", 9 | "defaultDiskSizeGb": "100" 10 | } 11 | 12 | -------------------------------------------------------------------------------- /apis/openstack-trove/src/test/resources/flavor_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "flavor":{ 3 | "id":1, 4 | "links":[ 5 | { 6 | "href":"https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", 7 | "rel":"self" 8 | }, 9 | { 10 | "href":"https://ord.databases.api.rackspacecloud.com/flavors/1", 11 | "rel":"bookmark" 12 | } 13 | ], 14 | "name":"512MB Instance", 15 | "ram":512 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apis/openstack-keystone/src/test/resources/service_list_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "OS-KSADM:services": [ 3 | { 4 | "id": "150a35a1e24547fdb4122b7fc90929b0", 5 | "type": "network", 6 | "name": "neutron", 7 | "description": "Network Service" 8 | }, 9 | { 10 | "id": "313b229fcede4a148f5bd11199264f8e", 11 | "type": "volume", 12 | "name": "cinder", 13 | "description": "OpenStack Volume Service" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /apis/openstack-swift/README.md: -------------------------------------------------------------------------------- 1 | OpenStack Swift 2 | =============== 3 | 4 | Swift is a distributed object storage system designed to scale from a single machine to thousands of servers. 5 | 6 | Production ready? 7 | Beta 8 | 9 | This API is new to jclouds and hence is in Beta. That means we need people to use it and give us feedback. Based on that feedback, minor changes to the interfaces may happen. This code will replace org.jclouds.openstack.swift.SwiftClient in jclouds 2.0 and it is recommended you adopt it sooner than later. 10 | 11 | -------------------------------------------------------------------------------- /compute/src/test/resources/disksection.xml: -------------------------------------------------------------------------------- 1 | 2 | Describes the set of virtual disks 3 | 6 | 7 | 8 | 10 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/nic/nic-update.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | 2 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/snapshot/snapshot-create.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12345678 7 | aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listtagsresponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "listtagsresponse": { 3 | "count": 1, 4 | "tag": [ 5 | { 6 | "key": "test-tag", 7 | "value": "true", 8 | "resourcetype": "Template", 9 | "resourceid": "54fe1d53-5d73-4184-8b62-948b9d8e08fb", 10 | "account": "admin", 11 | "domainid": "79dc06c4-4432-11e4-b70d-000c29e19aa0", 12 | "domain": "ROOT" 13 | } 14 | ] 15 | } 16 | } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/created_volume.xml: -------------------------------------------------------------------------------- 1 | 2 | 0c67a4c9-d7ec-45ef-8016-bf7944668962 3 | vol-2a21e543 4 | 1 5 | 6 | us-east-1a 7 | creating 8 | 2009-12-28T05:42:53.000Z 9 | standard 10 | 0 11 | false 12 | -------------------------------------------------------------------------------- /apis/sqs/src/test/resources/delete_message_batch.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | msg1 5 | 6 | 7 | msg2 8 | 9 | 10 | 11 | d6f86b7a-74d1-4439-b43f-196a1e29cd85 12 | 13 | -------------------------------------------------------------------------------- /drivers/okhttp/README.md: -------------------------------------------------------------------------------- 1 | jclouds OkHttp driver 2 | ===================== 3 | 4 | A driver to use the OkHttp (http://square.github.io/okhttp/) client as an HTTP library in jclouds. 5 | 6 | To use the driver, you just need to include the `OkHttpCommandExecutorServiceModule` when creating 7 | the context: 8 | 9 | ContextBuilder.newBuilder("provider") 10 | .endpoint("endpoint") 11 | .credentials("identity", "credential") 12 | .modules(ImmutableSet.of(new OkHttpCommandExecutorServiceModule())) 13 | .build(); 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | jclouds 2 | ====== 3 | 4 | Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features. 5 | 6 | For more information about using or contributing to jclouds, please visit our website at [jclouds.apache.org](http://jclouds.apache.org/). 7 | 8 | License 9 | ------- 10 | Copyright (C) 2009-2013 The Apache Software Foundation 11 | 12 | Licensed under the Apache License, Version 2.0 13 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/simple_tenant_usages.json: -------------------------------------------------------------------------------- 1 | { 2 | "tenant_usages": [ 3 | { 4 | "total_memory_mb_usage": 0.0015018666666666667, 5 | "total_vcpus_usage": 7.333333333333333e-7, 6 | "start": "2012-04-18 12:18:39.702411", 7 | "tenant_id": "f8535069c3fb404cb61c873b1a0b4921", 8 | "stop": "2012-04-18 12:18:39.702499", 9 | "total_hours": 4.888888888888889e-7, 10 | "total_local_gb_usage": 0.000019555555555555557 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /providers/dynect/src/test/resources/ip_mismatch.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "failure", 3 | "data": {}, 4 | "job_id": 305900967, 5 | "msgs": [{ 6 | "INFO": "login: IP address does not match current session", 7 | "SOURCE": "BLL", 8 | "ERR_CD": "INVALID_DATA", 9 | "LVL": "ERROR" 10 | }, { 11 | "INFO": "login: There was a problem with your credentials", 12 | "SOURCE": "BLL", 13 | "ERR_CD": null, 14 | "LVL": "INFO" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /providers/glesys/src/test/resources/email_details.json: -------------------------------------------------------------------------------- 1 | {"response":{"status":{"code":200,"timestamp":"2012-06-20T12:01:01+02:00","text":"Account created"},"emailaccount":{"emailaccount":"test@CL13016.jclouds.org","quota":{"max":200,"unit":"MB"},"antispamlevel":3,"antivirus":"yes","autorespond":"no","autorespondmessage":null,"autorespondsaveemail":"yes","created":"2012-06-20T12:01:01+02:00","modified":null},"debug":{"input":{"emailaccount":"test@CLXXXX.jclouds.org","password":"password","antivirus":"1","autorespond":"1","autorespondmessage":"out of office"}}}} 2 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/nic/nic-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /apis/cloudwatch/src/test/resources/list_metrics.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | InstanceId 8 | i-689fcf0f 9 | 10 | 11 | CPUUtilization 12 | AWS/EC2 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_securitygroups_extension_single.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 993194456877 6 | jclouds#some-group 7 | jclouds#some-group 8 | sg-3c6ef654 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/poolrecordspec.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/stop_instances.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-10a64379 5 | 6 | 64 7 | stopping 8 | 9 | 10 | 16 11 | running 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/volume_create_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "volume": { 3 | "status": "creating", 4 | "display_name": "jclouds-test-volume", 5 | "attachments": [], 6 | "availability_zone": "nova", 7 | "created_at": "2012-10-29T20:53:28.000000", 8 | "display_description": "description of test volume", 9 | "volume_type": "None", 10 | "snapshot_id": null, 11 | "metadata": {}, 12 | "id": "60761c60-0f56-4499-b522-ff13e120af10", 13 | "size": 1 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/host_aggregate_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "aggregate": { 3 | "name": "jclouds-test-a", 4 | "availability_zone": "nova", 5 | "deleted": false, 6 | "created_at": "2012-05-11 11:40:17", 7 | "updated_at": "2012-05-11 11:46:44", 8 | "operational_state": "created", 9 | "hosts": [], 10 | "deleted_at": null, 11 | "id": 1, 12 | "metadata": { 13 | "somekey": "somevalue", 14 | "anotherkey": "another val" 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listserviceofferingsresponse.json: -------------------------------------------------------------------------------- 1 | { "listserviceofferingsresponse" : { "serviceoffering" : [ {"id":1,"name":"Small Instance","displaytext":"Small Instance - 500 MhZ CPU, 512 MB RAM - $0.05 per hour","cpunumber":1,"cpuspeed":500,"memory":512,"created":"2011-02-11T15:22:32-0800","storagetype":"shared","offerha":false}, {"id":2,"name":"Medium Instance","displaytext":"Medium Instance, 1 GhZ CPU, 1 GB RAM - $0.10 per hour","cpunumber":1,"cpuspeed":1000,"memory":1024,"created":"2011-02-11T15:22:32-0800","storagetype":"shared","offerha":false} ] } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/start_instances.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | i-10a64379 5 | 6 | 0 7 | pending 8 | 9 | 10 | 80 11 | stopped 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apis/rackspace-clouddns/src/test/resources/record-update-response.json: -------------------------------------------------------------------------------- 1 | { 2 | "request": "{\"name\":\"_sip._udp.jclouds-example.com\",\"ttl\":86401,\"data\":\"1 3444 sip.jclouds-example.com\",\"priority\":12358,\"comment\":\"Updated Protocol to UDP\"}", 3 | "status": "COMPLETED", 4 | "verb": "PUT", 5 | "jobId": "90659522-915d-4b69-a806-0bc464f01cde", 6 | "callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/status/90659522-915d-4b69-a806-0bc464f01cde", 7 | "requestUrl": "https://dns.api.rackspacecloud.com/v1.0/717071/domains/3669444/records/SRV-21839" 8 | } 9 | -------------------------------------------------------------------------------- /scriptbuilder/src/test/resources/test_install_rubygems.sh: -------------------------------------------------------------------------------- 1 | if ! hash gem 2>/dev/null; then 2 | ( 3 | export TAR_TEMP="$(mktemp -d)" 4 | curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz |(mkdir -p "${TAR_TEMP}" &&cd "${TAR_TEMP}" &&tar -xpzf -) 5 | mkdir -p /tmp/rubygems 6 | mv "${TAR_TEMP}"/*/* /tmp/rubygems 7 | rm -rf "${TAR_TEMP}" 8 | cd /tmp/rubygems 9 | ruby setup.rb --no-format-executable 10 | rm -fr /tmp/rubygems 11 | ) 12 | fi 13 | gem update --system 14 | gem update --no-rdoc --no-ri 15 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/snapshot_get.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "kind": "compute#snapshot", 4 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/global/snapshots/test-snap", 5 | "id": "9734455566806191190", 6 | "creationTimestamp": "2013-07-26T12:54:23.173-07:00", 7 | "status": "READY", 8 | "diskSizeGb": "10", 9 | "sourceDisk": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/disks/testimage1", 10 | "name": "test-snap", 11 | "description": "", 12 | "sourceDiskId": "8243603669926824540" 13 | } -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/nic/nic-internetaccess.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | 8 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/directionalgroup_names.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | EU-foo.jclouds.org. 9 | non-foo.jclouds.org. 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listdiskofferingsresponse.json: -------------------------------------------------------------------------------- 1 | { "listdiskofferingsresponse" : { "diskoffering" : [ {"id":3,"domainid":1,"domain":"ROOT","name":"Small","displaytext":"Small Disk, 5 GB","disksize":5,"created":"2011-02-11T15:22:32-0800","iscustomized":false}, {"id":4,"domainid":1,"domain":"ROOT","name":"Medium","displaytext":"Medium Disk, 20 GB","disksize":20,"created":"2011-02-11T15:22:32-0800","iscustomized":false}, {"id":5,"domainid":1,"domain":"ROOT","name":"Large","displaytext":"Large Disk, 100 GB","disksize":100,"created":"2011-02-11T15:22:32-0800","iscustomized":false} ] } } -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/listvlaniprangesresponse.json: -------------------------------------------------------------------------------- 1 | { "listvlaniprangesresponse" : { "count":2 ,"vlaniprange" : [ {"id":1,"forvirtualnetwork":true,"zoneid":1,"vlan":"127","account":"system","domainid":1,"domain":"ROOT","gateway":"10.27.27.254","netmask":"255.255.255.0","startip":"10.27.27.50","endip":"10.27.27.100","networkid":200}, {"id":2,"forvirtualnetwork":false,"zoneid":2,"vlan":"untagged","account":"system","domainid":1,"domain":"ROOT","podid":2,"podname":"Dev Pod 2","gateway":"10.22.22.254","netmask":"255.255.255.0","startip":"10.22.22.51","endip":"10.22.22.100","networkid":209} ] } } -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/cancel_bundle_task.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | i-12345678 4 | bun-cla322b9 5 | canceling 6 | 2008-10-07T11:41:50.000Z 7 | 2008-10-07T11:51:50.000Z 8 | 20% 9 | 10 | 11 | my-bucket 12 | my-new-image 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/attach_interfaces_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "interfaceAttachments": [ 3 | { 4 | "port_state": "ACTIVE", 5 | "fixed_ips": [ 6 | { 7 | "subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef", 8 | "ip_address": "192.168.1.3" 9 | } 10 | ], 11 | "net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", 12 | "port_id": "ce531f90-199f-48c0-816c-13e38010b442", 13 | "mac_addr": "fa:16:3e:4c:2c:30" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/disk_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#disk", 3 | "id": "13050421646334304115", 4 | "creationTimestamp": "2012-11-25T01:38:48.306", 5 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/disks/testimage1", 6 | "name": "testimage1", 7 | "sizeGb": "1", 8 | "zone": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a", 9 | "status": "READY", 10 | "type": "https://www.googleapis.com/compute/v1/projects/studied-point-720/zones/us-central1-a/diskTypes/pd-standard" 11 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/httphealthcheck_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#httpHealthCheck", 3 | "selfLink": "https://www.googleapis.com/compute/v1/projects/party-gce/global/httpHealthChecks/http-health-check-api-live-test", 4 | "id": "2761502483700014319", 5 | "creationTimestamp": "2014-01-14T05:55:54.910-08:00", 6 | "name": "http-health-check-api-live-test", 7 | "description": "Test Health Check", 8 | "requestPath": "/", 9 | "port": 80, 10 | "checkIntervalSec": 5, 11 | "timeoutSec": 5, 12 | "unhealthyThreshold": 2, 13 | "healthyThreshold": 2 14 | } -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/drives/drives-add.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/firewall/firewall-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/loadbalancer/loadbalancer-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | 123 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/loadbalancer/loadbalancer-update.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | 10 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/nic/nic-create.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | 1 9 | nic-id 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /apis/cloudwatch/src/test/resources/list_metrics_marker.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | InstanceId 8 | i-689fcf0f 9 | 10 | 11 | CPUUtilization 12 | AWS/EC2 13 | 14 | 15 | MARKER 16 | 17 | -------------------------------------------------------------------------------- /apis/ec2/src/test/resources/describe_instances_empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | r-44a5402d 5 | UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM 6 | 7 | 8 | default 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apis/openstack-cinder/src/test/resources/snapshot_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "snapshot": { 3 | "status": "available", 4 | "display_name": "jclouds-test-snapshot", 5 | "created_at": "2012-11-02T16:23:27.000000", 6 | "display_description": "jclouds test snapshot", 7 | "os-extended-snapshot-attributes:progress": "100%", 8 | "volume_id": "ea6f70ef-2784-40b9-9d14-d7f33c507c3f", 9 | "os-extended-snapshot-attributes:project_id": "cc03fd4f503f4d9c986b381b8abe6af5", 10 | "id": "67d03df1-ce5d-4ba7-adbe-492ceb80170b", 11 | "size": 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/firewall/firewall-activate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/ipblock/ipblock-addtonic.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/ipblock/ipblock-reserve.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | block-id 8 | us/las 9 | 10.0.0.1 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/datacenter/datacenter-cleared.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 1143191 7 | aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee 8 | 3 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/firewall/firewall-remove.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/ipblock/ipblock-removefromnic.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /apis/cloudstack/src/test/resources/registerisoresponse.json: -------------------------------------------------------------------------------- 1 | { "registerisoresponse" : { "count":1 ,"iso" : [ 2 | {"id":"b52c509d-c6e2-452c-b6ec-aa00720ed6cd","name":"ubuntu10.10","displaytext":"ubuntu 10.10 (32 bit)","ispublic":true,"created":"2012-08-21T15:45:01+0530","isready":false,"bootable":true,"isfeatured":false,"crossZones":false,"ostypeid":"0e0335d9-b6cc-4808-bddf-0828e66a0d03","ostypename":"Ubuntu 10.10 (32-bit)","account":"admin","zoneid":"6f9a2921-b22a-4149-8b71-6ffc275a2177","zonename":"Basic1","status":"","domain":"ROOT","domainid":"99f4159b-c698-4bd9-b8c5-5ac462f101eb","isextractable":false} ] 3 | }} 4 | -------------------------------------------------------------------------------- /apis/openstack-nova/src/test/resources/host_aggregate_with_host_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "aggregate": { 3 | "name": "jclouds-test-a", 4 | "availability_zone": "nova", 5 | "deleted": false, 6 | "created_at": "2012-05-11 11:40:17", 7 | "updated_at": "2012-05-11 11:46:44", 8 | "operational_state": "created", 9 | "hosts": [ 10 | "ubuntu" 11 | ], 12 | "deleted_at": null, 13 | "id": 1, 14 | "metadata": { 15 | "somekey": "somevalue", 16 | "anotherkey": "another val" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/datacenter/datacenter-updated.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 1143190 7 | aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee 8 | 2 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/drives/drives-remove.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/firewall/firewall-deactivate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | request-id1111 7 | datacenter-id 8 | datacenter-version 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /providers/profitbricks/src/test/resources/snapshot/snapshot-rollback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 1234567890 7 | qswdefrg-qaws-qaws-defe-rgrgdsvcxbrh 8 | 1 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /providers/ultradns-ws/src/test/resources/task.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 0b40c7dd-748d-4c49-8506-26f0c7d2ea9c 7 | 8 | COMPLETE 9 | Processing complete 10 | http://localhost:8008/users/node01/tasks/0b40c7dd-748d-4c49-8506-26f0c7d2ea9c/result 11 | 12 | 13 | -------------------------------------------------------------------------------- /providers/digitalocean2/src/test/resources/ssh-dsa.pub: -------------------------------------------------------------------------------- 1 | ssh-dss AAAAB3NzaC1kc3MAAACBAK5uLwicCrFEpaVKBzkWxC7RQn+smg5ZQb5keh9RQKo8AszFTol5npgUAr0JWmqKIHv7nof0HndO86x9iIqNjq3vrz9CIVcFfZM7poKBJZ27Hv3v0fmSKfAc6eGdx8eM9UkZe1gzcLXK8UP2HaeY1Y4LlaHXS5tPi/dXooFVgiA7AAAAFQCQl6LZo/VYB9VgPEZzOmsmQevnswAAAIBCNKGsVP5eZ+IJklXheUyzyuL75i04OOtEGW6MO5TymKMwTZlU9r4ukuwxty+T9Ot2LqlNRnLSPQUjb0vplasZ8Ix45JOpRbuSvPovryn7rvS7//klu9hIkFAAQ/AZfGTw+696EjFBg4F5tN6MGMA6KrTQVLXeuYcZeRXwE5t5lwAAAIEAl2xYh098bozJUANQ82DiZznjHc5FW76Xm1apEqsZtVRFuh3V9nc7QNcBekhmHp5Z0sHthXCm1XqnFbkRCdFlX02NpgtNs7OcKpaJP47N8C+C/Yrf8qK/Wt3fExrL2ZLX5XD2tiotugSkwZJMW5Bv0mtjrNt0Q7P45rZjNNTag2c= -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/firewall_insert_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jclouds-test-65f", 3 | "network": "https://www.googleapis.com/compute/v1/projects/party/networks/default", 4 | "sourceRanges": [ 5 | "10.0.0.0/8", 6 | "0.0.0.0/0" 7 | ], 8 | "sourceTags": [ 9 | "aTag" 10 | ], 11 | "targetTags": [ 12 | "jclouds-test-65f" 13 | ], 14 | "allowed": [ 15 | { 16 | "IPProtocol": "tcp", 17 | "ports": [ 18 | "22" 19 | ] 20 | }, 21 | { 22 | "IPProtocol": "udp", 23 | "ports": [ 24 | "22" 25 | ] 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /providers/google-compute-engine/src/test/resources/global_forwarding_rule_get.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "compute#forwardingRule", 3 | "id": "8192211304399313984", 4 | "creationTimestamp": "2014-07-18T09:47:30.826-07:00", 5 | "selfLink": "https://www.googleapis.com/compute/v1/projects/myproject/global/forwardingRules/jclouds-test", 6 | "name": "jclouds-test", 7 | "description": "tcp forwarding rule", 8 | "IPAddress": "107.178.255.156", 9 | "IPProtocol": "TCP", 10 | "portRange": "80-80", 11 | "target": "https://www.googleapis.com/compute/v1/projects/myproject/global/targetHttpProxies/jclouds-test" 12 | } -------------------------------------------------------------------------------- /providers/digitalocean2/src/test/resources/key.json: -------------------------------------------------------------------------------- 1 | { 2 | "ssh_key" : { 3 | "id" : 767051, 4 | "name" : "ubuntu-1204-64bit-338", 5 | "public_key" : "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCIshoBsRRK73Kwq9zlKauwNWClpaR99TpAxjtP5DcL3EMCTCDepaNPMHhPYO1rogRyjZrc2nsJ1ImCbZ3eEGFjspyhIyPk1NbYkAFsoSV7eBtqy1V7ddZ8t1ZsDexigAA5GnXZSWL4O0oVyZpBTrkzhZ49lbWUq8ch3Hhulvml1BR4nTx92ZcYIFFr1S7NEtua9xhKvRvUcSmgL/0A8deOBgkc85y5ADcEIt+nrlrOtIOW/agX0VPXNFjRxYW7MCkRGoDObOYEaT/mj7PyKk0kimmemxAH5wd6aOI4C82TmHjQmXTwXZgpVlrsdbxomOGDDGNSy7HoQLI/xMRvEf+9", 6 | "fingerprint" : "1a:cc:9b:88:c8:4f:b8:77:96:15:d2:0c:95:86:ff:90" 7 | } 8 | } 9 | --------------------------------------------------------------------------------