Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Completed
-
None
-
None
-
None
-
i2b2 Core, i2b2 Web Client
-
All Web Browsers
Description
Each cell in the i2b2 hive has a DB_LOOKUP table that contains the information it needs to connect to the appropriate database for that cell and project. Currently, there is no easy way to view or edit the information in these tables. This enhancement will allow administrators to view and edit the database settings defined for each cell.
As part of this enhancement, 3 new pages have been created. These pages will contain the following fields:
1. Name
2. DB Schema
3. JNDI Data Source
4. DB Server
5. Project Path
6. Owner ID
7. Tooltip
8. Comment
The fields on the pages are equivalent to the following columns in the DB_LOOKUP tables:
1. Name = C_DB_NICENAME
2. DB Schema = C_DB_FULLSCHEMA
3. JNDI Data Source = C_DB_DATASOURCE
4. DB Server = C_DB_SERVERTYPE
5. Project Path = C_PROJECT_PATH
6. Owner ID = C_OWNER_ID
7. Tooltip = C_DB_TOOLTIP
8. Comment = C_COMMENT
3 New Pages and Expected Behavior
1. DB Lookup List
* This page displays the settings for all the databases setup for that cell.
* This is a view only page. Information cannot be edited
* Button: Add New DB Lookup
Behavior: displays the DB Lookup Add New page
2. DB Lookup Add New
* This page is used to add a new entry into the DB_LOOKUP table for that cell.
* It is accessed by clicking on the Add New DBLookup button.
* Button: Save
Behavior:
- Saves the information into the appropriate DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Cancel
Behavior:
- Does NOT save the information into the DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
2. DB Lookup Details
* This page displays the details for a single database connection.
* The data on this page can be edited for all pages EXCEPT for the Project Path.
* All edits will be saved to the appropriate db_lookup table.
* Button: Save
Behavior:
- Saves the edits into the appropriate DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Cancel
Behavior:
- Does NOT save the information into the DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Delete
Behavior:
- Clicking on it will display a new dialog window asking if your are sure you want to delete the DB Lookup.
~ Cancel will close the dialog window and return to the DB Lookup Details page
~ Ok will continue with the deletion process in which the database connection will be removed from the database lookup table
- The page will close and return to the DB Lookup List page.
WARNING: The Delete button will remove the database connection settings from the DB_LOOKUP table so you need to make sure you are deleting the correct one.
New Services
Several new services were developed in order to accommodate this new feature.
* getALLDBLookup: retrieves all the database configurations for that cell
* setDBLookup: saves new database entries into the appropriate DB_LOOKUP table
* getDBLookup: retrieves the configuration of a single database connection
* deleteDBLookup: deletes the database configuration from the appropriate DB_LOOKUP table
Information about these new services can be found inCORE-218.
As part of this enhancement, 3 new pages have been created. These pages will contain the following fields:
1. Name
2. DB Schema
3. JNDI Data Source
4. DB Server
5. Project Path
6. Owner ID
7. Tooltip
8. Comment
The fields on the pages are equivalent to the following columns in the DB_LOOKUP tables:
1. Name = C_DB_NICENAME
2. DB Schema = C_DB_FULLSCHEMA
3. JNDI Data Source = C_DB_DATASOURCE
4. DB Server = C_DB_SERVERTYPE
5. Project Path = C_PROJECT_PATH
6. Owner ID = C_OWNER_ID
7. Tooltip = C_DB_TOOLTIP
8. Comment = C_COMMENT
3 New Pages and Expected Behavior
1. DB Lookup List
* This page displays the settings for all the databases setup for that cell.
* This is a view only page. Information cannot be edited
* Button: Add New DB Lookup
Behavior: displays the DB Lookup Add New page
2. DB Lookup Add New
* This page is used to add a new entry into the DB_LOOKUP table for that cell.
* It is accessed by clicking on the Add New DBLookup button.
* Button: Save
Behavior:
- Saves the information into the appropriate DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Cancel
Behavior:
- Does NOT save the information into the DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
2. DB Lookup Details
* This page displays the details for a single database connection.
* The data on this page can be edited for all pages EXCEPT for the Project Path.
* All edits will be saved to the appropriate db_lookup table.
* Button: Save
Behavior:
- Saves the edits into the appropriate DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Cancel
Behavior:
- Does NOT save the information into the DB_LOOKUP table.
- Closes the page and returns to the DB Lookup List.
* Button: Delete
Behavior:
- Clicking on it will display a new dialog window asking if your are sure you want to delete the DB Lookup.
~ Cancel will close the dialog window and return to the DB Lookup Details page
~ Ok will continue with the deletion process in which the database connection will be removed from the database lookup table
- The page will close and return to the DB Lookup List page.
WARNING: The Delete button will remove the database connection settings from the DB_LOOKUP table so you need to make sure you are deleting the correct one.
New Services
Several new services were developed in order to accommodate this new feature.
* getALLDBLookup: retrieves all the database configurations for that cell
* setDBLookup: saves new database entries into the appropriate DB_LOOKUP table
* getDBLookup: retrieves the configuration of a single database connection
* deleteDBLookup: deletes the database configuration from the appropriate DB_LOOKUP table
Information about these new services can be found in
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7.08 [ 10205 ] | |
Assignee | Mike Mendis [ mem61 ] | |
i2b2 Sponsored Project/s | i2b2 Core,i2b2 Web Client [ 10196, 10197 ] | |
Status | New [ 10000 ] | Open [ 1 ] |
Assignee | Mike Mendis [ mem61 ] | Nich [ nich ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Ready to Test [ 10001 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Assignee | Nich [ nich ] | Janice Donahoe [ jmd86 ] |
Description |
Currently there is no easy way to view the db_lookup information that is defined for each cell. This enhancement will allow administrators to easily see and edit the database settings defined for each cell.
There are two new pages: 1. DB Lookup List * This page lists all the database settings defined for that cell. * Displays the following information: - db_nicename - db_fullschema - db_datasource - db_servertype - owner_id - project_path 2. DB Lookup Details * This page will display the details for a single database setting. * The page will contain the following fields: - Name - DB Schema - JNDI Data Source - Tooltip - Comment - DB Server * The fields can be edited; the changes will be saved to the appropriate db_lookup table. A new service called "getAllDBLookup" has been created to retrieve the database configurations from each of the db_lookup tables. Information about this new service can be found in |
Each cell in the i2b2 hive has a DB_LOOKUP table that contains the information it needs to connect to the appropriate database for that cell and project. Currently, there is no easy way to view or edit the information in these tables. This enhancement will allow administrators to view and edit the database settings defined for each cell.
As part of this enhancement, 3 new pages have been created. These pages will contain the following fields: 1. Name 2. DB Schema 3. JNDI Data Source 4. DB Server 5. Project Path 6. Owner ID 7. Tooltip 8. Comment The fields on the pages are equivalent to the following columns in the DB_LOOKUP tables: 1. Name = C_DB_NICENAME 2. DB Schema = C_DB_FULLSCHEMA 3. JNDI Data Source = C_DB_DATASOURCE 4. DB Server = C_DB_SERVERTYPE 5. Project Path = C_PROJECT_PATH 6. Owner ID = C_OWNER_ID 7. Tooltip = C_DB_TOOLTIP 8. Comment = C_COMMENT 3 New Pages and Expected Behavior 1. DB Lookup List * This page displays the settings for all the databases setup for that cell. * This is a view only page. Information cannot be edited * Button: Add New DB Lookup Behavior: displays the DB Lookup Add New page 2. DB Lookup Add New * This page is used to add a new entry into the DB_LOOKUP table for that cell. * It is accessed by clicking on the Add New DBLookup button. * Button: Save Behavior: - Saves the information into the appropriate DB_LOOKUP table. - Closes the page and returns to the DB Lookup List. * Button: Cancel Behavior: - Does NOT save the information into the DB_LOOKUP table. - Closes the page and returns to the DB Lookup List. 2. DB Lookup Details * This page displays the details for a single database connection. * The data on this page can be edited for all pages EXCEPT for the Project Path. * All edits will be saved to the appropriate db_lookup table. * Button: Save Behavior: - Saves the edits into the appropriate DB_LOOKUP table. - Closes the page and returns to the DB Lookup List. * Button: Cancel Behavior: - Does NOT save the information into the DB_LOOKUP table. - Closes the page and returns to the DB Lookup List. * Button: Delete Behavior: - Clicking on it will display a new dialog window asking if your are sure you want to delete the DB Lookup. ~ Cancel will close the dialog window and return to the DB Lookup Details page ~ Ok will continue with the deletion process in which the database connection will be removed from the database lookup table - The page will close and return to the DB Lookup List page. WARNING: The Delete button will remove the database connection settings from the DB_LOOKUP table so you need to make sure you are deleting the correct one. New Services Several new services were developed in order to accommodate this new feature. * getALLDBLookup: retrieves all the database configurations for that cell * setDBLookup: saves new database entries into the appropriate DB_LOOKUP table * getDBLookup: retrieves the configuration of a single database connection * deleteDBLookup: deletes the database configuration from the appropriate DB_LOOKUP table Information about these new services can be found in |
Testing Notes |
TEST STATUS: Completed
COMPLETION DATE: 08/16/2016 ** This enhancement will be closed and issues found will be tracked in a separate JIRA issue. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ TEST DATE: 08/09/2016 TESTED BY: Janice Donahoe BUILD NUMBER: 1.7.08.0001 TEST STATUS: CLIENTS TESTED: i2b2 Web Client ENVIRONMENTS TESTED: Browsers: Chrome, Firefox, Internet Explorer, and Safari Databases: Not applicable for this test Client OS: Windows and Macintosh TEST COMMENTS: Tested with the latest build (1.7.08.0001) and there are some issues that are being addressed in the JIRA issues listed in the ISSUES FOUND section. ISSUES FOUND: |
|
Status | Testing [ 10002 ] | Testing [ 10002 ] |
Resolution | Completed [ 10000 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |