From a9a87f7c3fdb814140d2608d96c209e5379fdd5d Mon Sep 17 00:00:00 2001 From: Hiroaki KAWAI Date: Fri, 31 Jan 2014 12:51:15 +0900 Subject: [PATCH] Rework stratosphere ssp plugin * add missing command entry in commands.properties * migrate httpclient 3.x to 4.x * fix the broken SspClient * add webapp session checking in mock ssp server --- client/tomcatconf/commands.properties.in | 5 + .../tomcatconf/nonossComponentContext.xml.in | 12 + .../cloudstack/network/element/SspClient.java | 278 ++++++++---------- .../stratosphere-ssp/sspmock/sspmock.py | 58 ++-- .../network/element/SspClientTest.java | 75 ++--- 5 files changed, 216 insertions(+), 212 deletions(-) diff --git a/client/tomcatconf/commands.properties.in b/client/tomcatconf/commands.properties.in index a4906802ed3..0b7cc36f9ed 100644 --- a/client/tomcatconf/commands.properties.in +++ b/client/tomcatconf/commands.properties.in @@ -570,6 +570,11 @@ addBigSwitchVnsDevice=1 deleteBigSwitchVnsDevice=1 listBigSwitchVnsDevices=1 +#### stratosphere ssp commands + +addStratosphereSsp=1 +deleteStratoshereSsp=1 + #### host simulator commands configureSimulator=1 diff --git a/client/tomcatconf/nonossComponentContext.xml.in b/client/tomcatconf/nonossComponentContext.xml.in index a9aba7ef554..a00e83e3936 100644 --- a/client/tomcatconf/nonossComponentContext.xml.in +++ b/client/tomcatconf/nonossComponentContext.xml.in @@ -168,6 +168,18 @@ + + + + + + + + + +