stable

Clone or download

Read-only

feat: Add string/text field for XTS TQL

Part of story #10710 search on fields with duck typing User can now query on text and string fields with = and != operators *Testing:* Create multiple trackers with string/text fields and create some artifacts in them. Queries should works. Signed-off-by: Joris Masson <joris.masson@enalean.com> Change-Id: Ice310c32b7a76061877a87c4f2775b70f4459793

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +5 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/DuckTypedField/DuckTypedField.php +3 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/DuckTypedField/DuckTypedFieldType.php +8 −4 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/FieldFromWhereBuilder.php +3 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/Text/TextFromWhereBuilder.php +165 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +4 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/DuckTypedField/NumericDuckTypedFieldTest.php +6 −8 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/DuckTypedField/TextDuckTypedFieldTest.php +233 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +4 −1 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/DuckTypedField/DuckTypedFieldTest.php +21 −1 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/DuckTypedField/DuckTypedFieldTypeTest.php +35 −24 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryBuilder/Field/FieldFromWhereBuilderTest.php +52 −23 Go to diff View file
M plugins/tracker/tests/integration/Test/Builders/TrackerDatabaseBuilder.php +69 −0 Go to diff View file