summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/LoopUI.js
diff options
context:
space:
mode:
authorbrunomilitzer <bruno.militzer@est.tech>2021-06-18 16:07:16 +0100
committerbrunomilitzer <bruno.militzer@est.tech>2021-06-24 16:32:45 +0100
commit6ad48326583f162c163d6c272a3d83fb8a01353d (patch)
treea66d3f340ad0edfa36fd69406a0aaa3717ecba82 /gui-clamp/ui-react/src/LoopUI.js
parent36d4fbcc4a671ea7c4f08427a11e04a86c644c03 (diff)
Add Tosca Monitoring App to Policy Gui
Implemented the prototype monitoring gui onto the policy gui Issue-ID: POLICY-3357 Change-Id: Iabf25cd6c26d4e65a7a963cdd79c25aa91c39736 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/LoopUI.js')
-rw-r--r--gui-clamp/ui-react/src/LoopUI.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/LoopUI.js b/gui-clamp/ui-react/src/LoopUI.js
index 6904122..4009bf1 100644
--- a/gui-clamp/ui-react/src/LoopUI.js
+++ b/gui-clamp/ui-react/src/LoopUI.js
@@ -17,6 +17,7 @@
* SPDX-License-Identifier: Apache-2.0
* ============LICENSE_END=========================================================
*/
+
import React from 'react';
import styled from 'styled-components';
import MenuBar from './components/menu/MenuBar';
@@ -51,6 +52,7 @@ import Spinner from 'react-bootstrap/Spinner';
import { Link } from 'react-router-dom';
import ReadAndConvertYaml from "./components/dialogs/ReadAndConvertYaml";
+import MonitoringControlLoopModal from "./components/dialogs/ControlLoop/MonitoringControlLoopModal";
import GetLocalToscaFileForUpload from "./components/dialogs/GetLocalToscaFileForUpload";
const StyledMainDiv = styled.div`
@@ -380,6 +382,7 @@ export default class LoopUI extends React.Component {
showSucAlert={ this.showSucAlert }
showFailAlert={ this.showFailAlert }/>) }
/>
+ <Route path="/monitoring" render={ (routeProps) => (<MonitoringControlLoopModal { ...routeProps } />) }/>
</React.Fragment>
);
}