Merge "Extension of Yang files for OpenROADM"
[ccsdk/features.git] / sdnr / wt / odlux / apps / performanceHistoryApp / webpack.config.js
index 27a5949..5faf69e 100644 (file)
@@ -26,7 +26,7 @@ module.exports = (env) => {
     context: path.resolve(__dirname, "src"),
 
     entry: {
-      performanceHistoryApp: ["./plugin.tsx"]
+      performanceHistoryApp: ["./pluginPerformance.tsx"]
     },
 
     devtool: env === "release" ? false : "source-map",
@@ -125,12 +125,30 @@ module.exports = (env) => {
         colors: true
       },
       proxy: {
-        "/restconf": {
-          target: "http://localhost:8181",
+        "/oauth2/": {
+          target: "http://10.20.6.29:48181",
           secure: false
         },
-        "/database": {
-          target: "http://localhost:8181",
+        "/database/": {
+          target: "http://10.20.6.29:48181",
+          secure: false
+        },
+        "/restconf/": {
+          target: "http://10.20.6.29:48181",
+          secure: false
+        },
+        "/rests/": {
+          target: "http://10.20.6.29:48181",
+          secure: false
+        },
+        "/help/": {
+          target: "http://10.20.6.29:48181",
+          secure: false
+        },
+        "/websocket": {
+          target: "http://10.20.6.29:48181",
+          ws: true,
+          changeOrigin: true,
           secure: false
         }
       }