Task #2528
closedWizard - Implement connector templates.
Added by Vít Švanda about 4 years ago. Updated about 4 years ago.
100%
Description
The aim is to offer the user pre-filled variants of connectors. Prefill will be dynamic.
For example: Table connectors will be offered according to the available drivers. The CSV connector will suggest a specific path where to insert the file (or display a dropzone).
Connector templates = connector definition + metadata.
List of templates will new step (0) in the system wizard.
Related issues
Updated by Vít Švanda about 4 years ago
- Status changed from Resolved to In Progress
Updated by Vít Švanda about 4 years ago
- Category changed from Connectors to Wizard
Updated by Vít Švanda about 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 70 to 90
Feature was implemented. Tests were created too. All is in the develop now.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/fb6d2d9e33a92f54fb2874f9d7795ace867889e9
Updated by Radek Tomiška about 4 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Radek Tomiška to Vít Švanda
I did test and code review, feature is really complex, i like it. Content with available connectors (flex box) is awesome!
I have some notes from testing:
- I have existing AD system configured - open in wizard - blank page is shown after "schema" step ("Uncaught TypeError: this.state.connectorType is undefined"). The same for VS systems.
- Navigation key is missing on url 'http://localhost:3000/#/connector-types' => 'Dashboard' title is shown
- create new VS system - go to "atributes" step => go back => go next - null pointer "at eu.bcvsolutions.idm.acc.connector.AbstractConnectorType.executeMappingStep(AbstractConnectorType.java:220)". This can be reproducd on AD system to => maybe is connected with manually created schema, I don't know.
And some optional notes :)
- I have existing VS system configured and and deleted identity, which is configured as realizator - second step cannot be shown (validation occurs, even realizators are not shown)
- additional connector setting has to be saved separately (standalone save button), i think i will be confusing for someone :)
- public constant in AbstractConnectorType can be moved to interface
- I don't use protectedservices personally - it complicate future refactoring :)
- ConnectorType#getIconKey could return whole icon value (=> ConnectorType#getIcon() { return "component:connector-one" }) => default "fa:" or "glyphicon:" library can be used, when custom conntector type will be register and no FE icon implementation is needed (+ posible configurable api in future, see ConfigurationService#PROPERTY_ICON usage). This requires icon styling will be outside too (but icon can be used through whole app e.g. modal headers).
- we need to change icon for automatic roles
- new property "classNameTable" should be removed and standard "className" property should be used as ".basic-table .table-cell-vertical-middle-align table { ... }"
- ShortText.js - Tooltip was removed, why :)?
Updated by Vít Švanda about 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
Thanks for good testing. I fixed big issues and ✌some notes.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/e1402beb973fa618667e693ce93dc2be641362b8
- ✔ I have existing AD system configured - open in wizard - blank page is shown after "schema" step ("Uncaught TypeError: this.state.connectorType is undefined"). The same for VS systems.
- ✔_Navigation key is missing on url 'http://localhost:3000/#/connector-types' => 'Dashboard' title is shown_
- ✔_create new VS system - go to "atributes" step => go back => go next - null pointer "at eu.bcvsolutions.idm.acc.connector.AbstractConnectorType.executeMappingStep(AbstractConnectorType.java:220)". This can be reproducd on AD system to => maybe is connected with manually created schema, I don't know._
- ❌ I have existing VS system configured and and deleted identity, which is configured as realizator - second step cannot be shown (validation occurs, even realizators are not shown). The validation is performed on system save. I am not easily able to solve this (I can skip a validation on system save, but I don't want it).
- additional connector setting has to be saved separately (standalone save button), i think i will be confusing for someone :)
- ✔ public constant in AbstractConnectorType can be moved to interface
- ✔_I don't use protectedservices personally - it complicate future refactoring :)_
- ConnectorType#getIconKey could return whole icon value (=> ConnectorType#getIcon() { return "component:connector-one" }) => default "fa:" or "glyphicon:" library can be used, when custom conntector type will be register and no FE icon implementation is needed (+ posible configurable api in future, see ConfigurationService#PROPERTY_ICON usage). This requires icon styling will be outside too (but icon can be used through whole app e.g. modal headers).
- we need to change icon for automatic roles
- new property "classNameTable" should be removed and standard "className" property should be used as ".basic-table .table-cell-vertical-middle-align table { ... }"
- ShortText.js - Tooltip was removed, why :)? A Fulltext title was shorted in the tooltip for my case.
Updated by Radek Tomiška about 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
I did test and code review, it's awesome, thx!
Updated by Radek Tomiška about 4 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška about 4 years ago
- Related to Defect #2620: Wizard: missing conntector images added