Skip to content

Commit

Permalink
Remove oracle banner (#19532)
Browse files Browse the repository at this point in the history
* remove oracle banner

* add back extra test coverage for other banner

* add description
  • Loading branch information
Monkeychip authored and raymonstah committed Mar 17, 2023
1 parent e210cae commit aaf2824
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
3 changes: 0 additions & 3 deletions changelog/19019.txt

This file was deleted.

13 changes: 1 addition & 12 deletions ui/app/templates/components/database-connection.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,7 @@
{{/if}}
</div>
{{/unless}}
{{#if (eq @model.plugin_name "vault-plugin-database-oracle")}}
<AlertBanner
@type="info"
@title="Connecting using SSL or TNS Names"
@message="To create database connections using SSL or TNS names you may need to provide additional Oracle configuration files for your Vault cluster. If you have already provided these files, they may need to updated if you are creating connections to database hosts not covered by the existing configuration files."
>
<DocLink @path="/vault/docs/secrets/databases/oracle">
<Icon @name="learn-link" />
Oracle Database Secrets Engine
</DocLink>
</AlertBanner>
{{/if}}

<div class="field is-grouped is-grouped-split is-fullwidth box is-bottomless">
<div class="field is-grouped">
<div class="control">
Expand Down
7 changes: 1 addition & 6 deletions ui/tests/acceptance/secrets/backend/database/secret-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ module('Acceptance | secrets/database/*', function (hooks) {
});

test('Connection create and edit form for each plugin', async function (assert) {
assert.expect(169);
assert.expect(161);
const backend = await mount();
for (const testCase of connectionTests) {
await connectionPage.visitCreate({ backend });
Expand All @@ -293,11 +293,6 @@ module('Acceptance | secrets/database/*', function (hooks) {
testCase.requiredFields(assert, testCase.name);
continue;
}
if (testCase.plugin !== 'vault-plugin-database-oracle') {
assert
.dom('[data-test-alert-banner="alert"]')
.doesNotExist('Does not show alert-banners specific only to the Oracle db.');
}
testCase.requiredFields(assert, testCase.name);
await connectionPage.toggleVerify();
await connectionPage.save();
Expand Down

0 comments on commit aaf2824

Please sign in to comment.