aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/package.json
blob: 3b6223d27dc17689fcf4de0548dea4a6c9749658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
  "name": "catalog-ui",
  "version": "1707.1.0",
  "description": "SDC Single page application",
  "main": "src/main.ts",
  "author": "",
  "repository": {
    "type": "git",
    "url": "git@gitlab:root/D2-SDnC.git"
  },
  "scripts": {
    "designer": "npm start -- --env.role designer",
    "tester": "npm start -- --env.role tester",
    "ops": "npm start -- --env.role ops",
    "governor": "npm start -- --env.role governor",
    "admin": "npm start -- --env.role admin",
    "start": "webpack-dev-server",
    "build": "webpack --config webpack.config.js",
    "build:prod": "webpack --config webpack.production.js",
    "lint": "ng lint",
    "pree2e": "webdriver-manager update --standalone false --gecko false --quiet"
  },
  "devDependencies": {
    "@angular/compiler": "^2.4.8",
    "@angular/compiler-cli": "^2.4.8",
    "apache-server-configs": "^2.7.1",
    "autoprefixer": "^6.5.3",
    "copy-webpack-plugin": "^4.0.1",
    "cors": "2.7.1",
    "css-loader": "^0.26.1",
    "exports-loader": "^0.6.3",
    "express": "^4.14.0",
    "extract-text-webpack-plugin": "^2.1.0",
    "file-loader": "^0.10.0",
    "html-loader": "^0.4.5",
    "html-webpack-plugin": "^2.28.0",
    "http-proxy-middleware": "^0.14.0",
    "jshint-stylish": "2.2.1",
    "json-loader": "^0.5.4",
    "less": "^2.7.2",
    "less-loader": "^2.2.3",
    "load-grunt-tasks": "3.5.2",
    "postcss-loader": "^0.13.0",
    "postcss-url": "^5.1.2",
    "raw-loader": "^0.5.1",
    "sass-loader": "^4.1.1",
    "script-loader": "^0.7.0",
    "sdc-ui": "1.6.9",
    "source-map-loader": "^0.1.5",
    "style-loader": "^0.13.1",
    "url-loader": "^0.5.7",
    "webpack-dev-middleware": "^1.10.1",
    "webpack-dev-server": "~2.3.0"
  },
  "engines": {
    "node": ">=6.9.4"
  },
  "dependencies": {
    "@angular/cli": "^1.0.0-rc.1",
    "@angular/common": "^2.4.8",
    "@angular/core": "^2.4.8",
    "@angular/forms": "^2.4.8",
    "@angular/http": "^2.4.8",
    "@angular/platform-browser": "^2.4.8",
    "@angular/platform-browser-dynamic": "^2.4.8",
    "@angular/router": "^3.4.8",
    "@angular/upgrade": "^2.4.8",
    "@bardit/cytoscape-expand-collapse": "^2.0.3",
    "@bardit/cytoscape-qtip": "^2.5.1",
    "@types/core-js": "^0.9.35",
    "@types/js-md5": "^0.4.0",
    "@types/lodash": "4.14.85",
    "@types/node": "^7.0.5",
    "@types/q": "0.0.32",
    "angular": "^1.6.2",
    "angular-base64": "^2.0.5",
    "angular-base64-upload": "^0.1.19",
    "angular-clipboard": "^1.5.0",
    "angular-filter": "^0.5.15",
    "angular-resizable": "^1.2.0",
    "angular-resource": "1.5.11",
    "angular-sanitize": "^1.4.4",
    "angular-tooltips": "0.1.23",
    "angular-translate": "^2.15.1",
    "angular-translate-loader-static-files": "^2.15.1",
    "angular-ui-bootstrap": "1.3.3",
    "angular-ui-notification": "^0.3.6",
    "angular-ui-router": "^0.4.2",
    "angular-uuid4": "^0.3.1",
    "angular2-uuid": "^1.1.1",
    "animate.css": "^3.5.2",
    "awesome-typescript-loader": "^3.0.8",
    "babel-core": "^6.23.1",
    "babel-loader": "^6.3.2",
    "bootstrap": "^3.3.7",
    "checklist-model": "^0.11.0",
    "class-transformer": "^0.1.6",
    "clean-webpack-plugin": "^0.1.16",
    "compression": "^1.6.2",
    "compression-webpack-plugin": "^0.4.0",
    "core-js": "^2.4.1",
    "cytoscape": "^2.7.15",
    "cytoscape.js-undo-redo": "^1.0.1",
    "jquery": "^2.2.4",
    "jqueryui": "^1.11.1",
    "js-md5": "^0.4.2",
    "lodash": "^4.17.2",
    "ng-infinite-scroll": "^1.3.0",
    "perfect-scrollbar": "^0.6.16",
    "qtip2": "^3.0.3",
    "reflect-metadata": "^0.1.10",
    "restangular": "^1.6.1",
    "rxjs": "^5.2.0",
    "sdc-angular-dragdrop": "^1.0.14",
    "typescript": "2.3.4",
    "typings": "^2.1.0",
    "underscore": "^1.8.3",
    "webpack": "^2.2.1",
    "webpack-bundle-analyzer": "^2.8.2",
    "webpack-dev-server": "^2.4.1",
    "webpack-merge": "^4.0.0",
    "zone.js": "^0.7.7"
  }
}
it devConfig.json (we already configured git to ignore it so it will not be pushed) 8. 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> 9. after everything is successful, run gulp 10. after server is up, your favorite UI will wait for you at: http://localhost:9000/sdc1/proxy-designer1#/onboardVendor ### Troubleshooting: | Problem | Why is this happening | Solution | |-------------------------------|-------------------------|--------------------------------------------------------------------------------------------| | npm cannot reach destination | onboarding proxy | When within onboarding network, you should set onboarding proxy to NPM as the following: | | | | npm config set proxy http://genproxy:8080 | | | | npm config set https-proxy http://genproxy:8080 | | | | | | git protocol is blocked | onboarding network | When within onboarding network, you should set globally that when git | | and cannot connect | rules for protocols | protocol is used, it will be replaced with "https" | | | | git config --global url."https://".insteadOf git:// | -------------------------------------------------------------------------------------------------------------------------------------------------------- ## SDC Troubleshooting In order to check the life state of SDC you can run the command `health` from inside the vagrant. Alternatively you can run the following commands to check the FE and BE status: FE - `curl http://<ip_address>:8181/sdc1/rest/healthCheck` BE - `curl http://<ip_address>:8080/sdc2/rest/healthCheck` Another method to check about problems in SDC is to look at the log files. The jetty(Applicative) are found in the respective folder according to the wanted section For example, the BE logs will found under the directory `/BE`. For more information regarding SDC Troubleshooting please refer to the following guide: [SDC Troubleshooting](https://wiki.onap.org/display/DW/SDC+Troubleshooting) ## Getting Help ##### [Mailing list](mailto:onap-sdc@lists.onap.org) ##### [JIRA](http://jira.onap.org) ##### [WIKI](https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal)