Change naming and veriy test-scheduler function
[bottlenecks.git] / test-scheduler / ui / config / index.js
similarity index 96%
rename from testing-scheduler/ui/config/index.js
rename to test-scheduler/ui/config/index.js
index 0cf4552..2050455 100644 (file)
@@ -1,95 +1,95 @@
-'use strict'\r
-// Template version: 1.3.1\r
-// see http://vuejs-templates.github.io/webpack for documentation.\r
-\r
-const path = require('path')\r
-\r
-module.exports = {\r
-  dev: {\r
-\r
-    // Paths\r
-    assetsSubDirectory: 'static',\r
-    assetsPublicPath: '/',\r
-    proxyTable: {\r
-        '/wf-graph': {\r
-            target: 'http://conductor_conductor-ui_1:5000/',\r
-            changeOrigin: true,\r
-            pathRewrite: {'^/wf-graph':''}\r
-        },\r
-        '/api': {\r
-            target: 'http://conductor_conductor-ui_1:5000/',\r
-            changeOrigin: true\r
-        },\r
-        '/wf-server': {\r
-            target: 'http://conductor_conductor-server_1:8080/',\r
-            changeOrigin: true,\r
-            pathRewrite: {'^/workflow':''}\r
-        },\r
-        '/parser': {\r
-            target: 'http://t-scheduler-server:5310/',\r
-            pathRewrite: {'^/parser':''}\r
-        }\r
-    },\r
-\r
-    // Various Dev Server settings\r
-    host: '0.0.0.0', // can be overwritten by process.env.HOST\r
-    port: 5311, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined\r
-    autoOpenBrowser: false,\r
-    errorOverlay: true,\r
-    notifyOnErrors: true,\r
-    poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-\r
-\r
-    // Use Eslint Loader?\r
-    // If true, your code will be linted during bundling and\r
-    // linting errors and warnings will be shown in the console.\r
-    useEslint: true,\r
-    // If true, eslint errors and warnings will also be shown in the error overlay\r
-    // in the browser.\r
-    showEslintErrorsInOverlay: false,\r
-\r
-    /**\r
-     * Source Maps\r
-     */\r
-\r
-    // https://webpack.js.org/configuration/devtool/#development\r
-    devtool: 'cheap-module-eval-source-map',\r
-\r
-    // If you have problems debugging vue-files in devtools,\r
-    // set this to false - it *may* help\r
-    // https://vue-loader.vuejs.org/en/options.html#cachebusting\r
-    cacheBusting: true,\r
-\r
-    cssSourceMap: true\r
-  },\r
-\r
-  build: {\r
-    // Template for index.html\r
-    index: path.resolve(__dirname, '../dist/index.html'),\r
-\r
-    // Paths\r
-    assetsRoot: path.resolve(__dirname, '../dist'),\r
-    assetsSubDirectory: 'static',\r
-    assetsPublicPath: '/',\r
-\r
-    /**\r
-     * Source Maps\r
-     */\r
-\r
-    productionSourceMap: true,\r
-    // https://webpack.js.org/configuration/devtool/#production\r
-    devtool: '#source-map',\r
-\r
-    // Gzip off by default as many popular static hosts such as\r
-    // Surge or Netlify already gzip all static assets for you.\r
-    // Before setting to `true`, make sure to:\r
-    // npm install --save-dev compression-webpack-plugin\r
-    productionGzip: false,\r
-    productionGzipExtensions: ['js', 'css'],\r
-\r
-    // Run the build command with an extra argument to\r
-    // View the bundle analyzer report after build finishes:\r
-    // `npm run build --report`\r
-    // Set to `true` or `false` to always turn it on or off\r
-    bundleAnalyzerReport: process.env.npm_config_report\r
-  }\r
-}\r
+'use strict'
+// Template version: 1.3.1
+// see http://vuejs-templates.github.io/webpack for documentation.
+
+const path = require('path')
+
+module.exports = {
+  dev: {
+
+    // Paths
+    assetsSubDirectory: 'static',
+    assetsPublicPath: '/',
+    proxyTable: {
+        '/wf-graph': {
+            target: 'http://conductor_conductor-ui_1:5000/',
+            changeOrigin: true,
+            pathRewrite: {'^/wf-graph':''}
+        },
+        '/api': {
+            target: 'http://conductor_conductor-ui_1:5000/',
+            changeOrigin: true
+        },
+        '/wf-server': {
+            target: 'http://conductor_conductor-server_1:8080/',
+            changeOrigin: true,
+            pathRewrite: {'^/workflow':''}
+        },
+        '/parser': {
+            target: 'http://t-scheduler-server:5310/',
+            pathRewrite: {'^/parser':''}
+        }
+    },
+
+    // Various Dev Server settings
+    host: '0.0.0.0', // can be overwritten by process.env.HOST
+    port: 5311, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
+    autoOpenBrowser: false,
+    errorOverlay: true,
+    notifyOnErrors: true,
+    poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
+
+    // Use Eslint Loader?
+    // If true, your code will be linted during bundling and
+    // linting errors and warnings will be shown in the console.
+    useEslint: true,
+    // If true, eslint errors and warnings will also be shown in the error overlay
+    // in the browser.
+    showEslintErrorsInOverlay: false,
+
+    /**
+     * Source Maps
+     */
+
+    // https://webpack.js.org/configuration/devtool/#development
+    devtool: 'cheap-module-eval-source-map',
+
+    // If you have problems debugging vue-files in devtools,
+    // set this to false - it *may* help
+    // https://vue-loader.vuejs.org/en/options.html#cachebusting
+    cacheBusting: true,
+
+    cssSourceMap: true
+  },
+
+  build: {
+    // Template for index.html
+    index: path.resolve(__dirname, '../dist/index.html'),
+
+    // Paths
+    assetsRoot: path.resolve(__dirname, '../dist'),
+    assetsSubDirectory: 'static',
+    assetsPublicPath: '/',
+
+    /**
+     * Source Maps
+     */
+
+    productionSourceMap: true,
+    // https://webpack.js.org/configuration/devtool/#production
+    devtool: '#source-map',
+
+    // Gzip off by default as many popular static hosts such as
+    // Surge or Netlify already gzip all static assets for you.
+    // Before setting to `true`, make sure to:
+    // npm install --save-dev compression-webpack-plugin
+    productionGzip: false,
+    productionGzipExtensions: ['js', 'css'],
+
+    // Run the build command with an extra argument to
+    // View the bundle analyzer report after build finishes:
+    // `npm run build --report`
+    // Set to `true` or `false` to always turn it on or off
+    bundleAnalyzerReport: process.env.npm_config_report
+  }
+}