mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 18:48:08 +00:00
Relplat 897 copywrite fixes for mutliple licenses (#23722)
This commit is contained in:
@@ -12,10 +12,5 @@ project {
|
|||||||
"ui/node_modules/**",
|
"ui/node_modules/**",
|
||||||
"enos/modules/k8s_deploy_vault/raft-config.hcl",
|
"enos/modules/k8s_deploy_vault/raft-config.hcl",
|
||||||
"plugins/database/postgresql/scram/**",
|
"plugins/database/postgresql/scram/**",
|
||||||
# licensed under MPL - ignoring for now until the copywrite tool can support
|
|
||||||
# multiple licenses per repo.
|
|
||||||
"sdk/**",
|
|
||||||
"api/**",
|
|
||||||
"shamir/**'"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
3
.github/.secret_scanning.yml
vendored
3
.github/.secret_scanning.yml
vendored
@@ -1,3 +1,6 @@
|
|||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.mdx' # any file ending in .mdx
|
- '**/*.mdx' # any file ending in .mdx
|
||||||
- '**/*.md' # any file ending in .md
|
- '**/*.md' # any file ending in .md
|
||||||
|
|||||||
19
.github/workflows/copywrite.yml
vendored
Normal file
19
.github/workflows/copywrite.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Check Copywrite Headers
|
||||||
|
|
||||||
|
on:
|
||||||
|
push: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
copywrite:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
||||||
|
- uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
|
||||||
|
name: Setup Copywrite
|
||||||
|
with:
|
||||||
|
version: v0.16.4
|
||||||
|
archive-checksum: c299f830e6eef7e126a3c6ef99ac6f43a3c132d830c769e0d36fa347fa1af254
|
||||||
|
- name: Check Header Compliance
|
||||||
|
run: make ci-copywriteheaders
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
9
Makefile
9
Makefile
@@ -317,3 +317,12 @@ ci-get-version-package:
|
|||||||
.PHONY: ci-prepare-legal
|
.PHONY: ci-prepare-legal
|
||||||
ci-prepare-legal:
|
ci-prepare-legal:
|
||||||
@$(CURDIR)/scripts/ci-helper.sh prepare-legal
|
@$(CURDIR)/scripts/ci-helper.sh prepare-legal
|
||||||
|
|
||||||
|
.PHONY: ci-copywriteheaders
|
||||||
|
ci-copywriteheaders:
|
||||||
|
copywrite headers --plan
|
||||||
|
# Special case for MPL headers in /api, /sdk, and /shamir
|
||||||
|
cd api && $(CURDIR)/scripts/copywrite-exceptions.sh
|
||||||
|
cd sdk && $(CURDIR)/scripts/copywrite-exceptions.sh
|
||||||
|
cd shamir && $(CURDIR)/scripts/copywrite-exceptions.sh
|
||||||
|
|
||||||
|
|||||||
8
api/.copywrite.hcl
Normal file
8
api/.copywrite.hcl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
schema_version = 1
|
||||||
|
|
||||||
|
project {
|
||||||
|
license = "MPL-2.0"
|
||||||
|
copyright_year = 2023
|
||||||
|
|
||||||
|
header_ignore = []
|
||||||
|
}
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
package audit
|
package audit
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
package schedule
|
package schedule
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package server
|
package server
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package server
|
package server
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package builtinplugins
|
package builtinplugins
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package http
|
package http
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: BUSL-1.1
|
||||||
|
|
||||||
//go:build !enterprise
|
//go:build !enterprise
|
||||||
|
|
||||||
package http
|
package http
|
||||||
|
|||||||
14
scripts/copywrite-exceptions.sh
Executable file
14
scripts/copywrite-exceptions.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Used as a stopgap for copywrite bot in MPL-licensed subdirs, detects BUSL licensed
|
||||||
|
# headers and deletes them, then runs the copywrite bot to utilize local subdir config
|
||||||
|
# to inject correct headers.
|
||||||
|
|
||||||
|
find . -type f -name '*.go' | while read line; do
|
||||||
|
if grep "SPDX-License-Identifier: BUSL-1.1" $line; then
|
||||||
|
sed -i '' '/SPDX-License-Identifier: BUSL-1.1/d' $line
|
||||||
|
sed -i '' '/Copyright (c) HashiCorp, Inc./d' $line
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
copywrite headers --plan
|
||||||
8
sdk/.copywrite.hcl
Normal file
8
sdk/.copywrite.hcl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
schema_version = 1
|
||||||
|
|
||||||
|
project {
|
||||||
|
license = "MPL-2.0"
|
||||||
|
copyright_year = 2023
|
||||||
|
|
||||||
|
header_ignore = []
|
||||||
|
}
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package testcluster
|
package testcluster
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package testcluster
|
package testcluster
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package testhelpers
|
package testhelpers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package testhelpers
|
package testhelpers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) HashiCorp, Inc.
|
||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
package logical
|
package logical
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
8
shamir/.copywrite.hcl
Normal file
8
shamir/.copywrite.hcl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
schema_version = 1
|
||||||
|
|
||||||
|
project {
|
||||||
|
license = "MPL-2.0"
|
||||||
|
copyright_year = 2023
|
||||||
|
|
||||||
|
header_ignore = []
|
||||||
|
}
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Model, { attr } from '@ember-data/model';
|
import Model, { attr } from '@ember-data/model';
|
||||||
import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities';
|
import lazyCapabilities, { apiPath } from 'vault/macros/lazy-capabilities';
|
||||||
import { withFormFields } from 'vault/decorators/model-form-fields';
|
import { withFormFields } from 'vault/decorators/model-form-fields';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
.secrets-engines-card {
|
.secrets-engines-card {
|
||||||
min-height: 480px;
|
min-height: 480px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{#if (eq @config.enabled "On")}}
|
{{#if (eq @config.enabled "On")}}
|
||||||
<EmptyState
|
<EmptyState
|
||||||
@title="No data received {{if @dateRangeMessage @dateRangeMessage}}"
|
@title="No data received {{if @dateRangeMessage @dateRangeMessage}}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="client-count">
|
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="client-count">
|
||||||
<div class="is-flex-between">
|
<div class="is-flex-between">
|
||||||
<h3 class="title is-4 has-bottom-margin-xxs" data-test-client-count-title>
|
<h3 class="title is-4 has-bottom-margin-xxs" data-test-client-count-title>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="learn-more">
|
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="learn-more">
|
||||||
<h3 class="title is-4 has-bottom-margin-xxs" data-test-learn-more-title>Learn more</h3>
|
<h3 class="title is-4 has-bottom-margin-xxs" data-test-learn-more-title>Learn more</h3>
|
||||||
<div class="sub-text" data-test-learn-more-subtext>
|
<div class="sub-text" data-test-learn-more-subtext>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Dashboard::VaultVersionTitle @version={{@version}} />
|
<Dashboard::VaultVersionTitle @version={{@version}} />
|
||||||
|
|
||||||
<div class="has-bottom-margin-xl">
|
<div class="has-bottom-margin-xl">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="quick-actions">
|
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="quick-actions">
|
||||||
<h3 class="title is-4">Quick actions</h3>
|
<h3 class="title is-4">Quick actions</h3>
|
||||||
{{#if this.filteredSecretEngines}}
|
{{#if this.filteredSecretEngines}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Card::Container
|
<Hds::Card::Container
|
||||||
@hasBorder={{true}}
|
@hasBorder={{true}}
|
||||||
class="has-padding-l {{if this.filteredSecretsEngines 'secrets-engines-card'}}"
|
class="has-padding-l {{if this.filteredSecretsEngines 'secrets-engines-card'}}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<div class="has-top-padding-xs has-bottom-padding-xs has-top-margin-m" data-test-feedback-form>
|
<div class="has-top-padding-xs has-bottom-padding-xs has-top-margin-m" data-test-feedback-form>
|
||||||
<small>
|
<small>
|
||||||
Don't see what you're looking for on this page? Let us know via our
|
Don't see what you're looking for on this page? Let us know via our
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="configuration-details">
|
<Hds::Card::Container @hasBorder={{true}} class="has-padding-l" data-test-card="configuration-details">
|
||||||
<h3 class="title is-4" data-test-dashboard-card-header="configuration">Configuration details</h3>
|
<h3 class="title is-4" data-test-dashboard-card-header="configuration">Configuration details</h3>
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.levelLeft>
|
<p.levelLeft>
|
||||||
<h1 class="title is-3" data-test-dashboard-card-header="Vault version">
|
<h1 class="title is-3" data-test-dashboard-card-header="Vault version">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Dashboard::Overview
|
<Dashboard::Overview
|
||||||
@replication={{@model.replication}}
|
@replication={{@model.replication}}
|
||||||
@secretsEngines={{@model.secretsEngines}}
|
@secretsEngines={{@model.secretsEngines}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Transform from '@ember-data/serializer/transform';
|
import Transform from '@ember-data/serializer/transform';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{! @onWrap is recommend to be a concurrency task! see <Page::Secret::Details> in KV addon for example }}
|
{{! @onWrap is recommend to be a concurrency task! see <Page::Secret::Details> in KV addon for example }}
|
||||||
<BasicDropdown @class="popup-menu" @horizontalPosition="auto-right" @verticalPosition="below" @onClose={{@onClose}} as |D|>
|
<BasicDropdown @class="popup-menu" @horizontalPosition="auto-right" @verticalPosition="below" @onClose={{@onClose}} as |D|>
|
||||||
<D.Trigger data-test-copy-menu-trigger class="toolbar-link {{if D.isOpen 'is-active'}}" @htmlTag="button">
|
<D.Trigger data-test-copy-menu-trigger class="toolbar-link {{if D.isOpen 'is-active'}}" @htmlTag="button">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<p class="control has-icons-left">
|
<p class="control has-icons-left">
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<div ...attributes>
|
<div ...attributes>
|
||||||
<ToggleButton
|
<ToggleButton
|
||||||
@isOpen={{this.showConfig}}
|
@isOpen={{this.showConfig}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
export function sanitizePath(path) {
|
export function sanitizePath(path) {
|
||||||
//remove whitespace + remove trailing and leading slashes
|
//remove whitespace + remove trailing and leading slashes
|
||||||
return path.trim().replace(/^\/+|\/+$/g, '');
|
return path.trim().replace(/^\/+|\/+$/g, '');
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
export { default } from 'core/components/copy-secret-dropdown';
|
export { default } from 'core/components/copy-secret-dropdown';
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
export { ensureTrailingSlash, sanitizePath } from 'core/utils/sanitize-path';
|
export { ensureTrailingSlash, sanitizePath } from 'core/utils/sanitize-path';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{#let (find-by "name" "path" @secret.allFields) as |attr|}}
|
{{#let (find-by "name" "path" @secret.allFields) as |attr|}}
|
||||||
{{#if @isEdit}}
|
{{#if @isEdit}}
|
||||||
<ReadonlyFormField @attr={{attr}} @value={{get @secret attr.name}} />
|
<ReadonlyFormField @attr={{attr}} @value={{get @secret attr.name}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Hds::Button
|
<Hds::Button
|
||||||
@text={{or @text (capitalize @mode)}}
|
@text={{or @text (capitalize @mode)}}
|
||||||
@color="secondary"
|
@color="secondary"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<form {{on "submit" (perform this.handleSearch)}}>
|
<form {{on "submit" (perform this.handleSearch)}}>
|
||||||
<Hds::SegmentedGroup as |S|>
|
<Hds::SegmentedGroup as |S|>
|
||||||
<S.TextInput
|
<S.TextInput
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{#each @metadata.formFields as |attr|}}
|
{{#each @metadata.formFields as |attr|}}
|
||||||
{{#if (eq attr.name "customMetadata")}}
|
{{#if (eq attr.name "customMetadata")}}
|
||||||
<FormField @attr={{attr}} @model={{@metadata}} @modelValidations={{@modelValidations}} />
|
<FormField @attr={{attr}} @model={{@metadata}} @modelValidations={{@modelValidations}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{! renders a human readable date with a tooltip containing the API timestamp}}
|
{{! renders a human readable date with a tooltip containing the API timestamp}}
|
||||||
<ToolTip @verticalPosition="above" @horizontalPosition="center" as |T|>
|
<ToolTip @verticalPosition="above" @horizontalPosition="center" as |T|>
|
||||||
<T.Trigger data-test-kv-version-tooltip-trigger tabindex="-1">
|
<T.Trigger data-test-kv-version-tooltip-trigger tabindex="-1">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<BasicDropdown @class="popup-menu" @horizontalPosition="auto-right" @verticalPosition="below" as |D|>
|
<BasicDropdown @class="popup-menu" @horizontalPosition="auto-right" @verticalPosition="below" as |D|>
|
||||||
<D.Trigger data-test-version-dropdown class="toolbar-link {{if D.isOpen ' is-active'}}">
|
<D.Trigger data-test-version-dropdown class="toolbar-link {{if D.isOpen ' is-active'}}">
|
||||||
Version
|
Version
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @mountName={{@mountConfig.id}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @mountName={{@mountConfig.id}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="list" data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
<LinkTo @route="list" data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @mountName={{@backend}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @mountName={{@backend}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route={{this.router.currentRoute.localName}} data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
<LinkTo @route={{this.router.currentRoute.localName}} data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Create New Version">
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Create New Version">
|
||||||
<:toolbarFilters>
|
<:toolbarFilters>
|
||||||
<Toggle
|
<Toggle
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Edit Secret Metadata" />
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Edit Secret Metadata" />
|
||||||
|
|
||||||
{{#if @metadata.canUpdateMetadata}}
|
{{#if @metadata.canUpdateMetadata}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Version Diff">
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Version Diff">
|
||||||
<:toolbarFilters>
|
<:toolbarFilters>
|
||||||
<span class="has-text-grey has-text-weight-semibold is-size-8">FROM:</span>
|
<span class="has-text-grey has-text-weight-semibold is-size-8">FROM:</span>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle={{@path}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
<LinkTo @route="secret.details" data-test-secrets-tab="Secret">Secret</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Create Secret">
|
<KvPageHeader @breadcrumbs={{@breadcrumbs}} @pageTitle="Create Secret">
|
||||||
<:toolbarFilters>
|
<:toolbarFilters>
|
||||||
<Toggle
|
<Toggle
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Controller from '@ember/controller';
|
import Controller from '@ember/controller';
|
||||||
|
|
||||||
export default class KvSecretDetailsController extends Controller {
|
export default class KvSecretDetailsController extends Controller {
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Route from '@ember/routing/route';
|
import Route from '@ember/routing/route';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
import { hash } from 'rsvp';
|
import { hash } from 'rsvp';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Configuration
|
<Page::Configuration
|
||||||
@engineConfig={{this.model.engineConfig}}
|
@engineConfig={{this.model.engineConfig}}
|
||||||
@mountConfig={{this.model.mountConfig}}
|
@mountConfig={{this.model.mountConfig}}
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secrets::Create @secret={{this.model.secret}} @metadata={{this.model.metadata}} @breadcrumbs={{this.breadcrumbs}} />
|
<Page::Secrets::Create @secret={{this.model.secret}} @metadata={{this.model.metadata}} @breadcrumbs={{this.breadcrumbs}} />
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<KvPageHeader @breadcrumbs={{this.breadcrumbs}} @mountName={{this.mountName}}>
|
<KvPageHeader @breadcrumbs={{this.breadcrumbs}} @mountName={{this.mountName}}>
|
||||||
<:tabLinks>
|
<:tabLinks>
|
||||||
<LinkTo @route="list" data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
<LinkTo @route="list" data-test-secrets-tab="Secrets">Secrets</LinkTo>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::List
|
<Page::List
|
||||||
@secrets={{this.model.secrets}}
|
@secrets={{this.model.secrets}}
|
||||||
@backend={{this.model.backend}}
|
@backend={{this.model.backend}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::List
|
<Page::List
|
||||||
@secrets={{this.model.secrets}}
|
@secrets={{this.model.secrets}}
|
||||||
@backend={{this.model.backend}}
|
@backend={{this.model.backend}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Edit
|
<Page::Secret::Edit
|
||||||
@secret={{this.model.newVersion}}
|
@secret={{this.model.newVersion}}
|
||||||
@previousVersion={{this.model.secret.version}}
|
@previousVersion={{this.model.secret.version}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Details
|
<Page::Secret::Details
|
||||||
@path={{this.model.path}}
|
@path={{this.model.path}}
|
||||||
@secret={{this.model.secret}}
|
@secret={{this.model.secret}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Metadata::VersionDiff
|
<Page::Secret::Metadata::VersionDiff
|
||||||
@metadata={{this.model.metadata}}
|
@metadata={{this.model.metadata}}
|
||||||
@path={{this.model.path}}
|
@path={{this.model.path}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Metadata::Edit
|
<Page::Secret::Metadata::Edit
|
||||||
@metadata={{this.model.metadata}}
|
@metadata={{this.model.metadata}}
|
||||||
@breadcrumbs={{this.breadcrumbs}}
|
@breadcrumbs={{this.breadcrumbs}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Metadata::Details
|
<Page::Secret::Metadata::Details
|
||||||
@metadata={{this.model.metadata}}
|
@metadata={{this.model.metadata}}
|
||||||
@path={{this.model.path}}
|
@path={{this.model.path}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Metadata::VersionHistory
|
<Page::Secret::Metadata::VersionHistory
|
||||||
@metadata={{this.model.metadata}}
|
@metadata={{this.model.metadata}}
|
||||||
@path={{this.model.path}}
|
@path={{this.model.path}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<Page::Secret::Paths
|
<Page::Secret::Paths
|
||||||
@path={{this.model.path}}
|
@path={{this.model.path}}
|
||||||
@backend={{this.model.backend}}
|
@backend={{this.model.backend}}
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
export { default } from 'kv/utils/kv-breadcrumbs';
|
export { default } from 'kv/utils/kv-breadcrumbs';
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
export { default } from 'kv/utils/kv-deleted';
|
export { default } from 'kv/utils/kv-deleted';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<OverviewCard
|
<OverviewCard
|
||||||
@cardTitle="Accounts checked-out"
|
@cardTitle="Accounts checked-out"
|
||||||
@subText="The accounts that are currently on lease with this token or exist in a library set with check-in enforcement disabled."
|
@subText="The accounts that are currently on lease with this token or exist in a library set with check-in enforcement disabled."
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<EmptyState
|
<EmptyState
|
||||||
data-test-config-cta
|
data-test-config-cta
|
||||||
@title="LDAP not configured"
|
@title="LDAP not configured"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
||||||
<:toolbarActions>
|
<:toolbarActions>
|
||||||
{{#if @configModel}}
|
{{#if @configModel}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
import { task } from 'ember-concurrency';
|
import { task } from 'ember-concurrency';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
||||||
<:toolbarFilters>
|
<:toolbarFilters>
|
||||||
{{#if (and (not @promptConfig) @libraries)}}
|
{{#if (and (not @promptConfig) @libraries)}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<div class="is-grid has-top-margin-l grid-2-columns grid-gap-2">
|
<div class="is-grid has-top-margin-l grid-2-columns grid-gap-2">
|
||||||
<div>
|
<div>
|
||||||
<Hds::Card::Container @level="mid" @hasBorder={{true}} class="has-padding-l is-flex-half border-radius-2">
|
<Hds::Card::Container @level="mid" @hasBorder={{true}} class="has-padding-l is-flex-half border-radius-2">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
{{#each @model.displayFields as |field|}}
|
{{#each @model.displayFields as |field|}}
|
||||||
{{#let (get @model field.name) as |value|}}
|
{{#let (get @model field.name) as |value|}}
|
||||||
{{#if (eq field.name "disable_check_in_enforcement")}}
|
{{#if (eq field.name "disable_check_in_enforcement")}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
||||||
<:toolbarActions>
|
<:toolbarActions>
|
||||||
{{#if @promptConfig}}
|
{{#if @promptConfig}}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { tracked } from '@glimmer/tracking';
|
import { tracked } from '@glimmer/tracking';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<PageHeader as |p|>
|
<PageHeader as |p|>
|
||||||
<p.top>
|
<p.top>
|
||||||
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: BUSL-1.1
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: BUSL-1.1
|
||||||
|
~}}
|
||||||
|
|
||||||
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
<TabPageHeader @model={{@backendModel}} @breadcrumbs={{@breadcrumbs}}>
|
||||||
<:toolbarFilters>
|
<:toolbarFilters>
|
||||||
{{#if (and (not @promptConfig) @roles.meta.total)}}
|
{{#if (and (not @promptConfig) @roles.meta.total)}}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user