tree: 8537e62b37ccc5c709612271623e4c793bc2158c [path history] [tgz]
  1. .storybook/
  2. external-resources/
  3. resources/
  4. src/
  5. test/
  6. test-utils/
  7. tools/
  8. webapp-heat-validation/
  9. webapp-onboarding/
  10. .babelrc
  11. .editorconfig
  12. .eslintignore
  13. .eslintrc
  14. .gitignore
  15. .prettierrc
  16. devConfig.defaults.json
  17. gulpfile.js
  18. index.js
  19. package.json
  20. pom.xml
  21. proxy-server.js
  22. README.md
  23. webpack.common.js
  24. webpack.config.js
  25. webpack.production.js
  26. yarn.lock
openecomp-ui/README.md

ASDC - Amdocs Onboard UI App

Setup

Install nodejs:

download nodejs from here: https://nodejs.org/en/ (take the "current" version with latest features) & install it.

Install gulp

install gulp by running the following command npm install --global gulp-cli

Install DOX-UI
  • pull for latest changes

  • go to folder dox-sequence-diagram-ui

  • run npm install

  • wait for it...

  • go to folder openecomp-ui

  • run npm install

  • create a copy of devConfig.defaults.json file and name it devConfig.json (we already configured git to ignore it so it will not be pushed) in that file.

    populate the fields of the IP addresses of your BE machine you'd like to connect (pay attention, it is a JSON file):

    For example http://<host>:<port>

  • run npm start

  • your favorite UI will wait for you at: http://localhost:9000/sdc1/proxy-designer1#/onboardVendor

Troubleshooting

ProblemWhy is this happeningSolution
npm cannot reach destinationproxyWhen within managed network, you should set your proxy to NPM as the following:
npm config set proxy http://<host>:<port>
npm config set https-proxy http://<host>:<port>
git protocol is blocked and cannot connectmanaged network rules for protocolsWhen within managed network, you should set globally that when git protocol is used, then it will be replaced with "https"
git config --global url."https://".insteadOf git://