Skip to content

Commit 4eb12d1

Browse files
committed
Fixing some code quality issues
1 parent 573e64e commit 4eb12d1

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ deploy:
77
provider: releases
88
api_key:
99
secure: HaLgQjTqegx0wexEexbBKB+D1DGwbiW7zQgLMpbA/d1PUQRLHMIZLNE8u1V5/4/qLSRqmp/VdLHwvSWbcc7dPrzNN09rwEb7HPLORkCvSHq6/pOgnJ1xIWU4CMjNewjxYS94AnQN+0+PFdFw7mqTuf6cz/IVCZxypCEzckziI220DLYBXBS9vNSko55979yhQv7U31vd/CJ63cp21qvemAcFncQr98FKq6JsbpMtOOjAqjvN/VPpnphhoV7DxbiKEMZ9ZePClg69HpZ+Q/o2qUm/BKd32ZmpZosTE27Gaj81TVnLeLfveeBRt0jTK4gisS5++t6AfK01DHGexT4hVgG34jkjQQX76imCMa+sd61Ixs2P4rVRl9zqJKFBlxoeOkdXhenLqDZL0c/jKYXXtIln6f24rnQ26t1L7zbdI2I0G+gS0aZfXAMSXoFioZCplydRkuuHrr/HOVmlBk7LF36cvXSbv2UVwATrNjOZs0Sd0fBxrOtnQ7l9g3vSufV59kHE/ic80Lrbn8Pphh3gRDsOrVGF/vHvz5Aho0kCxLwqoz6hajQ0kIVvfIz3kC2xITeFWYwYgUUupLUopj2GiIpOdcPhZJ/9Lr0+zr3cxW/l7orWwmuVT/Eo9JdyhX+GaYvRvNkU9x1A1VFF/R3AOc2eSDi+zmCASbqdA9vE/Zs=
10-
file: build/libs/xlr-ucd-plugin-1.4.0.jar
10+
file: build/libs/xlr-ucd-plugin-1.4.1.jar
1111
skip_cleanup: true
1212
on:
1313
tags: true

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id "com.xebialabs.xl.docker" version "1.1.0"
44
}
55

6-
version='1.4.0'
6+
version='1.4.1'
77

88
apply plugin: 'java'
99
apply plugin: 'idea'

src/main/resources/ucd/ApplicationProcessRequest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
from ucd.UCDClientUtil import UCD_Client_Util
1212

1313

14-
verifySsl = not server['disableSslVerification']
15-
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verifySsl)
14+
verify_ssl = not server['disableSslVerification']
15+
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verify_ssl)
1616

1717
requestId = ucd_client.application_process_request(application, applicationProcess, environment, versions, properties)
1818

src/main/resources/ucd/ApplicationProcessRequestStatus.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
99
#
1010

11-
import time, sys
11+
import time
12+
1213
from ucd.UCDClientUtil import UCD_Client_Util
1314

14-
verifySsl = not server['disableSslVerification']
15-
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verifySsl)
15+
verify_ssl = not server['disableSslVerification']
16+
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verify_ssl)
1617
trial = 0
17-
request_status = None
1818
request_response = None
1919
while not numberOfPollingTrials or trial < numberOfPollingTrials:
2020
trial += 1
2121
time.sleep(pollingInterval)
2222
request_response = ucd_client.application_process_request_status(requestId)
2323
requestStatus = request_response["status"]
2424
requestResult = request_response["result"]
25-
print "requestStatus: %s requestResult: %s" % (requestStatus, requestResult)
25+
print "Received Request Status: [%s] with Request Result: [%s]\n" % (requestStatus, requestResult)
2626
if requestStatus in ("CLOSED", "FAULTED"):
2727
if requestResult not in "SUCCEEDED":
28-
raise Exception("Failed to execute application process request. Status [%s], Result [%s]" % (requestStatus, requestResult))
29-
else:
30-
break
28+
raise Exception("Failed to execute application process request. Status [%s], Result [%s]" % (
29+
requestStatus, requestResult))
30+
break

src/main/resources/ucd/ListSystemConfiguration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
from ucd.UCDClientUtil import UCD_Client_Util
1212

13-
verifySsl = not server['disableSslVerification']
14-
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verifySsl)
13+
verify_ssl = not server['disableSslVerification']
14+
ucd_client = UCD_Client_Util.create_ucd_client(server, username, password, verify_ssl)
1515

1616
systemConfiguration = ucd_client.list_system_configuration()
1717

0 commit comments

Comments
 (0)