From 2b512079e86c2a2395d9aa7340cd0959107e88f3 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Wed, 4 Aug 2021 15:45:16 +0200
Subject: [PATCH] Update domains

---
 .gitlab-ci.yml                                         | 2 +-
 README.md                                              | 4 ++--
 app.config.js                                          | 2 +-
 examples/dbp-official-signature-pdf-upload/index.html  | 4 ++--
 examples/dbp-qualified-signature-pdf-upload/index.html | 4 ++--
 examples/dbp-signature/index.html                      | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ebfaffb..6be8225 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,7 +78,7 @@ deploy_development:
       - master
   environment:
     name: development
-    url: https://mw-frontend-dev.tugraz.at/apps/signature
+    url: https://dbp-dev.tugraz.at/apps/signature
   variables:
     DEPLOY_HOST: mw01-dev.tugraz.at
     DEPLOY_KEY: "$DEPLOY_SSH_KEY"
diff --git a/README.md b/README.md
index f52304c..93a0007 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ Note that you will need a Keycloak server along with a client id for the domain
 - `lang` (optional, default: `de`): set to `de` or `en` for German or English
     - example `lang="de"`
 - `entry-point-url` (optional, default is the TU Graz entry point url): entry point url to access the api
-    - example `entry-point-url="https://mw-dev.tugraz.at"`
+    - example `entry-point-url="https://api-dev.tugraz.at"`
 - `auth` object: you need to set that object property for the auth token
     - example auth property: `{token: "THE_BEARER_TOKEN"}`
     - note: most often this should be an attribute that is not set directly, but subscribed at a provider
@@ -107,7 +107,7 @@ Note that you will need a Keycloak server along with a client id for the domain
 - `lang` (optional, default: `de`): set to `de` or `en` for German or English
     - example `lang="de"`
 - `entry-point-url` (optional, default is the TU Graz entry point url): entry point url to access the api
-    - example `entry-point-url="https://mw-dev.tugraz.at"`
+    - example `entry-point-url="https://api-dev.tugraz.at"`
 - `auth` object: you need to set that object property for the auth token
     - example auth property: `{token: "THE_BEARER_TOKEN"}`
     - note: most often this should be an attribute that is not set directly, but subscribed at a provider
diff --git a/app.config.js b/app.config.js
index 7ddd1d9..2586e93 100644
--- a/app.config.js
+++ b/app.config.js
@@ -27,7 +27,7 @@ export default {
     },
     development: {
         basePath: '/apps/signature/',
-        entryPointURL: 'https://mw-dev.tugraz.at',
+        entryPointURL: 'https://api-dev.tugraz.at',
         keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth',
         keyCloakRealm: 'tugraz-vpu',
         keyCloakClientId: 'esign-dev_tugraz_at-ESIGN',
diff --git a/examples/dbp-official-signature-pdf-upload/index.html b/examples/dbp-official-signature-pdf-upload/index.html
index f53a0a3..cbd801b 100644
--- a/examples/dbp-official-signature-pdf-upload/index.html
+++ b/examples/dbp-official-signature-pdf-upload/index.html
@@ -37,13 +37,13 @@
     </style>
 
     <!-- Preloading/Preconnecting -->
-    <link rel="preconnect" href="https://mw-dev.tugraz.at">
+    <link rel="preconnect" href="https://api-dev.tugraz.at">
     <link rel="preconnect" href="https://auth-dev.tugraz.at/auth">
 </head>
 
 <body>
 
-<dbp-provider auth requested-login-status analytics-event lang="de" entry-point-url="https://mw-dev.tugraz.at">
+<dbp-provider auth requested-login-status analytics-event lang="de" entry-point-url="https://api-dev.tugraz.at">
     <dbp-auth-keycloak client-id="auth-dev-mw-frontend-local" idp-hint=""
                        load-person="" realm="tugraz-vpu" scope=""
                        silent-check-sso-redirect-uri="./silent-check-sso.html"
diff --git a/examples/dbp-qualified-signature-pdf-upload/index.html b/examples/dbp-qualified-signature-pdf-upload/index.html
index b286733..e31e06f 100644
--- a/examples/dbp-qualified-signature-pdf-upload/index.html
+++ b/examples/dbp-qualified-signature-pdf-upload/index.html
@@ -37,13 +37,13 @@
     </style>
 
     <!-- Preloading/Preconnecting -->
-    <link rel="preconnect" href="https://mw-dev.tugraz.at">
+    <link rel="preconnect" href="https://api-dev.tugraz.at">
     <link rel="preconnect" href="https://auth-dev.tugraz.at/auth">
 </head>
 
 <body>
 
-<dbp-provider auth requested-login-status analytics-event lang="de" entry-point-url="https://mw-dev.tugraz.at">
+<dbp-provider auth requested-login-status analytics-event lang="de" entry-point-url="https://api-dev.tugraz.at">
     <dbp-auth-keycloak client-id="auth-dev-mw-frontend-local" idp-hint=""
                        load-person="" realm="tugraz-vpu" scope=""
                        silent-check-sso-redirect-uri="./silent-check-sso.html"
diff --git a/examples/dbp-signature/index.html b/examples/dbp-signature/index.html
index 0ac36d5..5f8b05e 100644
--- a/examples/dbp-signature/index.html
+++ b/examples/dbp-signature/index.html
@@ -76,13 +76,13 @@
     </style>
 
     <!-- Preloading/Preconnecting -->
-    <link rel="preconnect" href="https://mw-dev.tugraz.at">
+    <link rel="preconnect" href="https://api-dev.tugraz.at">
     <link rel="preconnect" href="https://auth-dev.tugraz.at/auth">
 </head>
 
 <body>
 <dbp-signature
-        lang="de" entry-point-url="https://mw-dev.tugraz.at"
+        lang="de" entry-point-url="https://api-dev.tugraz.at"
         file-handling-enabled-targets="local,nextcloud"
         allow-annotating
         nextcloud-web-app-password-url="http://localhost:8081/index.php/apps/webapppassword"
-- 
GitLab