You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/04/24 09:48:47 UTC

[incubator-streampipes] 01/02: Add UI config for release 0.66.0

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit a7c025786121bad86e68d9fa5993338f8af93bd5
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Fri Apr 24 09:43:21 2020 +0200

    Add UI config for release 0.66.0
---
 ui/deployment/prebuild.js                         |   2 +-
 ui/deployment/rel/config.yml                      |  28 ++++++++++++++++++++++
 ui/deployment/rel/img/logo.png                    | Bin 0 -> 14358 bytes
 ui/deployment/rel/img/sp-logo-right-white.png     | Bin 0 -> 21453 bytes
 ui/src/app/app-overview/app-overview.component.ts |  10 --------
 5 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/ui/deployment/prebuild.js b/ui/deployment/prebuild.js
index c783004..24663fa 100644
--- a/ui/deployment/prebuild.js
+++ b/ui/deployment/prebuild.js
@@ -36,7 +36,7 @@ if (branchName === undefined) {
 // Check if Config-File for current Branch exists, otherwise use "def"
 if (!fs.existsSync('deployment/' + branchName + '/config.yml', 'utf8')) {
     console.log('Could not find Config for ' + branchName + '-Branch. Using Config for dev-Branch.');
-    branchName = 'dev';
+    branchName = 'rel';
 }
 
 // Read Config-File and check if it is valid
diff --git a/ui/deployment/rel/config.yml b/ui/deployment/rel/config.yml
new file mode 100644
index 0000000..321ac09
--- /dev/null
+++ b/ui/deployment/rel/config.yml
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+login:
+  backgroundImage: 'deployment/dev/img/background.png'
+  logo: 'deployment/dev/img/logo.png'
+  logo-right: 'deployment/dev/img/sp-logo-right-white.png'
+modules:
+  - spEditor
+  - spPipelines
+  - spConnect
+  - spDashboard
+  - spAppOverview
+  - spAdd
+  - spMyElements
+  - spConfiguration
\ No newline at end of file
diff --git a/ui/deployment/rel/img/logo.png b/ui/deployment/rel/img/logo.png
new file mode 100644
index 0000000..cbb8c56
Binary files /dev/null and b/ui/deployment/rel/img/logo.png differ
diff --git a/ui/deployment/rel/img/sp-logo-right-white.png b/ui/deployment/rel/img/sp-logo-right-white.png
new file mode 100644
index 0000000..ff2eb7c
Binary files /dev/null and b/ui/deployment/rel/img/sp-logo-right-white.png differ
diff --git a/ui/src/app/app-overview/app-overview.component.ts b/ui/src/app/app-overview/app-overview.component.ts
index b6eaf4d..465d38b 100644
--- a/ui/src/app/app-overview/app-overview.component.ts
+++ b/ui/src/app/app-overview/app-overview.component.ts
@@ -34,16 +34,6 @@ export class AppOverviewComponent {
             appDescription: "Monitor measurements of your assets by placing visualizations on an image of your asset.",
             appId: "asset-monitoring",
         },
-        {
-            appName: "Transport Monitoring",
-            appDescription: "Monitors the current transport status",
-            appId: "transport-monitoring"
-        },
-        {
-            appName: "Pallet 3D Model",
-            appDescription: "View a virtual 3D model of a pallet.",
-            appId: "pallet-3d-model"
-        },
     ];
 
     constructor() {