Created
May 27, 2015 01:24
-
-
Save hvillero/66949bf63941c0a0d9b8 to your computer and use it in GitHub Desktop.
elasticsearch errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Elasticsearchable index structure mappings should match defined properties | |
Failure/Error: _mappings = model.__elasticsearch__.client.perform_request('GET', "#{_index_name}/_mapping").body[_index_name]['mappings'][_type.to_s]['properties'] | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/_mapping with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/_mapping"). | |
with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:23:in `(root)' | |
# ./spec/integrations/elasticsearchable_spec.rb:19:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
2) Elasticsearchable Search UX/UI Search results should be sorted StandardizedBalance_sum DESC | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:148:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
3) Elasticsearchable ActiveRecord/Elasticsearch data validation Search for StandardizedBalance 0, NoteName | |
Failure/Error: expect(es_results.results.total).to be > 0, 'Search for StandardizedBalance: 0, NoteName: Center yields no results' | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"match":{"NoteName":{"query":"Center","operator":"and"}}},{"filtered":{"filter":{"or":{"filters":[{"term":{"StandardizedBalance":0}},{"missing":{"field":"StandardizedBalance"}}]}}}}]}},"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"NoteName\":{\"query\":\"Center\",\"operator\":\"and\"}}},{\"filtered\":{\"filter\":{\"or\":{\"filters\":[{\"term\":{\"StandardizedBalance\":0}},{\"missing\":{\"field\":\"StandardizedBalance\"}}]}}}}]}},\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:163:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
4) Elasticsearchable ActiveRecord/Elasticsearch data validation Search for State (partial token) | |
Failure/Error: es_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:178:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
5) Elasticsearchable ActiveRecord/Elasticsearch data validation Search property and loan counts match (grain 1) match SecuritizationsController#show issuance and current | |
Failure/Error: es_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:198:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
6) Elasticsearchable ActiveRecord/Elasticsearch data validation Search for StandardizedBalance > 0 | |
Failure/Error: es_total = Note.search(nil, 'StandardizedBalance' => greatest).results.total | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"filtered":{"filter":{"term":{"StandardizedBalance":"2625000000.0"}}}}]}},"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"filtered\":{\"filter\":{\"term\":{\"StandardizedBalance\":\"2625000000.0\"}}}}]}},\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:230:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
7) Elasticsearchable ActiveRecord/Elasticsearch data validation Elasticsearch index sizes match SQL counts | |
Failure/Error: es_size = model.__elasticsearch__.search(search_definition, search_type: :count).response.hits.total | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"query":{"match_all":{}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"query\":{\"match_all\":{}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:256:in `(root)' | |
# ./spec/integrations/elasticsearchable_spec.rb:243:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
8) Elasticsearchable ActiveRecord/Elasticsearch data validation Securitization's properties are searchable | |
Failure/Error: expect(dim_property_search.response.hits.total).to be > 0 | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"query":{"filtered":{"filter":{"term":{"dwidSecuritization":1317}}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"query\":{\"filtered\":{\"filter\":{\"term\":{\"dwidSecuritization\":1317}}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:283:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
9) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on Cusip, SecuritizationName | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_bonds/fact_bond/_search with body '{"query":{"bool":{"must":[{"match":{"Cusip":"05947U2M9"}}]}},"size":1000000,"fields":["dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_bonds/fact_bond/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"Cusip\":\"05947U2M9\"}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:599:in `execute_fact_bond_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:72:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:298:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
10) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName | |
Failure/Error: es_size = described_class.new(params).search[0].size | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:310:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
11) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on Securitization (partial token) | |
Failure/Error: es_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:330:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
12) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, NoteName | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"match":{"NoteName":{"query":"indian hills","operator":"and"}}}]}},"size":1000000,"fields":["dwidNote","dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"NoteName\":{\"query\":\"indian hills\",\"operator\":\"and\"}}}]}},\"size\":1000000,\"fields\":[\"dwidNote\",\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:571:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:355:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
13) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, NoteDate (range) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"range":{"NoteDate":{"gte":"2005-09-08","lte":"2005-09-08"}}}]}},"size":1000000,"fields":["dwidNote","dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"range\":{\"NoteDate\":{\"gte\":\"2005-09-08\",\"lte\":\"2005-09-08\"}}}]}},\"size\":1000000,\"fields\":[\"dwidNote\",\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:571:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:382:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
14) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, NoteDate | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"range":{"NoteDate":{"gte":"2005-01-01","lte":"2005-12-31"}}}]}},"size":1000000,"fields":["dwidNote","dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"range\":{\"NoteDate\":{\"gte\":\"2005-01-01\",\"lte\":\"2005-12-31\"}}}]}},\"size\":1000000,\"fields\":[\"dwidNote\",\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:571:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:412:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
15) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, LoanStatus | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search?search_type=count with body '{"aggs":{"LoanStatuses":{"terms":{"field":"LoanStatus.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"LoanStatuses\":{\"terms\":{\"field\":\"LoanStatus.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/note.rb:94:in `search_loan_statuses' | |
# ./lib/services/elasticsearchable.rb:279:in `fact_notes_loan_statuses' | |
# ./lib/services/elasticsearchable_filters.rb:310:in `filter_LoanStatus!' | |
# ./app/models/note.rb:65:in `search' | |
# ./lib/services/elasticsearchable.rb:569:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:473:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
16) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, LoanStatus (token, not direct match) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search?search_type=count with body '{"aggs":{"LoanStatuses":{"terms":{"field":"LoanStatus.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"LoanStatuses\":{\"terms\":{\"field\":\"LoanStatus.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/note.rb:94:in `search_loan_statuses' | |
# ./lib/services/elasticsearchable.rb:279:in `fact_notes_loan_statuses' | |
# ./lib/services/elasticsearchable_filters.rb:310:in `filter_LoanStatus!' | |
# ./app/models/note.rb:65:in `search' | |
# ./lib/services/elasticsearchable.rb:569:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:495:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
17) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, PropertyTypeMajor | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"PropertyTypeMajor":{"terms":{"field":"PropertyTypeMajor.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"PropertyTypeMajor\":{\"terms\":{\"field\":\"PropertyTypeMajor.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:154:in `search_property_type_majors' | |
# ./lib/services/elasticsearchable.rb:195:in `dim_property_property_type_majors' | |
# ./lib/services/elasticsearchable_filters.rb:131:in `filter_PropertyTypeMajor!' | |
# ./app/models/dim_property.rb:125:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:519:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
18) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, PropertyTypeMajor (partial) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"PropertyTypeMajor":{"terms":{"field":"PropertyTypeMajor.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"PropertyTypeMajor\":{\"terms\":{\"field\":\"PropertyTypeMajor.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:154:in `search_property_type_majors' | |
# ./lib/services/elasticsearchable.rb:195:in `dim_property_property_type_majors' | |
# ./lib/services/elasticsearchable_filters.rb:131:in `filter_PropertyTypeMajor!' | |
# ./app/models/dim_property.rb:125:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:543:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
19) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, PropertyTypeMinor | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"PropertyTypeMinor":{"terms":{"field":"PropertyTypeMinor.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"PropertyTypeMinor\":{\"terms\":{\"field\":\"PropertyTypeMinor.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:180:in `search_property_type_minors' | |
# ./lib/services/elasticsearchable.rb:223:in `dim_property_property_type_minors' | |
# ./lib/services/elasticsearchable_filters.rb:172:in `filter_PropertyTypeMinor!' | |
# ./app/models/dim_property.rb:126:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:566:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
20) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, PropertyTypeMinor (partial) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"PropertyTypeMinor":{"terms":{"field":"PropertyTypeMinor.raw","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"PropertyTypeMinor\":{\"terms\":{\"field\":\"PropertyTypeMinor.raw\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:180:in `search_property_type_minors' | |
# ./lib/services/elasticsearchable.rb:223:in `dim_property_property_type_minors' | |
# ./lib/services/elasticsearchable_filters.rb:172:in `filter_PropertyTypeMinor!' | |
# ./app/models/dim_property.rb:126:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:589:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
21) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, State (defeased excluded) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:648:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
22) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, City, State | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:664:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
23) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, Vintage, NoteName, NoteDateStart, NoteDateEnd, LoanStatus, PropertyTypeMajor, PropertyName, StreetAddress, City, State | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:697:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
24) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, Vintage, NoteName, NoteDate, LoanStatus, PropertyTypeMajor, City, State | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:749:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
25) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, NoteName, State, and TennantName | |
Failure/Error: es_search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search with body '{"query":{"bool":{"must":[{"match":{"TennantName":"walgreens"}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote","dwidProperty"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"TennantName\":\"walgreens\"}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\",\"dwidProperty\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:504:in `execute_fact_rent_roll_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:47:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:829:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
26) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, State, and TennantName | |
Failure/Error: es_dim_securitization_dwidSecuritizations = DimSecuritization.search(nil, 'SecuritizationName' => shelf).results.map { |s| s._source['dwidSecuritization'] } | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:862:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
27) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, TennantName | |
Failure/Error: es_dim_securitization_dwidSecuritizations = DimSecuritization.search(nil, 'SecuritizationName' => shelf).results.map { |s| s._source['dwidSecuritization'] } | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:904:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
28) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on Securitization, FactRentRoll | |
Failure/Error: es_dwidSecuritizations = search_results.results.map { |r| r.fields['dwidSecuritization'] }.flatten | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search with body '{"query":{"bool":{"must":[{"filtered":{"filter":{"terms":{"dwidSecuritization":[465,466,519,522,529,530,531,532,797,1222,1310,1311,1317,1325,1347,1587,1588,1591,1594,1736]}}}}]}},"size":1000000,"fields":["dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"filtered\":{\"filter\":{\"terms\":{\"dwidSecuritization\":[465,466,519,522,529,530,531,532,797,1222,1310,1311,1317,1325,1347,1587,1588,1591,1594,1736]}}}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:933:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
29) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on ZipCode | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search with body '{"query":{"bool":{"must":[{"match":{"ZipCode":{"query":"95687","operator":"and"}}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"ZipCode\":{\"query\":\"95687\",\"operator\":\"and\"}}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:542:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:946:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
30) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on Securitization, StreetAddress | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search with body '{"query":{"bool":{"must":[{"match":{"StreetAddress":{"query":"pacific","operator":"and"}}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"StreetAddress\":{\"query\":\"pacific\",\"operator\":\"and\"}}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:542:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:983:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
31) Elasticsearchable ActiveRecord/Elasticsearch data validation Search PropertyName | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search with body '{"query":{"bool":{"must":[{"match":{"PropertyName":{"query":"kindercare","operator":"and"}}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"PropertyName\":{\"query\":\"kindercare\",\"operator\":\"and\"}}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:542:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1020:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
32) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on TennantName | |
Failure/Error: es_search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search with body '{"query":{"bool":{"must":[{"match":{"TennantName":"walgreens"}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote","dwidProperty"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"TennantName\":\"walgreens\"}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\",\"dwidProperty\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:504:in `execute_fact_rent_roll_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:47:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1058:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
33) Elasticsearchable ActiveRecord/Elasticsearch data validation Note search on StandardizedBalance 0 | |
Failure/Error: Note.search(nil, 'StandardizedBalance' => 0).results.each do |result| | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"filtered":{"filter":{"or":{"filters":[{"term":{"StandardizedBalance":0}},{"missing":{"field":"StandardizedBalance"}}]}}}}]}},"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"filtered\":{\"filter\":{\"or\":{\"filters\":[{\"term\":{\"StandardizedBalance\":0}},{\"missing\":{\"field\":\"StandardizedBalance\"}}]}}}}]}},\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./spec/integrations/elasticsearchable_spec.rb:1093:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
34) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for SecuritizationName, State | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1110:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
35) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 1, include 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1167:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
36) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 1, exclude 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search with body '{"query":{"match_all":{}},"fields":["SecuritizationName"],"size":1000000}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_securitizations/dim_securitization/_search"). | |
with(:body => "{\"query\":{\"match_all\":{}},\"fields\":[\"SecuritizationName\"],\"size\":1000000}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_securitization.rb:706:in `search_securitization_names' | |
# ./lib/services/elasticsearchable.rb:167:in `dim_securitization_securitization_names' | |
# ./app/models/dim_securitization.rb:750:in `search' | |
# ./lib/services/elasticsearchable.rb:615:in `execute_dim_securitization_search' | |
# ./lib/services/elasticsearchable.rb:81:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1227:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
37) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 2, include/exclude 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search with body '{"query":{"bool":{"must":[{"match":{"NoteName":{"query":"old","operator":"and"}}}]}},"size":1000000,"fields":["dwidNote","dwidSecuritization"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/notes/note/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"NoteName\":{\"query\":\"old\",\"operator\":\"and\"}}}]}},\"size\":1000000,\"fields\":[\"dwidNote\",\"dwidSecuritization\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:571:in `execute_note_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:65:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1270:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
38) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 3, include 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1308:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
39) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 3, exclude 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1361:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
40) Elasticsearchable ActiveRecord/Elasticsearch data validation Aggregate counts for search grain 4, include/exclude 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search with body '{"query":{"bool":{"must":[{"match":{"TennantName":"walgreens"}}]}},"size":1000000,"fields":["dwidSecuritization","dwidNote","dwidProperty"]}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/fact_rent_rolls/fact_rent_roll/_search"). | |
with(:body => "{\"query\":{\"bool\":{\"must\":[{\"match\":{\"TennantName\":\"walgreens\"}}]}},\"size\":1000000,\"fields\":[\"dwidSecuritization\",\"dwidNote\",\"dwidProperty\"]}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./lib/services/elasticsearchable.rb:900:in `search_extract_uniq_field_values' | |
# ./lib/services/elasticsearchable.rb:504:in `execute_fact_rent_roll_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:47:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1418:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
41) Elasticsearchable ActiveRecord/Elasticsearch data validation Search on SecuritizationName, NoteName, LoanStatus, State (group/sum StandardizedBalance) | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1455:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
42) Elasticsearchable ActiveRecord/Elasticsearch data validation Property counts for SecuritizationName, State; include/exclude 0 UPB | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1504:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
43) Elasticsearchable ActiveRecord/Elasticsearch data validation Property counts for SecuritizationName, State; include/exclude 0 UPB; version 2 | |
Failure/Error: search_results = described_class.new(params).search | |
WebMock::NetConnectNotAllowedError: | |
Real HTTP connections are disabled. Unregistered request: GET http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count with body '{"aggs":{"State":{"terms":{"field":"State","size":0}}}}' with headers {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'} | |
You can stub this request with the following snippet: | |
stub_request(:get, "http://ec2-54-88-156-195.compute-1.amazonaws.com:9200/dim_properties/dim_property/_search?search_type=count"). | |
with(:body => "{\"aggs\":{\"State\":{\"terms\":{\"field\":\"State\",\"size\":0}}}}", | |
:headers => {'Accept'=>'*/*', 'User-Agent'=>'Faraday v0.9.1'}). | |
to_return(:status => 200, :body => "", :headers => {}) | |
============================================================ | |
# ./app/models/dim_property.rb:209:in `search_states' | |
# ./lib/services/elasticsearchable.rb:251:in `dim_property_states' | |
# ./lib/services/elasticsearchable_filters.rb:86:in `filter_State!' | |
# ./app/models/dim_property.rb:124:in `search' | |
# ./lib/services/elasticsearchable.rb:540:in `execute_dim_property_search_filter_securitization' | |
# ./lib/services/elasticsearchable.rb:56:in `search' | |
# ./spec/integrations/elasticsearchable_spec.rb:1529:in `(root)' | |
# ./spec/rails_helper.rb:67:in `(root)' | |
Finished in 11.36 seconds (files took 15.33 seconds to load) | |
58 examples, 43 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment