Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Garya/ad 444/remove timestream connectivity (#16)
* Update comment, replace 'timestreamodbc.c' with 'odbc.c'. * Remove 'TOKEN' from MYLOG when logging authentication information. * Add user input fields 'Username' and 'Password' when setting up DSN configuration. * Modify DBCommunication methods Validate, Connect, ExecDirect. Validation is true if username = 'testuser' and password = 'password'. Connect returns true if validation is true (fake connection established). ExecDirect returns false with error message 'No data available to query'. * Update unit tests for valid username and password default authentication. * Revert changes made to test_conn.cpp. * Change 'username' to 'UID'. * Revert DBCommunication::Validate method. * Use environment variable NOT_CONNECTED for fake connection implementation. * Change log message for connection established. * Revert test_conn.cpp. * Change 'Username' to 'User ID'. * Check env variables for DBCommunication Connect, Disconnect, ExecDirect). * Update connection unit tests. * Update it_odbc_helper.(h,cpp) file for default unit tests. * Minor changes to DBCommunication class. * Update unit tests for odbc connection. * Remove printf statement from test_odbc_connection.cpp. * Remove Tableau query unit tests. * Remove NOT_CONNECTED check in class Fixture. * Add NOT_CONNECTED check in derived test classes, remove from unit test functions. * Update TestSQLDriverMultiConnection. * Format documents google style. * Update .yml files with FAKE_CONNECTION: 1. * Remove NOT_CONNECTED from DBCommunication class. * Move database connection check from unit test to unit test class. Remove expected error check in unit tests for the case NOT_CONNECTED = 0 and FAKE_CONNECTION = 0. * Move database connection check from unit test to unit test class. Remove expected error check in unit tests for the case NOT_CONNECTED = 0 and FAKE_CONNECTION = 0. * Comment out SQLDisconnect unit tests with reconnections due to memory dump. * Update Github actions (macos, linux) to use cmake version 3.21.4. * Update Github actions (macos, linux) to use cmake version 3.21.4. * Update linux32 to use cmake 3.21.4. * [AD-444] Set the password field on the DSN dialog to hide typed characters. https:/bitquill.atlassian.net/browse/AD-444 * Revert "Remove Tableau query unit tests." This reverts commit 876e29e13203463d35359513fe4788d286cb9da5. * Fix memory leak for TestSQLDisconnect. * [AD-477] add TODO comments for instructions on modifying connection string in future. * Update github actions cmake to 3.21.4 using = and @ symbol. * Revert "Update github actions cmake to 3.21.4 using = and @ symbol." This reverts commit 4f1e7057472a3d81a6de025e397d267c2eebe781. Co-authored-by: Bruce Irschick <[email protected]>
- Loading branch information