Deploy RES2BES SOAP Connector
0 Votes |
Description
Property Details
10554 | |
Production - Fully Tested and Ready for Production | |
Deploy RES2BES SOAP Connector | |
BESC | |
RES Software | |
3/21/2016 12:00:00 AM | |
True | |
RESQA on 3/24/2016 5:00:37 AM | |
RESQA on 3/24/2016 5:00:37 AM | |
3225 Views / 3 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
isWindows (Relevance 1172)
windows of operating system
Used in 20 fixlets | * Results in a true/false |
exists setting "RES_IEM_Integration_Endpoint" whose (value of it = "1") of client
Used in 43 fixlets | * Results in a true/false |
exists file (pathname of parent folder of parent folder of file of service "res" & "\pwrtech.exe")
Used in 3 fixlets | * Results in a true/false |
not exists file (pathname of parent folder of parent folder of file of service "res" & "\res2bes\res2bes.exe")
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
//SourceReleaseDate: 20160321-102103
prefetch Newtonsoft.Json.dll sha1:b087180286743cb8666032d384a95f344f547729 size:401920 http://downloads.ressoftware.com/downloads/cdm/Newtonsoft.Json.txt
prefetch RES2BES.exe sha1:983b8b5cbe5607b7151cb9e3ce84fce9ffbe3ede size:33792 http://downloads.ressoftware.com/downloads/cdm/040116/RES2BES.exe
action parameter query "SOAPURL" with description "Please enter the SOAP URL (http://bigfixserver:80/soap)"
action parameter query "SOAPUSER" with description "Please enter the SOAP User Name"
action parameter query "SOAPPW" with description "Please enter the SOAP password"
action parameter query "DBServer" with description "Please enter the SQL server where the workspace manager resides"
action parameter query "DBName" with description "Please enter the workspace manager database name (WorkspaceManager)"
parameter "install_path"="{(pathname of parent folder of parent folder of file of service "res" & "\RES2BES\")}"
delete __createfile
delete "{parameter "install_path"}settings.config"
delete "{parameter "install_path"}Newtonsoft.Json.dll"
delete "{parameter "install_path"}RES2BES.exe"
delete "{parameter "install_path"}RES2BES.exe.config"
createfile until __EOF__
="1.0" encoding="utf-8"?>= "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
{parameter "SOAPURL" of action}
{parameter "SOAPUSER" of action}
tbd
Data Source={parameter "DBServer" of action};Initial Catalog={parameter "DBName" of action};Integrated Security=True
Whitelist.ojo
RESBaselineWizard.ojo
RESDeploymentWizard.ojo
WhiteList
Containers
TimeStamp
__EOF__
waithidden cmd /c mkdir "{parameter "install_path"}"
copy __createfile "{parameter "install_path"}settings.config"
copy __download\Newtonsoft.Json.dll "{parameter "install_path"}Newtonsoft.Json.dll"
copy __download\RES2BES.exe "{parameter "install_path"}RES2BES.exe"
delete __createfile
createfile until __EOF__
="1.0" encoding="utf-8" ?>
= "RelevanceBinding" />
= "UserManagementBinding" />
= "DashboardVariableBinding" />
= "{parameter "SOAPURL" of action}" binding="basicHttpBinding"
bindingConfiguration="RelevanceBinding" contract="BigFixAPI.RelevancePortType"
name="RelevancePort" />
= "{parameter "SOAPURL" of action}" binding="basicHttpBinding"
bindingConfiguration="UserManagementBinding" contract="BigFixAPI.UserManagementPortType"
name="UserManagementPort" />
= "{parameter "SOAPURL" of action}" binding="basicHttpBinding"
bindingConfiguration="DashboardVariableBinding" contract="BigFixAPI.DashboardVariablePortType"
name="DashboardVariablePort" />
__EOF__
copy __createfile "{parameter "install_path"}RES2BES.exe.config"
waithidden cmd.exe /c {"%22" & name of drive of folder (pathname of parent folder of parent folder of file of service "res") & " %26 cd" & " %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes%22" & " %26" & " %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\res2bes.exe%22" & " -u " & parameter "SOAPUSER" of action & " -p " & parameter "SOAPPW" of action &" %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\settings.config%22"}"
delete {" %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\settings.config%22"}
move {" %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\" & parameter "SOAPUSER" of action & " %22"} {" %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\settings.config%22"}
wait {"%22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\res2bes.exe%22" & " %22" & pathname of parent folder of parent folder of file of service "res" & "\res2bes\settings.config%22"}
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |