Project

General

Profile

Actions

Feature #639

closed

Virtual systems

Added by Vít Švanda over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Virtual systems
Target version:
Start date:
08/09/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Basic goal is create new module for virtual systems.
  • Virtual system will be implemented as standard connector in CzechIdM

Files

vs_configuration.PNG (98.9 KB) vs_configuration.PNG Rostislav Novotný, 10/03/2017 01:36 PM
Help_generate_scheme.png (119 KB) Help_generate_scheme.png Rostislav Novotný, 10/03/2017 01:58 PM
vs_dubbled_attributes_in_scheme.PNG (86.1 KB) vs_dubbled_attributes_in_scheme.PNG Rostislav Novotný, 10/03/2017 02:06 PM
Actions #1

Updated by Vít Švanda over 7 years ago

Added new framework (czechidm) to IC module.
- Implemented load of connector info.
- Implemented load of default connector configuration. (Configuration is now "hard" coded in connector implementation ... TODO)

Actions #2

Updated by Vít Švanda over 7 years ago

  • Load default connector configuration from configuration-class (for czechidm framework) implemented.
  • Created basic configuration for VS
Actions #3

Updated by Vít Švanda over 7 years ago

  • Propagate system ID to VS connector (through czechidm connector framework).
  • Created create, update, delete, read operations (interfacase).
  • Implemented operations to Czechidm framework (call connector).
Actions #4

Updated by Vít Švanda over 7 years ago

  • % Done changed from 0 to 20
  • Added entity/repository/service/controller for VS account entity.
  • Implemented schema generating for VS connector.
  • Implemented creating form definition for VS accounts
Actions #5

Updated by Vít Švanda over 7 years ago

  • Create, Update, Read operation on VS connector implemented
Actions #6

Updated by Vít Švanda over 7 years ago

  • % Done changed from 20 to 30
  • VS connector now supported delete operation
  • Vs connector now supported search operation (return only all data now).
Actions #7

Updated by Vít Švanda over 7 years ago

Create entity, repository, service, controller for VsRequest and VsRequestBatch.

Actions #8

Updated by Vít Švanda over 7 years ago

  • Created backend for VsRequestImplementer.
  • Interface and methods for internal call CUD (realization) operations on VS connector.
  • Started with implementing start and execute VsRequest.
  • Added support for event on VsRequest.
Actions #9

Updated by Vít Švanda over 7 years ago

  • % Done changed from 30 to 40
  • Implemented realize request REST operation.
  • Implemented cancel request REST operation.
  • Implemented finding duplicity requests.
  • Implemented check on same connector object.
Actions #10

Updated by Vít Švanda over 7 years ago

  • Finding duplicities
  • Finding previous request and create relations.
Actions #11

Updated by Vít Švanda over 7 years ago

  • Merged VS BE module to develop.
  • Create first version of VS frontend module.
Actions #12

Updated by Vít Švanda over 7 years ago

  • Operations for realize and cancel request is implemented on FE (request detail)
  • System DTO is now added to embedded map.
Actions #13

Updated by Vít Švanda over 7 years ago

  • % Done changed from 40 to 50
  • Added filter for virtual systems (Acc, Vs module).
  • Added bulk (and buttons) operation realize on VS request table.
  • Added bulk (and buttons) operation cancle on VS request table. Cancel operation must have reason (created modal with text area + added field to entity + change script).
Actions #14

Updated by Vít Švanda over 7 years ago

  • % Done changed from 50 to 60
  • Creating detail of VS request.
  • Dashboard + table with unfinished requests.
  • VsRequestInfo component created.
Actions #15

Updated by Vít Švanda over 7 years ago

  • Acc module - refactored method (and api) for read object from connector
  • Added REST method for load object form connector (by virtual system request)
  • Show attributes form connector on VS request detail.
Actions #16

Updated by Vít Švanda over 7 years ago

  • Highlight changes between VS request attributes and VS account attributes - Part 1
Actions #17

Updated by Vít Švanda over 7 years ago

  • Solving problem with cycling during render table with notrivial data (span, div...).
Actions #18

Updated by Vít Švanda over 7 years ago

  • % Done changed from 60 to 70
  • Highlight changes between VS request attributes and VS account attributes - Part 2 (multi values)
  • Added list of Virtual systems as new Tab.
  • Solved problem with rename account UID -> VS module now updating system entity directly.
  • Optimalization (FE)
Actions #19

Updated by Vít Švanda over 7 years ago

