Package DE_EPAGES::FlexProvider::API::WebService::FlexProviderService
Provides web service access to configure virtual flex machine, create shop, update machine config etc.
Example |
use DE_EPAGES::WebService::API::Client; my $FPService = DE_EPAGES::WebService::API::Client ->uri('urn://epages.de/WebService/FlexProviderService/2010/07') ->proxy("http://localhost:80/epages/Site.soap") ->userinfo( "/Users/$Login:$Password" ); print Dumper $FPService->getInfoVM({'VMIpAddress'=>'172.20.128.242'}); |
Functions
configureVM
configure VM
Syntax |
$configured = $FlexProviderService->configureVM($hHWParams,$hCTParams)->result; $ret = $FlexProviderService->getInfoVM( {'VMIpAddress'=>'172.20.128.242'}, {'StoreDomainName'=>'CentOS242.intern.epages.de'}); |
Input |
|
Return |
|
createVMshop
Establish webservice connection to the specified virtual machine If epages is running on the virtual machine, the cartidges are syncronized with the site database and a shop with the given params was created
Syntax |
$updated = $FlexProviderService->createVMshop($hHWParams,$hShopParam)->result; $ret = $FlexProviderService->createVMshop( {'VMIpAddress'=>'172.20.128.242'}, { ShopType => 'Demo', Alias => 'TestShop_172.20.8.1', ShopAlias => 'TestShop', DomainName => 'mystorefrontdomain.co.uk', IsTrialShop => 1, } ); |
Input |
|
Return |
|
getInfoVM
Returns information about a virtual flex machine and configured shop
Syntax |
$hInfo = $FlexProviderService->getInfoVM($hHWParams)->result; $ret = $FlexProviderService->getInfoVM({'VMIpAddress'=>'172.20.128.242'}); |
Input |
|
Return |
|
updateVM
update an running epages in a virtual machine to the specified VMType
Syntax |
$updated = $FlexProviderService->updateVM($hHWParams,$VMType)->result; $ret = $FlexProviderService->updateVM( {'VMIpAddress'=>'172.20.128.242'}, 'MerchantProPlus'); |
Input |
|
Return |
|