git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SLA code updated and new image for SmartSantander Application Service added
[myslice.git]
/
sla
/
slaclient
/
restclient.py
diff --git
a/sla/slaclient/restclient.py
b/sla/slaclient/restclient.py
index
9d1306b
..
c00ca2f
100755
(executable)
--- a/
sla/slaclient/restclient.py
+++ b/
sla/slaclient/restclient.py
@@
-281,19
+281,10
@@
class Agreements(object):
path = _buildpath_(agreementid, "guaranteestatus")
r = self.res.client.get(path, headers={'accept': 'application/json'})
path = _buildpath_(agreementid, "guaranteestatus")
r = self.res.client.get(path, headers={'accept': 'application/json'})
- print "---- JSON Response ----"
- print r.text
-
json_obj = r.json()
json_obj = r.json()
- print "-- json_obj() --"
- print type(json_obj)
- print json_obj
status = wsag_model.AgreementStatus.json_decode(json_obj)
status = wsag_model.AgreementStatus.json_decode(json_obj)
- print "---- STATUS ----"
- print status
-
return status, r
def create(self, agreement):
return status, r
def create(self, agreement):