ey-core 3.4.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. checksums.yaml +5 -5
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +1 -0
  4. data/CHANGELOG.md +27 -5
  5. data/Gemfile +0 -1
  6. data/README.md +65 -8
  7. data/Rakefile +4 -1
  8. data/ey-core.gemspec +9 -5
  9. data/features/accounts.feature +13 -0
  10. data/features/applications.feature +29 -0
  11. data/features/current_user.feature +14 -0
  12. data/features/docker_registry_credentials.feature +21 -0
  13. data/features/environment_variables.feature +54 -0
  14. data/features/environments.feature +30 -0
  15. data/features/init.feature +6 -0
  16. data/features/login.feature +6 -0
  17. data/features/scp.feature +6 -0
  18. data/features/step_definitions/accounts_steps.rb +37 -0
  19. data/features/step_definitions/applications_steps.rb +39 -0
  20. data/features/step_definitions/current_user_steps.rb +11 -0
  21. data/features/step_definitions/deprecated_command_steps.rb +3 -0
  22. data/features/step_definitions/docker_registry_credentials_steps.rb +3 -0
  23. data/features/step_definitions/environment_variables_steps.rb +51 -0
  24. data/features/step_definitions/environments_steps.rb +52 -0
  25. data/features/step_definitions/version_steps.rb +3 -0
  26. data/features/support/account_helpers.rb +89 -0
  27. data/features/support/app_helpers.rb +19 -0
  28. data/features/support/aruba.rb +1 -0
  29. data/features/support/boilerplate.rb +1 -0
  30. data/features/support/client_helpers.rb +36 -0
  31. data/features/support/config_file_helpers.rb +42 -0
  32. data/features/support/core.rb +19 -0
  33. data/features/support/deployment_helpers.rb +19 -0
  34. data/features/support/env.rb +40 -0
  35. data/features/support/environment_helpers.rb +23 -0
  36. data/features/support/environment_variable_helpers.rb +20 -0
  37. data/features/support/fake_kernel.rb +23 -0
  38. data/features/support/io.rb +5 -0
  39. data/features/support/mock_api.rb +20 -0
  40. data/features/support/output_helpers.rb +7 -0
  41. data/features/support/resource_helpers.rb +201 -0
  42. data/features/support/server_helpers.rb +27 -0
  43. data/features/version.feature +8 -0
  44. data/features/whoami.feature +14 -0
  45. data/lib/ey-core/cli/deploy.rb +4 -4
  46. data/lib/ey-core/cli/docker_registry_login.rb +29 -0
  47. data/lib/ey-core/cli/environment_variables.rb +71 -0
  48. data/lib/ey-core/cli/helpers/core.rb +29 -0
  49. data/lib/ey-core/cli/main.rb +5 -4
  50. data/lib/ey-core/cli/servers.rb +35 -17
  51. data/lib/ey-core/cli/ssh.rb +1 -1
  52. data/lib/ey-core/client.rb +35 -0
  53. data/lib/ey-core/client/mock.rb +5 -0
  54. data/lib/ey-core/collections/auto_scaling_alarms.rb +8 -0
  55. data/lib/ey-core/collections/auto_scaling_groups.rb +8 -0
  56. data/lib/ey-core/collections/auto_scaling_policies.rb +33 -0
  57. data/lib/ey-core/collections/container_clusters.rb +9 -0
  58. data/lib/ey-core/collections/container_service_deployments.rb +17 -0
  59. data/lib/ey-core/collections/environment_variables.rb +8 -0
  60. data/lib/ey-core/collections/servers.rb +4 -0
  61. data/lib/ey-core/models/account.rb +10 -0
  62. data/lib/ey-core/models/address.rb +2 -0
  63. data/lib/ey-core/models/application.rb +1 -0
  64. data/lib/ey-core/models/auto_scaling_alarm.rb +54 -0
  65. data/lib/ey-core/models/auto_scaling_group.rb +75 -0
  66. data/lib/ey-core/models/base_auto_scaling_policy.rb +61 -0
  67. data/lib/ey-core/models/container_service_deployment.rb +17 -0
  68. data/lib/ey-core/models/environment.rb +60 -47
  69. data/lib/ey-core/models/environment_variable.rb +29 -0
  70. data/lib/ey-core/models/request.rb +6 -0
  71. data/lib/ey-core/models/server.rb +2 -0
  72. data/lib/ey-core/models/simple_auto_scaling_policy.rb +24 -0
  73. data/lib/ey-core/models/step_auto_scaling_policy.rb +24 -0
  74. data/lib/ey-core/models/target_auto_scaling_policy.rb +24 -0
  75. data/lib/ey-core/requests/boot_environment.rb +1 -1
  76. data/lib/ey-core/requests/create_account.rb +5 -0
  77. data/lib/ey-core/requests/create_address.rb +1 -0
  78. data/lib/ey-core/requests/create_application.rb +8 -7
  79. data/lib/ey-core/requests/create_auto_scaling_alarm.rb +69 -0
  80. data/lib/ey-core/requests/create_auto_scaling_group.rb +62 -0
  81. data/lib/ey-core/requests/create_auto_scaling_policy.rb +68 -0
  82. data/lib/ey-core/requests/create_environment.rb +2 -0
  83. data/lib/ey-core/requests/create_environment_variable.rb +39 -0
  84. data/lib/ey-core/requests/create_user.rb +8 -6
  85. data/lib/ey-core/requests/destroy_auto_scaling_alarm.rb +49 -0
  86. data/lib/ey-core/requests/destroy_auto_scaling_group.rb +44 -0
  87. data/lib/ey-core/requests/destroy_auto_scaling_policy.rb +49 -0
  88. data/lib/ey-core/requests/discover_container_service_deployments.rb +71 -0
  89. data/lib/ey-core/requests/discover_server.rb +60 -0
  90. data/lib/ey-core/requests/get_applications.rb +1 -1
  91. data/lib/ey-core/requests/get_auto_scaling_alarm.rb +27 -0
  92. data/lib/ey-core/requests/get_auto_scaling_alarms.rb +34 -0
  93. data/lib/ey-core/requests/get_auto_scaling_group.rb +21 -0
  94. data/lib/ey-core/requests/get_auto_scaling_groups.rb +29 -0
  95. data/lib/ey-core/requests/get_auto_scaling_policies.rb +46 -0
  96. data/lib/ey-core/requests/get_auto_scaling_policy.rb +27 -0
  97. data/lib/ey-core/requests/get_deployments.rb +1 -1
  98. data/lib/ey-core/requests/get_environment_variable.rb +19 -0
  99. data/lib/ey-core/requests/get_environment_variables.rb +29 -0
  100. data/lib/ey-core/requests/get_environments.rb +1 -1
  101. data/lib/ey-core/requests/get_ssl_certificate.rb +1 -1
  102. data/lib/ey-core/requests/retrieve_docker_registry_credentials.rb +24 -0
  103. data/lib/ey-core/requests/update_auto_scaling_alarm.rb +45 -0
  104. data/lib/ey-core/requests/update_auto_scaling_group.rb +45 -0
  105. data/lib/ey-core/requests/update_auto_scaling_policy.rb +46 -0
  106. data/lib/ey-core/requests/update_environment_variable.rb +25 -0
  107. data/lib/ey-core/test_helpers.rb +2 -0
  108. data/lib/ey-core/test_helpers/auto_scaling_helpers.rb +35 -0
  109. data/lib/ey-core/version.rb +1 -1
  110. data/spec/addresses_spec.rb +2 -1
  111. data/spec/auto_scaling_alarms_spec.rb +40 -0
  112. data/spec/auto_scaling_groups_spec.rb +28 -0
  113. data/spec/auto_scaling_policies_spec.rb +94 -0
  114. data/spec/docker_registry_credentials_spec.rb +16 -0
  115. data/spec/environments_spec.rb +18 -0
  116. data/spec/servers_spec.rb +8 -0
  117. data/spec/spec_helper.rb +7 -0
  118. data/spec/support/core.rb +0 -2
  119. metadata +192 -18
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'as a user' do
4
+ let(:client) { create_client }
5
+ let(:location) { 'us-east-1' }
6
+ let!(:account) { create_account(client: client) }
7
+
8
+ it 'returns a valid docker registry credentials' do
9
+ credentials = account.retrieve_docker_registry_credentials(location)
10
+
11
+ expect(credentials.username).to be
12
+ expect(credentials.password).to be
13
+ expect(credentials.registry_endpoint).to match(/#{location}/)
14
+ expect(credentials.expires_at).to be > (Time.now + 6 * 3600).to_i
15
+ end
16
+ end
@@ -173,6 +173,24 @@ describe 'as a user' do
173
173
  expect(account.environments.all.map(&:identity)).to contain_exactly(environment.identity)
174
174
  end
175
175
 
176
+ it 'gets the environment attributes' do
177
+ expect(client.environments.get(environment.id)).to have_attributes(
178
+ "account" => account,
179
+ "classic" => true,
180
+ "custom_recipes" => nil,
181
+ "database_stack" => "postgres9_4",
182
+ "deployments_url" => client.url_for("/environments/#{environment.id}/deployments"),
183
+ "id" => environment.id,
184
+ "keypairs" => environment.keypairs,
185
+ "logical_databases_url" => client.url_for("/environments/#{environment.id}/logical-databases"),
186
+ "release_label" => "stable-v4-2.0.101",
187
+ "servers" => environment.servers,
188
+ "stack_name" => "nginx_passenger4",
189
+ "username" => "deploy",
190
+ "service_level" => "default"
191
+ )
192
+ end
193
+
176
194
  it "adds a keypair" do
177
195
  client.keypairs.create(name: SecureRandom.hex(6), public_key: SSHKey.generate.ssh_public_key)
178
196
  end
@@ -10,6 +10,14 @@ describe 'servers' do
10
10
  let!(:environment) { create_environment(account: account, application: application, name: Faker::Name.first_name) }
11
11
  let!(:server) { environment.servers.first }
12
12
 
13
+ context "discovering" do
14
+ it "discovers a server that it knows nothing about" do
15
+ expect {
16
+ client.servers.discover(provider: account.providers.first.identity, environment: environment.identity, server: {location: "us-east-1b", provisioned_id: "i-newserver"}).resource!
17
+ }.to change { client.servers.count }.by(1)
18
+ end
19
+ end
20
+
13
21
  context "with a second account" do
14
22
  let(:account2) { create_account(client: client) }
15
23
  let(:app2) { create_application(account: account2) }
@@ -17,4 +17,11 @@ RSpec.configure do |config|
17
17
  $stdin = STDIN
18
18
  $stderr = STDERR
19
19
  end
20
+
21
+ #
22
+ # This allows to have not_change matcher, i.e.
23
+ #
24
+ # expect { something }.to change { other_thing }
25
+ # .and not_change { completely_other_things }
26
+ RSpec::Matchers.define_negated_matcher :not_change, :change
20
27
  end
@@ -1,5 +1,3 @@
1
- Cistern.formatter = Cistern::Formatter::AwesomePrint
2
-
3
1
  if ENV['MOCK_CORE'] == 'true'
4
2
  Ey::Core::Client.mock!
5
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-24 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: awesome_print
28
+ name: amazing_print
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: belafonte
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -108,34 +108,48 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: hashie
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 4.1.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 4.1.0
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: faraday
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
129
  - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: '0.9'
131
+ version: 1.0.1
118
132
  type: :runtime
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: '0.9'
138
+ version: 1.0.1
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: faraday_middleware
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: '0.9'
145
+ version: 1.0.0
132
146
  type: :runtime
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: '0.9'
152
+ version: 1.0.0
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rack
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -182,16 +196,16 @@ dependencies:
182
196
  name: json
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - "<"
199
+ - - "~>"
186
200
  - !ruby/object:Gem::Version
187
- version: '2.0'
201
+ version: 2.3.0
188
202
  type: :runtime
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - "<"
206
+ - - "~>"
193
207
  - !ruby/object:Gem::Version
194
- version: '2.0'
208
+ version: 2.3.0
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: mime-types
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -332,6 +346,48 @@ dependencies:
332
346
  - - ">="
333
347
  - !ruby/object:Gem::Version
334
348
  version: '0'
349
+ - !ruby/object:Gem::Dependency
350
+ name: aruba
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - "~>"
354
+ - !ruby/object:Gem::Version
355
+ version: '0.11'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - "~>"
361
+ - !ruby/object:Gem::Version
362
+ version: '0.11'
363
+ - !ruby/object:Gem::Dependency
364
+ name: cucumber
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - "~>"
368
+ - !ruby/object:Gem::Version
369
+ version: '2.1'
370
+ type: :development
371
+ prerelease: false
372
+ version_requirements: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - "~>"
375
+ - !ruby/object:Gem::Version
376
+ version: '2.1'
377
+ - !ruby/object:Gem::Dependency
378
+ name: factis
379
+ requirement: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - "~>"
382
+ - !ruby/object:Gem::Version
383
+ version: '1.0'
384
+ type: :development
385
+ prerelease: false
386
+ version_requirements: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - "~>"
389
+ - !ruby/object:Gem::Version
390
+ version: '1.0'
335
391
  description: Engine Yard Core API Ruby Client
336
392
  email:
337
393
  - engineering@engineyard.com
@@ -358,6 +414,42 @@ files:
358
414
  - examples/stop_env.rb
359
415
  - examples/terminate_instance.rb
360
416
  - ey-core.gemspec
417
+ - features/accounts.feature
418
+ - features/applications.feature
419
+ - features/current_user.feature
420
+ - features/docker_registry_credentials.feature
421
+ - features/environment_variables.feature
422
+ - features/environments.feature
423
+ - features/init.feature
424
+ - features/login.feature
425
+ - features/scp.feature
426
+ - features/step_definitions/accounts_steps.rb
427
+ - features/step_definitions/applications_steps.rb
428
+ - features/step_definitions/current_user_steps.rb
429
+ - features/step_definitions/deprecated_command_steps.rb
430
+ - features/step_definitions/docker_registry_credentials_steps.rb
431
+ - features/step_definitions/environment_variables_steps.rb
432
+ - features/step_definitions/environments_steps.rb
433
+ - features/step_definitions/version_steps.rb
434
+ - features/support/account_helpers.rb
435
+ - features/support/app_helpers.rb
436
+ - features/support/aruba.rb
437
+ - features/support/boilerplate.rb
438
+ - features/support/client_helpers.rb
439
+ - features/support/config_file_helpers.rb
440
+ - features/support/core.rb
441
+ - features/support/deployment_helpers.rb
442
+ - features/support/env.rb
443
+ - features/support/environment_helpers.rb
444
+ - features/support/environment_variable_helpers.rb
445
+ - features/support/fake_kernel.rb
446
+ - features/support/io.rb
447
+ - features/support/mock_api.rb
448
+ - features/support/output_helpers.rb
449
+ - features/support/resource_helpers.rb
450
+ - features/support/server_helpers.rb
451
+ - features/version.feature
452
+ - features/whoami.feature
361
453
  - lib/ey-core.rb
362
454
  - lib/ey-core/associations.rb
363
455
  - lib/ey-core/cli.rb
@@ -366,6 +458,8 @@ files:
366
458
  - lib/ey-core/cli/console.rb
367
459
  - lib/ey-core/cli/current_user.rb
368
460
  - lib/ey-core/cli/deploy.rb
461
+ - lib/ey-core/cli/docker_registry_login.rb
462
+ - lib/ey-core/cli/environment_variables.rb
369
463
  - lib/ey-core/cli/environments.rb
370
464
  - lib/ey-core/cli/errors.rb
371
465
  - lib/ey-core/cli/help.rb
@@ -412,10 +506,15 @@ files:
412
506
  - lib/ey-core/collections/application_archives.rb
413
507
  - lib/ey-core/collections/application_deployments.rb
414
508
  - lib/ey-core/collections/applications.rb
509
+ - lib/ey-core/collections/auto_scaling_alarms.rb
510
+ - lib/ey-core/collections/auto_scaling_groups.rb
511
+ - lib/ey-core/collections/auto_scaling_policies.rb
415
512
  - lib/ey-core/collections/backup_files.rb
416
513
  - lib/ey-core/collections/blueprints.rb
417
514
  - lib/ey-core/collections/components.rb
418
515
  - lib/ey-core/collections/contacts.rb
516
+ - lib/ey-core/collections/container_clusters.rb
517
+ - lib/ey-core/collections/container_service_deployments.rb
419
518
  - lib/ey-core/collections/costs.rb
420
519
  - lib/ey-core/collections/database_plan_usages.rb
421
520
  - lib/ey-core/collections/database_server_revisions.rb
@@ -425,6 +524,7 @@ files:
425
524
  - lib/ey-core/collections/database_services.rb
426
525
  - lib/ey-core/collections/deployments.rb
427
526
  - lib/ey-core/collections/environment_plan_usages.rb
527
+ - lib/ey-core/collections/environment_variables.rb
428
528
  - lib/ey-core/collections/environments.rb
429
529
  - lib/ey-core/collections/features.rb
430
530
  - lib/ey-core/collections/firewall_rules.rb
@@ -475,11 +575,15 @@ files:
475
575
  - lib/ey-core/models/application.rb
476
576
  - lib/ey-core/models/application_archive.rb
477
577
  - lib/ey-core/models/application_deployment.rb
578
+ - lib/ey-core/models/auto_scaling_alarm.rb
579
+ - lib/ey-core/models/auto_scaling_group.rb
478
580
  - lib/ey-core/models/backup_file.rb
581
+ - lib/ey-core/models/base_auto_scaling_policy.rb
479
582
  - lib/ey-core/models/billing.rb
480
583
  - lib/ey-core/models/blueprint.rb
481
584
  - lib/ey-core/models/component.rb
482
585
  - lib/ey-core/models/contact.rb
586
+ - lib/ey-core/models/container_service_deployment.rb
483
587
  - lib/ey-core/models/cost.rb
484
588
  - lib/ey-core/models/database_plan_usage.rb
485
589
  - lib/ey-core/models/database_server.rb
@@ -490,6 +594,7 @@ files:
490
594
  - lib/ey-core/models/deployment.rb
491
595
  - lib/ey-core/models/environment.rb
492
596
  - lib/ey-core/models/environment_plan_usage.rb
597
+ - lib/ey-core/models/environment_variable.rb
493
598
  - lib/ey-core/models/feature.rb
494
599
  - lib/ey-core/models/firewall.rb
495
600
  - lib/ey-core/models/firewall_rule.rb
@@ -512,10 +617,13 @@ files:
512
617
  - lib/ey-core/models/server_event.rb
513
618
  - lib/ey-core/models/server_usage.rb
514
619
  - lib/ey-core/models/service.rb
620
+ - lib/ey-core/models/simple_auto_scaling_policy.rb
515
621
  - lib/ey-core/models/ssl_certificate.rb
622
+ - lib/ey-core/models/step_auto_scaling_policy.rb
516
623
  - lib/ey-core/models/storage.rb
517
624
  - lib/ey-core/models/storage_user.rb
518
625
  - lib/ey-core/models/support_trial.rb
626
+ - lib/ey-core/models/target_auto_scaling_policy.rb
519
627
  - lib/ey-core/models/task.rb
520
628
  - lib/ey-core/models/token.rb
521
629
  - lib/ey-core/models/untracked_address.rb
@@ -540,11 +648,15 @@ files:
540
648
  - lib/ey-core/requests/create_alert.rb
541
649
  - lib/ey-core/requests/create_application.rb
542
650
  - lib/ey-core/requests/create_application_archive.rb
651
+ - lib/ey-core/requests/create_auto_scaling_alarm.rb
652
+ - lib/ey-core/requests/create_auto_scaling_group.rb
653
+ - lib/ey-core/requests/create_auto_scaling_policy.rb
543
654
  - lib/ey-core/requests/create_backup_file.rb
544
655
  - lib/ey-core/requests/create_database_server.rb
545
656
  - lib/ey-core/requests/create_database_service.rb
546
657
  - lib/ey-core/requests/create_database_service_snapshot.rb
547
658
  - lib/ey-core/requests/create_environment.rb
659
+ - lib/ey-core/requests/create_environment_variable.rb
548
660
  - lib/ey-core/requests/create_firewall.rb
549
661
  - lib/ey-core/requests/create_firewall_rule.rb
550
662
  - lib/ey-core/requests/create_keypair.rb
@@ -568,6 +680,9 @@ files:
568
680
  - lib/ey-core/requests/deploy_environment_application.rb
569
681
  - lib/ey-core/requests/deprovision_environment.rb
570
682
  - lib/ey-core/requests/destroy_addon.rb
683
+ - lib/ey-core/requests/destroy_auto_scaling_alarm.rb
684
+ - lib/ey-core/requests/destroy_auto_scaling_group.rb
685
+ - lib/ey-core/requests/destroy_auto_scaling_policy.rb
571
686
  - lib/ey-core/requests/destroy_blueprint.rb
572
687
  - lib/ey-core/requests/destroy_database_server.rb
573
688
  - lib/ey-core/requests/destroy_database_server_snapshot.rb
@@ -585,9 +700,11 @@ files:
585
700
  - lib/ey-core/requests/destroy_user.rb
586
701
  - lib/ey-core/requests/detach_address.rb
587
702
  - lib/ey-core/requests/disable_feature.rb
703
+ - lib/ey-core/requests/discover_container_service_deployments.rb
588
704
  - lib/ey-core/requests/discover_database_server.rb
589
705
  - lib/ey-core/requests/discover_database_server_snapshots.rb
590
706
  - lib/ey-core/requests/discover_provider_location.rb
707
+ - lib/ey-core/requests/discover_server.rb
591
708
  - lib/ey-core/requests/download_file.rb
592
709
  - lib/ey-core/requests/enable_feature.rb
593
710
  - lib/ey-core/requests/get_account.rb
@@ -609,6 +726,12 @@ files:
609
726
  - lib/ey-core/requests/get_application_deployment.rb
610
727
  - lib/ey-core/requests/get_application_deployments.rb
611
728
  - lib/ey-core/requests/get_applications.rb
729
+ - lib/ey-core/requests/get_auto_scaling_alarm.rb
730
+ - lib/ey-core/requests/get_auto_scaling_alarms.rb
731
+ - lib/ey-core/requests/get_auto_scaling_group.rb
732
+ - lib/ey-core/requests/get_auto_scaling_groups.rb
733
+ - lib/ey-core/requests/get_auto_scaling_policies.rb
734
+ - lib/ey-core/requests/get_auto_scaling_policy.rb
612
735
  - lib/ey-core/requests/get_backup_file.rb
613
736
  - lib/ey-core/requests/get_backup_files.rb
614
737
  - lib/ey-core/requests/get_billing.rb
@@ -635,6 +758,8 @@ files:
635
758
  - lib/ey-core/requests/get_environment_database_services.rb
636
759
  - lib/ey-core/requests/get_environment_logical_databases.rb
637
760
  - lib/ey-core/requests/get_environment_plan_usages.rb
761
+ - lib/ey-core/requests/get_environment_variable.rb
762
+ - lib/ey-core/requests/get_environment_variables.rb
638
763
  - lib/ey-core/requests/get_environments.rb
639
764
  - lib/ey-core/requests/get_feature.rb
640
765
  - lib/ey-core/requests/get_features.rb
@@ -703,6 +828,7 @@ files:
703
828
  - lib/ey-core/requests/reset_password.rb
704
829
  - lib/ey-core/requests/reset_server_state.rb
705
830
  - lib/ey-core/requests/restart_environment_app_servers.rb
831
+ - lib/ey-core/requests/retrieve_docker_registry_credentials.rb
706
832
  - lib/ey-core/requests/run_cluster_application_action.rb
707
833
  - lib/ey-core/requests/run_environment_application_action.rb
708
834
  - lib/ey-core/requests/signup.rb
@@ -714,10 +840,14 @@ files:
714
840
  - lib/ey-core/requests/update_address.rb
715
841
  - lib/ey-core/requests/update_alert.rb
716
842
  - lib/ey-core/requests/update_application_archive.rb
843
+ - lib/ey-core/requests/update_auto_scaling_alarm.rb
844
+ - lib/ey-core/requests/update_auto_scaling_group.rb
845
+ - lib/ey-core/requests/update_auto_scaling_policy.rb
717
846
  - lib/ey-core/requests/update_billing.rb
718
847
  - lib/ey-core/requests/update_blueprint.rb
719
848
  - lib/ey-core/requests/update_connector.rb
720
849
  - lib/ey-core/requests/update_environment.rb
850
+ - lib/ey-core/requests/update_environment_variable.rb
721
851
  - lib/ey-core/requests/update_membership.rb
722
852
  - lib/ey-core/requests/update_provider_location.rb
723
853
  - lib/ey-core/requests/update_server.rb
@@ -731,6 +861,7 @@ files:
731
861
  - lib/ey-core/test_helpers.rb
732
862
  - lib/ey-core/test_helpers/account_helpers.rb
733
863
  - lib/ey-core/test_helpers/alert_helpers.rb
864
+ - lib/ey-core/test_helpers/auto_scaling_helpers.rb
734
865
  - lib/ey-core/test_helpers/client_helpers.rb
735
866
  - lib/ey-core/test_helpers/cucumber.rb
736
867
  - lib/ey-core/test_helpers/resource_helpers.rb
@@ -746,6 +877,9 @@ files:
746
877
  - spec/alerts_spec.rb
747
878
  - spec/application_archives_spec.rb
748
879
  - spec/applications_spec.rb
880
+ - spec/auto_scaling_alarms_spec.rb
881
+ - spec/auto_scaling_groups_spec.rb
882
+ - spec/auto_scaling_policies_spec.rb
749
883
  - spec/billing_spec.rb
750
884
  - spec/blueprints_spec.rb
751
885
  - spec/client_spec.rb
@@ -757,6 +891,7 @@ files:
757
891
  - spec/database_servers_spec.rb
758
892
  - spec/database_services_spec.rb
759
893
  - spec/deployments_spec.rb
894
+ - spec/docker_registry_credentials_spec.rb
760
895
  - spec/environment_plan_usage_spec.rb
761
896
  - spec/environments_spec.rb
762
897
  - spec/ey-core/cli/accounts_spec.rb
@@ -812,20 +947,55 @@ required_ruby_version: !ruby/object:Gem::Requirement
812
947
  requirements:
813
948
  - - ">="
814
949
  - !ruby/object:Gem::Version
815
- version: 2.2.2
950
+ version: '2.5'
816
951
  required_rubygems_version: !ruby/object:Gem::Requirement
817
952
  requirements:
818
953
  - - ">="
819
954
  - !ruby/object:Gem::Version
820
955
  version: '0'
821
956
  requirements: []
822
- rubyforge_project:
823
- rubygems_version: 2.5.2
957
+ rubygems_version: 3.0.8
824
958
  signing_key:
825
959
  specification_version: 4
826
960
  summary: Client library providing real and mock functionality for accessing Engine
827
961
  Yard's Core API
828
962
  test_files:
963
+ - features/accounts.feature
964
+ - features/applications.feature
965
+ - features/current_user.feature
966
+ - features/docker_registry_credentials.feature
967
+ - features/environment_variables.feature
968
+ - features/environments.feature
969
+ - features/init.feature
970
+ - features/login.feature
971
+ - features/scp.feature
972
+ - features/step_definitions/accounts_steps.rb
973
+ - features/step_definitions/applications_steps.rb
974
+ - features/step_definitions/current_user_steps.rb
975
+ - features/step_definitions/deprecated_command_steps.rb
976
+ - features/step_definitions/docker_registry_credentials_steps.rb
977
+ - features/step_definitions/environment_variables_steps.rb
978
+ - features/step_definitions/environments_steps.rb
979
+ - features/step_definitions/version_steps.rb
980
+ - features/support/account_helpers.rb
981
+ - features/support/app_helpers.rb
982
+ - features/support/aruba.rb
983
+ - features/support/boilerplate.rb
984
+ - features/support/client_helpers.rb
985
+ - features/support/config_file_helpers.rb
986
+ - features/support/core.rb
987
+ - features/support/deployment_helpers.rb
988
+ - features/support/env.rb
989
+ - features/support/environment_helpers.rb
990
+ - features/support/environment_variable_helpers.rb
991
+ - features/support/fake_kernel.rb
992
+ - features/support/io.rb
993
+ - features/support/mock_api.rb
994
+ - features/support/output_helpers.rb
995
+ - features/support/resource_helpers.rb
996
+ - features/support/server_helpers.rb
997
+ - features/version.feature
998
+ - features/whoami.feature
829
999
  - spec/account_spec.rb
830
1000
  - spec/account_trial_spec.rb
831
1001
  - spec/accounts_referrals_spec.rb
@@ -835,6 +1005,9 @@ test_files:
835
1005
  - spec/alerts_spec.rb
836
1006
  - spec/application_archives_spec.rb
837
1007
  - spec/applications_spec.rb
1008
+ - spec/auto_scaling_alarms_spec.rb
1009
+ - spec/auto_scaling_groups_spec.rb
1010
+ - spec/auto_scaling_policies_spec.rb
838
1011
  - spec/billing_spec.rb
839
1012
  - spec/blueprints_spec.rb
840
1013
  - spec/client_spec.rb
@@ -846,6 +1019,7 @@ test_files:
846
1019
  - spec/database_servers_spec.rb
847
1020
  - spec/database_services_spec.rb
848
1021
  - spec/deployments_spec.rb
1022
+ - spec/docker_registry_credentials_spec.rb
849
1023
  - spec/environment_plan_usage_spec.rb
850
1024
  - spec/environments_spec.rb
851
1025
  - spec/ey-core/cli/accounts_spec.rb