diff options
| -rwxr-xr-x | server/Test/AppTestClass.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/Test/AppTestClass.php b/server/Test/AppTestClass.php index 2babed4..68d0cfc 100755 --- a/server/Test/AppTestClass.php +++ b/server/Test/AppTestClass.php @@ -43,6 +43,11 @@ class AppTest{ $opt = $this->tokenClass->getOptions($service);
return $this->openstack->imagesV2($opt);
break;
+ case "Compute":
+ if($this->tokenPost == NULL) $this->tokenClass->genComputeToken();
+ $opt = $this->tokenClass->getOptions($service);
+ return $this->openstack->computeV2($opt);
+ break;
case "Network":
if($this->tokenPost == NULL) $this->tokenClass->genNetworkToken();
$opt = $this->tokenClass->getOptions($service);
@@ -89,4 +94,4 @@ class AppTest{ echo json_encode($this->output);
}
-}
\ No newline at end of file +} |
