Dynamic api: Sparql select and construct components, Report Generator
What does this pull request do?
Report generator component to produce reports in docx and xlsx from information in triple store queried by SPARQL construct and select components. New SPARQL Construct component SPARQL Select component refactored and extended with new functionality. New ontology properties.
What's new?
Parameter type default value (dynapi:defaultValue) Internal parameters (not provided by input, initialized at the start of action with default serialized value) Json (not a container type) parameter type Language tag filtering support in Construct and Select SPARQL Queries ( dynapi:languageFiltering ) + test Select query can produce Json with ResultSetFormatter + test Parsing accept language header in converter + test Construct query + tests Report generator ( dynapi:ReportGenerator ) + tests Ontology properties dynapi:template - template file parameter dynapi:dataSource - json data for the report dynapi:report - report file parameter Renamed DynapiJsonObject to JsonContainer User permissions check: Can be defined like that <action_individual> dynapi:accessWhiteList <white_list_individual> . <white_list_individual> a dynapi:GroupAccessWhitelist, dynapi:AccessWhitelist; dynapi:userGroup https://vivoweb.org/ontology/vitro-dynamic-api/user-group/curator . Individual from last line is from this file
How should this be tested?
Run tests
Interested parties
@VIVO-project/vivo-committers