Call the correct mongo method for upserting (via replace) an object.
Not using // in xpaths
Added test to check if we can reduce the time needed to serve OAI pages
Fixed mongo collection to use to store counts
spring bean XSD version 4 instead of 2.5
Using new mongo API included in mongo-java-driver 3.2.2 instead of deprecated API
added mvc controller method to clear the OAI caches: oai/clearCaches.do
updated test
OAI query on "until" parameter were not correctly handled because of the construction of dates from day to ms granularity.
fixed bug on alwaysnewrecord not setted in the store
Setting AKNOWLEDGE write for deleted records
Avoiding exception when trying to transform into binary a null element from an empty oaistore
moving towards mongodb driver 3.0.3
Cache management: it's a mess if we have more than one <cache:annotation-driven> instructions:- the container now has a dedicated application context for caches- logs to DEBUG for spring cache module
code style only
Created new version of oai-store that stores record compressed on mongo
#1342: added caches to limit the load on exists when a client performs a list of getRecord requests.
Playing with json query parsing
Explicit handling of dmf metadata format, as it lacks a container element under oai:metadata
feeding with UNACKNOWLEDGE write concern.The feed action also take the optional parameter oai_alwaysNewRecord so that the OAI store can assume there is no another record with the same id in the oai store.
removed deprecated methods of mongodb driver
changed misleading log
returning the correct error code for non existing identifiers
Fixed xpath and returns null in case we have no provenance block.
checking provenance exists in the record
Ups, forgot the bean
Supporting provenance.
merged changes from branch "cleanup".
Fixed drop action.
Enable the deletion of a set from an oaistore. Pass parameter setSpec or setSpecParam to the Drop store workflow node.
logging exception
javadoc
updating to major release of ServiceLocator
When a soai store is deleted also the sets and setscount collection are deleted.
Avoiding set '___' generated when we have "strange" set names such as those in cyrillic/ukrain. In those cases records are assigned to a default set, currently named "OTHER".
Logging time to get the mongo cursor for debugging purposes.
Added test for parsing CQL queries on datestamp
Cleaned logs
moved test to correct package
Adding parenthesis in mongo queries, otherwise they are not interpretred as expected.
Do not ensure index when creating an oaistore
Added forgotten handler.don call
Updated test.
The oai database currently in use is discovered dynamically from the OAIConfiguration profile.The xquery to use to retrieve the db name from the configuration is in the property services.oai.publisher.db.xquery.The OAI controller/core have been refactored....
Added bb job to drop an OAI store
Using ensureIndex instead of createIndex on mongo collection.
max_threads property does not exist anymore
typo
throw exception if OAI store does not exist
Added bb message and action to create index on OAi stores
Updated workflow to count sets from the values in the records and the sets configured in the profile.
Ensure indices in background
not using executors when ensuring indexes
New blackboard action to create an oai store. This is needed by the wf for OAI feeding.
The expected name of collection is format-layout-interpretation
Not using "patch" property anymore.
removed option for record patch: the file HDFS is correctly generated according to the openaire schema.