aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/mediatorApp
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-25 14:27:10 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-25 14:27:10 +0000
commit1f68c64e8bcf88ee485c69d36c67b0ad6590a293 (patch)
tree34ab01010c3a8b3bb4086d4b683a6fd8040f2992 /sdnr/wt/odlux/apps/mediatorApp
parent528f6391de8495f3346b5e22ede404c00b9955b7 (diff)
parent2d4424c28ac35763ef44c42ae2f01664d42b268c (diff)
Merge "Security provider for UX-Client-Login"
Diffstat (limited to 'sdnr/wt/odlux/apps/mediatorApp')
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx6
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/tsconfig.json1
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/webpack.config.js10
3 files changed, 11 insertions, 6 deletions
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx
index 11feb46ae..6b1532cc8 100644
--- a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx
+++ b/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx
@@ -120,7 +120,7 @@ class MediatorApplicationComponent extends React.Component<MediatorApplicationCo
<Tooltip title={"Info"} ><IconButton className={classes.button}><InfoIcon /></IconButton></Tooltip>
</div>
<div className={classes.spacer}>
- {process.env.NODE_ENV === "development" ? <Tooltip title={"Edit"} ><IconButton disabled={rowData[BusySymbol]} className={classes.button} onClick={event => this.onOpenEditConfigurationDialog(event, rowData)}><EditIcon /></IconButton></Tooltip> : null}
+ { process.env.NODE_ENV === "development" ? <Tooltip title={"Edit"} ><IconButton disabled={rowData[BusySymbol]} className={classes.button} onClick={event => this.onOpenEditConfigurationDialog(event, rowData)}><EditIcon /></IconButton></Tooltip> : null}
<Tooltip title={"Remove"} ><IconButton disabled={rowData[BusySymbol]} className={classes.button} onClick={event => this.onOpenRemoveConfigutationDialog(event, rowData)}><DeleteIcon /></IconButton></Tooltip>
</div>
</>
@@ -159,8 +159,8 @@ class MediatorApplicationComponent extends React.Component<MediatorApplicationCo
private onOpenAddConfigurationDialog = () => {
// Tries to determine a free port for netconf listener and snpm listener
// it it could not determine free ports the dialog will open any way
- // those ports should not be configured from the fontend, furthermore
- // the backend should auto configure them and tell the user the result
+ // those ports should not be configured from the fontend, furthermore
+ // the backend should auto configure them and tell the user the result
// after the creation process.
this.setState({
diff --git a/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json b/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json
index a66b5d828..b0c9b424d 100644
--- a/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json
+++ b/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json
@@ -25,6 +25,7 @@
"es2016"
],
"types": [
+ "node",
"prop-types",
"react",
"react-dom"
diff --git a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
index 151170b46..94943ecd5 100644
--- a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
@@ -126,16 +126,20 @@ module.exports = (env) => {
colors: true
},
proxy: {
+ "/oauth2/": {
+ target: "http://localhost:3000",
+ secure: false
+ },
"/database/": {
- target: "http://localhost:8181",
+ target: "http://localhost:3000",
secure: false
},
"/restconf/": {
- target: "http://localhost:8181",
+ target: "http://localhost:3000",
secure: false
},
"/help/": {
- target: "http://localhost:8181",
+ target: "http://localhost:3000",
secure: false
}
}