Michael Pasternak has uploaded a new change for review.

Change subject: codegen: do not force cert. check
......................................................................

codegen: do not force cert. check

Change-Id: I82e471525eb13ae4bc31918351ed4511e1c05815
Signed-off-by: Michael Pasternak <[email protected]>
---
M src/codegen/main.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/55/7255/1

diff --git a/src/codegen/main.py b/src/codegen/main.py
index ad5aab2..b85da21 100644
--- a/src/codegen/main.py
+++ b/src/codegen/main.py
@@ -30,6 +30,7 @@
 SERVER = 'http://localhost:8080'
 USER = 'admin@internal'
 PASSWORD = 'letmein!'
+INSECURE = True
 
 BROKERS_FILE = '../ovirtsdk/infrastructure/brokers.py'
 ENTRY_POINT_FILE = '../ovirtsdk/api.py'
@@ -61,6 +62,7 @@
                                key_file=None,
                                cert_file=None,
                                ca_file=None,
+                               insecure=INSECURE,
                                strict=False,
                                timeout=None,
                                username=USER,
@@ -72,7 +74,7 @@
     def generate_code(self):
         """Generates decorators"""
 
-        API(url=SERVER, username=USER, password=PASSWORD)
+        API(url=SERVER, username=USER, password=PASSWORD, insecure=INSECURE)
 
         collectionsHolder = {}
         usedRels = []


--
To view, visit http://gerrit.ovirt.org/7255
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I82e471525eb13ae4bc31918351ed4511e1c05815
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to