Esempio n. 1
0
 static void InstallPackageToLinux()
 {
     using (var packageInstallationClient =
         new ServiceProxies.PackageInstallationService.PackageInstallationServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService")))
     {
         packageInstallationClient.InstallPackageToNode("localFarm", "virtual_ubu_dbg", "ubu_manual", new PackageInfo.PackageChoice() { FileName = "linux_test_package.tar.gz", FolderToInstall = "/home/nano/installation", OSName = "Unix", VersionName = null, PackageName = "FirstPackage" });
     }
 }
Esempio n. 2
0
 static void InstallPackage()
 {
     using (var packageInstallationClient =
         new ServiceProxies.PackageInstallationService.PackageInstallationServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService")))
     {
         packageInstallationClient.InstallPackageToNode("localFarm", "nbutakov_dbg", "nbutakov_node_dbg_1", new PackageInfo.PackageChoice() { FileName = "testpackage.zip", FolderToInstall = "D:\\testdir\\installation\\", OSName = "Windows", VersionName = null, PackageName = "FirstPackage" });
     }
 }
Esempio n. 3
0
 static void InstallPackageToLinux()
 {
     using (var packageInstallationClient =
                new ServiceProxies.PackageInstallationService.PackageInstallationServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService")))
     {
         packageInstallationClient.InstallPackageToNode("localFarm", "virtual_ubu_dbg", "ubu_manual", new PackageInfo.PackageChoice()
         {
             FileName = "linux_test_package.tar.gz", FolderToInstall = "/home/nano/installation", OSName = "Unix", VersionName = null, PackageName = "FirstPackage"
         });
     }
 }
Esempio n. 4
0
 static void InstallPackage()
 {
     using (var packageInstallationClient =
                new ServiceProxies.PackageInstallationService.PackageInstallationServiceClient(new BasicHttpBinding(), new EndpointAddress("http://localhost:8755/PackageInstallationService")))
     {
         packageInstallationClient.InstallPackageToNode("localFarm", "nbutakov_dbg", "nbutakov_node_dbg_1", new PackageInfo.PackageChoice()
         {
             FileName = "testpackage.zip", FolderToInstall = "D:\\testdir\\installation\\", OSName = "Windows", VersionName = null, PackageName = "FirstPackage"
         });
     }
 }