I discovered problem with changed detection.
  • Problem occures when is some changed attribute returned to previous value.
  • This situation is by provisioning evalued as none change and none VS request is created.
  • I had to rewrite basic evaluation of changes.
Actions #20

Updated by Vít Švanda over 7 years ago

Basic philosophy for detection of changes in virtual system was changed:
  • Connector read method now return not 'real' vs account persist in VsAccount, but merge they with changes from all unresolved requests for same UID.
  • This behavior is implemented for all operations Create, Update, Delete.

Was implemented operation for cancel all requests created before 'deleting' request.

Actions #21

Updated by Vít Švanda over 7 years ago

  • Do update when VS account already exist - implemented.
Actions #22

Updated by Vít Švanda over 7 years ago

  • Added table (entity, service, flyscript) for VsSystemImplementer.
  • This table keeps relation on identity or on role.
  • Implemented update VsSystemImplementer by VS configuration.
  • Roles are now joined to implementers (his identities)
Actions #23

Updated by Vít Švanda over 7 years ago

  • Cancel operation now use progressbar.
  • If is not set none implementer's role (in connector configuration), then is use default role.
Actions #24

Updated by Vít Švanda over 7 years ago

Added security for VsRequests ... by implementers ... role remaining.

Actions #25

Updated by Vít Švanda over 7 years ago

  • Created ENG localization for FE.
  • VS module added to aggregator.
  • Updated ERDiagram for VS entities.
Actions #26

Updated by Vít Švanda over 7 years ago

  • Notification detail - Added tab with plain html and rendered html message.
  • Fixed problem with audit fields on VsRequest
  • VS now supported enable/disable operation
Actions #27

Updated by Vít Švanda over 7 years ago

  • % Done changed from 70 to 80
  • Change of connector on system set allways isVirtual attribute to false (Virtual connectors set this attribute on true themselves)
  • Reason for cancel operation is now wrapped in DTO
  • Create tests for vs system
Actions #28

Updated by Vít Švanda over 7 years ago

Created seven tests for VsRequestService.

Actions #29

Updated by Vít Švanda about 7 years ago

  • I created next tests. Now we have fourteen tests, this tests coveraging 82% of code in VS module.
  • Default role with implementers are now used only if none roles and direct impelementers are set.
Actions #30

Updated by Vít Švanda about 7 years ago

Ready for test:

Created tutorial for create virtual system in wiki https://wiki.czechidm.com/tutorial/dev/how_to_create_virtual_system
Created documentation in wiki: https://wiki.czechidm.com/devel/dev/virtual-systems#virtual_connector
All is in develop branche.
Tests are in VS module.

Actions #31

Updated by Vít Švanda about 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Rostislav Novotný
  • % Done changed from 80 to 90
Actions #32

Updated by Rostislav Novotný about 7 years ago

Feadback from testing:
T!!here is wrong display of the "test connector" button in case that the browser is wide. See attached picture.

Actions #33

Updated by Rostislav Novotný about 7 years ago

Wrong display of the help popup window of the "generate scheme" button. See attached picture.

Actions #34

Updated by Rostislav Novotný about 7 years ago

After the creation of the new virtual system I went to its Scheme. There was alreaady one although I have not done enything to create it/generate it. Then I pressed the "Generate scheme" button and most of the attributes were dublled (see attached picture).

Actions #36

Updated by Rostislav Novotný about 7 years ago

Rostislav Novotný wrote:

After the creation of the new virtual system I went to its Scheme. There was alreaady one although I have not done enything to create it/generate it. Then I pressed the "Generate scheme" button and most of the attributes were dublled (see attached picture). The new scheme generation did not add a new attributes.

Actions #37

Updated by Vít Švanda about 7 years ago

  • Issues with Test button and with tooltip on Generate schema buttons are solved (thanks to Radek).
  • Issue with attributes duplicity: We tried it, but we cannot simulate problem (Chrome 56, Chrome 61, Firefox). We need more specific use case, how it simulate. May be is problem on Windows.
Actions #38

Updated by Radek Tomiška about 7 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Rostislav Novotný to Vít Švanda
  • % Done changed from 90 to 100

I did code review a retest whole agenda before version was released. Code looks nice a feature works, thx!

Note:
I removed virtual system checkbox from FE, it's not needed (we will remove him probably even from backend - it's used only for filtering now. I prepared this flag, when system agenda was created - i didn't know, if virtual systems will be in separate module. Now it doesn't make sense in acc module).

Actions

Also available in: Atom PDF