summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/LoopUI.js
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-06-23 07:34:09 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-23 07:34:09 +0000
commit368a50d75e7a4cd17294b90321b90ef59c08c0c1 (patch)
treea01178c30e8c50dfdb19b47814ddee6b9f8a302a /gui-clamp/ui-react/src/LoopUI.js
parentb48db31bdc8d317f8aaaa6752c14e93e44db95cf (diff)
parent587fb7a8b712a60def1e931e4a2480687a64f231 (diff)
Merge "Added Tosca File Upload Functionality"
Diffstat (limited to 'gui-clamp/ui-react/src/LoopUI.js')
-rw-r--r--gui-clamp/ui-react/src/LoopUI.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/LoopUI.js b/gui-clamp/ui-react/src/LoopUI.js
index 9461871..6904122 100644
--- a/gui-clamp/ui-react/src/LoopUI.js
+++ b/gui-clamp/ui-react/src/LoopUI.js
@@ -51,6 +51,7 @@ import Spinner from 'react-bootstrap/Spinner';
import { Link } from 'react-router-dom';
import ReadAndConvertYaml from "./components/dialogs/ReadAndConvertYaml";
+import GetLocalToscaFileForUpload from "./components/dialogs/GetLocalToscaFileForUpload";
const StyledMainDiv = styled.div`
background-color: ${ props => props.theme.backgroundColor };
@@ -296,6 +297,7 @@ export default class LoopUI extends React.Component {
return (
<React.Fragment>
<Route path="/readToscaTemplate" render={ (routeProps) => (<ReadAndConvertYaml { ...routeProps } />) }/>
+ <Route path="/uploadToscaFile" render={ (routeProps) => (<GetLocalToscaFileForUpload { ...routeProps } />) }/>
<Route path="/viewLoopTemplatesModal" render={ (routeProps) => (<ViewLoopTemplatesModal { ...routeProps } />) }/>
<Route path="/manageDictionaries" render={ (routeProps) => (<ManageDictionaries { ...routeProps } />) }/>
<Route path="/viewAllPolicies" render={ (routeProps) => (<ViewAllPolicies { ...routeProps } />) }/>