diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2021-08-30 17:35:18 +0100 |
---|---|---|
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2021-09-07 08:22:23 +0000 |
commit | a8af9621cd5be96dc802710078bae90400f6792a (patch) | |
tree | 269bf18fec38852cdbbd5e5c0d0c5ff67dd3e356 /gui-pdp-monitoring/src/main/assembly/frontend.xml | |
parent | a023942e415b1f0a5dfb40a1d8315b66cc951dad (diff) |
Make gui-pdp-monitoring work in Docker image
Serve PDP Monitoring HTML using nginx in Docker image
Don't serve HTML content from PdpMonitoringServer
Remove unused dependencies in gui-pdp-monitoring
Add proxy setting for local dev testing with npm start
Issue-ID: POLICY-3603
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I9a4c2b250a1f0460892a367a3b5bbb59e0e92411
Diffstat (limited to 'gui-pdp-monitoring/src/main/assembly/frontend.xml')
-rw-r--r-- | gui-pdp-monitoring/src/main/assembly/frontend.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gui-pdp-monitoring/src/main/assembly/frontend.xml b/gui-pdp-monitoring/src/main/assembly/frontend.xml new file mode 100644 index 0000000..610121b --- /dev/null +++ b/gui-pdp-monitoring/src/main/assembly/frontend.xml @@ -0,0 +1,32 @@ +<!-- + ============LICENSE_START======================================================= + Copyright (C) 2020-2021 Nordix Foundation. + ================================================================================ + Licensed 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. + + SPDX-License-Identifier: Apache-2.0 + ============LICENSE_END========================================================= +--> +<assembly> + <id>frontend</id> + <formats> + <format>tar.gz</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>${webapp.dir}/dist</directory> + <outputDirectory>pdp-monitoring</outputDirectory> + </fileSet> + </fileSets> +</assembly> |