<commit_before>module Fog
  module ServiceLayerStub
    def self.mock_vapp
      body = {:name => "vapp-atomic-centre",
              :id => 1,
              :status => "on",
              :description => "hosts the atomic centre app",
              :deployed => true,
              :NetworkConfigSection => {:NetworkConfig => [{:networkName => "Default", :IsDeployed => true, :Description => "default network",
                                                            :Configuration => {:IpScopes => 'abc'}, :ParentNetwork => nil}]},
              :"ovf:NetworkSection" => {:'ovf:Network' => 'network'},
              :Children => {
                  :Vm =>
                      {
                          :needsCustomization => "true",
                          :deployed => "true",
                          :status => "4", :name => "ubuntu-precise-201309091031",
                          :id => "urn:vcloud:vm:d19d84a5-c950-4497-a638-23eccc4226a5",
                          :type => "application/vnd.vmware.vcloud.vm+xml",
                          :href => "https://api.vcd.portal.skyscapecloud.com/api/vApp/vm-d19d84a5-c950-4497-a638-23eccc4226a5",
                          :Description => "ubuntu-precise | Version: 1.0 | Built using BoxGrinder",
                          :"ovf:OperatingSystemSection" =>
                              {
                                  :"ovf:Description" => "Ubuntu Linux (64-bit)",
                              },
                          :NetworkConnectionSection => {
                              :ovf_required => "false",
                              :"ovf:Info" => "Specifies the available VM network connections",
                              :PrimaryNetworkConnectionIndex => "0",
                              :NetworkConnection =>
                                  {
                                      :network => "Default",
                                      :needsCustomization => "true",
                                      :NetworkConnectionIndex => "0",
                                      :IpAddress => "192.168.2.2",
                                      :IsConnected => "true",
                                      :MACAddress => "00:50:56:01:0b:1a",
                                      :IpAddressAllocationMode => "MANUAL"},

                          },
                          :'ovf:VirtualHardwareSection' => {:'ovf:Item' => []}
                      }
              }
      }
      RSpec::Mocks::Mock.new(:fog_vapp, :body => body)
    end
  end
end<commit_msg>fixing failing vdc_spec due to missing spec data<commit_after>module Fog
  module ServiceLayerStub
    def self.mock_vapp
      body = {:name => "vapp-atomic-centre",
              :id => 1,
              :status => "on",
              :description => "hosts the atomic centre app",
              :deployed => true,
              :NetworkConfigSection => {:NetworkConfig => [{:networkName => "Default", :IsDeployed => true, :Description => "default network",
                                                            :Configuration => {:IpScopes => 'abc'}, :ParentNetwork => nil}]},
              :"ovf:NetworkSection" => {:'ovf:Network' => 'network'},
              :Children => {
                  :Vm =>
                      {
                          :needsCustomization => "true",
                          :deployed => "true",
                          :status => "4", :name => "ubuntu-precise-201309091031",
                          :id => "urn:vcloud:vm:d19d84a5-c950-4497-a638-23eccc4226a5",
                          :type => "application/vnd.vmware.vcloud.vm+xml",
                          :href => "https://api.vcd.portal.skyscapecloud.com/api/vApp/vm-d19d84a5-c950-4497-a638-23eccc4226a5",
                          :Description => "ubuntu-precise | Version: 1.0 | Built using BoxGrinder",
                          :"ovf:OperatingSystemSection" =>
                              {
                                  :"ovf:Description" => "Ubuntu Linux (64-bit)",
                              },
                          :NetworkConnectionSection => {
                              :ovf_required => "false",
                              :"ovf:Info" => "Specifies the available VM network connections",
                              :PrimaryNetworkConnectionIndex => "0",
                              :NetworkConnection =>
                                  {
                                      :network => "Default",
                                      :needsCustomization => "true",
                                      :NetworkConnectionIndex => "0",
                                      :IpAddress => "1172.16.58.3",
                                      :IsConnected => "true",
                                      :MACAddress => "00:50:56:01:0b:1a",
                                      :IpAddressAllocationMode => "MANUAL"},

                          },
                          :'ovf:VirtualHardwareSection' => {
                              :'ovf:Item' => [],
                              :"ovf:System" => {:"vssd:ElementName" => "Virtual Hardware Family", :"vssd:VirtualSystemType" => "vmx-08"}
                          },
                          :RuntimeInfoSection => {
                              :VMWareTools => {:version => "2147483647"}
                          }
                      }
              }
      }
      RSpec::Mocks::Mock.new(:fog_vapp, :body => body)
    end
  end
end
{'fraction_non_alphanumeric': 0.1236568930977964, 'fraction_numerical': 0.03223456565288654, 'mean_word_length': 1.0280649926144756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 93, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5809812', 'n_tokens_mistral': 1469, 'n_tokens_neox': 1321, 'n_words': 219}