diff --git a/lib/generate.sh b/lib/generate.sh index ca1f8a2..264bf4b 100755 --- a/lib/generate.sh +++ b/lib/generate.sh @@ -1,5 +1,59 @@ #!/bin/bash +if [ ! -d ./landing ] +then + mkdir landing +fi + +if [ ! -f ./landing/index.html ] +then + touch index.html +fi + +CENTRAL_SERVICES=" + CCP-IT + Monitoring Service + " + +LOCAL_SERVICES=" + Bridgehead + Reverse Proxy Traefik + " + +if [ "$project" = "dktk" ] || [ "$project" = "c4" ] || [ "$project" = "dktk-fed" ] +then + CENTRAL_SERVICES+=" + CCP-IT + Zentrale Patientenliste + + + CCP-IT + Dezentrale Suche + + + CCP-IT + Zentrale Suche + + + CCP-IT + Deployment-Server + + + CCP-IT + Zentraler Kontrollnummernerzeuger + + " +fi + +if [ "$project" = "dktk-fed" ] +then + LOCAL_SERVICES+=" + DKTK + Blaze + + " +fi + cat > ./landing/index.html < @@ -17,7 +71,7 @@ cat > ./landing/index.html < - +