Skip to content

Commit

Permalink
Merge pull request #7 from agrare/update_vcr_for_fog_google_0_5_3
Browse files Browse the repository at this point in the history
Update vcr_cassettes for fog-google 0.5.3
  • Loading branch information
Bronagh Sorota authored Jun 5, 2017
2 parents a5df9ca + d690937 commit 78f85fc
Show file tree
Hide file tree
Showing 3 changed files with 5,703 additions and 6,001 deletions.
2 changes: 1 addition & 1 deletion manageiq-providers-google.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|

s.files = Dir["{app,config,lib}/**/*"]

s.add_dependency "fog-google", ">=0.5.2"
s.add_dependency "fog-google", ">=0.5.3"
s.add_dependency "google-api-client", "~>0.8.6"

s.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe ManageIQ::Providers::Google::CloudManager::Refresher do
before(:each) do
_guid, _server, zone = EvmSpecHelper.create_guid_miq_server_zone
@google_json_key = "{\r\n \"type\": \"service_account\",\r\n \"project_id\": \"civil-tube-113314\",\r\n \"private_key_id\": \"b30f7f40eb725006e658bc5bd2f58200df81280a\",\r\n \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC0yjlFvsDexy22\\nAdXET0ptuS1r091fQn3RREbmZsbLvlxiRfdySJpnkOv8fmzoz7/1q1vxGhnftA9S\\nPyxCz1WSc/JDac8iybh5/zg96oFk9rq6VVc7lGy/i9igrxQzyzkPIuS0g0Y1OzRz\\nRro+AKBLgKcejd6EZ16jJWYRgAtD4c2CWizYCFNfHJzn/e8mBWGWYdmqr6VxaXNf\\nBesL+aF/FimAvCEwW1zbXZEkq6vMzlNdUO3EvpDr+yfHdjre+KcflrxVdr6Ju9QD\\nHlAENgP78cZNL1Gk4Os1wSMf8GQV4yKRO/wAGJI4KS4Id8iijwjWhDHCJgdfPNmt\\na/qpX+YdAgMBAAECggEAASXHd0ner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IcHMgnBqTWKTFAHtK5QKBgDGuz6/riH2hqG7V9FOg\\nwOVVCQnaQhmanHcB7V+Q8CTGL2k4WUck5emWal0X9jCYhEWLvPTuCovKsSQQH4ek\\n+Bd3eg1Uj70+BIX+56sW8SRNzdPdFgIymTR1fXdvsabkkzxKFX/ke/CJov++Kt8k\\ncoj35VMt9TXvmp7zH3Sief0D\\n-----END PRIVATE KEY-----\\n\",\r\n \"client_email\": \"[email protected]\",\r\n \"client_id\": \"105732955724324875174\",\r\n \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\r\n \"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\r\n \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\r\n \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/service-account-1%40civil-tube-113314.iam.gserviceaccount.com\"\r\n}"
@google_json_key = "{\n \"type\": \"service_account\",\n \"project_id\": \"civil-tube-113314\",\n \"private_key_id\": \"bd99fda9d4a1e62f8371b7cd92ffcc6bb21ee453\",\n \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCR2KaVdHB3sMkm\\n8v8KZCPuKMvbUZ4oswT2ORRgm8hwJkMgvGpGAVnCRTwujXwm7ar7Acbopxzg4Qcm\\nb+DL6liyojrV3flbNiFcQniyMdjJxERyGKCEeLa+fGW9dNG2/v+2WAiQamywKgMA\\nlgR9bgaKZBPoDYIGpcwMqbXfCz/edUrWgf/sPw/EVePn56ARwEGE8azPyflP+tsM\\n2SskpW0SNJnHgwj3dKlH8iRXFTqGBaodM/864yb5IPTFkmR/3TPs9z+vbiyD/5zw\\nRbsSY9CRkP1ZU6qYn4KEbyv2eZ3J76oYJFUFWOPiKqNQBSdMX4+D2x7GlePEYnoV\\n5Zq9deTTAgMBAAECggEACaadGgADKTMTkcuRQNjGNTjnNHNpfyaeyhmWKvEOtGJz\\nyAjFEi4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1Yc+wAOnifXBKhSTpjDqgru5OiGT7rggzyK0ui3nyfbwM5AH7\\nyQXmt8q0Nnzo8GdL+YKTfGbnmSwDH0SotEeofwruPuxOr7ows6joo283NOugudsx\\nUAa/tB/piHG/VYQ6dxb8zsg=\\n-----END PRIVATE KEY-----\\n\",\n \"client_email\": \"[email protected]\",\n \"client_id\": \"102455136987689387132\",\n \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n \"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\n \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/199203428544-compute%40developer.gserviceaccount.com\"\n}\n"
@ems = FactoryGirl.create(:ems_google, :zone => zone, :provider_region => "us-central1")
@ems.authentications << FactoryGirl.create(:authentication, :userid => "_", :auth_key => @google_json_key)
@ems.update_attributes(:project => "civil-tube-113314")
Expand Down Expand Up @@ -49,11 +49,11 @@ def join; end
def expected_table_counts
{
:ext_management_system => 2,
:flavor => 19,
:availability_zone => 15,
:vm_or_template => 616,
:flavor => 22,
:availability_zone => 24,
:vm_or_template => 779,
:vm => 6,
:miq_template => 610,
:miq_template => 773,
:disk => 6,
:guest_device => 0,
:hardware => 6,
Expand All @@ -64,9 +64,9 @@ def expected_table_counts
:load_balancer_health_checks => 1,
:load_balancer_health_check_members => 1,
:network => 0,
:operating_system => 616,
:operating_system => 779,
:relationship => 11,
:miq_queue => 617,
:miq_queue => 780,
:orchestration_template => 0,
:orchestration_stack => 0,
:orchestration_stack_parameter => 0,
Expand All @@ -77,7 +77,7 @@ def expected_table_counts
:cloud_network => 3,
:floating_ip => 3,
:network_router => 0,
:cloud_subnet => 6,
:cloud_subnet => 9,
:key_pair => 4,
}
end
Expand Down
Loading

0 comments on commit 78f85fc

Please sign in to comment.