Deploy RES2BES SOAP Connector
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will deploy the RES2BES utility application to the designated RES IEM Integration Endpoint.

Property Details

ID10554
StatusProduction - Fully Tested and Ready for Production
TitleDeploy RES2BES SOAP Connector
DomainBESC
SourceRES Software
Source Release Date3/21/2016 12:00:00 AM
Is TaskTrue
Added by on 3/24/2016 5:00:37 AM
Last Modified by on 3/24/2016 5:00:37 AM
Counters 1690 Views / 3 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1116 fixlets and 524 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 20 fixlets   * Results in a true/false
Show indented relevance
exists setting "RES_IEM_Integration_Endpoint" whose (value of it = "1") of client
Used in 43 fixlets   * Results in a true/false
Show indented relevance
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
Show indented relevance
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:
Share this page on Yammer

Comments