Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2943

404 in sdc-FE calls to workflow plugin

XMLWordPrintable

      The sdc-FE proxy is not considering the path part from the workflow plugin URL "<host>:<port>/<path>" configuration, giving HTTP not found problems when using the proxy.
      It can be seen by accessing the Operations page of a SDC component, e.g. a VF or Service, while the workflow plugin is enabled.

      Also, there is a compilation problem in the catalog-ui while running locally (introduced by : Issue-ID: SDC-2843, Change-Id: I9a6c89e45ea425eb9abf827906562e14a39cf1ff).

      sdc/catalog-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js:393
          throw e;
          ^
      
      ReferenceError: wfPort is not defined
          at Object.setup (/home/aschmid/workspace/onap/code/sdc/catalog-ui/webpack.server.js:110:63)
          at Object.setup (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/lib/Server.js:376:17)
          at Server.forEach (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/lib/Server.js:396:22)
          at Array.forEach (<anonymous>)
          at new Server (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/lib/Server.js:395:41)
          at startDevServer (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js:386:14)
          at processOptions (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js:350:5)
          at Object.<anonymous> (/home/aschmid/workspace/onap/code/sdc/catalog-ui/node_modules/webpack-dev-server/bin/webpack-dev-server.js:495:1)
          at Module._compile (module.js:653:30)
          at Object.Module._extensions..js (module.js:664:10)
          at Module.load (module.js:566:32)
          at tryModuleLoad (module.js:506:12)
          at Function.Module._load (module.js:498:3)
          at Function.Module.runMain (module.js:694:10)
          at startup (bootstrap_node.js:204:16)
          at bootstrap_node.js:625:3
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! catalog-ui@1707.1.0 start: `webpack-dev-server`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the catalog-ui@1707.1.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/aschmid/.npm/_logs/2020-04-21T08_52_00_503Z-debug.log
      
      Process finished with exit code 1
      

        1. operation.png
          operation.png
          264 kB
        2. operation-2.png
          operation-2.png
          292 kB
        3. wfd.png
          wfd.png
          229 kB

            andre.schmid andre.schmid
            andre.schmid andre.schmid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: