groove-ey-core 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +23 -0
- data/CHANGELOG.md +175 -0
- data/Gemfile +21 -0
- data/Guardfile +15 -0
- data/LICENSE.txt +19 -0
- data/README.md +78 -0
- data/Rakefile +18 -0
- data/bin/ey-core +4 -0
- data/examples/add_instance.rb +74 -0
- data/examples/boot_env.rb +60 -0
- data/examples/console/README.md +14 -0
- data/examples/console/address.md +51 -0
- data/examples/stop_env.rb +51 -0
- data/examples/terminate_instance.rb +62 -0
- data/ey-core.gemspec +51 -0
- data/features/accounts.feature +13 -0
- data/features/applications.feature +29 -0
- data/features/current_user.feature +14 -0
- data/features/docker_registry_credentials.feature +21 -0
- data/features/environment_variables.feature +54 -0
- data/features/environments.feature +30 -0
- data/features/init.feature +6 -0
- data/features/login.feature +6 -0
- data/features/scp.feature +6 -0
- data/features/step_definitions/accounts_steps.rb +37 -0
- data/features/step_definitions/applications_steps.rb +39 -0
- data/features/step_definitions/current_user_steps.rb +11 -0
- data/features/step_definitions/deprecated_command_steps.rb +3 -0
- data/features/step_definitions/docker_registry_credentials_steps.rb +3 -0
- data/features/step_definitions/environment_variables_steps.rb +51 -0
- data/features/step_definitions/environments_steps.rb +52 -0
- data/features/step_definitions/version_steps.rb +3 -0
- data/features/support/account_helpers.rb +89 -0
- data/features/support/app_helpers.rb +19 -0
- data/features/support/aruba.rb +1 -0
- data/features/support/boilerplate.rb +1 -0
- data/features/support/client_helpers.rb +36 -0
- data/features/support/config_file_helpers.rb +42 -0
- data/features/support/core.rb +19 -0
- data/features/support/deployment_helpers.rb +19 -0
- data/features/support/env.rb +40 -0
- data/features/support/environment_helpers.rb +23 -0
- data/features/support/environment_variable_helpers.rb +20 -0
- data/features/support/fake_kernel.rb +23 -0
- data/features/support/io.rb +5 -0
- data/features/support/mock_api.rb +21 -0
- data/features/support/output_helpers.rb +7 -0
- data/features/support/resource_helpers.rb +201 -0
- data/features/support/server_helpers.rb +27 -0
- data/features/version.feature +8 -0
- data/features/whoami.feature +14 -0
- data/lib/ey-core.rb +59 -0
- data/lib/ey-core/associations.rb +155 -0
- data/lib/ey-core/cli.rb +8 -0
- data/lib/ey-core/cli/accounts.rb +17 -0
- data/lib/ey-core/cli/applications.rb +36 -0
- data/lib/ey-core/cli/console.rb +28 -0
- data/lib/ey-core/cli/current_user.rb +16 -0
- data/lib/ey-core/cli/deploy.rb +123 -0
- data/lib/ey-core/cli/docker_registry_login.rb +29 -0
- data/lib/ey-core/cli/environment_variables.rb +71 -0
- data/lib/ey-core/cli/environments.rb +39 -0
- data/lib/ey-core/cli/errors.rb +11 -0
- data/lib/ey-core/cli/help.rb +30 -0
- data/lib/ey-core/cli/helpers/archive.rb +70 -0
- data/lib/ey-core/cli/helpers/chef.rb +51 -0
- data/lib/ey-core/cli/helpers/core.rb +225 -0
- data/lib/ey-core/cli/helpers/deprecated.rb +39 -0
- data/lib/ey-core/cli/helpers/log_streaming.rb +41 -0
- data/lib/ey-core/cli/helpers/server_sieve.rb +76 -0
- data/lib/ey-core/cli/helpers/stream_printer.rb +42 -0
- data/lib/ey-core/cli/init.rb +14 -0
- data/lib/ey-core/cli/login.rb +38 -0
- data/lib/ey-core/cli/logout.rb +22 -0
- data/lib/ey-core/cli/logs.rb +70 -0
- data/lib/ey-core/cli/main.rb +69 -0
- data/lib/ey-core/cli/recipes.rb +10 -0
- data/lib/ey-core/cli/recipes/apply.rb +65 -0
- data/lib/ey-core/cli/recipes/download.rb +52 -0
- data/lib/ey-core/cli/recipes/main.rb +21 -0
- data/lib/ey-core/cli/recipes/upload.rb +78 -0
- data/lib/ey-core/cli/scp.rb +14 -0
- data/lib/ey-core/cli/servers.rb +59 -0
- data/lib/ey-core/cli/ssh.rb +150 -0
- data/lib/ey-core/cli/status.rb +60 -0
- data/lib/ey-core/cli/subcommand.rb +53 -0
- data/lib/ey-core/cli/timeout_deploy.rb +58 -0
- data/lib/ey-core/cli/version.rb +16 -0
- data/lib/ey-core/cli/web.rb +10 -0
- data/lib/ey-core/cli/web/disable.rb +49 -0
- data/lib/ey-core/cli/web/enable.rb +46 -0
- data/lib/ey-core/cli/web/main.rb +21 -0
- data/lib/ey-core/cli/web/restart.rb +42 -0
- data/lib/ey-core/cli/whoami.rb +12 -0
- data/lib/ey-core/client.rb +469 -0
- data/lib/ey-core/client/mock.rb +306 -0
- data/lib/ey-core/client/real.rb +93 -0
- data/lib/ey-core/collection.rb +131 -0
- data/lib/ey-core/collections/account_cancellations.rb +6 -0
- data/lib/ey-core/collections/account_referrals.rb +10 -0
- data/lib/ey-core/collections/accounts.rb +8 -0
- data/lib/ey-core/collections/addons.rb +16 -0
- data/lib/ey-core/collections/addresses.rb +9 -0
- data/lib/ey-core/collections/alerts.rb +9 -0
- data/lib/ey-core/collections/application_archives.rb +9 -0
- data/lib/ey-core/collections/application_deployments.rb +9 -0
- data/lib/ey-core/collections/applications.rb +9 -0
- data/lib/ey-core/collections/auto_scaling_alarms.rb +8 -0
- data/lib/ey-core/collections/auto_scaling_groups.rb +8 -0
- data/lib/ey-core/collections/auto_scaling_policies.rb +33 -0
- data/lib/ey-core/collections/backup_files.rb +9 -0
- data/lib/ey-core/collections/blueprints.rb +9 -0
- data/lib/ey-core/collections/components.rb +9 -0
- data/lib/ey-core/collections/contacts.rb +9 -0
- data/lib/ey-core/collections/container_clusters.rb +9 -0
- data/lib/ey-core/collections/container_service_deployments.rb +17 -0
- data/lib/ey-core/collections/costs.rb +8 -0
- data/lib/ey-core/collections/database_plan_usages.rb +7 -0
- data/lib/ey-core/collections/database_server_revisions.rb +7 -0
- data/lib/ey-core/collections/database_server_snapshots.rb +17 -0
- data/lib/ey-core/collections/database_server_usages.rb +7 -0
- data/lib/ey-core/collections/database_servers.rb +9 -0
- data/lib/ey-core/collections/database_services.rb +9 -0
- data/lib/ey-core/collections/deployments.rb +8 -0
- data/lib/ey-core/collections/environment_plan_usages.rb +7 -0
- data/lib/ey-core/collections/environment_variables.rb +8 -0
- data/lib/ey-core/collections/environments.rb +15 -0
- data/lib/ey-core/collections/features.rb +9 -0
- data/lib/ey-core/collections/firewall_rules.rb +9 -0
- data/lib/ey-core/collections/firewalls.rb +9 -0
- data/lib/ey-core/collections/gems.rb +6 -0
- data/lib/ey-core/collections/keypair_deployments.rb +9 -0
- data/lib/ey-core/collections/keypairs.rb +9 -0
- data/lib/ey-core/collections/legacy_alerts.rb +9 -0
- data/lib/ey-core/collections/load_balancer_nodes.rb +9 -0
- data/lib/ey-core/collections/load_balancer_services.rb +9 -0
- data/lib/ey-core/collections/load_balancers.rb +16 -0
- data/lib/ey-core/collections/logical_databases.rb +16 -0
- data/lib/ey-core/collections/logs.rb +9 -0
- data/lib/ey-core/collections/memberships.rb +9 -0
- data/lib/ey-core/collections/messages.rb +9 -0
- data/lib/ey-core/collections/plan_usages.rb +7 -0
- data/lib/ey-core/collections/provider_locations.rb +13 -0
- data/lib/ey-core/collections/providers.rb +15 -0
- data/lib/ey-core/collections/requests.rb +10 -0
- data/lib/ey-core/collections/server_events.rb +9 -0
- data/lib/ey-core/collections/server_usages.rb +7 -0
- data/lib/ey-core/collections/servers.rb +13 -0
- data/lib/ey-core/collections/services.rb +14 -0
- data/lib/ey-core/collections/ssl_certificates.rb +9 -0
- data/lib/ey-core/collections/storage_users.rb +10 -0
- data/lib/ey-core/collections/storages.rb +9 -0
- data/lib/ey-core/collections/tasks.rb +9 -0
- data/lib/ey-core/collections/tokens.rb +9 -0
- data/lib/ey-core/collections/untracked_addresses.rb +4 -0
- data/lib/ey-core/collections/untracked_servers.rb +9 -0
- data/lib/ey-core/collections/users.rb +12 -0
- data/lib/ey-core/collections/volumes.rb +9 -0
- data/lib/ey-core/logger.rb +31 -0
- data/lib/ey-core/memory_cache.rb +17 -0
- data/lib/ey-core/mock/helper.rb +104 -0
- data/lib/ey-core/mock/params.rb +31 -0
- data/lib/ey-core/mock/resources.rb +92 -0
- data/lib/ey-core/mock/searching.rb +115 -0
- data/lib/ey-core/mock/util.rb +23 -0
- data/lib/ey-core/model.rb +44 -0
- data/lib/ey-core/models/account.rb +80 -0
- data/lib/ey-core/models/account_cancellation.rb +6 -0
- data/lib/ey-core/models/account_referral.rb +8 -0
- data/lib/ey-core/models/account_trial.rb +15 -0
- data/lib/ey-core/models/addon.rb +37 -0
- data/lib/ey-core/models/address.rb +59 -0
- data/lib/ey-core/models/alert.rb +99 -0
- data/lib/ey-core/models/application.rb +33 -0
- data/lib/ey-core/models/application_archive.rb +67 -0
- data/lib/ey-core/models/application_deployment.rb +18 -0
- data/lib/ey-core/models/auto_scaling_alarm.rb +54 -0
- data/lib/ey-core/models/auto_scaling_group.rb +75 -0
- data/lib/ey-core/models/backup_file.rb +52 -0
- data/lib/ey-core/models/base_auto_scaling_policy.rb +61 -0
- data/lib/ey-core/models/billing.rb +27 -0
- data/lib/ey-core/models/blueprint.rb +30 -0
- data/lib/ey-core/models/component.rb +11 -0
- data/lib/ey-core/models/contact.rb +14 -0
- data/lib/ey-core/models/container_service_deployment.rb +17 -0
- data/lib/ey-core/models/cost.rb +16 -0
- data/lib/ey-core/models/database_plan_usage.rb +10 -0
- data/lib/ey-core/models/database_server.rb +56 -0
- data/lib/ey-core/models/database_server_revision.rb +10 -0
- data/lib/ey-core/models/database_server_snapshot.rb +43 -0
- data/lib/ey-core/models/database_server_usage.rb +15 -0
- data/lib/ey-core/models/database_service.rb +52 -0
- data/lib/ey-core/models/deployment.rb +30 -0
- data/lib/ey-core/models/environment.rb +248 -0
- data/lib/ey-core/models/environment_plan_usage.rb +10 -0
- data/lib/ey-core/models/environment_variable.rb +29 -0
- data/lib/ey-core/models/feature.rb +33 -0
- data/lib/ey-core/models/firewall.rb +46 -0
- data/lib/ey-core/models/firewall_rule.rb +41 -0
- data/lib/ey-core/models/gem.rb +5 -0
- data/lib/ey-core/models/keypair.rb +38 -0
- data/lib/ey-core/models/keypair_deployment.rb +26 -0
- data/lib/ey-core/models/legacy_alert.rb +12 -0
- data/lib/ey-core/models/load_balancer.rb +43 -0
- data/lib/ey-core/models/load_balancer_node.rb +17 -0
- data/lib/ey-core/models/load_balancer_service.rb +22 -0
- data/lib/ey-core/models/log.rb +44 -0
- data/lib/ey-core/models/logical_database.rb +40 -0
- data/lib/ey-core/models/membership.rb +49 -0
- data/lib/ey-core/models/message.rb +27 -0
- data/lib/ey-core/models/plan_usage.rb +14 -0
- data/lib/ey-core/models/provider.rb +59 -0
- data/lib/ey-core/models/provider_location.rb +24 -0
- data/lib/ey-core/models/request.rb +109 -0
- data/lib/ey-core/models/server.rb +151 -0
- data/lib/ey-core/models/server_event.rb +11 -0
- data/lib/ey-core/models/server_usage.rb +15 -0
- data/lib/ey-core/models/service.rb +10 -0
- data/lib/ey-core/models/simple_auto_scaling_policy.rb +24 -0
- data/lib/ey-core/models/ssl_certificate.rb +44 -0
- data/lib/ey-core/models/step_auto_scaling_policy.rb +24 -0
- data/lib/ey-core/models/storage.rb +38 -0
- data/lib/ey-core/models/storage_user.rb +44 -0
- data/lib/ey-core/models/support_trial.rb +10 -0
- data/lib/ey-core/models/target_auto_scaling_policy.rb +24 -0
- data/lib/ey-core/models/task.rb +35 -0
- data/lib/ey-core/models/token.rb +24 -0
- data/lib/ey-core/models/untracked_address.rb +24 -0
- data/lib/ey-core/models/untracked_server.rb +45 -0
- data/lib/ey-core/models/user.rb +39 -0
- data/lib/ey-core/models/volume.rb +20 -0
- data/lib/ey-core/request.rb +21 -0
- data/lib/ey-core/request_failure.rb +11 -0
- data/lib/ey-core/requests/acknowledge_alert.rb +29 -0
- data/lib/ey-core/requests/apply_environment_updates.rb +54 -0
- data/lib/ey-core/requests/apply_server_updates.rb +52 -0
- data/lib/ey-core/requests/attach_address.rb +53 -0
- data/lib/ey-core/requests/authorized_channel.rb +22 -0
- data/lib/ey-core/requests/blueprint_environment.rb +72 -0
- data/lib/ey-core/requests/boot_environment.rb +187 -0
- data/lib/ey-core/requests/bootstrap_logical_database.rb +80 -0
- data/lib/ey-core/requests/cancel_account.rb +33 -0
- data/lib/ey-core/requests/change_environment_maintenance.rb +38 -0
- data/lib/ey-core/requests/create_account.rb +38 -0
- data/lib/ey-core/requests/create_addon.rb +35 -0
- data/lib/ey-core/requests/create_address.rb +54 -0
- data/lib/ey-core/requests/create_alert.rb +63 -0
- data/lib/ey-core/requests/create_application.rb +73 -0
- data/lib/ey-core/requests/create_application_archive.rb +44 -0
- data/lib/ey-core/requests/create_auto_scaling_alarm.rb +69 -0
- data/lib/ey-core/requests/create_auto_scaling_group.rb +62 -0
- data/lib/ey-core/requests/create_auto_scaling_policy.rb +68 -0
- data/lib/ey-core/requests/create_backup_file.rb +52 -0
- data/lib/ey-core/requests/create_database_server.rb +72 -0
- data/lib/ey-core/requests/create_database_service.rb +57 -0
- data/lib/ey-core/requests/create_database_service_snapshot.rb +69 -0
- data/lib/ey-core/requests/create_environment.rb +77 -0
- data/lib/ey-core/requests/create_environment_variable.rb +39 -0
- data/lib/ey-core/requests/create_firewall.rb +62 -0
- data/lib/ey-core/requests/create_firewall_rule.rb +60 -0
- data/lib/ey-core/requests/create_keypair.rb +42 -0
- data/lib/ey-core/requests/create_keypair_deployment.rb +36 -0
- data/lib/ey-core/requests/create_load_balancer.rb +62 -0
- data/lib/ey-core/requests/create_log.rb +53 -0
- data/lib/ey-core/requests/create_logical_database.rb +56 -0
- data/lib/ey-core/requests/create_membership.rb +47 -0
- data/lib/ey-core/requests/create_message.rb +35 -0
- data/lib/ey-core/requests/create_password_reset.rb +38 -0
- data/lib/ey-core/requests/create_provider.rb +90 -0
- data/lib/ey-core/requests/create_server.rb +121 -0
- data/lib/ey-core/requests/create_ssl_certificate.rb +83 -0
- data/lib/ey-core/requests/create_storage.rb +64 -0
- data/lib/ey-core/requests/create_storage_user.rb +64 -0
- data/lib/ey-core/requests/create_task.rb +55 -0
- data/lib/ey-core/requests/create_token.rb +24 -0
- data/lib/ey-core/requests/create_untracked_address.rb +50 -0
- data/lib/ey-core/requests/create_untracked_server.rb +39 -0
- data/lib/ey-core/requests/create_user.rb +54 -0
- data/lib/ey-core/requests/deploy_environment_application.rb +60 -0
- data/lib/ey-core/requests/deprovision_environment.rb +17 -0
- data/lib/ey-core/requests/destroy_addon.rb +24 -0
- data/lib/ey-core/requests/destroy_auto_scaling_alarm.rb +49 -0
- data/lib/ey-core/requests/destroy_auto_scaling_group.rb +44 -0
- data/lib/ey-core/requests/destroy_auto_scaling_policy.rb +49 -0
- data/lib/ey-core/requests/destroy_blueprint.rb +22 -0
- data/lib/ey-core/requests/destroy_database_server.rb +41 -0
- data/lib/ey-core/requests/destroy_database_server_snapshot.rb +42 -0
- data/lib/ey-core/requests/destroy_database_service.rb +57 -0
- data/lib/ey-core/requests/destroy_environment.rb +43 -0
- data/lib/ey-core/requests/destroy_firewall.rb +41 -0
- data/lib/ey-core/requests/destroy_firewall_rule.rb +41 -0
- data/lib/ey-core/requests/destroy_load_balancer.rb +30 -0
- data/lib/ey-core/requests/destroy_logical_database.rb +41 -0
- data/lib/ey-core/requests/destroy_provider.rb +34 -0
- data/lib/ey-core/requests/destroy_server.rb +48 -0
- data/lib/ey-core/requests/destroy_ssl_certificate.rb +28 -0
- data/lib/ey-core/requests/destroy_storage.rb +33 -0
- data/lib/ey-core/requests/destroy_storage_user.rb +38 -0
- data/lib/ey-core/requests/destroy_user.rb +29 -0
- data/lib/ey-core/requests/detach_address.rb +48 -0
- data/lib/ey-core/requests/disable_feature.rb +30 -0
- data/lib/ey-core/requests/discover_container_service_deployments.rb +71 -0
- data/lib/ey-core/requests/discover_database_server.rb +66 -0
- data/lib/ey-core/requests/discover_database_server_snapshots.rb +69 -0
- data/lib/ey-core/requests/discover_provider_location.rb +57 -0
- data/lib/ey-core/requests/discover_server.rb +60 -0
- data/lib/ey-core/requests/download_file.rb +25 -0
- data/lib/ey-core/requests/enable_feature.rb +35 -0
- data/lib/ey-core/requests/get_account.rb +29 -0
- data/lib/ey-core/requests/get_account_cancellation.rb +21 -0
- data/lib/ey-core/requests/get_account_referrals.rb +28 -0
- data/lib/ey-core/requests/get_account_trial.rb +32 -0
- data/lib/ey-core/requests/get_accounts.rb +42 -0
- data/lib/ey-core/requests/get_addon.rb +25 -0
- data/lib/ey-core/requests/get_addons.rb +24 -0
- data/lib/ey-core/requests/get_address.rb +25 -0
- data/lib/ey-core/requests/get_addresses.rb +27 -0
- data/lib/ey-core/requests/get_alert.rb +21 -0
- data/lib/ey-core/requests/get_alerting_environments.rb +41 -0
- data/lib/ey-core/requests/get_alerts.rb +44 -0
- data/lib/ey-core/requests/get_api_token.rb +19 -0
- data/lib/ey-core/requests/get_application.rb +21 -0
- data/lib/ey-core/requests/get_application_archive.rb +32 -0
- data/lib/ey-core/requests/get_application_archives.rb +29 -0
- data/lib/ey-core/requests/get_application_deployment.rb +21 -0
- data/lib/ey-core/requests/get_application_deployments.rb +28 -0
- data/lib/ey-core/requests/get_applications.rb +28 -0
- data/lib/ey-core/requests/get_auto_scaling_alarm.rb +27 -0
- data/lib/ey-core/requests/get_auto_scaling_alarms.rb +34 -0
- data/lib/ey-core/requests/get_auto_scaling_group.rb +21 -0
- data/lib/ey-core/requests/get_auto_scaling_groups.rb +29 -0
- data/lib/ey-core/requests/get_auto_scaling_policies.rb +46 -0
- data/lib/ey-core/requests/get_auto_scaling_policy.rb +27 -0
- data/lib/ey-core/requests/get_backup_file.rb +21 -0
- data/lib/ey-core/requests/get_backup_files.rb +28 -0
- data/lib/ey-core/requests/get_billing.rb +24 -0
- data/lib/ey-core/requests/get_blueprint.rb +21 -0
- data/lib/ey-core/requests/get_blueprints.rb +29 -0
- data/lib/ey-core/requests/get_component.rb +21 -0
- data/lib/ey-core/requests/get_components.rb +29 -0
- data/lib/ey-core/requests/get_contacts.rb +34 -0
- data/lib/ey-core/requests/get_costs.rb +25 -0
- data/lib/ey-core/requests/get_current_user.rb +19 -0
- data/lib/ey-core/requests/get_database_plan_usages.rb +24 -0
- data/lib/ey-core/requests/get_database_server.rb +21 -0
- data/lib/ey-core/requests/get_database_server_revisions.rb +27 -0
- data/lib/ey-core/requests/get_database_server_snapshot.rb +20 -0
- data/lib/ey-core/requests/get_database_server_snapshots.rb +39 -0
- data/lib/ey-core/requests/get_database_server_usages.rb +24 -0
- data/lib/ey-core/requests/get_database_servers.rb +30 -0
- data/lib/ey-core/requests/get_database_servers_firewalls.rb +30 -0
- data/lib/ey-core/requests/get_database_service.rb +20 -0
- data/lib/ey-core/requests/get_database_services.rb +55 -0
- data/lib/ey-core/requests/get_deployment.rb +19 -0
- data/lib/ey-core/requests/get_deployments.rb +29 -0
- data/lib/ey-core/requests/get_environment.rb +21 -0
- data/lib/ey-core/requests/get_environment_database_services.rb +21 -0
- data/lib/ey-core/requests/get_environment_logical_databases.rb +20 -0
- data/lib/ey-core/requests/get_environment_plan_usages.rb +24 -0
- data/lib/ey-core/requests/get_environment_variable.rb +19 -0
- data/lib/ey-core/requests/get_environment_variables.rb +29 -0
- data/lib/ey-core/requests/get_environments.rb +29 -0
- data/lib/ey-core/requests/get_feature.rb +21 -0
- data/lib/ey-core/requests/get_features.rb +28 -0
- data/lib/ey-core/requests/get_firewall.rb +21 -0
- data/lib/ey-core/requests/get_firewall_rule.rb +21 -0
- data/lib/ey-core/requests/get_firewall_rules.rb +29 -0
- data/lib/ey-core/requests/get_firewalls.rb +45 -0
- data/lib/ey-core/requests/get_gem.rb +24 -0
- data/lib/ey-core/requests/get_keypair.rb +21 -0
- data/lib/ey-core/requests/get_keypair_deployment.rb +21 -0
- data/lib/ey-core/requests/get_keypair_deployments.rb +29 -0
- data/lib/ey-core/requests/get_keypairs.rb +34 -0
- data/lib/ey-core/requests/get_legacy_alert.rb +21 -0
- data/lib/ey-core/requests/get_legacy_alerts.rb +29 -0
- data/lib/ey-core/requests/get_load_balancer.rb +21 -0
- data/lib/ey-core/requests/get_load_balancer_node.rb +21 -0
- data/lib/ey-core/requests/get_load_balancer_nodes.rb +30 -0
- data/lib/ey-core/requests/get_load_balancer_service.rb +21 -0
- data/lib/ey-core/requests/get_load_balancer_services.rb +30 -0
- data/lib/ey-core/requests/get_load_balancers.rb +29 -0
- data/lib/ey-core/requests/get_log.rb +21 -0
- data/lib/ey-core/requests/get_logical_database.rb +23 -0
- data/lib/ey-core/requests/get_logical_databases.rb +36 -0
- data/lib/ey-core/requests/get_logs.rb +37 -0
- data/lib/ey-core/requests/get_membership.rb +21 -0
- data/lib/ey-core/requests/get_memberships.rb +29 -0
- data/lib/ey-core/requests/get_message.rb +28 -0
- data/lib/ey-core/requests/get_messages.rb +27 -0
- data/lib/ey-core/requests/get_metadata.rb +22 -0
- data/lib/ey-core/requests/get_operational_contact.rb +21 -0
- data/lib/ey-core/requests/get_operational_contacts.rb +20 -0
- data/lib/ey-core/requests/get_plan_usages.rb +24 -0
- data/lib/ey-core/requests/get_possible_provider_locations.rb +19 -0
- data/lib/ey-core/requests/get_provider.rb +21 -0
- data/lib/ey-core/requests/get_provider_location.rb +29 -0
- data/lib/ey-core/requests/get_provider_locations.rb +28 -0
- data/lib/ey-core/requests/get_providers.rb +28 -0
- data/lib/ey-core/requests/get_request.rb +71 -0
- data/lib/ey-core/requests/get_requests.rb +29 -0
- data/lib/ey-core/requests/get_server.rb +34 -0
- data/lib/ey-core/requests/get_server_event.rb +20 -0
- data/lib/ey-core/requests/get_server_events.rb +28 -0
- data/lib/ey-core/requests/get_server_usages.rb +24 -0
- data/lib/ey-core/requests/get_servers.rb +26 -0
- data/lib/ey-core/requests/get_ssl_certificate.rb +23 -0
- data/lib/ey-core/requests/get_ssl_certificates.rb +28 -0
- data/lib/ey-core/requests/get_storage.rb +21 -0
- data/lib/ey-core/requests/get_storage_user.rb +21 -0
- data/lib/ey-core/requests/get_storage_users.rb +28 -0
- data/lib/ey-core/requests/get_storages.rb +28 -0
- data/lib/ey-core/requests/get_support_trial.rb +51 -0
- data/lib/ey-core/requests/get_task.rb +21 -0
- data/lib/ey-core/requests/get_tasks.rb +28 -0
- data/lib/ey-core/requests/get_token.rb +21 -0
- data/lib/ey-core/requests/get_token_by_login.rb +30 -0
- data/lib/ey-core/requests/get_tokens.rb +32 -0
- data/lib/ey-core/requests/get_untracked_server.rb +18 -0
- data/lib/ey-core/requests/get_untracked_servers.rb +24 -0
- data/lib/ey-core/requests/get_user.rb +21 -0
- data/lib/ey-core/requests/get_users.rb +42 -0
- data/lib/ey-core/requests/get_volume.rb +21 -0
- data/lib/ey-core/requests/get_volumes.rb +28 -0
- data/lib/ey-core/requests/reboot_server.rb +39 -0
- data/lib/ey-core/requests/reconcile_server.rb +39 -0
- data/lib/ey-core/requests/request_callback.rb +26 -0
- data/lib/ey-core/requests/reset_password.rb +31 -0
- data/lib/ey-core/requests/reset_server_state.rb +32 -0
- data/lib/ey-core/requests/restart_environment_app_servers.rb +38 -0
- data/lib/ey-core/requests/retrieve_docker_registry_credentials.rb +24 -0
- data/lib/ey-core/requests/run_cluster_application_action.rb +28 -0
- data/lib/ey-core/requests/run_environment_application_action.rb +29 -0
- data/lib/ey-core/requests/signup.rb +56 -0
- data/lib/ey-core/requests/start_server.rb +39 -0
- data/lib/ey-core/requests/stop_server.rb +39 -0
- data/lib/ey-core/requests/timeout_deployment.rb +27 -0
- data/lib/ey-core/requests/unassign_environment.rb +31 -0
- data/lib/ey-core/requests/update_addon.rb +28 -0
- data/lib/ey-core/requests/update_address.rb +29 -0
- data/lib/ey-core/requests/update_alert.rb +32 -0
- data/lib/ey-core/requests/update_application_archive.rb +23 -0
- data/lib/ey-core/requests/update_auto_scaling_alarm.rb +45 -0
- data/lib/ey-core/requests/update_auto_scaling_group.rb +45 -0
- data/lib/ey-core/requests/update_auto_scaling_policy.rb +46 -0
- data/lib/ey-core/requests/update_billing.rb +26 -0
- data/lib/ey-core/requests/update_blueprint.rb +29 -0
- data/lib/ey-core/requests/update_connector.rb +32 -0
- data/lib/ey-core/requests/update_environment.rb +17 -0
- data/lib/ey-core/requests/update_environment_variable.rb +25 -0
- data/lib/ey-core/requests/update_membership.rb +29 -0
- data/lib/ey-core/requests/update_provider_location.rb +29 -0
- data/lib/ey-core/requests/update_server.rb +29 -0
- data/lib/ey-core/requests/update_ssl_certificate.rb +25 -0
- data/lib/ey-core/requests/update_untracked_server.rb +24 -0
- data/lib/ey-core/requests/upload_file.rb +44 -0
- data/lib/ey-core/requests/upload_recipes_for_environment.rb +28 -0
- data/lib/ey-core/response.rb +59 -0
- data/lib/ey-core/response_cache.rb +29 -0
- data/lib/ey-core/subscribable.rb +60 -0
- data/lib/ey-core/test_helpers.rb +17 -0
- data/lib/ey-core/test_helpers/account_helpers.rb +73 -0
- data/lib/ey-core/test_helpers/alert_helpers.rb +16 -0
- data/lib/ey-core/test_helpers/auto_scaling_helpers.rb +35 -0
- data/lib/ey-core/test_helpers/client_helpers.rb +40 -0
- data/lib/ey-core/test_helpers/cucumber.rb +3 -0
- data/lib/ey-core/test_helpers/resource_helpers.rb +196 -0
- data/lib/ey-core/test_helpers/rspec.rb +5 -0
- data/lib/ey-core/token_authentication.rb +13 -0
- data/lib/ey-core/version.rb +5 -0
- data/spec/account_spec.rb +65 -0
- data/spec/account_trial_spec.rb +17 -0
- data/spec/accounts_referrals_spec.rb +20 -0
- data/spec/accounts_spec.rb +113 -0
- data/spec/addons_and_vars_spec.rb +62 -0
- data/spec/addresses_spec.rb +57 -0
- data/spec/alerts_spec.rb +155 -0
- data/spec/application_archives_spec.rb +39 -0
- data/spec/applications_spec.rb +65 -0
- data/spec/auto_scaling_alarms_spec.rb +40 -0
- data/spec/auto_scaling_groups_spec.rb +28 -0
- data/spec/auto_scaling_policies_spec.rb +94 -0
- data/spec/billing_spec.rb +31 -0
- data/spec/blueprints_spec.rb +47 -0
- data/spec/client_spec.rb +16 -0
- data/spec/collection_spec.rb +43 -0
- data/spec/costs_spec.rb +22 -0
- data/spec/database_plan_usage_spec.rb +39 -0
- data/spec/database_server_snapshots_spec.rb +41 -0
- data/spec/database_server_usage_spec.rb +49 -0
- data/spec/database_servers_spec.rb +61 -0
- data/spec/database_services_spec.rb +76 -0
- data/spec/deployments_spec.rb +24 -0
- data/spec/docker_registry_credentials_spec.rb +16 -0
- data/spec/environment_plan_usage_spec.rb +38 -0
- data/spec/environments_spec.rb +212 -0
- data/spec/ey-core/cli/accounts_spec.rb +20 -0
- data/spec/ey-core/cli/helpers/server_sieve_spec.rb +226 -0
- data/spec/ey-core/cli/recipes/apply_spec.rb +34 -0
- data/spec/ey-core/cli/recipes/download_spec.rb +93 -0
- data/spec/ey-core/cli/recipes/upload_spec.rb +80 -0
- data/spec/features_spec.rb +79 -0
- data/spec/firewalls_spec.rb +84 -0
- data/spec/gems_spec.rb +11 -0
- data/spec/keypair_deployments_spec.rb +33 -0
- data/spec/keypairs_spec.rb +51 -0
- data/spec/legacy_alerts_spec.rb +44 -0
- data/spec/load_balancers_spec.rb +31 -0
- data/spec/logical_databases_spec.rb +38 -0
- data/spec/logs_spec.rb +44 -0
- data/spec/memberships_spec.rb +73 -0
- data/spec/messages_spec.rb +27 -0
- data/spec/metadata_spec.rb +11 -0
- data/spec/plan_usage_spec.rb +65 -0
- data/spec/provider_locations_spec.rb +85 -0
- data/spec/providers_spec.rb +105 -0
- data/spec/requests/upload_file_spec.rb +25 -0
- data/spec/requests_spec.rb +23 -0
- data/spec/reset_password_spec.rb +22 -0
- data/spec/server_events_spec.rb +31 -0
- data/spec/server_usage_spec.rb +70 -0
- data/spec/servers_spec.rb +202 -0
- data/spec/services_spec.rb +9 -0
- data/spec/signups_spec.rb +45 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/ssl_certificates_spec.rb +94 -0
- data/spec/storages_spec.rb +57 -0
- data/spec/support/cli_helpers.rb +47 -0
- data/spec/support/core.rb +23 -0
- data/spec/support/coverage.rb +43 -0
- data/spec/support/fake_kernel.rb +21 -0
- data/spec/support/helpers.rb +1 -0
- data/spec/support/timecop.rb +8 -0
- data/spec/support_trial_spec.rb +33 -0
- data/spec/tokens_spec.rb +59 -0
- data/spec/untracked_servers_spec.rb +59 -0
- data/spec/users_spec.rb +108 -0
- metadata +1052 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
Cistern.formatter = Cistern::Formatter::AwesomePrint
|
2
|
+
|
3
|
+
if ENV['MOCK_CORE'] == 'true'
|
4
|
+
Ey::Core::Client.mock!
|
5
|
+
end
|
6
|
+
|
7
|
+
Ey::Core::Client::Mock.timeout = 0.1
|
8
|
+
Ey::Core::Client::Mock.poll_interval = 0
|
9
|
+
|
10
|
+
Ey::Core::Client::Real.timeout = 3
|
11
|
+
Ey::Core::Client::Real.poll_interval = 0
|
12
|
+
|
13
|
+
RSpec.configure do |config|
|
14
|
+
config.before(:each) do
|
15
|
+
if Ey::Core::Client.mocking?
|
16
|
+
Ey::Core::Client::Mock.reset!
|
17
|
+
elsif defined?(client) && client
|
18
|
+
client.reset! unless ENV["RESET"] == "false"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
config.filter_run_excluding(Ey::Core::Client.mocking? ? {real_only: true} : { mock_only: true })
|
23
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
if ENV['COVERAGE'] and Kernel.respond_to? :caller_locations
|
2
|
+
require 'cistern/coverage'
|
3
|
+
|
4
|
+
SimpleCov.at_exit do
|
5
|
+
puts "Adding cistern coverage data"
|
6
|
+
|
7
|
+
result = SimpleCov.result
|
8
|
+
|
9
|
+
models = Ey::Core::Client.constants.map {|c| Ey::Core::Client.const_get c }.select {|c| c.is_a? Class}.select {|c| c.superclass == Ey::Core::Model }
|
10
|
+
|
11
|
+
models.each do |m|
|
12
|
+
coverage_details = []
|
13
|
+
|
14
|
+
coverage_details += m.attributes.values.select {|opts| opts[:coverage_hits] } rescue []
|
15
|
+
coverage_details += m.associations.values.select {|opts| opts[:coverage_hits] } rescue []
|
16
|
+
|
17
|
+
coverage_details.each do |options|
|
18
|
+
unless result_file = result.files.find {|f| f.filename == options[:coverage_file] }
|
19
|
+
raise "Coverage failed, couldn't find file '#{file}' in the coverage report"
|
20
|
+
end
|
21
|
+
|
22
|
+
# Use the actual calls to the attribute reader as the coverage metric
|
23
|
+
result_file.line(options[:coverage_line]).instance_variable_set(:@coverage, options[:coverage_hits])
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
result.format!
|
28
|
+
end
|
29
|
+
|
30
|
+
CodeClimate::TestReporter.start
|
31
|
+
SimpleCov.start do
|
32
|
+
add_filter 'spec'
|
33
|
+
|
34
|
+
add_group 'Collections', 'lib/ey-core/collections'
|
35
|
+
add_group 'Models', 'lib/ey-core/models'
|
36
|
+
add_group 'Requests', 'lib/ey-core/requests'
|
37
|
+
end
|
38
|
+
elsif ENV['COVERAGE']
|
39
|
+
warn <<-WARN
|
40
|
+
Coverage reporting skipped.
|
41
|
+
This ruby version lacks necessary method Kernel.caller_locations"
|
42
|
+
WARN
|
43
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class FakeKernel
|
2
|
+
attr_reader :exit_status
|
3
|
+
|
4
|
+
def system(*args)
|
5
|
+
system_commands.push(args.join(' '))
|
6
|
+
end
|
7
|
+
|
8
|
+
def system_commands
|
9
|
+
@system_commands ||= []
|
10
|
+
end
|
11
|
+
|
12
|
+
def abort(msg)
|
13
|
+
self.exit(false)
|
14
|
+
#exit(false)
|
15
|
+
end
|
16
|
+
|
17
|
+
def exit(whatevs)
|
18
|
+
whatevs = -1 unless whatevs.is_a?(Integer)
|
19
|
+
@exit_status ||= whatevs
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'ey-core/test_helpers/rspec'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "account_trial" do
|
4
|
+
let!(:client) { create_client }
|
5
|
+
|
6
|
+
context "with an account", :mock_only do
|
7
|
+
let!(:account) { create_account(client: client) }
|
8
|
+
|
9
|
+
it "has no support trial" do
|
10
|
+
expect(account.support_trial).to be_nil
|
11
|
+
end
|
12
|
+
|
13
|
+
it "returns support_trial if it has one" do
|
14
|
+
Ey::Core::Client::Mock.support_trial_elibigle(client, account.id)
|
15
|
+
account.reload
|
16
|
+
trial = account.support_trial
|
17
|
+
expect(trial).to be
|
18
|
+
expect(trial.started_at).to be_nil
|
19
|
+
expect(trial.expires_at).to be_nil
|
20
|
+
expect(trial.account).to eq(account)
|
21
|
+
end
|
22
|
+
|
23
|
+
it "returns support_trial if it has one" do
|
24
|
+
Ey::Core::Client::Mock.support_trial_active(client, account.id)
|
25
|
+
account.reload
|
26
|
+
trial = account.support_trial
|
27
|
+
expect(trial).to be
|
28
|
+
expect(trial.started_at).to be
|
29
|
+
expect(trial.expires_at).to be
|
30
|
+
expect(trial.account).to eq(account)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
data/spec/tokens_spec.rb
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tokens' do
|
4
|
+
context "with a hmac client" do
|
5
|
+
let!(:client) { create_client }
|
6
|
+
|
7
|
+
context "with a user" do
|
8
|
+
let!(:email) { Faker::Internet.email }
|
9
|
+
let!(:password) { SecureRandom.hex(5) }
|
10
|
+
let!(:user) { client.users.create!(name: Faker::Name.name, email: email, password: password) }
|
11
|
+
|
12
|
+
it "retrieves a token by login information" do
|
13
|
+
if Ey::Core::Client.mocking?
|
14
|
+
token = SecureRandom.hex(10)
|
15
|
+
client.data[:users][user.id]["token"] = token
|
16
|
+
end
|
17
|
+
|
18
|
+
expect(client.get_token_by_login(email: email, password: password).body["api_token"]).to be
|
19
|
+
end
|
20
|
+
|
21
|
+
it "does not retrieve a token with login information with an incorrect password" do
|
22
|
+
if Ey::Core::Client.mocking?
|
23
|
+
token = SecureRandom.hex(10)
|
24
|
+
client.data[:users][user.id]["token"] = token
|
25
|
+
end
|
26
|
+
|
27
|
+
expect {
|
28
|
+
client.get_token_by_login(email: email, password: "whoops")
|
29
|
+
}.to raise_error(Ey::Core::Response::Unauthorized)
|
30
|
+
end
|
31
|
+
|
32
|
+
it "generates a token" do
|
33
|
+
token = client.tokens.create!(on_behalf_of: user)
|
34
|
+
expect(token.auth_id).not_to be_nil
|
35
|
+
end
|
36
|
+
|
37
|
+
it "lists tokens" do
|
38
|
+
tokens = user.tokens.all
|
39
|
+
expect(tokens).not_to be_empty
|
40
|
+
end
|
41
|
+
|
42
|
+
it "gets a token" do
|
43
|
+
token = user.tokens.first
|
44
|
+
expect(token.reload).to be
|
45
|
+
end
|
46
|
+
|
47
|
+
context "with multiple users" do
|
48
|
+
let!(:other_user) { client.users.create(name: Faker::Name.name, email: Faker::Internet.email) }
|
49
|
+
|
50
|
+
it "only shows the correct tokens" do
|
51
|
+
expect(user.tokens.all.count).to eq(1)
|
52
|
+
expect(other_user.tokens.all.count).to eq(1)
|
53
|
+
expect(user.tokens.first.on_behalf_of).to eq(client.url_for("/users/#{user.identity}"))
|
54
|
+
expect(other_user.tokens.first.on_behalf_of).to eq(client.url_for("/users/#{other_user.identity}"))
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Ey::Core::Client do
|
4
|
+
let!(:client) { create_client }
|
5
|
+
let!(:account) { create_account(client: client) }
|
6
|
+
let!(:provider) { create_provider(account: account) }
|
7
|
+
|
8
|
+
# @note private
|
9
|
+
it "creates an untracked server" do
|
10
|
+
provisioner_id = SecureRandom.uuid
|
11
|
+
location = "us-west-2b"
|
12
|
+
provisioned_id = "i-#{SecureRandom.hex(4)}"
|
13
|
+
state = "found"
|
14
|
+
|
15
|
+
untracked_server = provider.untracked_servers.create(
|
16
|
+
:provisioner_id => provisioner_id,
|
17
|
+
:location => location,
|
18
|
+
:provisioned_id => provisioned_id,
|
19
|
+
:state => state,
|
20
|
+
)
|
21
|
+
|
22
|
+
expect(untracked_server.provisioner_id).to eq(provisioner_id)
|
23
|
+
expect(untracked_server.provisioned_id).to eq(provisioned_id)
|
24
|
+
expect(untracked_server.location).to eq(location)
|
25
|
+
expect(untracked_server.provider).to eq(provider)
|
26
|
+
expect(untracked_server.state).to eq(state)
|
27
|
+
|
28
|
+
untracked_server.reload
|
29
|
+
|
30
|
+
expect(untracked_server.provisioner_id).to eq(provisioner_id)
|
31
|
+
expect(untracked_server.provisioned_id).to eq(provisioned_id)
|
32
|
+
expect(untracked_server.location).to eq(location)
|
33
|
+
expect(untracked_server.provider).to eq(provider)
|
34
|
+
expect(untracked_server.state).to eq(state)
|
35
|
+
|
36
|
+
untracked_server = client.untracked_servers.get!(untracked_server.identity)
|
37
|
+
|
38
|
+
expect(untracked_server.provisioner_id).to eq(provisioner_id)
|
39
|
+
expect(untracked_server.provisioned_id).to eq(provisioned_id)
|
40
|
+
expect(untracked_server.location).to eq(location)
|
41
|
+
expect(untracked_server.provider).to eq(provider)
|
42
|
+
expect(untracked_server.state).to eq(state)
|
43
|
+
end
|
44
|
+
|
45
|
+
context "with an untracked server" do
|
46
|
+
let!(:untracked_server) { create_untracked_server(provider: provider) }
|
47
|
+
|
48
|
+
it "should update server" do
|
49
|
+
expect {
|
50
|
+
untracked_server.update(state: "killed")
|
51
|
+
}.to change { untracked_server.reload.state }.to("killed")
|
52
|
+
end
|
53
|
+
|
54
|
+
it "lists untracked servers" do
|
55
|
+
expect(client.untracked_servers.all).to contain_exactly(untracked_server)
|
56
|
+
expect(provider.untracked_servers.all).to contain_exactly(untracked_server)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
data/spec/users_spec.rb
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'users' do
|
4
|
+
context "without authentication" do
|
5
|
+
let(:client) { create_unauthenticated_client }
|
6
|
+
|
7
|
+
it "gets an api token", :mock_only do
|
8
|
+
username = ENV["EMAIL"] || "email"
|
9
|
+
password = ENV["PASSWORD"] || "password"
|
10
|
+
expect(client.get_api_token(username, password).body["api_token"]).not_to be_nil
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
context "when authenticated" do
|
15
|
+
let!(:client) { create_client }
|
16
|
+
|
17
|
+
it "should create a user" do
|
18
|
+
name = Faker::Name.name
|
19
|
+
email = Faker::Internet.email
|
20
|
+
|
21
|
+
user = client.users.create!(name: name, email: email)
|
22
|
+
user.name = name
|
23
|
+
user.email = email
|
24
|
+
expect(user.identity).not_to be_nil
|
25
|
+
expect(user.staff).to be_falsy
|
26
|
+
expect(user.password).to be_nil
|
27
|
+
|
28
|
+
expect(user.accounts).to be_empty
|
29
|
+
|
30
|
+
refetched = client.users.get(user.id)
|
31
|
+
expect(refetched.name).to eq name
|
32
|
+
expect(refetched.staff).to be_falsey
|
33
|
+
|
34
|
+
if Ey::Core::Client.mocking?
|
35
|
+
#Can't actually set users as staff in real core API, but apps that use core API may need to test behavior based on a user being staff
|
36
|
+
client.find(:users, user.id).merge!(:staff => true)
|
37
|
+
refetched_again = client.users.get(user.id)
|
38
|
+
expect(refetched_again.staff).to be true
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
context 'when email address is not available' do
|
43
|
+
it 'should raise an error' do
|
44
|
+
name = Faker::Name.name
|
45
|
+
email = Faker::Internet.email
|
46
|
+
|
47
|
+
client.users.create!(name: name, email: email)
|
48
|
+
|
49
|
+
expect {
|
50
|
+
client.users.create!(name: name, email: email)
|
51
|
+
}.to raise_exception(Ey::Core::Response::Unprocessable, /Email has already been taken/)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should get current user" do
|
56
|
+
expect(client.users.current).to be_a(Ey::Core::Client::User)
|
57
|
+
|
58
|
+
if Ey::Core::Client.mocking?
|
59
|
+
expect(client.users.current.id).to eq(client.current_user["id"])
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
it "should destroy a user" do
|
64
|
+
name = Faker::Name.name
|
65
|
+
email = Faker::Internet.email
|
66
|
+
|
67
|
+
user = create_client.users.create!(name: name, email: email)
|
68
|
+
user = client.users.get(user.identity)
|
69
|
+
expect(user.deleted_at).to be_nil
|
70
|
+
|
71
|
+
expect {
|
72
|
+
user.destroy
|
73
|
+
}.to change {client.users.all.size}.by(-1)
|
74
|
+
|
75
|
+
expect(user.reload.deleted_at).not_to be_nil
|
76
|
+
|
77
|
+
expect(client.users.all).not_to include(user)
|
78
|
+
expect(client.users.all(deleted: true)).to include(user)
|
79
|
+
expect(client.users.all(with_deleted: true)).to include(user)
|
80
|
+
end
|
81
|
+
|
82
|
+
context "for the current user" do
|
83
|
+
let!(:user) { client.users.current }
|
84
|
+
|
85
|
+
describe '#token' do
|
86
|
+
subject { user.token }
|
87
|
+
|
88
|
+
context 'for my own user' do
|
89
|
+
it { is_expected.not_to be_nil }
|
90
|
+
end
|
91
|
+
|
92
|
+
context 'for another user' do
|
93
|
+
context 'as a staff user' do
|
94
|
+
before(:each) do
|
95
|
+
client.data[:users][user.id][:staff] = true
|
96
|
+
end
|
97
|
+
|
98
|
+
it { is_expected.not_to be_nil }
|
99
|
+
end
|
100
|
+
|
101
|
+
context 'as a non-staff user' do
|
102
|
+
it { is_expected.not_to be_nil }
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
metadata
ADDED
@@ -0,0 +1,1052 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: groove-ey-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.6.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Engine Yard Engineering
|
8
|
+
- Groove
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2019-08-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: addressable
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: awesome_print
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: belafonte
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: cistern
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.12.3
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.12.3
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: colorize
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: ey-hmac
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '2.0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '2.0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: escape
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: faraday
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0.9'
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0.9'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: faraday_middleware
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0.9'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.9'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: rack
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: faye
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :runtime
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: highline
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
type: :runtime
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: json
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "<"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '2.0'
|
189
|
+
type: :runtime
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "<"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '2.0'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: mime-types
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0'
|
203
|
+
type: :runtime
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: oj
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
type: :runtime
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: oj_mimic_json
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ">="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - ">="
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: pry
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '0'
|
245
|
+
type: :runtime
|
246
|
+
prerelease: false
|
247
|
+
version_requirements: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ">="
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
252
|
+
- !ruby/object:Gem::Dependency
|
253
|
+
name: sshkey
|
254
|
+
requirement: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - "~>"
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: '1.6'
|
259
|
+
type: :runtime
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - "~>"
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '1.6'
|
266
|
+
- !ruby/object:Gem::Dependency
|
267
|
+
name: table_print
|
268
|
+
requirement: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '0'
|
273
|
+
type: :runtime
|
274
|
+
prerelease: false
|
275
|
+
version_requirements: !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - ">="
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: '0'
|
280
|
+
- !ruby/object:Gem::Dependency
|
281
|
+
name: pry-nav
|
282
|
+
requirement: !ruby/object:Gem::Requirement
|
283
|
+
requirements:
|
284
|
+
- - ">="
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: '0'
|
287
|
+
type: :development
|
288
|
+
prerelease: false
|
289
|
+
version_requirements: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - ">="
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
- !ruby/object:Gem::Dependency
|
295
|
+
name: rspec
|
296
|
+
requirement: !ruby/object:Gem::Requirement
|
297
|
+
requirements:
|
298
|
+
- - "~>"
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: '3.0'
|
301
|
+
type: :development
|
302
|
+
prerelease: false
|
303
|
+
version_requirements: !ruby/object:Gem::Requirement
|
304
|
+
requirements:
|
305
|
+
- - "~>"
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: '3.0'
|
308
|
+
- !ruby/object:Gem::Dependency
|
309
|
+
name: ffaker
|
310
|
+
requirement: !ruby/object:Gem::Requirement
|
311
|
+
requirements:
|
312
|
+
- - ">="
|
313
|
+
- !ruby/object:Gem::Version
|
314
|
+
version: '0'
|
315
|
+
type: :development
|
316
|
+
prerelease: false
|
317
|
+
version_requirements: !ruby/object:Gem::Requirement
|
318
|
+
requirements:
|
319
|
+
- - ">="
|
320
|
+
- !ruby/object:Gem::Version
|
321
|
+
version: '0'
|
322
|
+
- !ruby/object:Gem::Dependency
|
323
|
+
name: rake
|
324
|
+
requirement: !ruby/object:Gem::Requirement
|
325
|
+
requirements:
|
326
|
+
- - ">="
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '0'
|
329
|
+
type: :development
|
330
|
+
prerelease: false
|
331
|
+
version_requirements: !ruby/object:Gem::Requirement
|
332
|
+
requirements:
|
333
|
+
- - ">="
|
334
|
+
- !ruby/object:Gem::Version
|
335
|
+
version: '0'
|
336
|
+
- !ruby/object:Gem::Dependency
|
337
|
+
name: aruba
|
338
|
+
requirement: !ruby/object:Gem::Requirement
|
339
|
+
requirements:
|
340
|
+
- - "~>"
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: '0.11'
|
343
|
+
type: :development
|
344
|
+
prerelease: false
|
345
|
+
version_requirements: !ruby/object:Gem::Requirement
|
346
|
+
requirements:
|
347
|
+
- - "~>"
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: '0.11'
|
350
|
+
- !ruby/object:Gem::Dependency
|
351
|
+
name: cucumber
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - "~>"
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: '2.1'
|
357
|
+
type: :development
|
358
|
+
prerelease: false
|
359
|
+
version_requirements: !ruby/object:Gem::Requirement
|
360
|
+
requirements:
|
361
|
+
- - "~>"
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
version: '2.1'
|
364
|
+
- !ruby/object:Gem::Dependency
|
365
|
+
name: factis
|
366
|
+
requirement: !ruby/object:Gem::Requirement
|
367
|
+
requirements:
|
368
|
+
- - "~>"
|
369
|
+
- !ruby/object:Gem::Version
|
370
|
+
version: '1.0'
|
371
|
+
type: :development
|
372
|
+
prerelease: false
|
373
|
+
version_requirements: !ruby/object:Gem::Requirement
|
374
|
+
requirements:
|
375
|
+
- - "~>"
|
376
|
+
- !ruby/object:Gem::Version
|
377
|
+
version: '1.0'
|
378
|
+
description: Engine Yard Core API Ruby Client
|
379
|
+
email:
|
380
|
+
- engineering@engineyard.com
|
381
|
+
executables:
|
382
|
+
- ey-core
|
383
|
+
extensions: []
|
384
|
+
extra_rdoc_files: []
|
385
|
+
files:
|
386
|
+
- ".gitignore"
|
387
|
+
- ".ruby-gemset"
|
388
|
+
- ".ruby-version"
|
389
|
+
- ".travis.yml"
|
390
|
+
- CHANGELOG.md
|
391
|
+
- Gemfile
|
392
|
+
- Guardfile
|
393
|
+
- LICENSE.txt
|
394
|
+
- README.md
|
395
|
+
- Rakefile
|
396
|
+
- bin/ey-core
|
397
|
+
- examples/add_instance.rb
|
398
|
+
- examples/boot_env.rb
|
399
|
+
- examples/console/README.md
|
400
|
+
- examples/console/address.md
|
401
|
+
- examples/stop_env.rb
|
402
|
+
- examples/terminate_instance.rb
|
403
|
+
- ey-core.gemspec
|
404
|
+
- features/accounts.feature
|
405
|
+
- features/applications.feature
|
406
|
+
- features/current_user.feature
|
407
|
+
- features/docker_registry_credentials.feature
|
408
|
+
- features/environment_variables.feature
|
409
|
+
- features/environments.feature
|
410
|
+
- features/init.feature
|
411
|
+
- features/login.feature
|
412
|
+
- features/scp.feature
|
413
|
+
- features/step_definitions/accounts_steps.rb
|
414
|
+
- features/step_definitions/applications_steps.rb
|
415
|
+
- features/step_definitions/current_user_steps.rb
|
416
|
+
- features/step_definitions/deprecated_command_steps.rb
|
417
|
+
- features/step_definitions/docker_registry_credentials_steps.rb
|
418
|
+
- features/step_definitions/environment_variables_steps.rb
|
419
|
+
- features/step_definitions/environments_steps.rb
|
420
|
+
- features/step_definitions/version_steps.rb
|
421
|
+
- features/support/account_helpers.rb
|
422
|
+
- features/support/app_helpers.rb
|
423
|
+
- features/support/aruba.rb
|
424
|
+
- features/support/boilerplate.rb
|
425
|
+
- features/support/client_helpers.rb
|
426
|
+
- features/support/config_file_helpers.rb
|
427
|
+
- features/support/core.rb
|
428
|
+
- features/support/deployment_helpers.rb
|
429
|
+
- features/support/env.rb
|
430
|
+
- features/support/environment_helpers.rb
|
431
|
+
- features/support/environment_variable_helpers.rb
|
432
|
+
- features/support/fake_kernel.rb
|
433
|
+
- features/support/io.rb
|
434
|
+
- features/support/mock_api.rb
|
435
|
+
- features/support/output_helpers.rb
|
436
|
+
- features/support/resource_helpers.rb
|
437
|
+
- features/support/server_helpers.rb
|
438
|
+
- features/version.feature
|
439
|
+
- features/whoami.feature
|
440
|
+
- lib/ey-core.rb
|
441
|
+
- lib/ey-core/associations.rb
|
442
|
+
- lib/ey-core/cli.rb
|
443
|
+
- lib/ey-core/cli/accounts.rb
|
444
|
+
- lib/ey-core/cli/applications.rb
|
445
|
+
- lib/ey-core/cli/console.rb
|
446
|
+
- lib/ey-core/cli/current_user.rb
|
447
|
+
- lib/ey-core/cli/deploy.rb
|
448
|
+
- lib/ey-core/cli/docker_registry_login.rb
|
449
|
+
- lib/ey-core/cli/environment_variables.rb
|
450
|
+
- lib/ey-core/cli/environments.rb
|
451
|
+
- lib/ey-core/cli/errors.rb
|
452
|
+
- lib/ey-core/cli/help.rb
|
453
|
+
- lib/ey-core/cli/helpers/archive.rb
|
454
|
+
- lib/ey-core/cli/helpers/chef.rb
|
455
|
+
- lib/ey-core/cli/helpers/core.rb
|
456
|
+
- lib/ey-core/cli/helpers/deprecated.rb
|
457
|
+
- lib/ey-core/cli/helpers/log_streaming.rb
|
458
|
+
- lib/ey-core/cli/helpers/server_sieve.rb
|
459
|
+
- lib/ey-core/cli/helpers/stream_printer.rb
|
460
|
+
- lib/ey-core/cli/init.rb
|
461
|
+
- lib/ey-core/cli/login.rb
|
462
|
+
- lib/ey-core/cli/logout.rb
|
463
|
+
- lib/ey-core/cli/logs.rb
|
464
|
+
- lib/ey-core/cli/main.rb
|
465
|
+
- lib/ey-core/cli/recipes.rb
|
466
|
+
- lib/ey-core/cli/recipes/apply.rb
|
467
|
+
- lib/ey-core/cli/recipes/download.rb
|
468
|
+
- lib/ey-core/cli/recipes/main.rb
|
469
|
+
- lib/ey-core/cli/recipes/upload.rb
|
470
|
+
- lib/ey-core/cli/scp.rb
|
471
|
+
- lib/ey-core/cli/servers.rb
|
472
|
+
- lib/ey-core/cli/ssh.rb
|
473
|
+
- lib/ey-core/cli/status.rb
|
474
|
+
- lib/ey-core/cli/subcommand.rb
|
475
|
+
- lib/ey-core/cli/timeout_deploy.rb
|
476
|
+
- lib/ey-core/cli/version.rb
|
477
|
+
- lib/ey-core/cli/web.rb
|
478
|
+
- lib/ey-core/cli/web/disable.rb
|
479
|
+
- lib/ey-core/cli/web/enable.rb
|
480
|
+
- lib/ey-core/cli/web/main.rb
|
481
|
+
- lib/ey-core/cli/web/restart.rb
|
482
|
+
- lib/ey-core/cli/whoami.rb
|
483
|
+
- lib/ey-core/client.rb
|
484
|
+
- lib/ey-core/client/mock.rb
|
485
|
+
- lib/ey-core/client/real.rb
|
486
|
+
- lib/ey-core/collection.rb
|
487
|
+
- lib/ey-core/collections/account_cancellations.rb
|
488
|
+
- lib/ey-core/collections/account_referrals.rb
|
489
|
+
- lib/ey-core/collections/accounts.rb
|
490
|
+
- lib/ey-core/collections/addons.rb
|
491
|
+
- lib/ey-core/collections/addresses.rb
|
492
|
+
- lib/ey-core/collections/alerts.rb
|
493
|
+
- lib/ey-core/collections/application_archives.rb
|
494
|
+
- lib/ey-core/collections/application_deployments.rb
|
495
|
+
- lib/ey-core/collections/applications.rb
|
496
|
+
- lib/ey-core/collections/auto_scaling_alarms.rb
|
497
|
+
- lib/ey-core/collections/auto_scaling_groups.rb
|
498
|
+
- lib/ey-core/collections/auto_scaling_policies.rb
|
499
|
+
- lib/ey-core/collections/backup_files.rb
|
500
|
+
- lib/ey-core/collections/blueprints.rb
|
501
|
+
- lib/ey-core/collections/components.rb
|
502
|
+
- lib/ey-core/collections/contacts.rb
|
503
|
+
- lib/ey-core/collections/container_clusters.rb
|
504
|
+
- lib/ey-core/collections/container_service_deployments.rb
|
505
|
+
- lib/ey-core/collections/costs.rb
|
506
|
+
- lib/ey-core/collections/database_plan_usages.rb
|
507
|
+
- lib/ey-core/collections/database_server_revisions.rb
|
508
|
+
- lib/ey-core/collections/database_server_snapshots.rb
|
509
|
+
- lib/ey-core/collections/database_server_usages.rb
|
510
|
+
- lib/ey-core/collections/database_servers.rb
|
511
|
+
- lib/ey-core/collections/database_services.rb
|
512
|
+
- lib/ey-core/collections/deployments.rb
|
513
|
+
- lib/ey-core/collections/environment_plan_usages.rb
|
514
|
+
- lib/ey-core/collections/environment_variables.rb
|
515
|
+
- lib/ey-core/collections/environments.rb
|
516
|
+
- lib/ey-core/collections/features.rb
|
517
|
+
- lib/ey-core/collections/firewall_rules.rb
|
518
|
+
- lib/ey-core/collections/firewalls.rb
|
519
|
+
- lib/ey-core/collections/gems.rb
|
520
|
+
- lib/ey-core/collections/keypair_deployments.rb
|
521
|
+
- lib/ey-core/collections/keypairs.rb
|
522
|
+
- lib/ey-core/collections/legacy_alerts.rb
|
523
|
+
- lib/ey-core/collections/load_balancer_nodes.rb
|
524
|
+
- lib/ey-core/collections/load_balancer_services.rb
|
525
|
+
- lib/ey-core/collections/load_balancers.rb
|
526
|
+
- lib/ey-core/collections/logical_databases.rb
|
527
|
+
- lib/ey-core/collections/logs.rb
|
528
|
+
- lib/ey-core/collections/memberships.rb
|
529
|
+
- lib/ey-core/collections/messages.rb
|
530
|
+
- lib/ey-core/collections/plan_usages.rb
|
531
|
+
- lib/ey-core/collections/provider_locations.rb
|
532
|
+
- lib/ey-core/collections/providers.rb
|
533
|
+
- lib/ey-core/collections/requests.rb
|
534
|
+
- lib/ey-core/collections/server_events.rb
|
535
|
+
- lib/ey-core/collections/server_usages.rb
|
536
|
+
- lib/ey-core/collections/servers.rb
|
537
|
+
- lib/ey-core/collections/services.rb
|
538
|
+
- lib/ey-core/collections/ssl_certificates.rb
|
539
|
+
- lib/ey-core/collections/storage_users.rb
|
540
|
+
- lib/ey-core/collections/storages.rb
|
541
|
+
- lib/ey-core/collections/tasks.rb
|
542
|
+
- lib/ey-core/collections/tokens.rb
|
543
|
+
- lib/ey-core/collections/untracked_addresses.rb
|
544
|
+
- lib/ey-core/collections/untracked_servers.rb
|
545
|
+
- lib/ey-core/collections/users.rb
|
546
|
+
- lib/ey-core/collections/volumes.rb
|
547
|
+
- lib/ey-core/logger.rb
|
548
|
+
- lib/ey-core/memory_cache.rb
|
549
|
+
- lib/ey-core/mock/helper.rb
|
550
|
+
- lib/ey-core/mock/params.rb
|
551
|
+
- lib/ey-core/mock/resources.rb
|
552
|
+
- lib/ey-core/mock/searching.rb
|
553
|
+
- lib/ey-core/mock/util.rb
|
554
|
+
- lib/ey-core/model.rb
|
555
|
+
- lib/ey-core/models/account.rb
|
556
|
+
- lib/ey-core/models/account_cancellation.rb
|
557
|
+
- lib/ey-core/models/account_referral.rb
|
558
|
+
- lib/ey-core/models/account_trial.rb
|
559
|
+
- lib/ey-core/models/addon.rb
|
560
|
+
- lib/ey-core/models/address.rb
|
561
|
+
- lib/ey-core/models/alert.rb
|
562
|
+
- lib/ey-core/models/application.rb
|
563
|
+
- lib/ey-core/models/application_archive.rb
|
564
|
+
- lib/ey-core/models/application_deployment.rb
|
565
|
+
- lib/ey-core/models/auto_scaling_alarm.rb
|
566
|
+
- lib/ey-core/models/auto_scaling_group.rb
|
567
|
+
- lib/ey-core/models/backup_file.rb
|
568
|
+
- lib/ey-core/models/base_auto_scaling_policy.rb
|
569
|
+
- lib/ey-core/models/billing.rb
|
570
|
+
- lib/ey-core/models/blueprint.rb
|
571
|
+
- lib/ey-core/models/component.rb
|
572
|
+
- lib/ey-core/models/contact.rb
|
573
|
+
- lib/ey-core/models/container_service_deployment.rb
|
574
|
+
- lib/ey-core/models/cost.rb
|
575
|
+
- lib/ey-core/models/database_plan_usage.rb
|
576
|
+
- lib/ey-core/models/database_server.rb
|
577
|
+
- lib/ey-core/models/database_server_revision.rb
|
578
|
+
- lib/ey-core/models/database_server_snapshot.rb
|
579
|
+
- lib/ey-core/models/database_server_usage.rb
|
580
|
+
- lib/ey-core/models/database_service.rb
|
581
|
+
- lib/ey-core/models/deployment.rb
|
582
|
+
- lib/ey-core/models/environment.rb
|
583
|
+
- lib/ey-core/models/environment_plan_usage.rb
|
584
|
+
- lib/ey-core/models/environment_variable.rb
|
585
|
+
- lib/ey-core/models/feature.rb
|
586
|
+
- lib/ey-core/models/firewall.rb
|
587
|
+
- lib/ey-core/models/firewall_rule.rb
|
588
|
+
- lib/ey-core/models/gem.rb
|
589
|
+
- lib/ey-core/models/keypair.rb
|
590
|
+
- lib/ey-core/models/keypair_deployment.rb
|
591
|
+
- lib/ey-core/models/legacy_alert.rb
|
592
|
+
- lib/ey-core/models/load_balancer.rb
|
593
|
+
- lib/ey-core/models/load_balancer_node.rb
|
594
|
+
- lib/ey-core/models/load_balancer_service.rb
|
595
|
+
- lib/ey-core/models/log.rb
|
596
|
+
- lib/ey-core/models/logical_database.rb
|
597
|
+
- lib/ey-core/models/membership.rb
|
598
|
+
- lib/ey-core/models/message.rb
|
599
|
+
- lib/ey-core/models/plan_usage.rb
|
600
|
+
- lib/ey-core/models/provider.rb
|
601
|
+
- lib/ey-core/models/provider_location.rb
|
602
|
+
- lib/ey-core/models/request.rb
|
603
|
+
- lib/ey-core/models/server.rb
|
604
|
+
- lib/ey-core/models/server_event.rb
|
605
|
+
- lib/ey-core/models/server_usage.rb
|
606
|
+
- lib/ey-core/models/service.rb
|
607
|
+
- lib/ey-core/models/simple_auto_scaling_policy.rb
|
608
|
+
- lib/ey-core/models/ssl_certificate.rb
|
609
|
+
- lib/ey-core/models/step_auto_scaling_policy.rb
|
610
|
+
- lib/ey-core/models/storage.rb
|
611
|
+
- lib/ey-core/models/storage_user.rb
|
612
|
+
- lib/ey-core/models/support_trial.rb
|
613
|
+
- lib/ey-core/models/target_auto_scaling_policy.rb
|
614
|
+
- lib/ey-core/models/task.rb
|
615
|
+
- lib/ey-core/models/token.rb
|
616
|
+
- lib/ey-core/models/untracked_address.rb
|
617
|
+
- lib/ey-core/models/untracked_server.rb
|
618
|
+
- lib/ey-core/models/user.rb
|
619
|
+
- lib/ey-core/models/volume.rb
|
620
|
+
- lib/ey-core/request.rb
|
621
|
+
- lib/ey-core/request_failure.rb
|
622
|
+
- lib/ey-core/requests/acknowledge_alert.rb
|
623
|
+
- lib/ey-core/requests/apply_environment_updates.rb
|
624
|
+
- lib/ey-core/requests/apply_server_updates.rb
|
625
|
+
- lib/ey-core/requests/attach_address.rb
|
626
|
+
- lib/ey-core/requests/authorized_channel.rb
|
627
|
+
- lib/ey-core/requests/blueprint_environment.rb
|
628
|
+
- lib/ey-core/requests/boot_environment.rb
|
629
|
+
- lib/ey-core/requests/bootstrap_logical_database.rb
|
630
|
+
- lib/ey-core/requests/cancel_account.rb
|
631
|
+
- lib/ey-core/requests/change_environment_maintenance.rb
|
632
|
+
- lib/ey-core/requests/create_account.rb
|
633
|
+
- lib/ey-core/requests/create_addon.rb
|
634
|
+
- lib/ey-core/requests/create_address.rb
|
635
|
+
- lib/ey-core/requests/create_alert.rb
|
636
|
+
- lib/ey-core/requests/create_application.rb
|
637
|
+
- lib/ey-core/requests/create_application_archive.rb
|
638
|
+
- lib/ey-core/requests/create_auto_scaling_alarm.rb
|
639
|
+
- lib/ey-core/requests/create_auto_scaling_group.rb
|
640
|
+
- lib/ey-core/requests/create_auto_scaling_policy.rb
|
641
|
+
- lib/ey-core/requests/create_backup_file.rb
|
642
|
+
- lib/ey-core/requests/create_database_server.rb
|
643
|
+
- lib/ey-core/requests/create_database_service.rb
|
644
|
+
- lib/ey-core/requests/create_database_service_snapshot.rb
|
645
|
+
- lib/ey-core/requests/create_environment.rb
|
646
|
+
- lib/ey-core/requests/create_environment_variable.rb
|
647
|
+
- lib/ey-core/requests/create_firewall.rb
|
648
|
+
- lib/ey-core/requests/create_firewall_rule.rb
|
649
|
+
- lib/ey-core/requests/create_keypair.rb
|
650
|
+
- lib/ey-core/requests/create_keypair_deployment.rb
|
651
|
+
- lib/ey-core/requests/create_load_balancer.rb
|
652
|
+
- lib/ey-core/requests/create_log.rb
|
653
|
+
- lib/ey-core/requests/create_logical_database.rb
|
654
|
+
- lib/ey-core/requests/create_membership.rb
|
655
|
+
- lib/ey-core/requests/create_message.rb
|
656
|
+
- lib/ey-core/requests/create_password_reset.rb
|
657
|
+
- lib/ey-core/requests/create_provider.rb
|
658
|
+
- lib/ey-core/requests/create_server.rb
|
659
|
+
- lib/ey-core/requests/create_ssl_certificate.rb
|
660
|
+
- lib/ey-core/requests/create_storage.rb
|
661
|
+
- lib/ey-core/requests/create_storage_user.rb
|
662
|
+
- lib/ey-core/requests/create_task.rb
|
663
|
+
- lib/ey-core/requests/create_token.rb
|
664
|
+
- lib/ey-core/requests/create_untracked_address.rb
|
665
|
+
- lib/ey-core/requests/create_untracked_server.rb
|
666
|
+
- lib/ey-core/requests/create_user.rb
|
667
|
+
- lib/ey-core/requests/deploy_environment_application.rb
|
668
|
+
- lib/ey-core/requests/deprovision_environment.rb
|
669
|
+
- lib/ey-core/requests/destroy_addon.rb
|
670
|
+
- lib/ey-core/requests/destroy_auto_scaling_alarm.rb
|
671
|
+
- lib/ey-core/requests/destroy_auto_scaling_group.rb
|
672
|
+
- lib/ey-core/requests/destroy_auto_scaling_policy.rb
|
673
|
+
- lib/ey-core/requests/destroy_blueprint.rb
|
674
|
+
- lib/ey-core/requests/destroy_database_server.rb
|
675
|
+
- lib/ey-core/requests/destroy_database_server_snapshot.rb
|
676
|
+
- lib/ey-core/requests/destroy_database_service.rb
|
677
|
+
- lib/ey-core/requests/destroy_environment.rb
|
678
|
+
- lib/ey-core/requests/destroy_firewall.rb
|
679
|
+
- lib/ey-core/requests/destroy_firewall_rule.rb
|
680
|
+
- lib/ey-core/requests/destroy_load_balancer.rb
|
681
|
+
- lib/ey-core/requests/destroy_logical_database.rb
|
682
|
+
- lib/ey-core/requests/destroy_provider.rb
|
683
|
+
- lib/ey-core/requests/destroy_server.rb
|
684
|
+
- lib/ey-core/requests/destroy_ssl_certificate.rb
|
685
|
+
- lib/ey-core/requests/destroy_storage.rb
|
686
|
+
- lib/ey-core/requests/destroy_storage_user.rb
|
687
|
+
- lib/ey-core/requests/destroy_user.rb
|
688
|
+
- lib/ey-core/requests/detach_address.rb
|
689
|
+
- lib/ey-core/requests/disable_feature.rb
|
690
|
+
- lib/ey-core/requests/discover_container_service_deployments.rb
|
691
|
+
- lib/ey-core/requests/discover_database_server.rb
|
692
|
+
- lib/ey-core/requests/discover_database_server_snapshots.rb
|
693
|
+
- lib/ey-core/requests/discover_provider_location.rb
|
694
|
+
- lib/ey-core/requests/discover_server.rb
|
695
|
+
- lib/ey-core/requests/download_file.rb
|
696
|
+
- lib/ey-core/requests/enable_feature.rb
|
697
|
+
- lib/ey-core/requests/get_account.rb
|
698
|
+
- lib/ey-core/requests/get_account_cancellation.rb
|
699
|
+
- lib/ey-core/requests/get_account_referrals.rb
|
700
|
+
- lib/ey-core/requests/get_account_trial.rb
|
701
|
+
- lib/ey-core/requests/get_accounts.rb
|
702
|
+
- lib/ey-core/requests/get_addon.rb
|
703
|
+
- lib/ey-core/requests/get_addons.rb
|
704
|
+
- lib/ey-core/requests/get_address.rb
|
705
|
+
- lib/ey-core/requests/get_addresses.rb
|
706
|
+
- lib/ey-core/requests/get_alert.rb
|
707
|
+
- lib/ey-core/requests/get_alerting_environments.rb
|
708
|
+
- lib/ey-core/requests/get_alerts.rb
|
709
|
+
- lib/ey-core/requests/get_api_token.rb
|
710
|
+
- lib/ey-core/requests/get_application.rb
|
711
|
+
- lib/ey-core/requests/get_application_archive.rb
|
712
|
+
- lib/ey-core/requests/get_application_archives.rb
|
713
|
+
- lib/ey-core/requests/get_application_deployment.rb
|
714
|
+
- lib/ey-core/requests/get_application_deployments.rb
|
715
|
+
- lib/ey-core/requests/get_applications.rb
|
716
|
+
- lib/ey-core/requests/get_auto_scaling_alarm.rb
|
717
|
+
- lib/ey-core/requests/get_auto_scaling_alarms.rb
|
718
|
+
- lib/ey-core/requests/get_auto_scaling_group.rb
|
719
|
+
- lib/ey-core/requests/get_auto_scaling_groups.rb
|
720
|
+
- lib/ey-core/requests/get_auto_scaling_policies.rb
|
721
|
+
- lib/ey-core/requests/get_auto_scaling_policy.rb
|
722
|
+
- lib/ey-core/requests/get_backup_file.rb
|
723
|
+
- lib/ey-core/requests/get_backup_files.rb
|
724
|
+
- lib/ey-core/requests/get_billing.rb
|
725
|
+
- lib/ey-core/requests/get_blueprint.rb
|
726
|
+
- lib/ey-core/requests/get_blueprints.rb
|
727
|
+
- lib/ey-core/requests/get_component.rb
|
728
|
+
- lib/ey-core/requests/get_components.rb
|
729
|
+
- lib/ey-core/requests/get_contacts.rb
|
730
|
+
- lib/ey-core/requests/get_costs.rb
|
731
|
+
- lib/ey-core/requests/get_current_user.rb
|
732
|
+
- lib/ey-core/requests/get_database_plan_usages.rb
|
733
|
+
- lib/ey-core/requests/get_database_server.rb
|
734
|
+
- lib/ey-core/requests/get_database_server_revisions.rb
|
735
|
+
- lib/ey-core/requests/get_database_server_snapshot.rb
|
736
|
+
- lib/ey-core/requests/get_database_server_snapshots.rb
|
737
|
+
- lib/ey-core/requests/get_database_server_usages.rb
|
738
|
+
- lib/ey-core/requests/get_database_servers.rb
|
739
|
+
- lib/ey-core/requests/get_database_servers_firewalls.rb
|
740
|
+
- lib/ey-core/requests/get_database_service.rb
|
741
|
+
- lib/ey-core/requests/get_database_services.rb
|
742
|
+
- lib/ey-core/requests/get_deployment.rb
|
743
|
+
- lib/ey-core/requests/get_deployments.rb
|
744
|
+
- lib/ey-core/requests/get_environment.rb
|
745
|
+
- lib/ey-core/requests/get_environment_database_services.rb
|
746
|
+
- lib/ey-core/requests/get_environment_logical_databases.rb
|
747
|
+
- lib/ey-core/requests/get_environment_plan_usages.rb
|
748
|
+
- lib/ey-core/requests/get_environment_variable.rb
|
749
|
+
- lib/ey-core/requests/get_environment_variables.rb
|
750
|
+
- lib/ey-core/requests/get_environments.rb
|
751
|
+
- lib/ey-core/requests/get_feature.rb
|
752
|
+
- lib/ey-core/requests/get_features.rb
|
753
|
+
- lib/ey-core/requests/get_firewall.rb
|
754
|
+
- lib/ey-core/requests/get_firewall_rule.rb
|
755
|
+
- lib/ey-core/requests/get_firewall_rules.rb
|
756
|
+
- lib/ey-core/requests/get_firewalls.rb
|
757
|
+
- lib/ey-core/requests/get_gem.rb
|
758
|
+
- lib/ey-core/requests/get_keypair.rb
|
759
|
+
- lib/ey-core/requests/get_keypair_deployment.rb
|
760
|
+
- lib/ey-core/requests/get_keypair_deployments.rb
|
761
|
+
- lib/ey-core/requests/get_keypairs.rb
|
762
|
+
- lib/ey-core/requests/get_legacy_alert.rb
|
763
|
+
- lib/ey-core/requests/get_legacy_alerts.rb
|
764
|
+
- lib/ey-core/requests/get_load_balancer.rb
|
765
|
+
- lib/ey-core/requests/get_load_balancer_node.rb
|
766
|
+
- lib/ey-core/requests/get_load_balancer_nodes.rb
|
767
|
+
- lib/ey-core/requests/get_load_balancer_service.rb
|
768
|
+
- lib/ey-core/requests/get_load_balancer_services.rb
|
769
|
+
- lib/ey-core/requests/get_load_balancers.rb
|
770
|
+
- lib/ey-core/requests/get_log.rb
|
771
|
+
- lib/ey-core/requests/get_logical_database.rb
|
772
|
+
- lib/ey-core/requests/get_logical_databases.rb
|
773
|
+
- lib/ey-core/requests/get_logs.rb
|
774
|
+
- lib/ey-core/requests/get_membership.rb
|
775
|
+
- lib/ey-core/requests/get_memberships.rb
|
776
|
+
- lib/ey-core/requests/get_message.rb
|
777
|
+
- lib/ey-core/requests/get_messages.rb
|
778
|
+
- lib/ey-core/requests/get_metadata.rb
|
779
|
+
- lib/ey-core/requests/get_operational_contact.rb
|
780
|
+
- lib/ey-core/requests/get_operational_contacts.rb
|
781
|
+
- lib/ey-core/requests/get_plan_usages.rb
|
782
|
+
- lib/ey-core/requests/get_possible_provider_locations.rb
|
783
|
+
- lib/ey-core/requests/get_provider.rb
|
784
|
+
- lib/ey-core/requests/get_provider_location.rb
|
785
|
+
- lib/ey-core/requests/get_provider_locations.rb
|
786
|
+
- lib/ey-core/requests/get_providers.rb
|
787
|
+
- lib/ey-core/requests/get_request.rb
|
788
|
+
- lib/ey-core/requests/get_requests.rb
|
789
|
+
- lib/ey-core/requests/get_server.rb
|
790
|
+
- lib/ey-core/requests/get_server_event.rb
|
791
|
+
- lib/ey-core/requests/get_server_events.rb
|
792
|
+
- lib/ey-core/requests/get_server_usages.rb
|
793
|
+
- lib/ey-core/requests/get_servers.rb
|
794
|
+
- lib/ey-core/requests/get_ssl_certificate.rb
|
795
|
+
- lib/ey-core/requests/get_ssl_certificates.rb
|
796
|
+
- lib/ey-core/requests/get_storage.rb
|
797
|
+
- lib/ey-core/requests/get_storage_user.rb
|
798
|
+
- lib/ey-core/requests/get_storage_users.rb
|
799
|
+
- lib/ey-core/requests/get_storages.rb
|
800
|
+
- lib/ey-core/requests/get_support_trial.rb
|
801
|
+
- lib/ey-core/requests/get_task.rb
|
802
|
+
- lib/ey-core/requests/get_tasks.rb
|
803
|
+
- lib/ey-core/requests/get_token.rb
|
804
|
+
- lib/ey-core/requests/get_token_by_login.rb
|
805
|
+
- lib/ey-core/requests/get_tokens.rb
|
806
|
+
- lib/ey-core/requests/get_untracked_server.rb
|
807
|
+
- lib/ey-core/requests/get_untracked_servers.rb
|
808
|
+
- lib/ey-core/requests/get_user.rb
|
809
|
+
- lib/ey-core/requests/get_users.rb
|
810
|
+
- lib/ey-core/requests/get_volume.rb
|
811
|
+
- lib/ey-core/requests/get_volumes.rb
|
812
|
+
- lib/ey-core/requests/reboot_server.rb
|
813
|
+
- lib/ey-core/requests/reconcile_server.rb
|
814
|
+
- lib/ey-core/requests/request_callback.rb
|
815
|
+
- lib/ey-core/requests/reset_password.rb
|
816
|
+
- lib/ey-core/requests/reset_server_state.rb
|
817
|
+
- lib/ey-core/requests/restart_environment_app_servers.rb
|
818
|
+
- lib/ey-core/requests/retrieve_docker_registry_credentials.rb
|
819
|
+
- lib/ey-core/requests/run_cluster_application_action.rb
|
820
|
+
- lib/ey-core/requests/run_environment_application_action.rb
|
821
|
+
- lib/ey-core/requests/signup.rb
|
822
|
+
- lib/ey-core/requests/start_server.rb
|
823
|
+
- lib/ey-core/requests/stop_server.rb
|
824
|
+
- lib/ey-core/requests/timeout_deployment.rb
|
825
|
+
- lib/ey-core/requests/unassign_environment.rb
|
826
|
+
- lib/ey-core/requests/update_addon.rb
|
827
|
+
- lib/ey-core/requests/update_address.rb
|
828
|
+
- lib/ey-core/requests/update_alert.rb
|
829
|
+
- lib/ey-core/requests/update_application_archive.rb
|
830
|
+
- lib/ey-core/requests/update_auto_scaling_alarm.rb
|
831
|
+
- lib/ey-core/requests/update_auto_scaling_group.rb
|
832
|
+
- lib/ey-core/requests/update_auto_scaling_policy.rb
|
833
|
+
- lib/ey-core/requests/update_billing.rb
|
834
|
+
- lib/ey-core/requests/update_blueprint.rb
|
835
|
+
- lib/ey-core/requests/update_connector.rb
|
836
|
+
- lib/ey-core/requests/update_environment.rb
|
837
|
+
- lib/ey-core/requests/update_environment_variable.rb
|
838
|
+
- lib/ey-core/requests/update_membership.rb
|
839
|
+
- lib/ey-core/requests/update_provider_location.rb
|
840
|
+
- lib/ey-core/requests/update_server.rb
|
841
|
+
- lib/ey-core/requests/update_ssl_certificate.rb
|
842
|
+
- lib/ey-core/requests/update_untracked_server.rb
|
843
|
+
- lib/ey-core/requests/upload_file.rb
|
844
|
+
- lib/ey-core/requests/upload_recipes_for_environment.rb
|
845
|
+
- lib/ey-core/response.rb
|
846
|
+
- lib/ey-core/response_cache.rb
|
847
|
+
- lib/ey-core/subscribable.rb
|
848
|
+
- lib/ey-core/test_helpers.rb
|
849
|
+
- lib/ey-core/test_helpers/account_helpers.rb
|
850
|
+
- lib/ey-core/test_helpers/alert_helpers.rb
|
851
|
+
- lib/ey-core/test_helpers/auto_scaling_helpers.rb
|
852
|
+
- lib/ey-core/test_helpers/client_helpers.rb
|
853
|
+
- lib/ey-core/test_helpers/cucumber.rb
|
854
|
+
- lib/ey-core/test_helpers/resource_helpers.rb
|
855
|
+
- lib/ey-core/test_helpers/rspec.rb
|
856
|
+
- lib/ey-core/token_authentication.rb
|
857
|
+
- lib/ey-core/version.rb
|
858
|
+
- spec/account_spec.rb
|
859
|
+
- spec/account_trial_spec.rb
|
860
|
+
- spec/accounts_referrals_spec.rb
|
861
|
+
- spec/accounts_spec.rb
|
862
|
+
- spec/addons_and_vars_spec.rb
|
863
|
+
- spec/addresses_spec.rb
|
864
|
+
- spec/alerts_spec.rb
|
865
|
+
- spec/application_archives_spec.rb
|
866
|
+
- spec/applications_spec.rb
|
867
|
+
- spec/auto_scaling_alarms_spec.rb
|
868
|
+
- spec/auto_scaling_groups_spec.rb
|
869
|
+
- spec/auto_scaling_policies_spec.rb
|
870
|
+
- spec/billing_spec.rb
|
871
|
+
- spec/blueprints_spec.rb
|
872
|
+
- spec/client_spec.rb
|
873
|
+
- spec/collection_spec.rb
|
874
|
+
- spec/costs_spec.rb
|
875
|
+
- spec/database_plan_usage_spec.rb
|
876
|
+
- spec/database_server_snapshots_spec.rb
|
877
|
+
- spec/database_server_usage_spec.rb
|
878
|
+
- spec/database_servers_spec.rb
|
879
|
+
- spec/database_services_spec.rb
|
880
|
+
- spec/deployments_spec.rb
|
881
|
+
- spec/docker_registry_credentials_spec.rb
|
882
|
+
- spec/environment_plan_usage_spec.rb
|
883
|
+
- spec/environments_spec.rb
|
884
|
+
- spec/ey-core/cli/accounts_spec.rb
|
885
|
+
- spec/ey-core/cli/helpers/server_sieve_spec.rb
|
886
|
+
- spec/ey-core/cli/recipes/apply_spec.rb
|
887
|
+
- spec/ey-core/cli/recipes/download_spec.rb
|
888
|
+
- spec/ey-core/cli/recipes/upload_spec.rb
|
889
|
+
- spec/features_spec.rb
|
890
|
+
- spec/firewalls_spec.rb
|
891
|
+
- spec/gems_spec.rb
|
892
|
+
- spec/keypair_deployments_spec.rb
|
893
|
+
- spec/keypairs_spec.rb
|
894
|
+
- spec/legacy_alerts_spec.rb
|
895
|
+
- spec/load_balancers_spec.rb
|
896
|
+
- spec/logical_databases_spec.rb
|
897
|
+
- spec/logs_spec.rb
|
898
|
+
- spec/memberships_spec.rb
|
899
|
+
- spec/messages_spec.rb
|
900
|
+
- spec/metadata_spec.rb
|
901
|
+
- spec/plan_usage_spec.rb
|
902
|
+
- spec/provider_locations_spec.rb
|
903
|
+
- spec/providers_spec.rb
|
904
|
+
- spec/requests/upload_file_spec.rb
|
905
|
+
- spec/requests_spec.rb
|
906
|
+
- spec/reset_password_spec.rb
|
907
|
+
- spec/server_events_spec.rb
|
908
|
+
- spec/server_usage_spec.rb
|
909
|
+
- spec/servers_spec.rb
|
910
|
+
- spec/services_spec.rb
|
911
|
+
- spec/signups_spec.rb
|
912
|
+
- spec/spec_helper.rb
|
913
|
+
- spec/ssl_certificates_spec.rb
|
914
|
+
- spec/storages_spec.rb
|
915
|
+
- spec/support/cli_helpers.rb
|
916
|
+
- spec/support/core.rb
|
917
|
+
- spec/support/coverage.rb
|
918
|
+
- spec/support/fake_kernel.rb
|
919
|
+
- spec/support/helpers.rb
|
920
|
+
- spec/support/timecop.rb
|
921
|
+
- spec/support_trial_spec.rb
|
922
|
+
- spec/tokens_spec.rb
|
923
|
+
- spec/untracked_servers_spec.rb
|
924
|
+
- spec/users_spec.rb
|
925
|
+
homepage: ''
|
926
|
+
licenses:
|
927
|
+
- MIT
|
928
|
+
metadata: {}
|
929
|
+
post_install_message:
|
930
|
+
rdoc_options: []
|
931
|
+
require_paths:
|
932
|
+
- lib
|
933
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
934
|
+
requirements:
|
935
|
+
- - ">="
|
936
|
+
- !ruby/object:Gem::Version
|
937
|
+
version: 2.6.3
|
938
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
939
|
+
requirements:
|
940
|
+
- - ">="
|
941
|
+
- !ruby/object:Gem::Version
|
942
|
+
version: '0'
|
943
|
+
requirements: []
|
944
|
+
rubygems_version: 3.0.3
|
945
|
+
signing_key:
|
946
|
+
specification_version: 4
|
947
|
+
summary: Client library providing real and mock functionality for accessing Engine
|
948
|
+
Yard's Core API
|
949
|
+
test_files:
|
950
|
+
- features/accounts.feature
|
951
|
+
- features/applications.feature
|
952
|
+
- features/current_user.feature
|
953
|
+
- features/docker_registry_credentials.feature
|
954
|
+
- features/environment_variables.feature
|
955
|
+
- features/environments.feature
|
956
|
+
- features/init.feature
|
957
|
+
- features/login.feature
|
958
|
+
- features/scp.feature
|
959
|
+
- features/step_definitions/accounts_steps.rb
|
960
|
+
- features/step_definitions/applications_steps.rb
|
961
|
+
- features/step_definitions/current_user_steps.rb
|
962
|
+
- features/step_definitions/deprecated_command_steps.rb
|
963
|
+
- features/step_definitions/docker_registry_credentials_steps.rb
|
964
|
+
- features/step_definitions/environment_variables_steps.rb
|
965
|
+
- features/step_definitions/environments_steps.rb
|
966
|
+
- features/step_definitions/version_steps.rb
|
967
|
+
- features/support/account_helpers.rb
|
968
|
+
- features/support/app_helpers.rb
|
969
|
+
- features/support/aruba.rb
|
970
|
+
- features/support/boilerplate.rb
|
971
|
+
- features/support/client_helpers.rb
|
972
|
+
- features/support/config_file_helpers.rb
|
973
|
+
- features/support/core.rb
|
974
|
+
- features/support/deployment_helpers.rb
|
975
|
+
- features/support/env.rb
|
976
|
+
- features/support/environment_helpers.rb
|
977
|
+
- features/support/environment_variable_helpers.rb
|
978
|
+
- features/support/fake_kernel.rb
|
979
|
+
- features/support/io.rb
|
980
|
+
- features/support/mock_api.rb
|
981
|
+
- features/support/output_helpers.rb
|
982
|
+
- features/support/resource_helpers.rb
|
983
|
+
- features/support/server_helpers.rb
|
984
|
+
- features/version.feature
|
985
|
+
- features/whoami.feature
|
986
|
+
- spec/account_spec.rb
|
987
|
+
- spec/account_trial_spec.rb
|
988
|
+
- spec/accounts_referrals_spec.rb
|
989
|
+
- spec/accounts_spec.rb
|
990
|
+
- spec/addons_and_vars_spec.rb
|
991
|
+
- spec/addresses_spec.rb
|
992
|
+
- spec/alerts_spec.rb
|
993
|
+
- spec/application_archives_spec.rb
|
994
|
+
- spec/applications_spec.rb
|
995
|
+
- spec/auto_scaling_alarms_spec.rb
|
996
|
+
- spec/auto_scaling_groups_spec.rb
|
997
|
+
- spec/auto_scaling_policies_spec.rb
|
998
|
+
- spec/billing_spec.rb
|
999
|
+
- spec/blueprints_spec.rb
|
1000
|
+
- spec/client_spec.rb
|
1001
|
+
- spec/collection_spec.rb
|
1002
|
+
- spec/costs_spec.rb
|
1003
|
+
- spec/database_plan_usage_spec.rb
|
1004
|
+
- spec/database_server_snapshots_spec.rb
|
1005
|
+
- spec/database_server_usage_spec.rb
|
1006
|
+
- spec/database_servers_spec.rb
|
1007
|
+
- spec/database_services_spec.rb
|
1008
|
+
- spec/deployments_spec.rb
|
1009
|
+
- spec/docker_registry_credentials_spec.rb
|
1010
|
+
- spec/environment_plan_usage_spec.rb
|
1011
|
+
- spec/environments_spec.rb
|
1012
|
+
- spec/ey-core/cli/accounts_spec.rb
|
1013
|
+
- spec/ey-core/cli/helpers/server_sieve_spec.rb
|
1014
|
+
- spec/ey-core/cli/recipes/apply_spec.rb
|
1015
|
+
- spec/ey-core/cli/recipes/download_spec.rb
|
1016
|
+
- spec/ey-core/cli/recipes/upload_spec.rb
|
1017
|
+
- spec/features_spec.rb
|
1018
|
+
- spec/firewalls_spec.rb
|
1019
|
+
- spec/gems_spec.rb
|
1020
|
+
- spec/keypair_deployments_spec.rb
|
1021
|
+
- spec/keypairs_spec.rb
|
1022
|
+
- spec/legacy_alerts_spec.rb
|
1023
|
+
- spec/load_balancers_spec.rb
|
1024
|
+
- spec/logical_databases_spec.rb
|
1025
|
+
- spec/logs_spec.rb
|
1026
|
+
- spec/memberships_spec.rb
|
1027
|
+
- spec/messages_spec.rb
|
1028
|
+
- spec/metadata_spec.rb
|
1029
|
+
- spec/plan_usage_spec.rb
|
1030
|
+
- spec/provider_locations_spec.rb
|
1031
|
+
- spec/providers_spec.rb
|
1032
|
+
- spec/requests/upload_file_spec.rb
|
1033
|
+
- spec/requests_spec.rb
|
1034
|
+
- spec/reset_password_spec.rb
|
1035
|
+
- spec/server_events_spec.rb
|
1036
|
+
- spec/server_usage_spec.rb
|
1037
|
+
- spec/servers_spec.rb
|
1038
|
+
- spec/services_spec.rb
|
1039
|
+
- spec/signups_spec.rb
|
1040
|
+
- spec/spec_helper.rb
|
1041
|
+
- spec/ssl_certificates_spec.rb
|
1042
|
+
- spec/storages_spec.rb
|
1043
|
+
- spec/support/cli_helpers.rb
|
1044
|
+
- spec/support/core.rb
|
1045
|
+
- spec/support/coverage.rb
|
1046
|
+
- spec/support/fake_kernel.rb
|
1047
|
+
- spec/support/helpers.rb
|
1048
|
+
- spec/support/timecop.rb
|
1049
|
+
- spec/support_trial_spec.rb
|
1050
|
+
- spec/tokens_spec.rb
|
1051
|
+
- spec/untracked_servers_spec.rb
|
1052
|
+
- spec/users_spec.rb
|