Add UI copyright headers files (#16614)
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
This commit is contained in:
parent
bb4baeba95
commit
6bcb98ea71
|
@ -8,7 +8,9 @@ project {
|
||||||
# Supports doublestar glob patterns for more flexibility in defining which
|
# Supports doublestar glob patterns for more flexibility in defining which
|
||||||
# files or folders should be ignored
|
# files or folders should be ignored
|
||||||
header_ignore = [
|
header_ignore = [
|
||||||
# "vendors/**",
|
# Forked and modified UI libs
|
||||||
# "**autogen**",
|
"ui/packages/consul-ui/app/utils/dom/event-target/**",
|
||||||
|
"ui/packages/consul-ui/lib/rehype-prism/**",
|
||||||
|
"ui/packages/consul-ui/lib/block-slots/**",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<li
|
<li
|
||||||
class="acls-separator"
|
class="acls-separator"
|
||||||
role="separator"
|
role="separator"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (can 'use acls')}}
|
{{#if (can 'use acls')}}
|
||||||
<li data-test-main-nav-auth>
|
<li data-test-main-nav-auth>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(routes => routes({
|
(routes => routes({
|
||||||
dc: {
|
dc: {
|
||||||
acls: {
|
acls: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
|
|
||||||
}))(
|
}))(
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="consul-hcp-home"
|
class="consul-hcp-home"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.consul-hcp-home {
|
.consul-hcp-home {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -22px;
|
top: -22px;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import { module, test } from 'qunit';
|
import { module, test } from 'qunit';
|
||||||
import { setupRenderingTest } from 'ember-qunit';
|
import { setupRenderingTest } from 'ember-qunit';
|
||||||
import { render } from '@ember/test-helpers';
|
import { render } from '@ember/test-helpers';
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(routes => routes({
|
(routes => routes({
|
||||||
dc: {
|
dc: {
|
||||||
show: null
|
show: null
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
'component:consul/hcp/home': {
|
'component:consul/hcp/home': {
|
||||||
class: 'consul-ui/components/consul/hcp/home',
|
class: 'consul-ui/components/consul/hcp/home',
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="consul-lock-session-form"
|
class="consul-lock-session-form"
|
||||||
data-test-session={{@item.ID}}
|
data-test-session={{@item.ID}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.consul-lock-session-form {
|
.consul-lock-session-form {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<ListCollection
|
<ListCollection
|
||||||
class="consul-lock-session-list"
|
class="consul-lock-session-list"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.consul-lock-session-list ul > li:not(:first-child) {
|
.consul-lock-session-list ul > li:not(:first-child) {
|
||||||
@extend %composite-row;
|
@extend %composite-row;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (eq @type 'remove')}}
|
{{#if (eq @type 'remove')}}
|
||||||
{{#if @error}}
|
{{#if @error}}
|
||||||
<Hds::Toast
|
<Hds::Toast
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
as |route|>
|
as |route|>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(routes => routes({
|
(routes => routes({
|
||||||
dc: {
|
dc: {
|
||||||
nodes: {
|
nodes: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
|
|
||||||
}))(
|
}))(
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div class="consul-nspace-form" ...attributes>
|
<div class="consul-nspace-form" ...attributes>
|
||||||
<DataWriter
|
<DataWriter
|
||||||
@sink={{uri
|
@sink={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from "@glimmer/component";
|
import Component from "@glimmer/component";
|
||||||
import { action } from "@ember/object";
|
import { action } from "@ember/object";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<ListCollection
|
<ListCollection
|
||||||
class="consul-nspace-list"
|
class="consul-nspace-list"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
export default (collection, clickable, attribute, text, actions) => () => {
|
export default (collection, clickable, attribute, text, actions) => () => {
|
||||||
return collection('.consul-nspace-list [data-test-list-row]', {
|
return collection('.consul-nspace-list [data-test-list-row]', {
|
||||||
nspace: clickable('a'),
|
nspace: clickable('a'),
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (eq @type 'remove')}}
|
{{#if (eq @type 'remove')}}
|
||||||
<Hds::Toast @color='success'
|
<Hds::Toast @color='success'
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<SearchBar
|
<SearchBar
|
||||||
class="consul-nspace-search-bar"
|
class="consul-nspace-search-bar"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (can "use nspaces")}}
|
{{#if (can "use nspaces")}}
|
||||||
{{#if (can "choose nspaces")}}
|
{{#if (can "choose nspaces")}}
|
||||||
{{#let
|
{{#let
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
as |route|>
|
as |route|>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
as |route|>
|
as |route|>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(routes => routes({
|
(routes => routes({
|
||||||
dc: {
|
dc: {
|
||||||
nspaces: {
|
nspaces: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
|
|
||||||
}))(
|
}))(
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="consul-partition-form"
|
class="consul-partition-form"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<ListCollection
|
<ListCollection
|
||||||
class="consul-partition-list"
|
class="consul-partition-list"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
export const selectors = () => ({
|
export const selectors = () => ({
|
||||||
['.consul-partition-list']: {
|
['.consul-partition-list']: {
|
||||||
row: {
|
row: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (eq @type 'remove')}}
|
{{#if (eq @type 'remove')}}
|
||||||
<Hds::Toast
|
<Hds::Toast
|
||||||
@color='success'
|
@color='success'
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<SearchBar
|
<SearchBar
|
||||||
class="consul-partition-search-bar"
|
class="consul-partition-search-bar"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#let
|
{{#let
|
||||||
(or @partition "default")
|
(or @partition "default")
|
||||||
(is-href "dc.partitions" @dc.Name)
|
(is-href "dc.partitions" @dc.Name)
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
as |route|>
|
as |route|>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
as |route|>
|
as |route|>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(routes => routes({
|
(routes => routes({
|
||||||
dc: {
|
dc: {
|
||||||
partitions: {
|
partitions: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
"component:consul/partition/selector": {
|
"component:consul/partition/selector": {
|
||||||
"class": "consul-ui/components/consul/partition/selector"
|
"class": "consul-ui/components/consul/partition/selector"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Providers::Dimension as |p|>
|
<Providers::Dimension as |p|>
|
||||||
{{#if p.data.height}}
|
{{#if p.data.height}}
|
||||||
<div style={{p.data.fillRemainingHeightStyle}} class="overflow-y-scroll">
|
<div style={{p.data.fillRemainingHeightStyle}} class="overflow-y-scroll">
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.border-bottom-primary {
|
.border-bottom-primary {
|
||||||
border-bottom: 1px solid var(--token-color-border-primary);
|
border-bottom: 1px solid var(--token-color-border-primary);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Hds::Card::Container @level="base" @hasBorder={{true}} class="mt-6 mb-3">
|
<Hds::Card::Container @level="base" @hasBorder={{true}} class="mt-6 mb-3">
|
||||||
<div class="flex h-24 p-6 overflow-x-auto space-x-12">
|
<div class="flex h-24 p-6 overflow-x-auto space-x-12">
|
||||||
<div class="shrink-0">
|
<div class="shrink-0">
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
%pill-pending::before,
|
%pill-pending::before,
|
||||||
%pill-establishing::before,
|
%pill-establishing::before,
|
||||||
%pill-active::before,
|
%pill-active::before,
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
id: 'consul-peer-form',
|
id: 'consul-peer-form',
|
||||||
initial: 'generate',
|
initial: 'generate',
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Hds::Button
|
<Hds::Button
|
||||||
@text='Generate token'
|
@text='Generate token'
|
||||||
form={{@id}}
|
form={{@id}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
id: 'consul-peer-generate-form',
|
id: 'consul-peer-generate-form',
|
||||||
initial: 'idle',
|
initial: 'idle',
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div class={{class-map "consul-peer-form-generate-fieldsets"}} ...attributes>
|
<div class={{class-map "consul-peer-form-generate-fieldsets"}} ...attributes>
|
||||||
<StateMachine
|
<StateMachine
|
||||||
@src={{require
|
@src={{require
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
import { action } from '@ember/object';
|
import { action } from '@ember/object';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div class={{class-map "consul-peer-form-generate"}} ...attributes>
|
<div class={{class-map "consul-peer-form-generate"}} ...attributes>
|
||||||
<StateMachine
|
<StateMachine
|
||||||
@src={{require
|
@src={{require
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div class={{class-map "consul-peer-form"}} ...attributes>
|
<div class={{class-map "consul-peer-form"}} ...attributes>
|
||||||
<StateMachine
|
<StateMachine
|
||||||
@src={{require "./chart.xstate" from="/components/consul/peer/form"}}
|
@src={{require "./chart.xstate" from="/components/consul/peer/form"}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.consul-peer-form {
|
.consul-peer-form {
|
||||||
& {
|
& {
|
||||||
width: 416px;
|
width: 416px;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Hds::Button
|
<Hds::Button
|
||||||
@text='Add peer'
|
@text='Add peer'
|
||||||
form={{@id}}
|
form={{@id}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class={{class-map
|
class={{class-map
|
||||||
'consul-peer-form-initiate-fieldsets'
|
'consul-peer-form-initiate-fieldsets'
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div class={{class-map "consul-peer-form-initiate"}} ...attributes>
|
<div class={{class-map "consul-peer-form-initiate"}} ...attributes>
|
||||||
<DataWriter
|
<DataWriter
|
||||||
@sink={{uri
|
@sink={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
...attributes
|
...attributes
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if @regenerate}}
|
{{#if @regenerate}}
|
||||||
<p>
|
<p>
|
||||||
Token regenerated! Here’s what’s next:
|
Token regenerated! Here’s what’s next:
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
@import './components';
|
@import './components';
|
||||||
|
|
||||||
@import './list';
|
@import './list';
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<ListCollection
|
<ListCollection
|
||||||
class="consul-peer-list"
|
class="consul-peer-list"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
export const selectors = {
|
export const selectors = {
|
||||||
$: ".consul-peer-list",
|
$: ".consul-peer-list",
|
||||||
collection: {
|
collection: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
{{#if (eq @type 'remove')}}
|
{{#if (eq @type 'remove')}}
|
||||||
<Hds::Toast
|
<Hds::Toast
|
||||||
@color='success'
|
@color='success'
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<SearchBar
|
<SearchBar
|
||||||
class="consul-peer-search-bar"
|
class="consul-peer-search-bar"
|
||||||
...attributes
|
...attributes
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
.consul-peer-search-bar {
|
.consul-peer-search-bar {
|
||||||
li button span {
|
li button span {
|
||||||
@extend %pill-500;
|
@extend %pill-500;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<li
|
<li
|
||||||
class="peers-separator"
|
class="peers-separator"
|
||||||
role="separator"
|
role="separator"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Controller from "@ember/controller";
|
import Controller from "@ember/controller";
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Controller from "@ember/controller";
|
import Controller from "@ember/controller";
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import Controller from "@ember/controller";
|
import Controller from "@ember/controller";
|
||||||
import { inject as service } from "@ember/service";
|
import { inject as service } from "@ember/service";
|
||||||
import { action } from "@ember/object";
|
import { action } from "@ember/object";
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
<DataLoader
|
<DataLoader
|
||||||
@src={{uri
|
@src={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
<DataLoader
|
<DataLoader
|
||||||
@src={{uri
|
@src={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
{{#if (gt route.model.items.length 0)}}
|
{{#if (gt route.model.items.length 0)}}
|
||||||
<Consul::Peer::Address::List @items={{route.model.items}} />
|
<Consul::Peer::Address::List @items={{route.model.items}} />
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
<DataLoader
|
<DataLoader
|
||||||
@src={{uri
|
@src={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
<DataLoader
|
<DataLoader
|
||||||
@src={{uri
|
@src={{uri
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{!
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
}}
|
||||||
|
|
||||||
<Route @name={{routeName}} as |route|>
|
<Route @name={{routeName}} as |route|>
|
||||||
{{did-insert this.transitionToImported}}
|
{{did-insert this.transitionToImported}}
|
||||||
</Route>
|
</Route>
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
((routes) =>
|
((routes) =>
|
||||||
routes({
|
routes({
|
||||||
dc: {
|
dc: {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
(services => services({
|
(services => services({
|
||||||
"component:consul/peer/selector": {
|
"component:consul/peer/selector": {
|
||||||
"class": "consul-ui/components/consul/peer/selector"
|
"class": "consul-ui/components/consul/peer/selector"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const autolinkHeadings = require('remark-autolink-headings');
|
const autolinkHeadings = require('remark-autolink-headings');
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
parser: 'babel-eslint',
|
parser: 'babel-eslint',
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
instrumentation:
|
instrumentation:
|
||||||
excludes: [
|
excludes: [
|
||||||
"!app/+(utils|search)/**/*"
|
"!app/+(utils|search)/**/*"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
import { get } from '@ember/object';
|
import { get } from '@ember/object';
|
||||||
import { Ability } from 'ember-can';
|
import { Ability } from 'ember-can';
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class IntentionAbility extends BaseAbility {
|
export default class IntentionAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility, { ACCESS_LIST } from './base';
|
import BaseAbility, { ACCESS_LIST } from './base';
|
||||||
|
|
||||||
export default class KVAbility extends BaseAbility {
|
export default class KVAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class NodeAbility extends BaseAbility {
|
export default class NodeAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from 'consul-ui/abilities/base';
|
import BaseAbility from 'consul-ui/abilities/base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from 'consul-ui/abilities/base';
|
import BaseAbility from 'consul-ui/abilities/base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class PermissionAbility extends BaseAbility {
|
export default class PermissionAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
import { typeOf } from 'consul-ui/helpers/policy/typeof';
|
import { typeOf } from 'consul-ui/helpers/policy/typeof';
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class ServerAbility extends BaseAbility {
|
export default class ServerAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility, { ACCESS_READ, ACCESS_WRITE } from './base';
|
import BaseAbility, { ACCESS_READ, ACCESS_WRITE } from './base';
|
||||||
|
|
||||||
export default class ServiceInstanceAbility extends BaseAbility {
|
export default class ServiceInstanceAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class SessionAbility extends BaseAbility {
|
export default class SessionAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
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: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class UpstreamAbility extends BaseAbility {
|
export default class UpstreamAbility extends BaseAbility {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
import BaseAbility from './base';
|
import BaseAbility from './base';
|
||||||
|
|
||||||
export default class ZerviceAbility extends BaseAbility {
|
export default class ZerviceAbility extends BaseAbility {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue