Method | Description | |
---|---|---|
AreEqualDeploymentSettings ( PublishContext expected, PublishContext actual ) : void | ||
AreEqualPublishContext ( ServiceSettings settings, string configPath, string deploymentName, string label, string packagePath, string subscriptionId, PublishContext actual ) : void | ||
AreEqualServiceComponents ( ServiceComponents actual ) : void | ||
AreEqualServiceConfiguration ( ServiceConfiguration expected, ServiceConfiguration actual ) : void | ||
AreEqualServiceConfiguration ( ServiceConfiguration actual, string serviceName, RoleInfo roles = null ) : void | ||
AreEqualServiceDefinition ( ServiceDefinition expected, ServiceDefinition actual ) : void | ||
AreEqualServicePathInfo ( CloudProjectPathInfo expected, CloudProjectPathInfo actual ) : void | ||
AreEqualServicePathInfo ( string rootPath, CloudProjectPathInfo actual ) : void | ||
AreEqualServicePathInfo ( string cloudConfig, string cloudPackage, string def, string localConfig, string localPackage, string rootPath, string settings, CloudProjectPathInfo actual ) : void | ||
AreEqualServiceSettings ( ServiceSettings expected, ServiceSettings actual ) : void | ||
AreEqualServiceSettings ( string location, string slot, string storageAccountName, string subscriptionName, ServiceSettings actual ) : void | ||
AzureServiceExists ( string serviceRootPath, string scaffoldFilePath, string serviceName, ServiceSettings settings = null, WebRoleInfo webRoles = null, WorkerRoleInfo workerRoles = null, string webScaff = null, string workerScaff = null, RoleInfo roles = null ) : void | ||
ConfigurationSettingExist ( ConfigConfigurationSetting expected, ConfigConfigurationSetting actual ) : void | ||
ConfigurationSettingExist ( DefinitionConfigurationSetting expected, DefinitionConfigurationSetting actual ) : void | ||
InternalEndpointExists ( InternalEndpoint internalEndpoints, InternalEndpoint internalEndpoint ) : void | ||
IsValidServiceDefinition ( ServiceDefinition actual, string serviceName ) : void |
Validates that given service definition is valid against list of web/worker roles. Validation steps: 1. Make sure that name element
|
|
IsValidServiceDefinition ( ServiceDefinition actual, string serviceName, WebRoleInfo webRoles = null, WorkerRoleInfo workerRoles = null ) : void |
Validates that given service definition is valid for a service. Validation steps: 1. Validates name element matches serviceName 2. Validates web role element has all webRoles with same configuration. 3. Validates worker role element has all workerRoles with same configuration.
|
|
LocalResourcesLocalStoreExists ( LocalStore expected, LocalResources actual ) : void | ||
RuntimeIdExists ( Task tasks, string runtimeValue ) : void | ||
RuntimeUrlAndIdExists ( Task tasks, string runtimeValue ) : void | ||
ScaffoldingExists ( string destinationDirectory, string scaffoldFilePath, string roleName = "WebRole" ) : void | ||
StartupTaskExists ( Task tasks, string startupCommand ) : void | ||
WorkerRoleImportsExists ( Import expected, WorkerRole actual ) : void |
Method | Description | |
---|---|---|
GetCloudRole ( string rootPath, string name ) : RoleSettings |
Gets the role settings object from cloud service configuration.
|
|
GetLocalRole ( string rootPath, string name ) : RoleSettings |
Gets the role settings object from local service configuration.
|
|
GetWebRole ( string rootPath, string name ) : WebRole |
Gets web role object from service definition.
|
|
GetWorkerRole ( string rootPath, string name ) : WorkerRole |
Gets worker role object from service definition.
|
public static AreEqualDeploymentSettings ( PublishContext expected, PublishContext actual ) : void | ||
expected | PublishContext | |
actual | PublishContext | |
return | void |
public static AreEqualPublishContext ( ServiceSettings settings, string configPath, string deploymentName, string label, string packagePath, string subscriptionId, PublishContext actual ) : void | ||
settings | ServiceSettings | |
configPath | string | |
deploymentName | string | |
label | string | |
packagePath | string | |
subscriptionId | string | |
actual | PublishContext | |
return | void |
public static AreEqualServiceComponents ( ServiceComponents actual ) : void | ||
actual | ServiceComponents | |
return | void |
public static AreEqualServiceConfiguration ( ServiceConfiguration expected, ServiceConfiguration actual ) : void | ||
expected | ServiceConfiguration | |
actual | ServiceConfiguration | |
return | void |
public static AreEqualServiceConfiguration ( ServiceConfiguration actual, string serviceName, RoleInfo roles = null ) : void | ||
actual | ServiceConfiguration | |
serviceName | string | |
roles | RoleInfo | |
return | void |
public static AreEqualServiceDefinition ( ServiceDefinition expected, ServiceDefinition actual ) : void | ||
expected | ServiceDefinition | |
actual | ServiceDefinition | |
return | void |
public static AreEqualServicePathInfo ( CloudProjectPathInfo expected, CloudProjectPathInfo actual ) : void | ||
expected | CloudProjectPathInfo | |
actual | CloudProjectPathInfo | |
return | void |
public static AreEqualServicePathInfo ( string rootPath, CloudProjectPathInfo actual ) : void | ||
rootPath | string | |
actual | CloudProjectPathInfo | |
return | void |
public static AreEqualServicePathInfo ( string cloudConfig, string cloudPackage, string def, string localConfig, string localPackage, string rootPath, string settings, CloudProjectPathInfo actual ) : void | ||
cloudConfig | string | |
cloudPackage | string | |
def | string | |
localConfig | string | |
localPackage | string | |
rootPath | string | |
settings | string | |
actual | CloudProjectPathInfo | |
return | void |
public static AreEqualServiceSettings ( ServiceSettings expected, ServiceSettings actual ) : void | ||
expected | ServiceSettings | |
actual | ServiceSettings | |
return | void |
public static AreEqualServiceSettings ( string location, string slot, string storageAccountName, string subscriptionName, ServiceSettings actual ) : void | ||
location | string | |
slot | string | |
storageAccountName | string | |
subscriptionName | string | |
actual | ServiceSettings | |
return | void |
public static AzureServiceExists ( string serviceRootPath, string scaffoldFilePath, string serviceName, ServiceSettings settings = null, WebRoleInfo webRoles = null, WorkerRoleInfo workerRoles = null, string webScaff = null, string workerScaff = null, RoleInfo roles = null ) : void | ||
serviceRootPath | string | |
scaffoldFilePath | string | |
serviceName | string | |
settings | ServiceSettings | |
webRoles | WebRoleInfo | |
workerRoles | WorkerRoleInfo | |
webScaff | string | |
workerScaff | string | |
roles | RoleInfo | |
return | void |
public static ConfigurationSettingExist ( ConfigConfigurationSetting expected, ConfigConfigurationSetting actual ) : void | ||
expected | ConfigConfigurationSetting | |
actual | ConfigConfigurationSetting | |
return | void |
public static ConfigurationSettingExist ( DefinitionConfigurationSetting expected, DefinitionConfigurationSetting actual ) : void | ||
expected | DefinitionConfigurationSetting | |
actual | DefinitionConfigurationSetting | |
return | void |
public static InternalEndpointExists ( InternalEndpoint internalEndpoints, InternalEndpoint internalEndpoint ) : void | ||
internalEndpoints | InternalEndpoint | |
internalEndpoint | InternalEndpoint | |
return | void |
public static IsValidServiceDefinition ( ServiceDefinition actual, string serviceName ) : void | ||
actual | ServiceDefinition | Service definition to be checked |
serviceName | string | New created service name |
return | void |
public static IsValidServiceDefinition ( ServiceDefinition actual, string serviceName, WebRoleInfo webRoles = null, WorkerRoleInfo workerRoles = null ) : void | ||
actual | ServiceDefinition | Service definition to be checked |
serviceName | string | New created service name |
webRoles | WebRoleInfo | |
workerRoles | WorkerRoleInfo | |
return | void |
public static LocalResourcesLocalStoreExists ( LocalStore expected, LocalResources actual ) : void | ||
expected | LocalStore | |
actual | LocalResources | |
return | void |
public static RuntimeIdExists ( Task tasks, string runtimeValue ) : void | ||
tasks | Task | |
runtimeValue | string | |
return | void |
public static RuntimeUrlAndIdExists ( Task tasks, string runtimeValue ) : void | ||
tasks | Task | |
runtimeValue | string | |
return | void |
public static ScaffoldingExists ( string destinationDirectory, string scaffoldFilePath, string roleName = "WebRole" ) : void | ||
destinationDirectory | string | |
scaffoldFilePath | string | |
roleName | string | |
return | void |
public static StartupTaskExists ( Task tasks, string startupCommand ) : void | ||
tasks | Task | |
startupCommand | string | |
return | void |
public static WorkerRoleImportsExists ( Import expected, WorkerRole actual ) : void | ||
expected | Import | |
actual | WorkerRole | |
return | void |