Thank You Naganarasimha G R for sharing the comments.
ApplicationHistoryManagerOnTimelineStore.convertToApplicationReport needs to capture the event ApplicationMetricsConstants.UPDATED_EVENT_TYPE
I feel this is not needed. We are already not handling ACLS_UPDATED_EVENT_TYPE also. I think we use different handling in convertToApplicationReport for CREATED_EVENT_TYPE and FINISHED_EVENT_TYPE to record appStarted time and appFinished time (plus few other finished details)
I used entityInfo to store Queue and Priority details. Hence the first part of code in convertToApplicationReport covers reading that details and will fed to ApplicationReportExt object. Please share your opinion.
we need to check return the report with the information present in latest ApplicationMetricsConstants.UPDATED_EVENT_TYPE
One doubt here. We already are using EnumSet.allOf(Field.class) in ApplicationHistoryManagerOnTimelineStore.getApplication and hence it has LAST_EVENT_ONLY field. So we will read the last saved entity. Please help to correct me if I am wrong.