-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Done
-
Affects Version/s: 3.21.2
-
Fix Version/s: 3.24.0
-
Component/s: Performances
-
Tags:
-
Sprint:NOS 11.1.22 - 2019-11 2, NOS 11.1.23 - 2019-11 3
- NXQL queries are all over the NOS code base. There's no centralized or easy way to view all the queries that are being used. Makes it hard to perform maintenance tasks (such as
NXS-5544andNXS-5545). - There's no "standard" way to write the query => each one is a little different.
- Some of them are duplicated.
- Many of them can be refactored to be reused in different use cases.
- We need to figure out what clauses are supposed to be in every query. For example ecm:isVersion = 0 and ecm:currentLifeCycleState != 'delete' are present in many of them, which makes me think if they might be missing from the others.