Skip to content

Commit

Permalink
Hide verify-connection attribute on connection config show page (#13152)
Browse files Browse the repository at this point in the history
* Hide verify-connection attribute on connection config show page

* Add changelog
  • Loading branch information
hashishaw authored Nov 16, 2021
1 parent f93598e commit b8b0ad1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions changelog/13152.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Do not show verify connection value on database connection config page
```
18 changes: 9 additions & 9 deletions ui/app/utils/database-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -26,7 +26,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'connection_url' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'username', group: 'pluginConfig', show: false },
{ attr: 'password', group: 'pluginConfig', show: false },
Expand All @@ -44,7 +44,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'connection_url' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'username', group: 'pluginConfig', show: false },
{ attr: 'password', group: 'pluginConfig', show: false },
Expand All @@ -61,7 +61,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -81,7 +81,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -101,7 +101,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -121,7 +121,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -141,7 +141,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand All @@ -159,7 +159,7 @@ export const AVAILABLE_PLUGIN_TYPES = [
fields: [
{ attr: 'plugin_name' },
{ attr: 'name' },
{ attr: 'verify_connection' },
{ attr: 'verify_connection', show: false },
{ attr: 'password_policy' },
{ attr: 'connection_url', group: 'pluginConfig' },
{ attr: 'username', group: 'pluginConfig', show: false },
Expand Down

0 comments on commit b8b0ad1

Please sign in to comment.