Commit 32a1a97b authored by Tony Schaller's avatar Tony Schaller

Testing scripts for DemoXUA added

git-svn-id: https://svn.code.sf.net/p/ehealthconnector/code/trunk@1689 e99adb7c-5e35-42fd-8d1b-cdb378af05e8
parent fe85a279
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
usage: java -jar target/ehealthconnectorDemo.jar demoxua <command>
--ChPpqEhs CH PPQ to eHealthSuisse Gazelle PPQ.
Usage: Main --ChPpqEhs -m=<add|update|delete|query> -n=<policy file> -i=<user assertion file> [-o=<outputpath>]
-h this help
--HinXap X-User Assertion to HIN Assertion Provider.
Usage: Main --HinXap -i=<idp assertion file> [-o=<outputpath>]
-i <arg> Idp response as input file for assertion provider.
--IdpHttpHinClient Authentication Request to HIN IdP by http post via HIN Client.
Usage: Main --IdpHttpHinClient -x=<hin client host>:<hin client port> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpProtoHin Authentication Request to HIN IdP by http post using protocol handler.
Usage: Main --IdpProtoHin -y=<protohandlername> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpProtoSoe Authentication Request to SOE IdP by http post using protocol handler.
Usage: Main --IdpProtoSoe -y=<protohandlername> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpSoapEhs Authentication Request to eHealthSuisse Gazelle IdP by soap request.
Usage: Main --IdpSoapEhs -u=<username> -p=<password> [-o=<outputpath>]
-k <arg> Signing Key Store. <arg>: <key-store-file>:<passwd>:<type>:<alias>
-m <arg> PPQ Repository method.
-n <arg> PPQ Repository poplicy file for add and update
-o <arg> Output path to write authnrequest and response to file
-p <arg> Basic Authentication password
-u <arg> Basic Authentication username
-x <arg> HIN Client host:port. <arg>: <address>:<port>
--XapEhs X-User Assertion to eHealthSuisse Gazelle XAP.
Usage: Main --XapEhs -i=<idp response file> [-o=<outputpath>]
-y <arg> Protocol handler name
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
usage: java -jar target/ehealthconnectorDemo.jar demoxua <command>
--ChPpqEhs CH PPQ to eHealthSuisse Gazelle PPQ.
Usage: Main --ChPpqEhs -m=<add|update|delete|query> -n=<policy file> -i=<user assertion file> [-o=<outputpath>]
-h this help
--HinXap X-User Assertion to HIN Assertion Provider.
Usage: Main --HinXap -i=<idp assertion file> [-o=<outputpath>]
-i <arg> Idp response as input file for assertion provider.
--IdpHttpHinClient Authentication Request to HIN IdP by http post via HIN Client.
Usage: Main --IdpHttpHinClient -x=<hin client host>:<hin client port> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpProtoHin Authentication Request to HIN IdP by http post using protocol handler.
Usage: Main --IdpProtoHin -y=<protohandlername> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpProtoSoe Authentication Request to SOE IdP by http post using protocol handler.
Usage: Main --IdpProtoSoe -y=<protohandlername> [-k=<key-store-file>:<passwd>:<type>:<alias>] [-o=<outputpath>]
--IdpSoapEhs Authentication Request to eHealthSuisse Gazelle IdP by soap request.
Usage: Main --IdpSoapEhs -u=<username> -p=<password> [-o=<outputpath>]
-k <arg> Signing Key Store. <arg>: <key-store-file>:<passwd>:<type>:<alias>
-m <arg> PPQ Repository method.
-n <arg> PPQ Repository poplicy file for add and update
-o <arg> Output path to write authnrequest and response to file
-p <arg> Basic Authentication password
-u <arg> Basic Authentication username
-x <arg> HIN Client host:port. <arg>: <address>:<port>
--XapEhs X-User Assertion to eHealthSuisse Gazelle XAP.
Usage: Main --XapEhs -i=<idp response file> [-o=<outputpath>]
-y <arg> Protocol handler name
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by HTTP-POST (HIN via Hin-Client)
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml
Send AuthnRequest to IdP (http://fed.hin.ch/saml/2.0/epd/) ...
Error: org.apache.http.conn.HttpHostConnectException: Connect to localhost:5016 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by HTTP-POST (HIN via Hin-Client)
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Java.xml
Send AuthnRequest to IdP (http://fed.hin.ch/saml/2.0/epd/) ...
Error: org.apache.http.conn.HttpHostConnectException: Connect to localhost:5016 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by HTTP-POST to http://projects.suisse-open-exchange.healthcare/idp-simulator/idp/auth with protocol handler ehcdemo://authresponse
Create AuthnRequest...
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml
Send User Authentication Request to IdP (http://projects.suisse-open-exchange.healthcare/idp-simulator/idp/auth) ...
Error: client.invokeUserAuthentication timed out. Note: This demo will not work on windows machines.
Transaction failed. See logfile for more information.
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by HTTP-POST to http://projects.suisse-open-exchange.healthcare/idp-simulator/idp/auth with protocol handler ehcdemo://authresponse
Create AuthnRequest...
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Java.xml
Send User Authentication Request to IdP (http://projects.suisse-open-exchange.healthcare/idp-simulator/idp/auth) ...
Error: client.invokeUserAuthentication timed out. Note: This demo will not work on windows machines.
Transaction failed. See logfile for more information.
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by soap (EHS Gazelle)
Create AuthnRequest...
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml
Send User Authentication Request to IdP (https://idp.ihe-europe.net/idp/profile/SAML2/SOAP/ECP) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\ResponseImpl_Dotnet.xml
----------------------------
Response content:
Status: urn:oasis:names:tc:SAML:2.0:status:Success
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing IdP authentication by soap (EHS Gazelle)
Create AuthnRequest...
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\AuthnRequestImpl_Java.xml
Send User Authentication Request to IdP (https://idp.ihe-europe.net/idp/profile/SAML2/SOAP/ECP) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\idp\ResponseImpl_Java.xml
----------------------------
Response content:
Status: urn:oasis:names:tc:SAML:2.0:status:Success
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
NodeName: #text
Executing Add Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
Error: Code: Reason, Message: This policy already exist for this patient
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Add Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
NodeName: #text
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
Error: Code: Reason, Message: This policy already exist for this patient
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Delete Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Delete Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
NodeName: #text
Executing Update Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
Error: Code: Reason, Message: This policy already exist for this patient
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Update Privacy Policy (EHS Gazelle)
Send Privacy Policy Feed Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
NodeName: #text
Transaction successfully completed.
----------------------------
Response content:
Status: urn:e-health-suisse:2015:response-status:failure
Error: Code: Reason, Message: This policy already exist for this patient
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Privacy Policy Query (EHS Gazelle)
Send Privacy Policy Query Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\ppq\ResponseImpl_Dotnet.xml
----------------------------
Response content:
Status: urn:oasis:names:tc:SAML:2.0:status:Success
Assertion
Id: _65109ec8-0a11-4184-8266-83903ac72e8a
Issuer: urn:oid:1.3.6.1.4.1.21367.2017.2.6.2
Attributes: [
]
AuthnStatements: [
]
Has valid signature: False
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Privacy Policy Query (EHS Gazelle)
Send Privacy Policy Query Request to Privacy Policy Repository (https://ehealthsuisse.ihe-europe.net:10443/ppq-repository) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\ppq\ResponseImpl_Java.xml
----------------------------
Response content:
Status: urn:oasis:names:tc:SAML:2.0:status:Success
Assertion
Id: _ca969405-2cd5-4095-9545-5799071ad419
Issuer: urn:oid:1.3.6.1.4.1.21367.2017.2.6.2
Attributes: [
]
AuthnStatements: [
]
Has valid signature: false
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Assertion Provider (EHS Gazelle)
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\xap\XUserAssertionRequestImpl_1_Dotnet.xml
Send X-User Assertion Request to STS (https://ehealthsuisse.ihe-europe.net:10443/STS) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\xap\XUserAssertionResponseImpl_1_Dotnet.xml
----------------------------
Response content:
Status: http://docs.oasis-open.org/ws-sx/ws-trust/200512/status/valid
End of response content
----------------------------
----------------------------------------
Demo finished
log4j config: /C:/src/ehc-trunk/scripts/testing/communication/../../testing/rsc/log4jConfigs/log4j.xml
Executing DemoXua...
Executing Assertion Provider (EHS Gazelle)
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\xap\XUserAssertionRequestImpl_1_Java.xml
Send X-User Assertion Request to STS (https://ehealthsuisse.ihe-europe.net:10443/STS) ...
Transaction successfully completed.
Write to file C:\src\ehc-trunk\scripts\testing\communication\..\..\output\currentRelease\demoxua-out\xap\XUserAssertionResponseImpl_1_Java.xml
----------------------------
Response content:
Status: http://docs.oasis-open.org/ws-sx/ws-trust/200512/status/valid
End of response content
----------------------------
----------------------------------------
Demo finished
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs
SET ehc_testing_my_out_dir_cur=%ehc_testing_my_scriptBase%\output\currentRelease
SET ehc_testing_my_out_dir_prev=%ehc_testing_my_scriptBase%\output\previousRelease
SET ehc_testing_my_doOneComand=%ehc_testing_my_scriptBase%\util\doOneComand.cmd
SET ehc_testing_my_rsc_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\rsc
SET ehc_testing_my_jar_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\target
SET ehc_testing_my_exe_dir=%~dp0..\..\..\demo\dotnet\eHealthConnectorDemo\bin\x64\Debug
SET ehc_testing_my_eHCDemoJar=%ehc_testing_my_jar_dir%\ehealthconnectorDemo.jar
SET ehc_testing_my_eHCDemoExe=%ehc_testing_my_exe_dir%\eHealthConnectorDemoConsole.exe
SET ehc_testing_my_logBehavior=clearlog
if NOT "%1"=="" SET ehc_testing_my_logBehavior=appendlog
if NOT "%1"=="" set ehc_testing_my_eHCDemoJar=%1
if NOT "%2"=="" set ehc_testing_my_log_dir=%2
if NOT "%3"=="" set ehc_testing_my_rsc_dir=%3
SET ehc_testing_my_logfile=%ehc_testing_my_log_dir%\%~n0.log
if not exist %ehc_testing_my_log_dir% mkdir %ehc_testing_my_log_dir%
if not exist %ehc_testing_my_out_dir_cur% mkdir %ehc_testing_my_out_dir_cur%
echo ////////////////////////////////////////////////////////////////////
echo ///////////////// %0 started
echo ehc_testing_my_dir=%ehc_testing_my_dir%
echo ehc_testing_my_scriptBase=%ehc_testing_my_scriptBase%
echo ehc_testing_current_dir=%ehc_testing_current_dir%
echo ehc_testing_my_out_dir_cur=%ehc_testing_my_out_dir_cur%
echo ehc_testing_my_out_dir_prev=%ehc_testing_my_out_dir_prev%
echo ================================================== >> %ehc_testing_my_logfile%
SET eHCTempPath=%ehc_testing_my_out_dir_cur%
if exist "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip" DEL "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev"
SET ehc_testing_my_out_file=DemoXua_Help_Java.txt
set EHC_COMMAND=java -Dehc_testing_my_logPath=%ehc_testing_my_log_dir:\=/% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -jar %ehc_testing_my_eHCDemoJar% DemoXUA -h
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_prev%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_out_file=DemoXua_Help_Dotnet.txt
set EHC_COMMAND=%ehc_testing_my_eHCDemoExe% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -DrscDir=%ehc_testing_my_rsc_dir% -DrscDir=%ehc_testing_my_rsc_dir% DemoXUA -h
chcp 65001
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
chcp 1252
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
echo %ehc_testing_my_file% complete!
echo ///////////////// %0 completed
echo ////////////////////////////////////////////////////////////////////
:ende
if "%1"=="" cd %ehc_testing_my_dir%
if NOT "%1"=="" cd %ehc_testing_current_dir%
SET eHCTempPath=
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs
SET ehc_testing_my_out_dir_cur=%ehc_testing_my_scriptBase%\output\currentRelease
SET ehc_testing_my_out_dir_prev=%ehc_testing_my_scriptBase%\output\previousRelease
SET ehc_testing_my_doOneComand=%ehc_testing_my_scriptBase%\util\doOneComand.cmd
SET ehc_testing_my_rsc_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\rsc
SET ehc_testing_my_jar_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\target
SET ehc_testing_my_exe_dir=%~dp0..\..\..\demo\dotnet\eHealthConnectorDemo\bin\x64\Debug
SET ehc_testing_my_eHCDemoJar=%ehc_testing_my_jar_dir%\ehealthconnectorDemo.jar
SET ehc_testing_my_eHCDemoExe=%ehc_testing_my_exe_dir%\eHealthConnectorDemoConsole.exe
SET ehc_testing_my_logBehavior=clearlog
if NOT "%1"=="" SET ehc_testing_my_logBehavior=appendlog
if NOT "%1"=="" set ehc_testing_my_eHCDemoJar=%1
if NOT "%2"=="" set ehc_testing_my_log_dir=%2
if NOT "%3"=="" set ehc_testing_my_rsc_dir=%3
SET ehc_testing_my_logfile=%ehc_testing_my_log_dir%\%~n0.log
if not exist %ehc_testing_my_log_dir% mkdir %ehc_testing_my_log_dir%
if not exist %ehc_testing_my_out_dir_cur% mkdir %ehc_testing_my_out_dir_cur%
echo ////////////////////////////////////////////////////////////////////
echo ///////////////// %0 started
echo ehc_testing_my_dir=%ehc_testing_my_dir%
echo ehc_testing_my_scriptBase=%ehc_testing_my_scriptBase%
echo ehc_testing_current_dir=%ehc_testing_current_dir%
echo ehc_testing_my_out_dir_cur=%ehc_testing_my_out_dir_cur%
echo ehc_testing_my_out_dir_prev=%ehc_testing_my_out_dir_prev%
echo ================================================== >> %ehc_testing_my_logfile%
SET eHCTempPath=%ehc_testing_my_out_dir_cur%
if exist "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip" DEL "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev"
rmdir /s /q %ehc_testing_my_out_dir_cur%\demoxua-out
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbyHTTPPOSTandHINClient_Java.txt
set EHC_COMMAND=java -Dehc_testing_my_logPath=%ehc_testing_my_log_dir:\=/% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -jar %ehc_testing_my_eHCDemoJar% DemoXUA --IdpHttpHinClient -x=localhost:5016 -k=rsc/demoXua/idp/credentials/validsigning.p12:ehctest:pkcs12:"ehctest" -o=demoxua-out/idp
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_prev%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbyHTTPPOSTandHINClient_Dotnet.txt
set EHC_COMMAND=%ehc_testing_my_eHCDemoExe% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -DrscDir=%ehc_testing_my_rsc_dir% -DrscDir=%ehc_testing_my_rsc_dir% DemoXUA --IdpHttpHinClient -x=localhost:5016 -k=rsc/demoXua/idp/credentials/validsigning.p12:ehctest:pkcs12:"ehctest" -o=demoxua-out/idp
chcp 65001
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
chcp 1252
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Java.xml" /mine:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
echo %ehc_testing_my_file% complete!
echo ///////////////// %0 completed
echo ////////////////////////////////////////////////////////////////////
:ende
if "%1"=="" cd %ehc_testing_my_dir%
if NOT "%1"=="" cd %ehc_testing_current_dir%
SET eHCTempPath=
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs
SET ehc_testing_my_out_dir_cur=%ehc_testing_my_scriptBase%\output\currentRelease
SET ehc_testing_my_out_dir_prev=%ehc_testing_my_scriptBase%\output\previousRelease
SET ehc_testing_my_doOneComand=%ehc_testing_my_scriptBase%\util\doOneComand.cmd
SET ehc_testing_my_rsc_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\rsc
SET ehc_testing_my_jar_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\target
SET ehc_testing_my_exe_dir=%~dp0..\..\..\demo\dotnet\eHealthConnectorDemo\bin\x64\Debug
SET ehc_testing_my_eHCDemoJar=%ehc_testing_my_jar_dir%\ehealthconnectorDemo.jar
SET ehc_testing_my_eHCDemoExe=%ehc_testing_my_exe_dir%\eHealthConnectorDemoConsole.exe
SET ehc_testing_my_logBehavior=clearlog
if NOT "%1"=="" SET ehc_testing_my_logBehavior=appendlog
if NOT "%1"=="" set ehc_testing_my_eHCDemoJar=%1
if NOT "%2"=="" set ehc_testing_my_log_dir=%2
if NOT "%3"=="" set ehc_testing_my_rsc_dir=%3
SET ehc_testing_my_logfile=%ehc_testing_my_log_dir%\%~n0.log
if not exist %ehc_testing_my_log_dir% mkdir %ehc_testing_my_log_dir%
if not exist %ehc_testing_my_out_dir_cur% mkdir %ehc_testing_my_out_dir_cur%
echo ////////////////////////////////////////////////////////////////////
echo ///////////////// %0 started
echo ehc_testing_my_dir=%ehc_testing_my_dir%
echo ehc_testing_my_scriptBase=%ehc_testing_my_scriptBase%
echo ehc_testing_current_dir=%ehc_testing_current_dir%
echo ehc_testing_my_out_dir_cur=%ehc_testing_my_out_dir_cur%
echo ehc_testing_my_out_dir_prev=%ehc_testing_my_out_dir_prev%
echo ================================================== >> %ehc_testing_my_logfile%
SET eHCTempPath=%ehc_testing_my_out_dir_cur%
if exist "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip" DEL "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev"
rmdir /s /q %ehc_testing_my_out_dir_cur%\demoxua-out
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbyHTTPPOSTandcustomprotocolhandler_Java.txt
set EHC_COMMAND=java -Dehc_testing_my_logPath=%ehc_testing_my_log_dir:\=/% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -jar %ehc_testing_my_eHCDemoJar% DemoXUA --IdpProtoSoe -y=ehcdemo -o=demoxua-out/idp
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_prev%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbyHTTPPOSTandcustomprotocolhandler_Dotnet.txt
set EHC_COMMAND=%ehc_testing_my_eHCDemoExe% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -DrscDir=%ehc_testing_my_rsc_dir% -DrscDir=%ehc_testing_my_rsc_dir% DemoXUA --IdpProtoSoe -y=ehcdemo -o=demoxua-out/idp
chcp 65001
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
chcp 1252
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Java.xml" /mine:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
echo %ehc_testing_my_file% complete!
echo ///////////////// %0 completed
echo ////////////////////////////////////////////////////////////////////
:ende
if "%1"=="" cd %ehc_testing_my_dir%
if NOT "%1"=="" cd %ehc_testing_current_dir%
SET eHCTempPath=
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs
SET ehc_testing_my_out_dir_cur=%ehc_testing_my_scriptBase%\output\currentRelease
SET ehc_testing_my_out_dir_prev=%ehc_testing_my_scriptBase%\output\previousRelease
SET ehc_testing_my_doOneComand=%ehc_testing_my_scriptBase%\util\doOneComand.cmd
SET ehc_testing_my_rsc_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\rsc
SET ehc_testing_my_jar_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\target
SET ehc_testing_my_exe_dir=%~dp0..\..\..\demo\dotnet\eHealthConnectorDemo\bin\x64\Debug
SET ehc_testing_my_eHCDemoJar=%ehc_testing_my_jar_dir%\ehealthconnectorDemo.jar
SET ehc_testing_my_eHCDemoExe=%ehc_testing_my_exe_dir%\eHealthConnectorDemoConsole.exe
SET ehc_testing_my_logBehavior=clearlog
if NOT "%1"=="" SET ehc_testing_my_logBehavior=appendlog
if NOT "%1"=="" set ehc_testing_my_eHCDemoJar=%1
if NOT "%2"=="" set ehc_testing_my_log_dir=%2
if NOT "%3"=="" set ehc_testing_my_rsc_dir=%3
SET ehc_testing_my_logfile=%ehc_testing_my_log_dir%\%~n0.log
if not exist %ehc_testing_my_log_dir% mkdir %ehc_testing_my_log_dir%
if not exist %ehc_testing_my_out_dir_cur% mkdir %ehc_testing_my_out_dir_cur%
echo ////////////////////////////////////////////////////////////////////
echo ///////////////// %0 started
echo ehc_testing_my_dir=%ehc_testing_my_dir%
echo ehc_testing_my_scriptBase=%ehc_testing_my_scriptBase%
echo ehc_testing_current_dir=%ehc_testing_current_dir%
echo ehc_testing_my_out_dir_cur=%ehc_testing_my_out_dir_cur%
echo ehc_testing_my_out_dir_prev=%ehc_testing_my_out_dir_prev%
echo ================================================== >> %ehc_testing_my_logfile%
SET eHCTempPath=%ehc_testing_my_out_dir_cur%
if exist "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip" DEL "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev"
rmdir /s /q %ehc_testing_my_out_dir_cur%\demoxua-out
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbySOAPtoeHealthSuisseIdPsimulator_Java.txt
set EHC_COMMAND=java -Dehc_testing_my_logPath=%ehc_testing_my_log_dir:\=/% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -jar %ehc_testing_my_eHCDemoJar% DemoXUA --IdpSoapEhs -u=aamrein -p=azerty -o=demoxua-out/idp
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_prev%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_out_file=DemoXua_IdPAuthenticationRequestbySOAPtoeHealthSuisseIdPsimulator_Dotnet.txt
set EHC_COMMAND=%ehc_testing_my_eHCDemoExe% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -DrscDir=%ehc_testing_my_rsc_dir% -DrscDir=%ehc_testing_my_rsc_dir% DemoXUA --IdpSoapEhs -u=aamrein -p=azerty -o=demoxua-out/idp
chcp 65001
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
chcp 1252
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Java.xml" /mine:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\AuthnRequestImpl_Dotnet.xml"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\ResponseImpl_Java.xml" /mine:"%ehc_testing_my_out_dir_cur%\demoxua-out\idp\ResponseImpl_Dotnet.xml"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
echo %ehc_testing_my_file% complete!
echo ///////////////// %0 completed
echo ////////////////////////////////////////////////////////////////////
:ende
if "%1"=="" cd %ehc_testing_my_dir%
if NOT "%1"=="" cd %ehc_testing_current_dir%
SET eHCTempPath=
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs
SET ehc_testing_my_out_dir_cur=%ehc_testing_my_scriptBase%\output\currentRelease
SET ehc_testing_my_out_dir_prev=%ehc_testing_my_scriptBase%\output\previousRelease
SET ehc_testing_my_doOneComand=%ehc_testing_my_scriptBase%\util\doOneComand.cmd
SET ehc_testing_my_rsc_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\rsc
SET ehc_testing_my_jar_dir=%~dp0..\..\..\demo\java\eHealthConnectorDemo\target
SET ehc_testing_my_exe_dir=%~dp0..\..\..\demo\dotnet\eHealthConnectorDemo\bin\x64\Debug
SET ehc_testing_my_eHCDemoJar=%ehc_testing_my_jar_dir%\ehealthconnectorDemo.jar
SET ehc_testing_my_eHCDemoExe=%ehc_testing_my_exe_dir%\eHealthConnectorDemoConsole.exe
SET ehc_testing_my_logBehavior=clearlog
if NOT "%1"=="" SET ehc_testing_my_logBehavior=appendlog
if NOT "%1"=="" set ehc_testing_my_eHCDemoJar=%1
if NOT "%2"=="" set ehc_testing_my_log_dir=%2
if NOT "%3"=="" set ehc_testing_my_rsc_dir=%3
SET ehc_testing_my_logfile=%ehc_testing_my_log_dir%\%~n0.log
if not exist %ehc_testing_my_log_dir% mkdir %ehc_testing_my_log_dir%
if not exist %ehc_testing_my_out_dir_cur% mkdir %ehc_testing_my_out_dir_cur%
echo ////////////////////////////////////////////////////////////////////
echo ///////////////// %0 started
echo ehc_testing_my_dir=%ehc_testing_my_dir%
echo ehc_testing_my_scriptBase=%ehc_testing_my_scriptBase%
echo ehc_testing_current_dir=%ehc_testing_current_dir%
echo ehc_testing_my_out_dir_cur=%ehc_testing_my_out_dir_cur%
echo ehc_testing_my_out_dir_prev=%ehc_testing_my_out_dir_prev%
echo ================================================== >> %ehc_testing_my_logfile%
SET eHCTempPath=%ehc_testing_my_out_dir_cur%
if exist "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip" DEL "%ehc_testing_my_out_dir_cur%\xdm_*_Java.zip"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_nist_Java_prev"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java"
if exist "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev" rmdir /S /Q "%ehc_testing_my_out_dir_cur%\xdm_swiss_Java_prev"
rmdir /s /q %ehc_testing_my_out_dir_cur%\demoxua-out
SET ehc_testing_my_out_file=DemoXua_PrivacyPolicyFeedAdd_Java.txt
set EHC_COMMAND=java -Dehc_testing_my_logPath=%ehc_testing_my_log_dir:\=/% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -jar %ehc_testing_my_eHCDemoJar% DemoXUA --ChPpqEhs -m=add -n=rsc/demoXua/ppf/ehs_addpolicy.xml -i=rsc/demoXua/ppq/ehs_ppqrequest_input.xml -o=demoxua-out/ppf
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_prev%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
SET ehc_testing_my_out_file1=%ehc_testing_my_out_file%
SET ehc_testing_my_out_file=DemoXua_PrivacyPolicyFeedAdd_Dotnet.txt
set EHC_COMMAND=%ehc_testing_my_eHCDemoExe% -Dlog4j.configuration=%ehc_testing_my_scriptBase%\testing\rsc\log4jConfigs\log4j.xml -DrscDir=%ehc_testing_my_rsc_dir% -DrscDir=%ehc_testing_my_rsc_dir% DemoXUA --ChPpqEhs -m=add -n=rsc/demoXua/ppf/ehs_addpolicy.xml -i=rsc/demoXua/ppq/ehs_ppqrequest_input.xml -o=demoxua-out/ppf
chcp 65001
call %ehc_testing_my_doOneComand% %ehc_testing_my_logBehavior% "%ehc_testing_my_logfile%" "%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
chcp 1252
SET ehc_testing_my_cmd=TortoiseMerge /base:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file1%" /mine:"%ehc_testing_my_out_dir_cur%\%ehc_testing_my_out_file%"
if NOT "%1"=="" echo %ehc_testing_my_cmd% >> %ehc_testing_my_log_dir%\diff.cmd
if "%1"=="" echo diff %ehc_testing_my_out_file%
if "%1"=="" %ehc_testing_my_cmd%
echo %ehc_testing_my_file% complete!
echo ///////////////// %0 completed
echo ////////////////////////////////////////////////////////////////////
:ende
if "%1"=="" cd %ehc_testing_my_dir%
if NOT "%1"=="" cd %ehc_testing_current_dir%
SET eHCTempPath=
@echo off
SET ehc_testing_my_dir=%~dp0
SET ehc_testing_my_file=%~nx0
SET ehc_testing_my_scriptBase=%~dp0..\..
SET ehc_testing_my_log_dir=%ehc_testing_my_scriptBase%\logs