Exemple #1
0
 def deploy_app(self):
     with self.client.post("/import",
                      json.dumps(Resources.create_app_resource(self.feed_id, self.feed_id + "-NewApp.war")), headers=resources.get_headers()) as response:
         print "Agent [%s] - deploys NewApp.war" % self.feed_id
Exemple #2
0
 def deploy_app(self):
     self.client.post("/import", json.dumps(Resources.create_app_resource(self.feed_id, self.feed_id + "-NewApp.war")), headers=headers)
     print "Agent [%s] - deploys NewApp.war" % self.feed_id,