Reduce catalog to Phase 1 ACC/PROD view

This commit is contained in:
2026-07-27 18:03:39 +02:00
parent 2b5b97c869
commit 53fcfb84a4
17 changed files with 1208 additions and 1555 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ if "%~2"=="" (
)
echo ============================================================
echo BEW BizTalk Application Catalog
echo BEW BizTalk Application Catalog - Phase 1
echo Umgebung: %ENVIRONMENT%
echo Server: %COMPUTERNAME%
echo Ausgabe: %OUTPUT%
@@ -34,7 +34,7 @@ echo.
if "%EXITCODE%"=="0" (
echo Inventar erfolgreich erstellt.
) else if "%EXITCODE%"=="1" (
echo Inventar mit Teilfehler erstellt. XLSX, Abdeckung, Findings und Log pruefen.
echo Inventar unvollstaendig. JSON darf nicht zusammengefuehrt werden; Log pruefen.
) else (
echo Inventar konnte nicht erstellt werden.
)
+26
View File
@@ -0,0 +1,26 @@
@echo off
setlocal EnableExtensions
set "APPDIR=%~dp0"
set "EXE=%APPDIR%BizTalkApplicationCatalog.exe"
if not exist "%EXE%" (
echo FEHLER: Anwendung fehlt: "%EXE%"
exit /b 2
)
if "%~1"=="" goto :usage
if "%~2"=="" goto :usage
if "%~3"=="" (
set "OUTPUT=%CD%\BizTalk-Anwendungskatalog\ACC-PROD"
) else (
set "OUTPUT=%~3"
)
"%EXE%" --merge --acc-json "%~1" --prod-json "%~2" --output "%OUTPUT%"
exit /b %ERRORLEVEL%
:usage
echo Aufruf:
echo run-merge.cmd ACC-SNAPSHOT.json PROD-SNAPSHOT.json [AUSGABEORDNER]
exit /b 2