Commit graph

18 commits

Author SHA1 Message Date
Nikita Mathur
06779f02e4 Oracle session fix when nil in query output
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-30 16:25:31 +05:30
Nikita Mathur
2df4f7e433 Fix oracle db session resource issue of csv comma delimiter and sudo invocation message issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-22 14:10:51 +05:30
Nikita Mathur
e5f2ede389 Oracle fix when invoking query using os user and db role
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-19 14:43:50 +05:30
Nikita Mathur
88641c3fac Fix in oracle command which weren't working in windows powershell
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-06-21 12:09:54 +05:30
Nikita Mathur
c28bacdab7 Oracle session exception handling
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-06-16 19:37:58 +05:30
pacopal
28be72d967 Update oracledb_session.rb
Update format_options for sqlplus to support all versions.
Reference: Issue 5182

Signed-off-by: Francisco Palomares <fpalomares@hotmail.com>

Fixed Test Unit to compare with new values
2020-11-23 14:43:19 +01:00
Ross Moles
351c4e3651 update unit test
Signed-off-by: Ross Moles <rmoles@chef.io>
2020-02-12 18:17:04 +00:00
Ryan Davis
b1c2af209b Corresponding fixes for the move from test/unit/mock to test/fixtures.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 19:20:12 -08:00
Miah Johnson
314715d9f8 let there be tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 19:11:38 -07:00
Miah Johnson
9173674ecd Unsure why old mocking system is broken.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 17:27:01 -07:00
Miah Johnson
66cb95b2ca Add tests to cover Linux/Windows differences in sqlplus execution
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-30 12:26:12 -07:00
Ryan Davis
a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Miah Johnson
2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Ryan Davis
82c9aa6ed6 Got the rest of the tests to pass.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Miah Johnson
6c19e81a06 Remove authors tags from source files.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-28 12:47:39 -07:00
Miah Johnson
659b4b373a Remove # encoding: utf8 magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00
Christoph Hartmann
0839be50d6 oracle_session and mssql_session improvement (#1857)
* improve database parsing
* support sqlcli
* ensure headers are downcast
* externalize database helper
* use password as argument
* feedback from @adamleff
* inline docs update + linting
* stay backwards compatible
* implement tests
2017-06-29 11:01:32 -04:00
Nolan Davidson
ba6745444e Renaming oracle_session to oracledb_session
Signed-off-by: Nolan Davidson <ndavidson@chef.io>
2017-05-05 13:11:07 -04:00
Renamed from test/unit/resources/oracle_session_test.rb (Browse further)