From 4281487b07b9f417bea403ef810c3d99817b8a0d Mon Sep 17 00:00:00 2001 From: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com> Date: Mon, 23 Oct 2023 08:53:56 -0700 Subject: [PATCH] run copywrite headers (#23788) --- sdk/logical/request_test.go | 3 +++ ui/app/components/loading-dropdown-option.hbs | 5 +++++ ui/app/components/resultant-acl-banner.hbs | 5 +++++ ui/app/components/resultant-acl-banner.js | 5 +++++ ui/app/utils/openapi-helpers.ts | 5 +++++ ui/tests/acceptance/open-api-path-help-test.js | 5 +++++ ui/tests/helpers/openapi/auth-model-attributes.js | 5 +++++ ui/tests/helpers/openapi/secret-model-attributes.js | 5 +++++ ui/tests/helpers/openapi/test-helpers.js | 5 +++++ ui/tests/integration/components/resultant-acl-banner-test.js | 5 +++++ ui/tests/unit/utils/openapi-helpers-test.js | 5 +++++ 11 files changed, 53 insertions(+) diff --git a/sdk/logical/request_test.go b/sdk/logical/request_test.go index bb5d4bb6ad..1b07cc1b50 100644 --- a/sdk/logical/request_test.go +++ b/sdk/logical/request_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: BUSL-1.1 + package logical import ( diff --git a/ui/app/components/loading-dropdown-option.hbs b/ui/app/components/loading-dropdown-option.hbs index 8f93edc19d..3718ae3ab4 100644 --- a/ui/app/components/loading-dropdown-option.hbs +++ b/ui/app/components/loading-dropdown-option.hbs @@ -1 +1,6 @@ +{{! + Copyright (c) HashiCorp, Inc. + SPDX-License-Identifier: BUSL-1.1 +~}} + \ No newline at end of file diff --git a/ui/app/components/resultant-acl-banner.hbs b/ui/app/components/resultant-acl-banner.hbs index cdabb8f0fc..81a6833e4a 100644 --- a/ui/app/components/resultant-acl-banner.hbs +++ b/ui/app/components/resultant-acl-banner.hbs @@ -1,3 +1,8 @@ +{{! + Copyright (c) HashiCorp, Inc. + SPDX-License-Identifier: BUSL-1.1 +~}} + Resultant ACL check failed diff --git a/ui/app/components/resultant-acl-banner.js b/ui/app/components/resultant-acl-banner.js index 95b738eed3..c2a4213d70 100644 --- a/ui/app/components/resultant-acl-banner.js +++ b/ui/app/components/resultant-acl-banner.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import { service } from '@ember/service'; import Component from '@glimmer/component'; diff --git a/ui/app/utils/openapi-helpers.ts b/ui/app/utils/openapi-helpers.ts index 3e9b48aea4..5b11ab1d68 100644 --- a/ui/app/utils/openapi-helpers.ts +++ b/ui/app/utils/openapi-helpers.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import { dasherize } from '@ember/string'; import { singularize } from 'ember-inflector'; diff --git a/ui/tests/acceptance/open-api-path-help-test.js b/ui/tests/acceptance/open-api-path-help-test.js index 5c971d0641..c2fdcf36eb 100644 --- a/ui/tests/acceptance/open-api-path-help-test.js +++ b/ui/tests/acceptance/open-api-path-help-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import { module, test } from 'qunit'; import { setupApplicationTest } from 'vault/tests/helpers'; import authPage from 'vault/tests/pages/auth'; diff --git a/ui/tests/helpers/openapi/auth-model-attributes.js b/ui/tests/helpers/openapi/auth-model-attributes.js index 47ca1f61f1..50c8600005 100644 --- a/ui/tests/helpers/openapi/auth-model-attributes.js +++ b/ui/tests/helpers/openapi/auth-model-attributes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + const userpass = { user: { username: { diff --git a/ui/tests/helpers/openapi/secret-model-attributes.js b/ui/tests/helpers/openapi/secret-model-attributes.js index 346ee322d0..bc1d8493e2 100644 --- a/ui/tests/helpers/openapi/secret-model-attributes.js +++ b/ui/tests/helpers/openapi/secret-model-attributes.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + // The constants within this file represent the expected model attributes as parsed from OpenAPI // if changes are made to the OpenAPI spec, that may result in changes that must be reflected // here AND ensured to not cause breaking changes within the UI. diff --git a/ui/tests/helpers/openapi/test-helpers.js b/ui/tests/helpers/openapi/test-helpers.js index c7908e885d..04307aea4f 100644 --- a/ui/tests/helpers/openapi/test-helpers.js +++ b/ui/tests/helpers/openapi/test-helpers.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import authModelAttributes from './auth-model-attributes'; import secretModelAttributes from './secret-model-attributes'; diff --git a/ui/tests/integration/components/resultant-acl-banner-test.js b/ui/tests/integration/components/resultant-acl-banner-test.js index 67eb81b4af..63905aa269 100644 --- a/ui/tests/integration/components/resultant-acl-banner-test.js +++ b/ui/tests/integration/components/resultant-acl-banner-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import { module, test } from 'qunit'; import { setupRenderingTest } from 'vault/tests/helpers'; import { render } from '@ember/test-helpers'; diff --git a/ui/tests/unit/utils/openapi-helpers-test.js b/ui/tests/unit/utils/openapi-helpers-test.js index 5f04f047cb..0b1d8c0e26 100644 --- a/ui/tests/unit/utils/openapi-helpers-test.js +++ b/ui/tests/unit/utils/openapi-helpers-test.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: BUSL-1.1 + */ + import { module, test } from 'qunit'; import { _getPathParam, pathToHelpUrlSegment } from 'vault/utils/openapi-helpers';