Implement the front end functionality and interaction with the back end for the LocalDynamicMetadataProvider.
Requirements/AC:
Wizard
Wizard Navigation
Navigation consist of two actions, Back and Next.
- If the Metadata Provider Add form is displayed, there is no Back action and clicking the Next action will display the Common Attributes Add Form.
- If the Common Attributes Add Form is displayed, clicking the Back action will display the Metadata Provider Add Form or clicking the Next action will display the Dynamic Attributes Add Form.
- If the Dynamic Attributes Add Form is displayed, clicking the Back action will display the Common Attributes Add Form or clicking the Next action will display the Finish Summary Form
- If the Finish Summary Form is displayed, clicking the Back action will display the Dynamic Attributes Add Form and there is no available Next action.
Metadata Provider Add Form
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Metadata Provider Name |
Metadata Provider Name (Dashboard Display Only) * |
text box |
|
Required |
Metadata Provider Name |
Metadata Provider Type |
Metadata Provider Type * |
Selection List Containing * FileBackedHttpMetadataProvider
- FileSystemMetadataProvider
- LocalDynamicMetadataProvider
- DynamicHTTPMetadataProvider
|
|
Required |
Metadata Provider Type |
Common Attributes Add Form
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
ID |
ID *** |
Text box |
|
Required |
Identifier for logging, identification for command line reload, etc. |
Source Directory |
Source Directory *** |
Text box |
|
Required |
Convenience mechanism for wiring a FilesystemLoadSaveManager, loading from the specified source directory in the local filesystem. This attribute will be ignored if sourceManagerRef is also specified. Either this attribute or sourceManagerRef is required. |
Dynamic Attributes Add Form
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Refresh Delay Factor |
Refresh Delay Factor |
Text box |
0.75 |
Numeric
Must be between 0.0 and 1.0 |
A factor applied to the initially determined refresh time in order to determine the next refresh time (typically to ensure refresh takes place prior to the metadata's expiration). Attempts to refresh metadata will generally begin around the product of this number and the maximum refresh delay. |
Min Cache Duration |
Min Cache Duration |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
PT10M |
|
The minimum duration for which metadata will be cached before it is refreshed. |
Max Cache Duration |
Max Cache Duration |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
PT8H |
|
The maximum duration for which metadata will be cached before it is refreshed. |
Max Idle Entity Data |
Max Idle Entity Data |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
PT8H |
|
The maximum duration for which metadata will be allowed to be idle (no requests for it) before it is removed from the cache. |
Remove Idle Entity Data |
Remove Idle Entity Data? |
Boolean |
True |
|
Flag indicating whether idle metadata should be removed. |
Cleanup Task Interval |
Cleanup Task Interval |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
PT30M |
|
The interval at which the internal cleanup task should run. This task performs background maintenance tasks, such as the removal of expired and idle metadata. |
Finish Summary
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Save |
Save |
Icon - Clickable |
|
|
|
Enable Metadata Provider |
Enable Metadata Provider? |
Checkbox |
|
|
If checkbox is clicked, the metadata provider is enabled for integration with the IdP |
Creation Choice |
Creation Choice |
Icon - Clickable |
|
|
|
Metadata Provider Name |
Metadata Provider Name (Dashboard Display Only) |
Text only |
Displays value assigned |
|
|
Metadata Provider Type |
Metadata Provider Type |
Text only |
Displays value assigned |
|
|
Common Attributes |
Common Attributes |
Icon - Clickable |
|
|
|
ID |
ID |
Text only |
Displays value assigned |
|
|
Source Directory |
Source Directory |
Text only |
Displays value assigned |
|
|
Dynamic Attributes Title |
Dynamic Attributes |
Icon - Clickable |
|
|
|
Refresh Delay Factor |
Refresh Delay Factor |
Text only |
Displays value assigned/selected |
|
|
Min Cache Duration |
Min Cache Duration |
Text only |
Displays value selected |
|
|
Max Cache Duration |
Max Cache Duration |
Text only |
Displays value selected |
|
|
Max Idle Entity Data |
Max Idle Entity Data |
Text only |
Displays value selected |
|
|
Remove Idle Entity Data |
Remove Idle Entity Data? |
Text only |
Displays value selected |
|
|
Cleanup Task Interval |
Cleanup Task Interval |
Text only |
Displays value selected |
|
Metadata Provider Updates
Metadata Provider Update
Actions
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Save |
Save Changes |
Button - Clickable |
|
|
|
Cancel |
Cancel |
Button - Clickable |
|
|
|
Tabs
Three tabs are included, Common Attributes, Reloading Attributes and Filter LIst
- If the Common Attributes - Edit form is displayed, the Common Attributes tab is highlighted and not clickable, the Reloading Attributes and Filter List tabs are not highlighted and are clickable.
- If the Dynamic Attributes - Edit form is displayed, the Dynamic Attributes tab is highlighted and not clickable, the Common Attributes and Filter List tabs are not highlighted and are clickable.
Common Attributes - Edit
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Metadata Provider Name |
'Metadata Provider Name (Dashboard Display Only) *' |
Text box |
|
Required |
Metadata Provider Name |
Metadata Provider Type |
'Metadata Provider Type *' |
Selection List - non-clickable * FileBackedHttpMetadataProvider
- FileSystemMetadataProvider
- LocalDynamicMetadataProvider
- DynamicHTTPMetadataProvider
|
LocalDynamicMetadataProvider |
Required |
Metadata Provider Type |
Enable Metadata Provider |
Enable Metadata Provider? |
Checkbox |
|
|
If checkbox is clicked, the metadata provider is enabled for integration with the IdP |
ID |
ID *** |
Text box |
|
Required |
Identifier for logging, identification for command line reload, etc. |
Source Directory |
Source Directory *** |
Text box |
Displays value assigned |
Required |
Convenience mechanism for wiring a FilesystemLoadSaveManager, loading from the specified source directory in the local filesystem. This attribute will be ignored if sourceManagerRef is also specified. Either this attribute or sourceManagerRef is required. |
Dynamic Attributes - Edit
Field |
Label |
Field Type |
Default Value |
Validation |
Help Text |
Refresh Delay Factor |
Refresh Delay Factor |
Text box |
Value previously selected or entered |
Numeric
Must be between 0.0 and 1.0 |
A factor applied to the initially determined refresh time in order to determine the next refresh time (typically to ensure refresh takes place prior to the metadata's expiration). Attempts to refresh metadata will generally begin around the product of this number and the maximum refresh delay. |
Min Cache Duration |
Min Cache Duration |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
Value previously selected |
|
The minimum duration for which metadata will be cached before it is refreshed. |
Max Cache Duration |
Max Cache Duration |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
Value previously selected |
|
The maximum duration for which metadata will be cached before it is refreshed. |
Max Idle Entity Data |
Max Idle Entity Data |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
Value previously selected |
|
The maximum duration for which metadata will be allowed to be idle (no requests for it) before it is removed from the cache. |
Remove Idle Entity Data |
Remove Idle Entity Data? |
Boolean |
Value previously selected |
|
Flag indicating whether idle metadata should be removed. |
Cleanup Task Interval |
Cleanup Task Interval |
List Selection containing: * PT0S
- PT30S
- PT1M
- PT10M
- PT30M
- PT1H
- PT4H
- PT8H
- PT12H
- PT24H
|
Value previously selected |
|
The interval at which the internal cleanup task should run. This task performs background maintenance tasks, such as the removal of expired and idle metadata. |