Skip to content

Commit 8961e16

Browse files
Merge pull request #706 from RedisInsight/release/2.2.0
Release/2.2.0
2 parents c019870 + 8316dbb commit 8961e16

File tree

376 files changed

+12783
-2670
lines changed

Some content is hidden

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

376 files changed

+12783
-2670
lines changed

.circleci/e2e/test.app-image.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/bin/bash
2+
set -e
3+
14
yarn --cwd tests/e2e install
25

36
# mount app resources

.circleci/redisstack/app-image.repack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
ARCH=${ARCH:-x86_64}
45
WORKING_DIRECTORY=$(pwd)

.circleci/redisstack/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
# install deps
45
yarn

.circleci/redisstack/build_modules.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
PLATFORM=${PLATFORM:-'linux'}
45
ELECTRON_VERSION=$(cat electron/version)

.circleci/redisstack/dmg.repack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
ARCH=${ARCH:-x64}
45
WORKING_DIRECTORY=$(pwd)

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ COPY scripts ./scripts
1111
COPY redisinsight ./redisinsight
1212
RUN SKIP_POSTINSTALL=1 yarn install
1313
RUN yarn --cwd redisinsight/api
14+
ARG SERVER_TLS_CERT
15+
ARG SERVER_TLS_KEY
16+
ENV SERVER_TLS_CERT=${SERVER_TLS_CERT}
17+
ENV SERVER_TLS_KEY=${SERVER_TLS_KEY}
1418
RUN yarn build:web
1519
RUN yarn build:statics
1620

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"build:main:stage": "webpack --config ./configs/webpack.config.main.stage.babel.js",
1515
"build:web": "webpack --config ./configs/webpack.config.web.prod.babel.js",
1616
"build:defaults": "yarn --cwd redisinsight/api build:defaults",
17-
"build:statics": "yarn build:defaults & sh ./scripts/build-statics.sh",
18-
"build:statics:win": "yarn build:defaults & ./scripts/build-statics.cmd",
17+
"build:statics": "yarn build:defaults && sh ./scripts/build-statics.sh",
18+
"build:statics:win": "yarn build:defaults && ./scripts/build-statics.cmd",
1919
"build:renderer": "webpack --config ./configs/webpack.config.renderer.prod.babel.js",
2020
"build:renderer:stage": "webpack --config ./configs/webpack.config.renderer.stage.babel.js",
2121
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir redisinsight/ui",

redisinsight/about-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const ICON_PATH = app.isPackaged
77

88
export default {
99
applicationName: 'RedisInsight-v2',
10-
applicationVersion: app.getVersion() || '2.0',
10+
applicationVersion: app.getVersion() || '2.2.0',
1111
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,
1212
iconPath: ICON_PATH,
1313
};

redisinsight/api/src/app.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import config from 'src/utils/config';
1111
import { PluginModule } from 'src/modules/plugin/plugin.module';
1212
import { CommandsModule } from 'src/modules/commands/commands.module';
1313
import { WorkbenchModule } from 'src/modules/workbench/workbench.module';
14+
import { SlowLogModule } from 'src/modules/slow-log/slow-log.module';
1415
import { SharedModule } from './modules/shared/shared.module';
1516
import { InstancesModule } from './modules/instances/instances.module';
1617
import { BrowserModule } from './modules/browser/browser.module';
@@ -42,6 +43,7 @@ const PATH_CONFIG = config.get('dir_path');
4243
PluginModule,
4344
CommandsModule,
4445
ProfilerModule,
46+
SlowLogModule,
4547
EventEmitterModule.forRoot(),
4648
...(SERVER_CONFIG.staticContent
4749
? [

redisinsight/api/src/app.routes.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { RedisEnterpriseModule } from 'src/modules/redis-enterprise/redis-enterp
55
import { RedisSentinelModule } from 'src/modules/redis-sentinel/redis-sentinel.module';
66
import { CliModule } from 'src/modules/cli/cli.module';
77
import { WorkbenchModule } from 'src/modules/workbench/workbench.module';
8+
import { SlowLogModule } from 'src/modules/slow-log/slow-log.module';
89

910
export const routes: Routes = [
1011
{
@@ -23,6 +24,10 @@ export const routes: Routes = [
2324
path: '/:dbInstance',
2425
module: WorkbenchModule,
2526
},
27+
{
28+
path: '/:dbInstance',
29+
module: SlowLogModule,
30+
},
2631
],
2732
},
2833
{

0 commit comments

Comments
 (0)