stable

Clone or download

Read-only

chore: Add base structure to build TQL select SQL

Part of story #38263 Choose my own columns based on field name (numeric, text, dates) To be able to build easily the SQL query for the select part of TQL query, we need a base class structure. This structure is pretty similar to the one for the condition. In this commit this structure does nothing and returns a query which simply returns the artifacts ids. On the user side nothing change *No functional changes expected* Change-Id: Iad1eda4d4a0536f83ff5f495f52fc42fe37420a3

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +9 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +70 −9 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php +80 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilder.php +84 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/IProvideParametrizedSelectAndFromSQLFragments.php +32 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/ParametrizedSelectFrom.php +48 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/ParametrizedSelectFromBase.php +69 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/SelectBuilderVisitorParameters.php +39 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilderVisitor.php +80 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +9 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +9 −0 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilderTest.php +76 −0 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/SelectBuilder/ParametrizedSelectFromBaseTest.php +68 −0 Go to diff View file