Project

General

Profile

Actions

Task #1738

closed

Report Eav attribute

Added by Marek Klement almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Marek Klement
Category:
Report
Target version:
Start date:
07/03/2019
Due date:
% Done:

100%

Estimated time:
Owner:

Description

input
- form definition
- name of eav attribute (select box)
- enabled/disabled identity (checkbox)
-value of eav attribute (not required). If this attribute is not filled then all values are written (not blank)

output
- xlsx, json
- table with first name, last name, username, disabled and value of a chosen attribute

tutorial - https://wiki.czechidm.com/tutorial/adm/report_eav_identity

New report will be created.


Related issues

Related to IdStory Identity Manager - Task #1744: Add entity type to label in the form definition selectboxClosedMarek Klement07/09/2019

Actions
Related to IdStory Identity Manager - Defect #1785: Report Eav attribute - missign securityClosedMarek Klement08/07/2019

Actions
Actions #1

Updated by Radek Tomiška almost 5 years ago

Description is missing here, please add product related requirements (and remove link to project from description).

Actions #2

Updated by Marek Klement almost 5 years ago

  • Subject changed from Message for overloaded main job information to Report Eav attribute
  • Status changed from New to In Progress
Actions #3

Updated by Marek Klement almost 5 years ago

  • Description updated (diff)
  • Target version set to Rhyolite (9.7.0)
Actions #5

Updated by Marek Klement almost 5 years ago

  • Related to Task #1744: Add entity type to label in the form definition selectbox added
Actions #6

Updated by Marek Klement almost 5 years ago

  • Description updated (diff)
  • % Done changed from 0 to 70

Report created

- test created
- tutorial - https://wiki.czechidm.com/tutorial/adm/report_eav_identity

Actions #7

Updated by Marek Klement almost 5 years ago

  • Assignee changed from Marek Klement to Ondřej Kopr
Actions #8

Updated by Marek Klement almost 5 years ago

  • Status changed from In Progress to Needs feedback
Actions #9

Updated by Marek Klement almost 5 years ago

branch : klementm/1738-report-for-overloaded-main-job-info

Actions #10

Updated by Ondřej Kopr almost 5 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #12

Updated by Radek Tomiška over 4 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Radek Tomiška to Marek Klement

I did test, review and report basically works, nice. Here are my notes:

Functionality:
- bug: exception is thrown, when attribute doesn't exist. Add result code execption (better) or report could be empty
- bug: updateState() is not called - report counter is not incremented.

Design:
- [optional] if eav value is given, then FormService.findOwners method could be used to prevent load all identities (you will heve, what you need directly).

Code:
- dto representation of row in report should be created - raw map is used now. See RptProvisioningOperationDto. And remove all remove constants ATTRIBUTE_* from IdentityEavReportExecutor!
- rename constants to PARAMETER_*, if its parameter (e.g. ProvisioningOperationReportExecutor)
- remove IdentityEavReportExecutor .getEavName() method (it's unstable and unused).
- missing @author, javadoc, warnings are shown

Tutorial:
- missing IdM version, module and intro as in other tutorials (e.g. https://wiki.czechidm.com/tutorial/dev/how_to_register_icon#what_do_you_need_before_you_start)
- screenshost schould be in eng

Actions #13

Updated by Marek Klement over 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Marek Klement to Radek Tomiška

Fixed issues after review. I will adjust documentation as soon as possible. Changes are pushed in branch : klementm/1738-report-for-overloaded-main-job-info

Actions #14

Updated by Radek Tomiška over 4 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Marek Klement
  • % Done changed from 70 to 100

It's nice and it works, thx!

I just fixed two small issues, which I overlooked before:
- system.out was used for print exception
- pagination was missing

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/056431ea9b4b002670822a9b2f2f438dc696fa61#diff-35c579219a9f6d27c39275a88149deac

Actions #15

Updated by Radek Tomiška over 4 years ago

  • Related to Defect #1785: Report Eav attribute - missign security added
Actions #16

Updated by Radek Tomiška over 4 years ago

Actions

Also available in: Atom PDF