Skip to content

Commit 06f6b4c

Browse files
author
Artem
committed
Merge branch 'main' into feature/RI-2743_Enhanced_overview
2 parents 6e76e7e + 794bfe0 commit 06f6b4c

File tree

161 files changed

+3867
-2139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+3867
-2139
lines changed

.circleci/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ jobs:
311311
- run:
312312
name: .AppImage tests
313313
command: |
314-
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split) && cd ../..
314+
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split --split-by=timings) && cd ../..
315315
.circleci/e2e/test.app-image.sh
316316
- when:
317317
condition:
@@ -348,7 +348,7 @@ jobs:
348348
- run: choco install nodejs --version=16.15.1
349349
- run:
350350
command: |
351-
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split) && cd ../..
351+
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split --split-by=timings) && cd ../..
352352
.circleci/e2e/test.exe.cmd
353353
shell: bash.exe
354354
- when:
@@ -399,12 +399,12 @@ jobs:
399399
- run:
400400
name: Run tests
401401
command: |
402-
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split) && cd ../..
402+
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split --split-by=timings) && cd ../..
403403
TEST_BIG_DB_DUMP=$TEST_BIG_DB_DUMP \
404404
docker-compose \
405405
-f tests/e2e/rte.docker-compose.yml \
406406
-f tests/e2e/docker.web.docker-compose.yml \
407-
up --abort-on-container-exit --force-recreate
407+
up --abort-on-container-exit --force-recreate --build
408408
no_output_timeout: 5m
409409
- when:
410410
condition:
@@ -413,7 +413,7 @@ jobs:
413413
- run:
414414
name: Run tests
415415
command: |
416-
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split) && cd ../..
416+
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.ts" | circleci tests split --split-by=timings) && cd ../..
417417
TEST_BIG_DB_DUMP=$TEST_BIG_DB_DUMP \
418418
docker-compose \
419419
-f tests/e2e/rte.docker-compose.yml \
@@ -675,7 +675,7 @@ jobs:
675675
- <<: *scan
676676
- <<: *validate
677677
docker:
678-
executor: linux-executor-dlc
678+
executor: linux-executor
679679
parameters:
680680
env:
681681
type: enum
@@ -1218,12 +1218,12 @@ workflows:
12181218
requires:
12191219
- Build docker image
12201220
# e2e desktop tests on AppImage build
1221-
- e2e-app-image:
1222-
name: E2ETest (AppImage) - Nightly
1223-
parallelism: 4
1224-
report: true
1225-
requires:
1226-
- Build app - Linux (stage)
1221+
# - e2e-app-image:
1222+
# name: E2ETest (AppImage) - Nightly
1223+
# parallelism: 4
1224+
# report: true
1225+
# requires:
1226+
# - Build app - Linux (stage)
12271227
# # e2e desktop tests on exe build
12281228
# - e2e-exe:
12291229
# name: E2ETest (exe) - Nightly

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ Check out the [release notes](https://docs.redis.com/latest/ri/release-notes/).
3939

4040
## Get started with RedisInsight
4141

42-
This repository includes the code for RedisInsight 2.0, Currently available in public preview. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
43-
44-
The current GA version of RedisInsight is 1.11. You can install RedisInsight 2.0 along with the GA version.
42+
This repository includes the code for the GA version of RedisInsight 2.0. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
4543

4644
### Installable
47-
Available to download for free from [here](https://redis.com/redis-enterprise/redis-insight/#insight-form).
45+
Available to download for free from [here](https://redis.com/redis-enterprise/redis-insight/#insight-form).
4846

4947
### Build
5048
Alternatively you can also build from source. See our wiki for instructions.

configs/webpack.config.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
// 'pnpapi',
5555
'cache-manager',
5656
// 'class-validator',
57-
'fastify-static',
57+
'@fastify/static',
5858
'fastify-swagger',
5959
// 'hiredis',
6060
// 'reflect-metadata',

electron-builder.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@
7575
"desktop": {
7676
"Name": "RedisInsight",
7777
"Type": "Application",
78-
"Comment": "Redis GUI by Redis Ltd",
79-
"Terminal": "true"
78+
"Comment": "Redis GUI by Redis Ltd"
8079
}
8180
},
8281
"directories": {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
"html-entities": "^2.3.2",
227227
"html-react-parser": "^1.2.4",
228228
"java-object-serialization": "^0.1.1",
229+
"jpickle": "^0.4.1",
229230
"jsonpath": "^1.1.1",
230231
"lodash": "^4.17.21",
231232
"php-serialize": "^4.0.2",

redisinsight/api/config/ormconfig.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ const ormConfig: TypeOrmModuleOptions = {
2929
NotificationEntity,
3030
],
3131
migrations,
32-
cli: {
33-
migrationsDir: 'migration',
34-
},
3532
};
3633

3734
export default ormConfig;

redisinsight/api/config/production.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export default {
2222
server: {
2323
env: 'production',
2424
},
25+
analytics: {
26+
writeKey: process.env.SEGMENT_WRITE_KEY || 'lK5MNZgHbxj6vQwFgqZxygA0BiDQb32n',
27+
},
2528
db: {
2629
database: join(homedir, 'redisinsight.db'),
2730
},

redisinsight/api/config/staging.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export default {
2222
server: {
2323
env: 'staging',
2424
},
25+
analytics: {
26+
writeKey: process.env.SEGMENT_WRITE_KEY || 'Ba1YuGnxzsQN9zjqTSvzPc6f3AvmH1mj',
27+
},
2528
db: {
2629
database: join(homedir, 'redisinsight.db'),
2730
},

redisinsight/api/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
"typeorm:run": "yarn typeorm migration:run"
3939
},
4040
"dependencies": {
41-
"@nestjs/common": "^7.6.15",
42-
"@nestjs/core": "^7.0.0",
43-
"@nestjs/event-emitter": "^1.0.0",
44-
"@nestjs/platform-express": "^7.0.0",
45-
"@nestjs/platform-socket.io": "^8.2.3",
46-
"@nestjs/serve-static": "^2.1.3",
47-
"@nestjs/swagger": "^4.6.1",
48-
"@nestjs/typeorm": "^7.1.5",
49-
"@nestjs/websockets": "^8.2.3",
41+
"@nestjs/common": "^9.0.11",
42+
"@nestjs/core": "^9.0.11",
43+
"@nestjs/event-emitter": "^1.3.1",
44+
"@nestjs/platform-express": "^9.0.11",
45+
"@nestjs/platform-socket.io": "^9.0.11",
46+
"@nestjs/serve-static": "^3.0.0",
47+
"@nestjs/swagger": "^6.1.2",
48+
"@nestjs/typeorm": "^9.0.1",
49+
"@nestjs/websockets": "^9.0.11",
5050
"adm-zip": "^0.5.9",
5151
"analytics-node": "^4.0.1",
5252
"axios": "^0.25.0",
@@ -63,21 +63,21 @@
6363
"nest-router": "^1.0.9",
6464
"nest-winston": "^1.4.0",
6565
"reflect-metadata": "^0.1.13",
66-
"rxjs": "^6.6.7",
66+
"rxjs": "^7.5.6",
6767
"socket.io": "^4.4.0",
6868
"source-map-support": "^0.5.19",
6969
"sqlite3": "^5.0.11",
7070
"swagger-ui-express": "^4.1.4",
71-
"typeorm": "^0.2.29",
71+
"typeorm": "^0.3.9",
7272
"uuid": "^8.3.2",
7373
"winston": "^3.3.3",
7474
"winston-daily-rotate-file": "^4.5.0"
7575
},
7676
"devDependencies": {
7777
"@mochajs/json-file-reporter": "^1.3.0",
78-
"@nestjs/cli": "^7.5.4",
79-
"@nestjs/schematics": "^7.0.0",
80-
"@nestjs/testing": "^7.0.0",
78+
"@nestjs/cli": "^9.1.2",
79+
"@nestjs/schematics": "^9.0.3",
80+
"@nestjs/testing": "^9.0.11",
8181
"@types/axios": "^0.14.0",
8282
"@types/express": "^4.17.3",
8383
"@types/jest": "^26.0.15",

redisinsight/api/src/__mocks__/analytics.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const mockCliAnalyticsService = () => ({
1919
});
2020

2121
export const mockWorkbenchAnalyticsService = () => ({
22+
sendCommandExecutedEvents: jest.fn(),
2223
sendCommandExecutedEvent: jest.fn(),
2324
sendCommandDeletedEvent: jest.fn(),
2425
});

0 commit comments

Comments
 (0)