Skip to content

Commit e174e7f

Browse files
committed
Rename opener script reference & quick cleanup
1 parent eba1d3d commit e174e7f

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ New feature:
365365
- We've rehauled the 'delete-user' command of the Pryv.IO cli admin tool. It
366366
now operates more explicitly and allows automation.
367367

368-
- Improvements related to mongoDB:
368+
- Improvements related to MongoDB:
369369
- We now use j:true as write concern, which requests acknowledgement that
370370
write operations has been written to the journal. This measure improves our
371371
persistence story in the face of a crash.

components/api-server/src/methods/helpers/streamsQueryUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ async function expandAndTransformStreamQuery (streamQuery, expandSet) {
256256
return containsAtLeastOneInclusion ? res : null;
257257
}
258258
/**
259-
* Transform queries for mongoDB - to be run on
259+
* Transform queries for MongoDB - to be run on
260260
* @param {Array.<StreamQuery>} streamQueriesArray - array of streamQuery
261-
* @returns {MongoQuey} - the necessary components to query streams. Either with a {streamIds: ..} or { $or: ....}
261+
* @returns {mongoQuery} - the necessary components to query streams. Either with a {streamIds: ..} or { $or: ....}
262262
*/
263263
exports.toMongoDBQuery = function toMongoDBQuery (streamQueriesArray) {
264264
let mongoQuery = null; // no streams

scripts/setup-ci

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
#!/usr/bin/env bash
22
# This file installs all dependencies needed to run core for tests
33

4-
# Install nats-server - the duplicate of ./core/nats-server.sh file that consists of docker
5-
# run commands
4+
# Install nats-server
65
./scripts/setup-nats-server
76

8-
# Install mongodb
7+
# Install dev env (including mongodb)
98
./scripts/setup-dev-env
109

1110
# Install influxdb
@@ -22,7 +21,7 @@ sudo apt-get install graphicsmagick
2221
# Start nats-server
2322
./nats-server/nats-server-v2.3.4-linux-amd64/nats-server &
2423

25-
# Start Influx db and verify the status
24+
# Start influxdb and verify the status
2625
sudo service influxdb start
2726

2827
# Start mongodb

scripts/setup-dev-env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if [[ -d .git && "$CI" != "true" ]]; then
1717
fi
1818

1919
# run additional Open-Pryv.io setup if appropriate
20-
SCRIPT_EXTRAS="./scripts/setup-open.bash"
20+
SCRIPT_EXTRAS="./scripts/setup-open"
2121
if [[ -f $SCRIPT_EXTRAS ]]; then
22-
echo "installing service mail"
22+
echo "Running Open-Pryv.io extra setup steps..."
2323
bash $SCRIPT_EXTRAS
2424
fi
2525

scripts/setup-nats-server

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
set -e
33

44
# Install nats-server on linux machine
5-
# This file is the duplicate of ./core/nats-server.sh file that consists of docker
6-
# run commands to install nats-server
75

86
# check if nats-server is already installed and if no install it
97
# command -v nats-server should output /usr/local/bin/nats-server

0 commit comments

Comments
 (0)