Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Volaris Sprint 114, Volaris Sprint 115
-
5
-
Volaris
Description
Purpose:
In order to integrate with an INN-Reach central server, FOLIO must store a the configurations necessary to connect to and communicate with the central server. This includes the name of the server, an optional description, the agency codes hosted by the FOLIO server (mapped to FOLIO library records), the FOLIO loan type to associate with items borrowed from other local servers in the consortium, the Central server base URL, the API key and secret for authenticating to the central server, and the API key and secret for the central server to use when communicating with FOLIO.
User story statement(s):
As a FOLIO administrator with permission to edit INN-Reach central server configurations, I want create, update, or delete a central server configuration INN-Reach settings, so that my FOLIO tenant can participate in the indicated INN-Reach consortium.
Scenarios:
- Scenario
- Given the interface scenarios described in
UIINREACH-11 - When an existing central server is selected from the list pane
- Then a detail view pane is displayed (
UIINREACH-13)
- Given the interface scenarios described in
- Scenario
- Given the detail view pane from the previous scenario
- When the user selects the action menu and chooses "Edit"
- Then a full-screen edit form with the same fields as described in
UIINREACH-12is presented, populated based on the existing record
- Scenario:
- Given that the form has been edited by the user
- When all required fields have valid values
- Then the "Save & Close" button becomes active
- Scenario
- Given the previous scenario
- When the user clicks the "Cancel" button or the "X" in the upper-left corner of the screen
- Then a confirmation modal is presented with "Close without saving" and "Continue editing" buttons
- Scenario
- Given the confirmation modal
- When the user clicks "Continue editing"
- Then they are returned to the in-progress form
- Scenario
- Given the confirmation modal
- When the user clicks "Close without saving"
- Then the form is dismissed without post and the user is returned to the detail pane view (
UIINREACH-13)
- Scenario
- Given the completed form from Scenario 3
- When the user clicks "Save & close" without changes to the server connection fields
- Then the form is submitted without additional validation
- Scenario
- Given the completed form from Scenario 3
- When the Central server address, Central server key, or Central server key values have been modified
- Then the updated information is validated by attempting to authenticate to the central server (method TBD, either via direct connection from the UI or via a backend API endpoint) as in
UIINREACH-12
- Scenario
- Given the previous scenario
- When the the information is invalid
- Then an error modal is presented indicating the error with "Keep editing" and "Close without saving" buttons
- Scenario
- Given the previous scenario
- When the user clicks "Keep editing"
- Then they are returned to the in-progress form
- Scenario
- Given Scenario 8
- When the user chooses "Close without saving"
- Then they are returned to the list pane
- Scenario
- Given the scenario 7
- When the provided central server information is valid
- Then the form is submitted to the backend API (Create: POST, Update: PUT)
- Scenario
- Given the previous scenario
- When the server returns a 200 response
- Then a success toast appears with "Central Server configuration [created/updated] successfully" and the user is returned to the list pane (
UIINREACH-11) with the new configuration selected with the detail view (UIINREACH-13) displayed
- Scenario
- Given the Scenario 7
- When the server returns an error response (400/500 error)
- Then an error toast is displayed with a description of the error
- Scenario
- Given an existing local server key pair and the user generated a new key pair for the local server
- When the user attempts to save the form
- Then a modal is presented before any other validation with the following attributes:
- Title: Update Local Server Key Confirmation
- Contents: You have updated the Local Server Key/Secret pair. INN-Reach circulation functions will be interrupted until this information is updated by the Central Server administrator. Click “Confirm” to save your changes and download a JSON file with the new key and secret values.
- Buttons:
- “Keep editing” (secondary button)
- “Confirm” (primary)
- Scenario
- Given the previous scenario
- When the user clicks "Keep editing"
- Then they are returned to the in-progress form
- Scenario
- Given Scenario 15
- When the user clicks "Confirm"
- Then the form is processed as outlined above and a JSON file with the new local server key and secret values is downloaded on success
TestRail: Results
Attachments
Issue Links
- clones
-
UIINREACH-12 INN-Reach General Settings: Central Server Connection Configuration Create Screen
-
- Closed
-
- defines
-
UXPROD-2714 Create Settings to Manage Configuration of Relationship(s) Between D2IR Local Server (FOLIO) and INN-Reach Central Servers
-
- Closed
-
- is required by
-
UIINREACH-14 INN-Reach General Settings: Central Server Connection Configuration Save Form
-
- Closed
-
-
UIINREACH-15 INN-Reach General Settings: Central Server Connection Configuration Add Central Server Key/Secret Entry Form
-
- Closed
-
- relates to
-
MODINREACH-35 Create API Endpoint to CRUD Base INN-Reach Central Server Configurations
-
- Closed
-
-
UIINREACH-77 INN-Reach General Settings: Add Central Server Code Field to Central Server Connection Configuration Detail/Edit Screens
-
- Closed
-
-
UX-425 UX: INN-Reach UI - Settings
-
- Closed
-
- requires
-
UIINREACH-11 INN-Reach General Settings: Central Server Connection Configuration List
-
- Closed
-