summaryrefslogtreecommitdiffstats
path: root/pgaas/tests/test_plugin.py
AgeCommit message (Collapse)AuthorFilesLines
2019-11-15Make pgaas tests propagate test failuresMiroslav Los1-1/+7
Reraise the exceptions so that test harness reports them properly. Fix parameters passed in test_update_database. Ensure strings are encoded before hashing (enforced in python3). Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: CCSDK-1929 Change-Id: Iee098fd53bc0fbd1c69d737002d1f63f9548f7f4
2019-08-07PGaaS plugin -- modify code to support python3Hansen, Tony (th1395)1-24/+146
add code to work on both python2 and python3 lots of pylinting remove debug logging of a password improve error message when given an invalid cluster name, simplify some code password changing capability for a database tox tests improvements NOTE . . . The PGaaS plugin uses several Cloudify mock libraries, one of which is not compatible with Python3. Until we get an updated version of that Cloudify mock libraries, we will have to leave out py3X from the tox tests. We cannot use py37 yet because Jenkins returns: InterpreterNotFound: python3.7 So tox.ini is using envlist = py27 Change-Id: I795b71cc8a1fdea043e2ff3a0d66bb95e3f93a89 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue: CCSDK-1599 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2018-08-22add mechanism to force a password changeHansen, Tony (th1395)1-6/+21
for plugins/pgaas_plugin Change-Id: Iac969f330683304bc6b6f6a81187cf75ac70815e Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: CCSDK-479 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2018-04-05Revert "Revert "add capability to take over ...""Hansen, Tony (th1395)1-10/+13
This reverts commit 2fcc882d69dc4a59846ef2ff6b352e40c3f5cf49. Resolve comments from Jack Change-Id: I8e4ff9a04452a3fa5704b948126b508e78e94bdc Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: CCSDK-228 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2018-03-29Revert "add capability to take over ..."Timoney, Dan (dt5972)1-13/+10
This reverts commit adcb1dfaf4d88062c11630fee59eacb15965c373. Issue-ID: CCSDK-228 Change-Id: Ib88a52888c1b9f9adfcc22fecf2f8c297621a81a Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-28add capability to take over an existing DBHansen, Tony (th1395)1-10/+13
add ability to take a port as part of the hostname add IPv6 support as [IPv6address] or [IPv6address]:port Change-Id: Ia7a7309f7964b64fa65b0fa98891e529d7765056 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: CCSDK-228 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2017-09-27add unit tests to pgaas_pluginTony Hansen1-0/+145
plus various small fixes to get unit tests to pass Change-Id: I9ec786c5a40cb82d14ec72504d6ad4703a442a1a Signed-off-by: Tony Hansen <tony@att.com> Issue-Id: CCSDK-18 Signed-off-by: Tony Hansen <tony@att.com>