Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge to master: Release 2.4.0 - Multi-backend stores integrations, R…
…DF 3.0 and SOLR API (#58) * Feature: Add Virtuso, Allegrograph and Graphdb integration to GOO (#48) * simplify the test configuration init * add docker based tests rake task to run test against 4s, ag, gb, vo * remove faraday gem usage * update test CI to test against all the supported backends with diffirent slice sizes * add high level helper to to know which backend we are currently using * extract sparql processor module from where module * handle language_match? value to upcase by default * add support for virtuoso and graphdb sparql client * replace delete sparql query by delete graph in the model complex test * add some new edge cases tests t o test_where.rb and test_schemaless * make test_chunks_write.rb tests support multiple backends * replace native insert_data with execute_append_request in model save * remove add_rules as it seems to no more be used * move expand_equivalent_predicates from loader to builder module * build two diffirent queries depending on which backend used * update mapper to handle the two different queries depending on the backend used * simplify the loader code, by removing inferable variables * refactor and simplify map_attributes method * fix test chunks write concenrency issues * Refactor: clean model settings module code (#52) * remove old file no more used * extract attribute settings module from the model settings module * remove the inmutable feature as deprecated and not used * rename callbacks method names * Feature: Add after_save and after_destroy hooks to models (#53) * remove old file no more used * extract attribute settings module from the model settings module * remove the inmutable feature as deprecated and not used * rename callbacks method names * add hooks module * Feature: update rdf gem to latest version (#56) * un pin rdf version, to use the latest and add rdf vocab and xml * update URI class monkey patch because Addressable does no more exist * RDF::SKOS is replaced with RDF::Vocab::SKOS in the latest version of RDF * pin rdf version to 3.2.11 the latest version that support ruby 2.7 * monkey path Literal::DateTime format to be supported by 4store * remove addressable dependency * Fix: saving a model removing unmodified attributes after consecutive save * Fix: enforce to use str() when doing a filter with a string value (#57) * enforce to use str() when doing a filter with a string * update agraph version to 8.1.0 * Fix: monkey path RDF to not remove xsd:string by default * Feature: Enhance SOLR integration and add a Schema API (#54) * add an abstraction to SOLR integeration and add Schema API * add SOLR Schema API tests * update SOLR backend configuration and init * use the new Solr connector in the model search interface * update search test to cover the new automatic indexing and unindexing * handle the solr container initialization when running docker for tests * add omit_norms options for SolrSchemaGenerator * fix solr schema initial dynamic fields declaration and replace the usage of mapping-ISOLatin1Accent * delay the schema generation to after model declarations or in demand * add solr edismax fitlers tests * fix indexBatch and unindexBatch tests * add security checks to the index and unindex functions * change dynamic fields names to have less code migration * update clear_all_schema to remove all copy and normal fields * add an option to force solr initialization if wanted * handle indexing embed objects of a model * add index update option * fix clear all schema to just remove all the fields and recreate them * add index_enabled? helper for models * perform a status test when initializing the solr connector * extract init_search_connection function from init_search_connections * fix typo in indexOptimize call * add solr search using HTTP post instead of GET for large queries * make indexed resource_id case insensitive (#59) * Fix: Invalidating cache after insertion of a new element (#60) * create a test to reproduce the cache invalidate on insert bug * use again insert_data instead of execute_append_request because the first invalidate the cache * update sparql client to version 3.2.0 * handle the case virtuoso insert data bug * use development branch of sparql-client * fix search resource_id case insensitive by using string_ci instead
- Loading branch information