Skip to content

Commit 75f01cf

Browse files
author
Perki
committed
removing private libs
1 parent 1161e77 commit 75f01cf

File tree

9 files changed

+0
-989
lines changed

9 files changed

+0
-989
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ build/test/pryv/*/log
2525
security-assessment
2626
/test-results/
2727
coverage/
28-
private-libs
2928
var-pryv*
3029
*.log
3130
learn-config

.licenser.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ ignore:
7171
- .vscode
7272
- build/test/pryv
7373
- coverage
74-
- private-libs
7574
- nats-server
7675
- node_modules
7776
- test-results

archive/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,5 @@ jobs:
3737
username: ${{ secrets.REGISTRY_PRYV_USERNAME }}
3838
password: ${{ secrets.REGISTRY_PRYV_PASSWORD }}
3939

40-
# needed to run here, as we are fetching deps from private repos, inside docker builder is not authenticated
41-
- name: Setup private libraries
42-
run: just setup-private-libs
43-
4440
- name: Build and deploy
4541
run: ./build/build

components/api-server/src/server.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ class Server {
8181
}
8282
await this.setupSocketIO(server);
8383
await this.startListen(server, serverInfos);
84-
if (!this.isOpenSource) {
85-
await this.setupReporting();
86-
}
8784
this.logger.info('Server ready. API Version: ' + apiVersion);
8885
pubsub.status.emit(pubsub.SERVER_READY);
8986
this.logger.debug('start completed');
@@ -208,29 +205,6 @@ class Server {
208205
pubsub.setTestNotifier(testNotifier);
209206
}
210207

211-
/**
212-
* @returns {Promise<void>}
213-
*/
214-
async setupReporting () {
215-
const reporting = require('lib-reporting');
216-
const serviceInfoUrl = this.config.get('serviceInfoUrl');
217-
async function collectClientData () {
218-
return {
219-
userCount: await this.getUserCount(),
220-
serviceInfoUrl
221-
};
222-
}
223-
const reportingSettings = this.config.get('reporting');
224-
const templateVersion = reportingSettings.templateVersion;
225-
const reportingUrl = process.env.NODE_ENV === 'test' ? 'http://127.0.0.1:4001' : null;
226-
const licenseName = reportingSettings.licenseName;
227-
const role = 'api-server';
228-
const mylog = function (str) {
229-
this.logger.info(str);
230-
}.bind(this);
231-
reporting.start(licenseName, role, templateVersion, collectClientData.bind(this), mylog, reportingUrl);
232-
}
233-
234208
/**
235209
* @returns {Promise<Number>}
236210
*/

justfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ _help:
1313
setup-dev-env:
1414
scripts/setup-dev-env
1515

16-
# Setup/update private repositories (also run by setup-dev-env)
17-
setup-private-libs:
18-
scripts/setup-private-libs
19-
2016
# Install node modules afresh (no optionals)
2117
install *params: clean
2218
npm install --omit=optional {{params}}

0 commit comments

Comments
 (0)