Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
Volaris Sprint 113, Volaris Sprint 114
-
8
-
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 the "New" in the Central Server list pane header is activated
- Then a new configuration form is presented (full-screen)
- Given the interface scenarios described in
- Scenario
- Given the previous scenario
- When the new form is presented
- Then it collects the following information:
- Label/Name (required)
- Description
- Local Server Code (required)
- 5 character lower-case string
- Local Agencies (min 1 required)
- list (empty field with "+" button to add another, trash can to delete), 5 character lower-case
- Multi-select to choose FOLIO Library(ies) (from tenant locations configuration) for each local agency
- Borrowed Item Loan Type (required)
- Pulldown menu with Loan Types from Inventory app
- "Server connection" accordion
- Central server address (required)
- Central server key (required)
- Central server secret (required)
- Local server key
- Local server secret
- "Generate key pair" button
- Cancel button
- "Save & close" button
- Scenario:
- Given the the form described
- When required fields filled and valid
- 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 being save and the user is returned to the list pane described in
UIINREACH-11
- Scenario
- Given the completed form from Scenario 3
- When the user clicks "Save & close" without filling the "Local server key" and "Local server secret" fields
- Then the provided central server address, key, and secret are validated before the form is saved
- 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 that the user did generate a key pair for the local server and all required fields are complete
- When the configuration is successfully saved
- Then a JSON file containing the generated local server key and secret is downloaded
- Filename: <central server name>-local-server-keypair.json
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2714 Create Settings to Manage Configuration of Relationship(s) Between D2IR Local Server (FOLIO) and INN-Reach Central Servers
-
- Closed
-
- is cloned by
-
UIINREACH-17 INN-Reach General Settings: Central Server Connection Configuration Edit Screen
-
- 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
-
-
UX-425 UX: INN-Reach UI - Settings
-
- Closed
-
- requires
-
UIINREACH-11 INN-Reach General Settings: Central Server Connection Configuration List
-
- Closed
-
- mentioned in
-
Page Loading...