You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Microservice to manage CRUD operations for all things Projects.
34
34
* Local config
35
35
36
36
There are two prepared configs:
37
-
- if you have M2M environment variables provided: `AUTH0_CLIENT_ID`, `AUTH0_CLIENT_SECRET`, `AUTH0_URL`, `AUTH0_AUDIENCE` then use `config/m2m.local.js`
37
+
- if you have M2M environment variables provided: `AUTH0_CLIENT_ID`, `AUTH0_CLIENT_SECRET`, `AUTH0_URL`, `AUTH0_AUDIENCE`, `AUTH0_PROXY_SERVER_URL` then use `config/m2m.local.js`
38
38
- otherwise use `config/mock.local.js`.
39
39
40
40
To apply any of these config copy it to `config/local.js`:
@@ -57,7 +57,7 @@ Microservice to manage CRUD operations for all things Projects.
57
57
58
58
Explanation of configs:
59
59
-`config/mock.local.js` - Use local `mock-services` from docker to mock Identity and Member services instead of using deployed at Topcoder dev environment.
60
-
-`config/m2m.local.js` - Use Identity and Member services deployed at Topcoder dev environment. This can be used only if you have M2M environment variables (`AUTH0_CLIENT_ID`, `AUTH0_CLIENT_SECRET`, `AUTH0_URL`, `AUTH0_AUDIENCE`) provided to access Topcoder DEV environment services.
60
+
-`config/m2m.local.js` - Use Identity and Member services deployed at Topcoder dev environment. This can be used only if you have M2M environment variables (`AUTH0_CLIENT_ID`, `AUTH0_CLIENT_SECRET`, `AUTH0_URL`, `AUTH0_AUDIENCE`, `AUTH0_PROXY_SERVER_URL`) provided to access Topcoder DEV environment services.
console.error('This script requires environment variable CONNECT_USER_TOKEN to be defined. Login to http://connect.topcoder-dev.com and get your user token from the requests headers.')
8
-
exit(1);
8
+
process.exit(1);
9
9
}
10
10
11
11
// we need to know any logged in Connect user token to retrieve data from DEV
@@ -16,67 +16,83 @@ var targetUrl = 'http://localhost:8001/v4/';
16
16
vardestUrl=targetUrl+'projects/';
17
17
vardestTimelines=targetUrl;
18
18
19
+
console.log('Getting metadata from DEV environment...');
0 commit comments