Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
301 commits
Select commit Hold shift + click to select a range
488e461
#RI-4131 ignore optional deps since seems like due to cpu-features (u…
Feb 2, 2023
14d0953
Merge pull request #1677 from RedisInsight/be/bugfix/RI-4131-ssh-conn…
Feb 2, 2023
727b07e
add first test for export to run on ci
vlad-dargel Feb 2, 2023
2fea132
Update .circleci and refactor code
nmammadli Feb 2, 2023
b078fac
Update command-results.e2e.ts
nmammadli Feb 2, 2023
57d9cce
#RI-3935 - Rework connections timeouts
egor-zalenski Feb 2, 2023
0152458
added tests for export feature
vlad-dargel Feb 2, 2023
efcf672
fix
vlad-dargel Feb 2, 2023
a8adab6
#RI-3999 - Automatically generate SHA256 for release builds
egor-zalenski Feb 3, 2023
73bbc2d
Update config.yml
egor-zalenski Feb 3, 2023
ab5262d
Update config.yml
egor-zalenski Feb 3, 2023
46a587a
Merge pull request #1675 from RedisInsight/e2e/feature/RI-4069_client…
nmammadli Feb 3, 2023
c735e5c
#RI-3935 - Rework connections timeouts
egor-zalenski Feb 3, 2023
b69af4e
#RI-3935 - Rework connections timeouts
egor-zalenski Feb 3, 2023
efed14b
#RI-3935 - fix pr comment
egor-zalenski Feb 3, 2023
9f753e4
#RI-4134 Endpoint to test connection before action
Feb 3, 2023
0fedefd
Merge pull request #1678 from RedisInsight/bugfix/RI-4131-ssh-connect…
nmammadli Feb 3, 2023
4a9940d
add rte for tls connection
Feb 3, 2023
89af7e8
Merge pull request #1681 from RedisInsight/be/feature/RI-3935_Rework_…
egor-zalenski Feb 3, 2023
7ff0cdb
add tests for tls db
vlad-dargel Feb 3, 2023
4b5da5a
fix
vlad-dargel Feb 3, 2023
5e4f97f
fix for cert
vlad-dargel Feb 3, 2023
83046d7
#RI-3995 - add key into list
AmirAllayarovSofteq Feb 6, 2023
53d84b2
#RI-3978 - make host port editable
AmirAllayarovSofteq Feb 6, 2023
f3b8faa
RI-3978 - make host port editable
AmirAllayarovSofteq Feb 6, 2023
944a2b1
Merge branch 'feature/RI-3978_host_port_edit' of https://github.com/R…
AmirAllayarovSofteq Feb 6, 2023
b19a4f4
check tests on ci
vlad-dargel Feb 6, 2023
959cce9
#RI-4137 - hide modules column if dialog is open
rsergeenko Feb 6, 2023
88caef7
fix
vlad-dargel Feb 6, 2023
b2c0885
update for conf
vlad-dargel Feb 6, 2023
514c4fa
Merge branch 'main' into feature/RI-3904-rework-wb-module
vlad-dargel Feb 6, 2023
3d6403d
Merge pull request #1690 from RedisInsight/fe/bugfix/RI-4137
rsergeenko Feb 6, 2023
bfc7d1c
fix for crt path
vlad-dargel Feb 6, 2023
e9f65ad
Revert "Revert "Add ability to run a profile/explain right from the q…
GnaneshKunal Feb 6, 2023
172fc39
Revert "Revert "Fix comments - https://github.com/RedisInsight/RedisI…
GnaneshKunal Feb 6, 2023
c52b2cd
Revert "Revert "- Move queryProfile to parent and create a new teleme…
GnaneshKunal Feb 6, 2023
20c4b38
Revert "Revert "- Add null checks for generate profile command functi…
GnaneshKunal Feb 6, 2023
f16ae8d
RI-4101:
GnaneshKunal Feb 6, 2023
3b7f752
#RI-3978 - update tests
AmirAllayarovSofteq Feb 6, 2023
a090a64
test
vlad-dargel Feb 6, 2023
a38c81e
#RI-3935 - Rework the connection timeouts
egor-zalenski Feb 6, 2023
3d8afdf
Merge pull request #1692 from RedisInsight/fe/feature/RI-3935_Rework_…
egor-zalenski Feb 6, 2023
c9986d9
updTest
vlad-dargel Feb 6, 2023
ff2a474
Merge pull request #1682 from RedisInsight/be/feature/RI-4134-Test_th…
AmirAllayarovSofteq Feb 6, 2023
61a8df7
check certs
vlad-dargel Feb 6, 2023
e1e019a
fix for tls test
vlad-dargel Feb 6, 2023
2b3b18d
fix 2
vlad-dargel Feb 6, 2023
686b8d1
fix 3
vlad-dargel Feb 6, 2023
64c9613
Merge branch 'feature/RI-4034_Export_connections' into e2e/feature/RI…
vlad-dargel Feb 6, 2023
071acdb
fixes
vlad-dargel Feb 6, 2023
1461604
Merge pull request #1683 from RedisInsight/e2e/feature/RI-4034_Export…
vlad-dargel Feb 6, 2023
ff41432
Merge pull request #1635 from RedisInsight/feature/RI-4034_Export_con…
vlad-dargel Feb 6, 2023
4621f8a
Merge pull request #1674 from RedisInsight/feature/RI-3904-rework-wb-…
vlad-dargel Feb 6, 2023
a135ae0
#RI-4049 - Edit list after index 499 is not working
egor-zalenski Feb 7, 2023
8ca446d
#RI-3965 - Application crash when we add stream ID with 18 and more c…
egor-zalenski Feb 7, 2023
f557000
#RI-3978 - disable host and port for redisstack
AmirAllayarovSofteq Feb 7, 2023
df2cbc9
#RI-3965 - fix pr comments
egor-zalenski Feb 7, 2023
674cfcf
#RI-4067 - onboard new users
rsergeenko Feb 7, 2023
ec0ea06
added tests for connection timeout input
vlad-dargel Feb 7, 2023
0b35c67
#RI-3934 - add test connection button (#1696)
AmirAllayarovSofteq Feb 7, 2023
b13fbdd
- Resolve review comments - https://github.com/RedisInsight/RedisInsi…
GnaneshKunal Feb 7, 2023
7b7ee2c
#RI-4156 - update merge process (#1702)
AmirAllayarovSofteq Feb 8, 2023
1122973
Merge pull request #1703 from RedisInsight/feature/RI-3934-Test_the_d…
egor-zalenski Feb 8, 2023
8c21aa2
Merge pull request #1691 from RedisInsight/feature/RI-3726_profile_ex…
GnaneshKunal Feb 8, 2023
f802d81
* #RI-4155 - Timeout is displayed in milliseconds in telemetry
egor-zalenski Feb 8, 2023
96d25e4
* #RI-4151 - [FE] 'NaN' timeout by default when adding database
egor-zalenski Feb 8, 2023
70363f4
Merge pull request #1706 from RedisInsight/feature/bugfix
egor-zalenski Feb 8, 2023
d0881aa
Merge branch 'main' into feature/RI-3935_Rework_the_connection_timeouts
egor-zalenski Feb 8, 2023
6ab0f67
Merge pull request #1705 from RedisInsight/be/bugfix/RI-4155_Timeout_…
egor-zalenski Feb 8, 2023
f3ad1f4
Merge pull request #1699 from RedisInsight/e2e/feature/RI-3935_Rework…
vlad-dargel Feb 8, 2023
42ba1a2
#RI-3935 - revert SEGMENT_WRITE_KEY
egor-zalenski Feb 8, 2023
4a1121a
Merge remote-tracking branch 'origin/feature/RI-3935_Rework_the_conne…
egor-zalenski Feb 8, 2023
c30d46b
#RI-3935 - revert SEGMENT_WRITE_KEY
egor-zalenski Feb 8, 2023
923ab8d
Merge pull request #1625 from RedisInsight/feature/RI-3857_Save_key_n…
vlad-dargel Feb 8, 2023
233f015
Merge branch 'main' into feature/RI-3935_Rework_the_connection_timeouts
egor-zalenski Feb 8, 2023
26ed58d
Merge pull request #1695 from RedisInsight/fe/bugfix/RI-4049_Edit_lis…
nmammadli Feb 8, 2023
e59ad85
Merge pull request #1697 from RedisInsight/fe/bugfix/RI-3965_App_cras…
nmammadli Feb 8, 2023
6f28f37
Merge branch 'main' into fe/feature/RI-4069_client-list
rsergeenko Feb 8, 2023
2cd3c80
Merge pull request #1653 from RedisInsight/fe/feature/RI-4069_client-…
nmammadli Feb 8, 2023
085b6e9
#RI-4067 - fix telemetry, reset onboarding for new users
rsergeenko Feb 9, 2023
afac58d
#RI-4061 - add json upload
AmirAllayarovSofteq Feb 9, 2023
5ce50a9
add tests for test the database connection
vlad-dargel Feb 9, 2023
936414c
Merge pull request #1693 from RedisInsight/feature/RI-3935_Rework_the…
vlad-dargel Feb 9, 2023
214da6e
RI-3995-update slice
AmirAllayarovSofteq Feb 9, 2023
dd8f275
Merge pull request #1714 from RedisInsight/e2e/feature/RI-3934_Test-t…
vlad-dargel Feb 9, 2023
72acbec
Merge branch 'main' into feature/RI-3934-Test_the_database_connection
vlad-dargel Feb 9, 2023
ccefa72
Merge pull request #1715 from RedisInsight/feature/RI-3934-Test_the_d…
vlad-dargel Feb 9, 2023
73be9c7
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight i…
AmirAllayarovSofteq Feb 9, 2023
c7de692
#RI-3995 - resolve comments
AmirAllayarovSofteq Feb 9, 2023
658259a
#RI-3991 add sentinel tests + change sentinel RTE to be pass protecte…
Feb 9, 2023
afd3a19
#RI-4157 - reset context on edit (#1704)
AmirAllayarovSofteq Feb 9, 2023
e67d6a3
##RI-3995 - resolve comments
AmirAllayarovSofteq Feb 9, 2023
4d18350
#RI-3978 - fix telemetry
AmirAllayarovSofteq Feb 9, 2023
3ceb0ee
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight i…
AmirAllayarovSofteq Feb 9, 2023
3b0d930
fix tests for database import
Feb 9, 2023
d3de26d
Merge branch 'main' into build/sha256
egor-zalenski Feb 9, 2023
9f4d401
try to ignore error from the `docker network rm`
Feb 9, 2023
97cb8a7
check nightly tests
Feb 9, 2023
03f3ba5
#RI-4067 - add tests, update titles
rsergeenko Feb 9, 2023
abe2c92
#RI-3995 - fix test
AmirAllayarovSofteq Feb 9, 2023
9a14f96
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight i…
AmirAllayarovSofteq Feb 9, 2023
f22eef9
#RI-3995 - resolve comments
AmirAllayarovSofteq Feb 9, 2023
0bd2356
#RI-3999 - changed from common json to separated sha256 files
egor-zalenski Feb 9, 2023
4f2de2d
#RI-3999 - changed from common json to separated sha256 files
egor-zalenski Feb 9, 2023
b9f9b82
Merge pull request #1648 from RedisInsight/fe/feature/RI-4021_Telemetry
vlad-dargel Feb 9, 2023
7da39c8
#RI-4061 - update styles
AmirAllayarovSofteq Feb 9, 2023
b58f073
#RI-3999 - changed from common json to separated sha256 files
egor-zalenski Feb 9, 2023
f3be094
#RI-3995 - fix interface test
AmirAllayarovSofteq Feb 9, 2023
15be413
try to connect to tests instance by IP to not try to resolve DNS name…
Feb 9, 2023
2e03fff
#RI-4061 - update styles
AmirAllayarovSofteq Feb 9, 2023
e3d646a
#RI-3999 - changed from common json to separated sha256 files
egor-zalenski Feb 9, 2023
6b63345
rollback circleci.yml
Feb 9, 2023
3bdcf7f
Merge pull request #1717 from RedisInsight/nightly-test
Feb 9, 2023
0750b76
Updated config.yml
egor-zalenski Feb 9, 2023
5b32051
Update sum_sha256.sh
egor-zalenski Feb 9, 2023
5d1c800
Merge pull request #1716 from RedisInsight/feature/RI-3991-Revise_sen…
Feb 9, 2023
33c8915
#RI-4166 - add replacer to exporting databases json
rsergeenko Feb 9, 2023
3f73c80
- Properly parse tags
GnaneshKunal Feb 9, 2023
3215513
Merge pull request #1718 from RedisInsight/fe/bugfix/RI-4166
vlad-dargel Feb 9, 2023
3ae624b
Merge pull request #1680 from RedisInsight/build/sha256
egor-zalenski Feb 10, 2023
99476f2
Add onbarding steps tests
nmammadli Feb 10, 2023
4366852
add test for changed port context
vlad-dargel Feb 10, 2023
68c2756
Merge pull request #1724 from RedisInsight/e2e/feature/RI-3978_port-edit
vlad-dargel Feb 10, 2023
9743e53
Merge pull request #1689 from RedisInsight/feature/RI-3978_host_port_…
vlad-dargel Feb 10, 2023
44df2b9
Refactor
nmammadli Feb 10, 2023
1dcba56
Merge pull request #1723 from RedisInsight/e2e/feature/RI-4067_onboar…
nmammadli Feb 10, 2023
5bda338
Merge pull request #1698 from RedisInsight/fe/feature/RI-4067_onboard…
nmammadli Feb 10, 2023
c4ffe2c
#RI-4174 - remove recommendations highlighting
rsergeenko Feb 10, 2023
4b12511
fixes for failed regression tests
vlad-dargel Feb 10, 2023
1d72e53
fix
vlad-dargel Feb 10, 2023
6c8353d
#RI-4133 - remove notification in /overview
AmirAllayarovSofteq Feb 12, 2023
ec2b91d
Merge pull request #1726 from RedisInsight/e2e/bugfix/regression-fixes
vlad-dargel Feb 12, 2023
3109fce
Merge pull request #1719 from RedisInsight/fe/bugfix-RI-3726_profile_…
GnaneshKunal Feb 13, 2023
6df66e0
#RI-4132 add workaround for displaying logical database switcher for …
Feb 13, 2023
43e9dc8
Merge pull request #1725 from RedisInsight/fe/feature/RI-4174_remove-…
vlad-dargel Feb 13, 2023
711f7b6
Merge pull request #1728 from RedisInsight/fe/feature/RI-4133_overvie…
vlad-dargel Feb 13, 2023
cea2348
update for hset command test
vlad-dargel Feb 13, 2023
ddd9803
#RI-4132 - fix database service test
AmirAllayarovSofteq Feb 14, 2023
36b9992
Merge pull request #1731 from RedisInsight/be/bugfix/RI-4132-logical-…
Feb 14, 2023
b2d9d7a
Merge pull request #1732 from RedisInsight/e2e/bugfix/update-for-test…
vlad-dargel Feb 14, 2023
a46ba13
added coverage threshold and tests
egor-zalenski Feb 14, 2023
9a5061d
Update package.json
egor-zalenski Feb 14, 2023
d1a7ae1
added coverage threshold and tests
egor-zalenski Feb 14, 2023
4369cb5
added coverage threshold and tests
egor-zalenski Feb 14, 2023
841fc37
added coverage threshold and tests
egor-zalenski Feb 14, 2023
375bff6
added coverage threshold and tests
egor-zalenski Feb 14, 2023
684ad96
added coverage threshold and tests
egor-zalenski Feb 14, 2023
2ed91c8
added coverage threshold and tests
egor-zalenski Feb 14, 2023
63deec2
added coverage threshold and tests
egor-zalenski Feb 14, 2023
84014cf
FIX RI-4187: run query profile function inside a closure to avoid unn…
GnaneshKunal Feb 14, 2023
a9c15c8
added coverage threshold and tests
egor-zalenski Feb 14, 2023
9c2b3f6
added coverage threshold and tests
egor-zalenski Feb 14, 2023
fb68856
remove coverage threshold
egor-zalenski Feb 14, 2023
318017a
add test for https://redislabs.atlassian.net/browse/RI-3995
nmammadli Feb 14, 2023
3e50d94
Merge pull request #1737 from RedisInsight/feature/coverage_threshold
egor-zalenski Feb 14, 2023
da2b047
Move back handle query profile implementation outside
GnaneshKunal Feb 14, 2023
402dfd4
wrap `profileType` in brackets
GnaneshKunal Feb 14, 2023
3d3d102
Merge pull request #1736 from RedisInsight/fe/bugfix-RI-3726_profile_…
GnaneshKunal Feb 14, 2023
6420582
- Allow RediSearch plugin to also display Profile command data.
GnaneshKunal Feb 15, 2023
0104b41
Allow redisearch module to show aggregate profile results as well
GnaneshKunal Feb 15, 2023
9361692
Merge pull request #1739 from RedisInsight/fe/bugfix-RI-4101
GnaneshKunal Feb 15, 2023
f25bee3
Merge branch 'main' into bugfix/RI-4132-logical-db-control-is-not-dis…
vlad-dargel Feb 15, 2023
8bf0f9e
Merge pull request #1734 from RedisInsight/bugfix/RI-4132-logical-db-…
vlad-dargel Feb 15, 2023
da4194d
#RI-4061 - resolve comments
AmirAllayarovSofteq Feb 15, 2023
774d570
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight i…
AmirAllayarovSofteq Feb 15, 2023
dbdb2ac
Add support for geo command
GnaneshKunal Feb 15, 2023
077d99e
#RI-4061 - resolve comments
AmirAllayarovSofteq Feb 15, 2023
0812da5
#RI-4061 - remove deprecated code
AmirAllayarovSofteq Feb 15, 2023
32bb07a
Merge pull request #1740 from RedisInsight/fe/bugfix/RI-3726_profile_…
GnaneshKunal Feb 16, 2023
e961742
add step for verifying after refresh
nmammadli Feb 16, 2023
dac16c8
Update add-keys.e2e.ts
nmammadli Feb 16, 2023
7d4095b
Merge pull request #1738 from RedisInsight/e2e/feature/RI-3995_add_keys
nmammadli Feb 16, 2023
ae2da12
#RI-4177 - remove port from telemetry event
AmirAllayarovSofteq Feb 16, 2023
c6c13e6
#RI-4178-4189 - update text content
AmirAllayarovSofteq Feb 16, 2023
6531c99
Merge pull request #1713 from RedisInsight/feature/RI-3995_add_keys
nmammadli Feb 16, 2023
22228ac
#RI-4070 - Add FT.INFO index for onboarding
rsergeenko Feb 16, 2023
ea92929
Separate out FT.PROFILE and other search commands and set the default
GnaneshKunal Feb 16, 2023
28b3692
Merge pull request #1747 from RedisInsight/fe/bugfix-RI-3726_profile_…
GnaneshKunal Feb 16, 2023
6af10ee
#RI-4188 add redisearch 2.6.5 for redis 7.0.6 oss cluster
Feb 17, 2023
cbf4edf
Merge pull request #1749 from RedisInsight/feature/RI-4188-add_rs_2.6…
nmammadli Feb 17, 2023
df96e56
add test for https://redislabs.atlassian.net/browse/RI-4061
nmammadli Feb 17, 2023
c48f913
Update fixture name
nmammadli Feb 17, 2023
b1f7a4a
#RI-4139 - Update visualizations when there is no data to visualize (…
rsergeenko Feb 17, 2023
d52987b
Merge pull request #1750 from RedisInsight/e2e/feature/RI-4061_upload…
nmammadli Feb 17, 2023
bd801f9
Merge pull request #1741 from RedisInsight/fe/feature/RI-4061_upload_…
nmammadli Feb 17, 2023
3e0e5f5
Merge pull request #1745 from RedisInsight/fe/feature/RI-4178-4189_up…
vlad-dargel Feb 17, 2023
a37456e
Merge pull request #1744 from RedisInsight/be/bugfix/RI-4177_remove_p…
vlad-dargel Feb 17, 2023
05b41f2
add test for https://redislabs.atlassian.net/browse/RI-4070
nmammadli Feb 18, 2023
8d3cfeb
- Add port support which distinguishes when the node has multiple out…
GnaneshKunal Feb 18, 2023
0d6025a
Define edge colors
GnaneshKunal Feb 18, 2023
61d00c9
delete .only
nmammadli Feb 20, 2023
6803bb4
Move node/edge colors to constants
GnaneshKunal Feb 20, 2023
030d848
Add standalone-2
nmammadli Feb 20, 2023
b6c9cc5
updates
vlad-dargel Feb 20, 2023
90f7c0e
Merge pull request #1758 from RedisInsight/e2e/feature/RI-4070_onboar…
vlad-dargel Feb 20, 2023
4135372
Merge pull request #1746 from RedisInsight/fe/feature/RI-4070_onboard…
vlad-dargel Feb 20, 2023
0513821
update app version to 2.20.0
vlad-dargel Feb 20, 2023
071d704
Merge pull request #1761 from RedisInsight/bugfix/update-version-to-2-20
vlad-dargel Feb 20, 2023
6e92a4f
Merge pull request #1760 from RedisInsight/main
vlad-dargel Feb 20, 2023
b6889af
Merge pull request #1754 from RedisInsight/fe/bugfix-RI-3726_profile_…
GnaneshKunal Feb 21, 2023
53d1b6c
fix UI tests
egor-zalenski Feb 21, 2023
6a2a8a4
Merge pull request #1763 from RedisInsight/fe/fix_ui_tests
egor-zalenski Feb 21, 2023
de26fa6
Merge pull request #1764 from RedisInsight/main
vlad-dargel Feb 21, 2023
2a86aa3
#RI-4210 - Fields/Members from Hash/Set keys with some special charac…
egor-zalenski Feb 21, 2023
a79101d
Merge pull request #1766 from RedisInsight/fe/bugfix/RI-4210_Special_…
vlad-dargel Feb 21, 2023
5882ba5
split prod web js bundle to chunks
egor-zalenski Feb 22, 2023
9aea5cd
Merge pull request #1767 from RedisInsight/fe_build_chunks
egor-zalenski Feb 22, 2023
b7f0070
#RI-4216 add redisearch module with coordinator
Feb 22, 2023
a217cde
#RI-4216 add redisearch module with coordinator
Feb 22, 2023
8eb0240
#RI-4216 add redisearch module with coordinator
Feb 22, 2023
7d5bd48
#RI-4217-4219 - update styles
AmirAllayarovSofteq Feb 22, 2023
f4922c8
#RI-4217 - update styles
AmirAllayarovSofteq Feb 23, 2023
83e6068
#RI-4219 - update icon styles
AmirAllayarovSofteq Feb 23, 2023
730633b
Merge pull request #1772 from RedisInsight/bugfix/RI-4217-4219_update…
vlad-dargel Feb 23, 2023
c515cb9
- Add support for parsing fuzzy output
GnaneshKunal Feb 23, 2023
ff6b6a3
Parse additional aggregate coordinator info
GnaneshKunal Feb 23, 2023
0ab7363
Merge pull request #1777 from RedisInsight/fe/bugfix-RI-3726_profile_…
GnaneshKunal Feb 24, 2023
9eb38af
Merge pull request #1770 from RedisInsight/feature/RI-4216-Set_up_a_t…
nmammadli Feb 24, 2023
63c840f
Merge remote-tracking branch 'origin/main' into fe/RI-3726_profile_ex…
GnaneshKunal Feb 24, 2023
f3ed15d
Merge pull request #1779 from RedisInsight/fe/RI-3726_profile_explain…
GnaneshKunal Feb 25, 2023
44bff8f
- Remove edge target marker
GnaneshKunal Feb 26, 2023
ea5c9b9
Use redisinsight-plugin-sdk's formatReply to show not support for
GnaneshKunal Feb 26, 2023
99bf838
#RI-4218 - change box-shadow for popovers
rsergeenko Feb 27, 2023
3ab4d54
Add missing 'onQueryProfile' retrieval from props
GnaneshKunal Feb 27, 2023
8f05153
Merge pull request #1784 from RedisInsight/fe/bugfix/RI-4218
vlad-dargel Feb 27, 2023
da0ce13
fix client list index.html, update dependencies
rsergeenko Feb 27, 2023
49583ee
fix pr comments
rsergeenko Feb 27, 2023
75f918f
Merge pull request #1788 from RedisInsight/fix-client-list
rsergeenko Feb 27, 2023
c59aad9
- Use exampd parser to parse tag expressions as well.
GnaneshKunal Feb 27, 2023
9ad92ec
Add support for displaying number types
GnaneshKunal Feb 27, 2023
900c016
- Add parsing of WILDCARD_EMPTY response
GnaneshKunal Feb 27, 2023
481a8f8
Build RI-explain command
GnaneshKunal Feb 28, 2023
8f78558
Fix bottom height to show up scrollbar
GnaneshKunal Feb 28, 2023
d77109d
#RI-4244 - fix workbench icon issue
AmirAllayarovSofteq Feb 28, 2023
98bf81b
Merge pull request #1790 from RedisInsight/fe/bugfix/RI-4244_workbenc…
vlad-dargel Feb 28, 2023
a4c5c79
Merge pull request #1781 from RedisInsight/fe/bugfix/RI-3726_profile_…
vlad-dargel Feb 28, 2023
095126b
Merge branch 'main' into feature/RI-3726_profile_explain
rsergeenko Feb 28, 2023
2356f06
fix for error with start service oss-standalone-v5
vlad-dargel Feb 28, 2023
a1b0c54
Merge pull request #1792 from RedisInsight/e2e/bugfix/fix-for-ci-error
vlad-dargel Feb 28, 2023
80f6d17
update for json get hint
vlad-dargel Feb 28, 2023
31d46aa
Merge pull request #1791 from RedisInsight/feature/RI-3726_profile_ex…
vlad-dargel Feb 28, 2023
02eeeb7
Merge pull request #1793 from RedisInsight/e2e/bugfix/fixes-for-faile…
vlad-dargel Feb 28, 2023
e6afb3e
Merge pull request #1794 from RedisInsight/main
vlad-dargel Feb 28, 2023
a0c694a
update for copyright
vlad-dargel Mar 1, 2023
3ff867e
upd
vlad-dargel Mar 1, 2023
8a884d9
update
vlad-dargel Mar 1, 2023
0fc62b3
Merge pull request #1798 from RedisInsight/bugfix/update-copyright
vlad-dargel Mar 1, 2023
f0fbc93
#RI-4244 - update query card styles
AmirAllayarovSofteq Mar 1, 2023
daa8ead
Merge pull request #1799 from RedisInsight/fe/bugfix/RI-4244_workbenc…
vlad-dargel Mar 1, 2023
3626099
Merge pull request #1800 from RedisInsight/main
vlad-dargel Mar 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ jobs:
runtime/org.freedesktop.Platform/x86_64/20.08 \
org.electronjs.Electron2.BaseApp/x86_64/20.08

