-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: skipAnalytics and ConfidentialFlag only for QUERY Analytics [DHIS2-18259] #19350
Conversation
[DHIS2-18259] Signed-off-by: Giuseppe Nespolino <[email protected]>
...ain/java/org/hisp/dhis/analytics/event/data/DefaultEnrollmentAnalyticsDimensionsService.java
Outdated
Show resolved
Hide resolved
...ain/java/org/hisp/dhis/analytics/event/data/DefaultEnrollmentAnalyticsDimensionsService.java
Show resolved
Hide resolved
...analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventDataQueryService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Giuseppe Nespolino <[email protected]>
Signed-off-by: Giuseppe Nespolino <[email protected]>
...analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventDataQueryService.java
Outdated
Show resolved
Hide resolved
new ErrorMessage( | ||
ErrorCode.E7240, | ||
skipAnalyticsDataElements.stream() | ||
.map(DataElement::getDisplayName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we usually use uid
in API validation responses as it is more compact.
...analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventDataQueryService.java
Show resolved
Hide resolved
…ytics_Confidential # Conflicts: # dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEnrollmentAnalyticsTableManager.java # dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java
…ntial' into DHIS-18259_skipAnalytics_Confidential
Signed-off-by: Giuseppe Nespolino <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one minor about unit testing, please take a look.
...analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventDataQueryService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Giuseppe Nespolino <[email protected]>
…ntial' into DHIS-18259_skipAnalytics_Confidential
Quality Gate passedIssues Measures |
This pull request introduces updates to the handling of
confidential
Tracked Entity Attributes (TEA
) and Program Attributes (PA
), as well asskipAnalytics
data elements (DE
).Key Changes:
TEA
/PA
andDE
are now consistently exported, irrespective of theconfidential
orskipAnalytics
flags.TEA
/PA
/DE
with theconfidential
orskipAnalytics
flags inQUERY
endpoints.confidential
TEA
/PA
andskipAnalytics
DE
is now supported inAGGREGATE
analytics.