From 3d6dd098db8ec243ca716a09fc55decbdd23b726 Mon Sep 17 00:00:00 2001 From: Herbert Eiselt Date: Wed, 3 Apr 2019 17:03:52 +0200 Subject: SDN-R Inventory export Add inventory export and search Change-Id: Ib9541cea9be1bd7628f5e89ba17a65439f98a5bf Issue-ID: SDNC-494 Signed-off-by: Herbert Eiselt --- sdnr/wt/odlux/apps/inventoryApp/webpack.config.js | 32 ++++++++++++++++++----- 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'sdnr/wt/odlux/apps/inventoryApp/webpack.config.js') diff --git a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js b/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js index e992a1042..2af2bdb95 100644 --- a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js +++ b/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js @@ -79,13 +79,13 @@ module.exports = (env) => { new webpack.DllReferencePlugin({ context: path.resolve(__dirname, "../../framework/src"), manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")), - sourceType: "umd2" - }), + sourceType: "umd2" + }), new webpack.DllReferencePlugin({ context: path.resolve(__dirname, "../../framework/src"), manifest: require(path.resolve(frameworkPath, "app-manifest.json")), - sourceType: "umd2" - }), + sourceType: "umd2" + }), ...(env === "release") ? [ new webpack.DefinePlugin({ "process.env": { @@ -126,11 +126,31 @@ module.exports = (env) => { colors: true }, proxy: { - "/database": { - target: "http://localhost:8181", + + "/oauth2/": { + target: "http://localhost:3000", + secure: false + }, + "/database/": { + target: "http://localhost:3000", + secure: false + }, + "/restconf/": { + target: "http://localhost:3000", + secure: false + }, + "/help/": { + target: "http://localhost:3000", + secure: false + }, + "/websocket/": { + target: "http://localhost:3000", + ws: true, + changeOrigin: true, secure: false } } + } }]; } -- cgit 1.2.3-korg