yarn --cwd redisinsight/api/ install
yarn --cwd redisinsight/api/ install --ignore-optional
yarn --cwd redisinsight/ install --ignore-optional
yarn install
yarn build:statics
no_output_timeout: 15m
Expand Down Expand Up @@ -724,8 +725,11 @@ jobs:
name: publish
command: |
rm release/._* ||:
chmod +x .circleci/redisstack/sum_sha256.sh
.circleci/redisstack/sum_sha256.sh
applicationVersion=$(jq -r '.version' redisinsight/package.json)
aws s3 cp release/ s3://${AWS_BUCKET_NAME_TEST}/public/rs-ri-builds/${CIRCLE_BUILD_NUM} --recursive --exclude "*.json"

aws s3 cp release/ s3://${AWS_BUCKET_NAME_TEST}/public/rs-ri-builds/${CIRCLE_BUILD_NUM} --recursive

release-aws-private:
executor: linux-executor
Expand All @@ -743,9 +747,11 @@ jobs:
- run:
name: publish
command: |
chmod +x .circleci/redisstack/sum_sha256.sh
.circleci/redisstack/sum_sha256.sh
applicationVersion=$(jq -r '.version' redisinsight/package.json)

aws s3 cp release/ s3://${AWS_BUCKET_NAME}/private/${applicationVersion} --recursive --exclude "*.json"
aws s3 cp release/ s3://${AWS_BUCKET_NAME}/private/${applicationVersion} --recursive

publish-prod-aws:
executor: linux-executor
Expand Down
8 changes: 8 additions & 0 deletions .circleci/redisstack/sum_sha256.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

cd ./release/redisstack

for f in *.tar.gz; do
sha256sum "$f" > "$f.sha256"
done
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.idea
.vscode
.circleci
.docker

coverage
dll
Expand Down
4 changes: 4 additions & 0 deletions configs/webpack.config.main.prod.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { toString } from 'lodash'
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import DeleteSourceMaps from '../scripts/DeleteSourceMaps';
Expand Down Expand Up @@ -69,6 +70,9 @@ export default merge(baseConfig, {
APP_VERSION: version,
AWS_BUCKET_NAME: 'AWS_BUCKET_NAME' in process.env ? process.env.AWS_BUCKET_NAME : '',
SEGMENT_WRITE_KEY: 'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),
],

Expand Down
4 changes: 4 additions & 0 deletions configs/webpack.config.main.stage.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import { toString } from 'lodash'
import mainProdConfig from './webpack.config.main.prod.babel';
import DeleteSourceMaps from '../scripts/DeleteSourceMaps';
import { version } from '../redisinsight/package.json';
Expand Down Expand Up @@ -29,6 +30,9 @@ export default merge(mainProdConfig, {
APP_VERSION: version,
AWS_BUCKET_NAME: 'AWS_BUCKET_NAME' in process.env ? process.env.AWS_BUCKET_NAME : '',
SEGMENT_WRITE_KEY: 'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),
],
});
4 changes: 4 additions & 0 deletions configs/webpack.config.renderer.dev.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { spawn } from 'child_process';
import { toString } from 'lodash'
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
import baseConfig from './webpack.config.base';
Expand Down Expand Up @@ -215,6 +216,9 @@ export default merge(baseConfig, {
APP_VERSION: version,
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),

new webpack.LoaderOptionsPlugin({
Expand Down
6 changes: 5 additions & 1 deletion configs/webpack.config.renderer.dev.dll.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import webpack from 'webpack';
import path from 'path';
import { merge } from 'webpack-merge';
import { toString } from 'lodash'
import baseConfig from './webpack.config.base';
import { dependencies } from '../package.json';
import { dependencies as dependenciesApi } from '../redisinsight/package.json';
Expand Down Expand Up @@ -54,7 +55,10 @@ export default merge(baseConfig, {
SCAN_TREE_COUNT_DEFAULT: '10000',
PIPELINE_COUNT_DEFAULT: '5',
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),

new webpack.LoaderOptionsPlugin({
Expand Down
6 changes: 5 additions & 1 deletion configs/webpack.config.renderer.prod.babel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import path from 'path';
import webpack from 'webpack';
import { toString } from 'lodash'
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
Expand Down Expand Up @@ -200,7 +201,10 @@ export default merge(baseConfig, {
SCAN_TREE_COUNT_DEFAULT: '10000',
PIPELINE_COUNT_DEFAULT: '5',
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),

new MiniCssExtractPlugin({
Expand Down
4 changes: 4 additions & 0 deletions configs/webpack.config.renderer.stage.babel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { toString } from 'lodash'
import baseConfig from './webpack.config.base';
import rendererProdConfig from './webpack.config.renderer.prod.babel';
import DeleteSourceMaps from '../scripts/DeleteSourceMaps';
Expand All @@ -23,6 +24,9 @@ export default merge(baseConfig, {
SCAN_COUNT_MEMORY_ANALYSES: '10000',
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),
],
});
4 changes: 4 additions & 0 deletions configs/webpack.config.web.dev.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import ip from 'ip';
import { toString } from 'lodash'
import commonConfig from './webpack.config.web.common.babel';

function employCache(loaders) {
Expand Down Expand Up @@ -209,6 +210,9 @@ export default merge(commonConfig, {
SCAN_TREE_COUNT_DEFAULT: '10000',
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000),
}),

new webpack.LoaderOptionsPlugin({
Expand Down
35 changes: 34 additions & 1 deletion configs/webpack.config.web.prod.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { merge } from 'webpack-merge';
import { resolve } from 'path';
import webpack from 'webpack';
import { toString } from 'lodash'
import TerserPlugin from 'terser-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
Expand All @@ -24,9 +25,10 @@ export default merge(commonConfig, {
target: 'web',
entry: ['regenerator-runtime/runtime', './index.tsx'],
output: {
filename: 'js/bundle.[fullhash].min.js',
filename: 'js/bundle.[name].min.js',
path: resolve(__dirname, '../redisinsight/ui/dist'),
publicPath: '/',
chunkFilename: '[id].[chunkhash].js'
},
optimization: {
minimize: true,
Expand All @@ -36,6 +38,34 @@ export default merge(commonConfig, {
}),
new CssMinimizerPlugin(),
],
runtimeChunk: 'single',
splitChunks: {
chunks: 'all',
maxInitialRequests: Infinity,
minSize: 0,
cacheGroups: {
reactVendor: {
test: /[\\/]node_modules[\\/](react|react-dom)[\\/]/,
name: "reactVendor"
},
elasticVendor: {
test: /[\\/]node_modules[\\/](@elastic)[\\/]/,
name: "elasticVendor"
},
monacoVendor: {
test: /[\\/]node_modules[\\/](monaco-editor)[\\/]/,
name: "monacoVendor"
},
utilityVendor: {
test: /[\\/]node_modules[\\/](lodash)[\\/]/,
name: "utilityVendor"
},
vendor: {
test: /[\\/]node_modules[\\/](!@elastic)(!monaco-editor)(!lodash)[\\/]/,
name: "vendor"
},
},
},
},
plugins: [
new MiniCssExtractPlugin({
Expand All @@ -56,6 +86,9 @@ export default merge(commonConfig, {
PIPELINE_COUNT_DEFAULT: '5',
SEGMENT_WRITE_KEY:
'SEGMENT_WRITE_KEY' in process.env ? process.env.SEGMENT_WRITE_KEY : 'SOURCE_WRITE_KEY',
CONNECTIONS_TIMEOUT_DEFAULT: 'CONNECTIONS_TIMEOUT_DEFAULT' in process.env
? process.env.CONNECTIONS_TIMEOUT_DEFAULT
: toString(30 * 1000), // 30 sec
}),

new BundleAnalyzerPlugin({
Expand Down
2 changes: 1 addition & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "RedisInsight-v2",
"appId": "org.RedisLabs.RedisInsight-V2",
"copyright": "Copyright © 2021 Redis Ltd.",
"copyright": "Copyright © 2023 Redis Ltd.",
"files": [
"dist/",
"node_modules/",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"@types/detect-port": "^1.3.0",
"@types/electron-store": "^3.2.0",
"@types/express": "^4.17.3",
"@types/file-saver": "^2.0.5",
"@types/html-entities": "^1.3.4",
"@types/ioredis": "^4.26.0",
"@types/is-glob": "^4.0.2",
Expand Down Expand Up @@ -227,6 +228,7 @@
"electron-log": "^4.2.4",
"electron-store": "^8.0.0",
"electron-updater": "^5.0.5",
"file-saver": "^2.0.5",
"formik": "^2.2.9",
"html-entities": "^2.3.2",
"html-react-parser": "^1.2.4",
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/about-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ICON_PATH = app.isPackaged

export default {
applicationName: 'RedisInsight-v2',
applicationVersion: app.getVersion() || '2.2.0',
applicationVersion: app.getVersion() || '2.20.0',
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,
iconPath: ICON_PATH,
};
8 changes: 7 additions & 1 deletion redisinsight/api/config/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
tlsKey: process.env.SERVER_TLS_KEY,
staticContent: !!process.env.SERVER_STATIC_CONTENT || false,
buildType: process.env.BUILD_TYPE || 'ELECTRON',
appVersion: process.env.APP_VERSION || '2.0.0',
appVersion: process.env.APP_VERSION || '2.20.0',
requestTimeout: parseInt(process.env.REQUEST_TIMEOUT, 10) || 25000,
excludeRoutes: [],
excludeAuthRoutes: [],
Expand Down Expand Up @@ -144,6 +144,9 @@ export default {
database_analysis: {
maxItemsPerDb: parseInt(process.env.DATABASE_ANALYSIS_MAX_ITEMS_PER_DB, 10) || 5,
},
browser_history: {
maxItemsPerModeInDb: parseInt(process.env.BROWSER_HISTORY_MAX_ITEMS_PER_MODE_IN_DB, 10) || 10,
},
commands: [
{
name: 'main',
Expand Down Expand Up @@ -186,6 +189,9 @@ export default {
|| 'https://raw.githubusercontent.com/RedisBloom/RedisBloom/master/commands.json',
},
],
connections: {
timeout: parseInt(process.env.CONNECTIONS_TIMEOUT_DEFAULT, 10) || 30 * 1_000 // 30 sec
},
redisStack: {
id: process.env.BUILD_TYPE === 'REDIS_STACK' ? process.env.REDIS_STACK_DATABASE_ID || 'redis-stack' : undefined,
name: process.env.REDIS_STACK_DATABASE_NAME,
Expand Down
2 changes: 2 additions & 0 deletions redisinsight/api/config/ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { CaCertificateEntity } from 'src/modules/certificate/entities/ca-certifi
import { ClientCertificateEntity } from 'src/modules/certificate/entities/client-certificate.entity';
import { DatabaseEntity } from 'src/modules/database/entities/database.entity';
import { SshOptionsEntity } from 'src/modules/ssh/entities/ssh-options.entity';
import { BrowserHistoryEntity } from 'src/modules/browser/entities/browser-history.entity';
import migrations from '../migration';
import * as config from '../src/utils/config';

Expand All @@ -32,6 +33,7 @@ const ormConfig = {
PluginStateEntity,
NotificationEntity,
DatabaseAnalysisEntity,
BrowserHistoryEntity,
SshOptionsEntity,
],
migrations,
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/api/config/swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
info: {
title: 'RedisInsight Backend API',
description: 'RedisInsight Backend API',
version: '2.0.0',
version: '2.20.0',
},
tags: [],
};
Expand Down
34 changes: 34 additions & 0 deletions redisinsight/api/migration/1674539211397-browser-history.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { MigrationInterface, QueryRunner } from "typeorm";

export class browserHistory1674539211397 implements MigrationInterface {
name = 'browserHistory1674539211397'

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`CREATE TABLE "browser_history" ("id" varchar PRIMARY KEY NOT NULL, "databaseId" varchar NOT NULL, "filter" blob, "mode" varchar, "encryption" varchar, "createdAt" datetime NOT NULL DEFAULT (datetime('now')))`);
await queryRunner.query(`CREATE INDEX "IDX_d0fb08df31bf1a930aeb4d8862" ON "browser_history" ("databaseId") `);
await queryRunner.query(`CREATE INDEX "IDX_f3780aa1d0b977219e40db27e0" ON "browser_history" ("createdAt") `);
await queryRunner.query(`DROP INDEX "IDX_d0fb08df31bf1a930aeb4d8862"`);
await queryRunner.query(`DROP INDEX "IDX_f3780aa1d0b977219e40db27e0"`);
await queryRunner.query(`CREATE TABLE "temporary_browser_history" ("id" varchar PRIMARY KEY NOT NULL, "databaseId" varchar NOT NULL, "filter" blob, "mode" varchar, "encryption" varchar, "createdAt" datetime NOT NULL DEFAULT (datetime('now')), CONSTRAINT "FK_d0fb08df31bf1a930aeb4d8862e" FOREIGN KEY ("databaseId") REFERENCES "database_instance" ("id") ON DELETE CASCADE ON UPDATE NO ACTION)`);
await queryRunner.query(`INSERT INTO "temporary_browser_history"("id", "databaseId", "filter", "mode", "encryption", "createdAt") SELECT "id", "databaseId", "filter", "mode", "encryption", "createdAt" FROM "browser_history"`);
await queryRunner.query(`DROP TABLE "browser_history"`);
await queryRunner.query(`ALTER TABLE "temporary_browser_history" RENAME TO "browser_history"`);
await queryRunner.query(`CREATE INDEX "IDX_d0fb08df31bf1a930aeb4d8862" ON "browser_history" ("databaseId") `);
await queryRunner.query(`CREATE INDEX "IDX_f3780aa1d0b977219e40db27e0" ON "browser_history" ("createdAt") `);
}

public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`DROP INDEX "IDX_f3780aa1d0b977219e40db27e0"`);
await queryRunner.query(`DROP INDEX "IDX_d0fb08df31bf1a930aeb4d8862"`);
await queryRunner.query(`ALTER TABLE "browser_history" RENAME TO "temporary_browser_history"`);
await queryRunner.query(`CREATE TABLE "browser_history" ("id" varchar PRIMARY KEY NOT NULL, "databaseId" varchar NOT NULL, "filter" blob, "mode" varchar, "encryption" varchar, "createdAt" datetime NOT NULL DEFAULT (datetime('now')))`);
await queryRunner.query(`INSERT INTO "browser_history"("id", "databaseId", "filter", "mode", "encryption", "createdAt") SELECT "id", "databaseId", "filter", "mode", "encryption", "createdAt" FROM "temporary_browser_history"`);
await queryRunner.query(`DROP TABLE "temporary_browser_history"`);
await queryRunner.query(`CREATE INDEX "IDX_f3780aa1d0b977219e40db27e0" ON "browser_history" ("createdAt") `);
await queryRunner.query(`CREATE INDEX "IDX_d0fb08df31bf1a930aeb4d8862" ON "browser_history" ("databaseId") `);
await queryRunner.query(`DROP INDEX "IDX_f3780aa1d0b977219e40db27e0"`);
await queryRunner.query(`DROP INDEX "IDX_d0fb08df31bf1a930aeb4d8862"`);
await queryRunner.query(`DROP TABLE "browser_history"`);
}

}
20 changes: 20 additions & 0 deletions redisinsight/api/migration/1675398140189-database-timeout.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { MigrationInterface, QueryRunner } from "typeorm";

export class databaseTimeout1675398140189 implements MigrationInterface {
name = 'databaseTimeout1675398140189'

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`CREATE TABLE "temporary_database_instance" ("id" varchar PRIMARY KEY NOT NULL, "host" varchar NOT NULL, "port" integer NOT NULL, "name" varchar NOT NULL, "username" varchar, "password" varchar, "tls" boolean, "verifyServerCert" boolean, "lastConnection" datetime, "caCertId" varchar, "clientCertId" varchar, "connectionType" varchar NOT NULL DEFAULT ('STANDALONE'), "nodes" varchar DEFAULT ('[]'), "nameFromProvider" varchar, "sentinelMasterName" varchar, "sentinelMasterUsername" varchar, "sentinelMasterPassword" varchar, "provider" varchar DEFAULT ('UNKNOWN'), "modules" varchar NOT NULL DEFAULT ('[]'), "db" integer, "encryption" varchar, "tlsServername" varchar, "new" boolean, "ssh" boolean, "timeout" integer, CONSTRAINT "FK_3b9b625266c00feb2d66a9f36e4" FOREIGN KEY ("clientCertId") REFERENCES "client_certificate" ("id") ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT "FK_d1bc747b5938e22b4b708d8e9a5" FOREIGN KEY ("caCertId") REFERENCES "ca_certificate" ("id") ON DELETE SET NULL ON UPDATE NO ACTION)`);
await queryRunner.query(`INSERT INTO "temporary_database_instance"("id", "host", "port", "name", "username", "password", "tls", "verifyServerCert", "lastConnection", "caCertId", "clientCertId", "connectionType", "nodes", "nameFromProvider", "sentinelMasterName", "sentinelMasterUsername", "sentinelMasterPassword", "provider", "modules", "db", "encryption", "tlsServername", "new", "ssh") SELECT "id", "host", "port", "name", "username", "password", "tls", "verifyServerCert", "lastConnection", "caCertId", "clientCertId", "connectionType", "nodes", "nameFromProvider", "sentinelMasterName", "sentinelMasterUsername", "sentinelMasterPassword", "provider", "modules", "db", "encryption", "tlsServername", "new", "ssh" FROM "database_instance"`);
await queryRunner.query(`DROP TABLE "database_instance"`);
await queryRunner.query(`ALTER TABLE "temporary_database_instance" RENAME TO "database_instance"`);
}

public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "database_instance" RENAME TO "temporary_database_instance"`);
await queryRunner.query(`CREATE TABLE "database_instance" ("id" varchar PRIMARY KEY NOT NULL, "host" varchar NOT NULL, "port" integer NOT NULL, "name" varchar NOT NULL, "username" varchar, "password" varchar, "tls" boolean, "verifyServerCert" boolean, "lastConnection" datetime, "caCertId" varchar, "clientCertId" varchar, "connectionType" varchar NOT NULL DEFAULT ('STANDALONE'), "nodes" varchar DEFAULT ('[]'), "nameFromProvider" varchar, "sentinelMasterName" varchar, "sentinelMasterUsername" varchar, "sentinelMasterPassword" varchar, "provider" varchar DEFAULT ('UNKNOWN'), "modules" varchar NOT NULL DEFAULT ('[]'), "db" integer, "encryption" varchar, "tlsServername" varchar, "new" boolean, "ssh" boolean, CONSTRAINT "FK_3b9b625266c00feb2d66a9f36e4" FOREIGN KEY ("clientCertId") REFERENCES "client_certificate" ("id") ON DELETE SET NULL ON UPDATE NO ACTION, CONSTRAINT "FK_d1bc747b5938e22b4b708d8e9a5" FOREIGN KEY ("caCertId") REFERENCES "ca_certificate" ("id") ON DELETE SET NULL ON UPDATE NO ACTION)`);
await queryRunner.query(`INSERT INTO "database_instance"("id", "host", "port", "name", "username", "password", "tls", "verifyServerCert", "lastConnection", "caCertId", "clientCertId", "connectionType", "nodes", "nameFromProvider", "sentinelMasterName", "sentinelMasterUsername", "sentinelMasterPassword", "provider", "modules", "db", "encryption", "tlsServername", "new", "ssh") SELECT "id", "host", "port", "name", "username", "password", "tls", "verifyServerCert", "lastConnection", "caCertId", "clientCertId", "connectionType", "nodes", "nameFromProvider", "sentinelMasterName", "sentinelMasterUsername", "sentinelMasterPassword", "provider", "modules", "db", "encryption", "tlsServername", "new", "ssh" FROM "temporary_database_instance"`);
await queryRunner.query(`DROP TABLE "temporary_database_instance"`);
}

}
Loading