mirror of https://github.com/status-im/consul.git
Add UI copyright headers files (#16614)
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
This commit is contained in:
parent
d5677e5680
commit
9d21736e9f
|
@ -8,7 +8,9 @@ project {
|
|||
# Supports doublestar glob patterns for more flexibility in defining which
|
||||
# files or folders should be ignored
|
||||
header_ignore = [
|
||||
# "vendors/**",
|
||||
# "**autogen**",
|
||||
# Forked and modified UI libs
|
||||
"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
|
||||
class="acls-separator"
|
||||
role="separator"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (can 'use acls')}}
|
||||
<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 { action } from '@ember/object';
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(routes => routes({
|
||||
dc: {
|
||||
acls: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
|
||||
}))(
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div
|
||||
class="consul-hcp-home"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
.consul-hcp-home {
|
||||
position: relative;
|
||||
top: -22px;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render } from '@ember/test-helpers';
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(routes => routes({
|
||||
dc: {
|
||||
show: null
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
'component: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
|
||||
class="consul-lock-session-form"
|
||||
data-test-session={{@item.ID}}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
.consul-lock-session-form {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<ListCollection
|
||||
class="consul-lock-session-list"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
.consul-lock-session-list ul > li:not(:first-child) {
|
||||
@extend %composite-row;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (eq @type 'remove')}}
|
||||
{{#if @error}}
|
||||
<Hds::Toast
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route
|
||||
@name={{routeName}}
|
||||
as |route|>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(routes => routes({
|
||||
dc: {
|
||||
nodes: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
|
||||
}))(
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div class="consul-nspace-form" ...attributes>
|
||||
<DataWriter
|
||||
@sink={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import Component from "@glimmer/component";
|
||||
import { action } from "@ember/object";
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<ListCollection
|
||||
class="consul-nspace-list"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
export default (collection, clickable, attribute, text, actions) => () => {
|
||||
return collection('.consul-nspace-list [data-test-list-row]', {
|
||||
nspace: clickable('a'),
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (eq @type 'remove')}}
|
||||
<Hds::Toast @color='success'
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<SearchBar
|
||||
class="consul-nspace-search-bar"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (can "use nspaces")}}
|
||||
{{#if (can "choose nspaces")}}
|
||||
{{#let
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route
|
||||
@name={{routeName}}
|
||||
as |route|>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route
|
||||
@name={{routeName}}
|
||||
as |route|>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(routes => routes({
|
||||
dc: {
|
||||
nspaces: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
|
||||
}))(
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div
|
||||
class="consul-partition-form"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<ListCollection
|
||||
class="consul-partition-list"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
export const selectors = () => ({
|
||||
['.consul-partition-list']: {
|
||||
row: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (eq @type 'remove')}}
|
||||
<Hds::Toast
|
||||
@color='success'
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<SearchBar
|
||||
class="consul-partition-search-bar"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#let
|
||||
(or @partition "default")
|
||||
(is-href "dc.partitions" @dc.Name)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route
|
||||
@name={{routeName}}
|
||||
as |route|>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route
|
||||
@name={{routeName}}
|
||||
as |route|>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(routes => routes({
|
||||
dc: {
|
||||
partitions: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
"component: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|>
|
||||
{{#if p.data.height}}
|
||||
<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: 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">
|
||||
<div class="flex h-24 p-6 overflow-x-auto space-x-12">
|
||||
<div class="shrink-0">
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
%pill-pending::before,
|
||||
%pill-establishing::before,
|
||||
%pill-active::before,
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
export default {
|
||||
id: 'consul-peer-form',
|
||||
initial: 'generate',
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Hds::Button
|
||||
@text='Generate token'
|
||||
form={{@id}}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
export default {
|
||||
id: 'consul-peer-generate-form',
|
||||
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>
|
||||
<StateMachine
|
||||
@src={{require
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import Component from '@glimmer/component';
|
||||
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>
|
||||
<StateMachine
|
||||
@src={{require
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div class={{class-map "consul-peer-form"}} ...attributes>
|
||||
<StateMachine
|
||||
@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 {
|
||||
& {
|
||||
width: 416px;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Hds::Button
|
||||
@text='Add peer'
|
||||
form={{@id}}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div
|
||||
class={{class-map
|
||||
'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>
|
||||
<DataWriter
|
||||
@sink={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<div
|
||||
...attributes
|
||||
>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if @regenerate}}
|
||||
<p>
|
||||
Token regenerated! Here’s what’s next:
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
@import './components';
|
||||
|
||||
@import './list';
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<ListCollection
|
||||
class="consul-peer-list"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
export const selectors = {
|
||||
$: ".consul-peer-list",
|
||||
collection: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
{{#if (eq @type 'remove')}}
|
||||
<Hds::Toast
|
||||
@color='success'
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<SearchBar
|
||||
class="consul-peer-search-bar"
|
||||
...attributes
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
.consul-peer-search-bar {
|
||||
li button span {
|
||||
@extend %pill-500;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<li
|
||||
class="peers-separator"
|
||||
role="separator"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import Controller from "@ember/controller";
|
||||
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 { tracked } from "@glimmer/tracking";
|
||||
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 { inject as service } from "@ember/service";
|
||||
import { action } from "@ember/object";
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route @name={{routeName}} as |route|>
|
||||
<DataLoader
|
||||
@src={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route @name={{routeName}} as |route|>
|
||||
<DataLoader
|
||||
@src={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route @name={{routeName}} as |route|>
|
||||
{{#if (gt route.model.items.length 0)}}
|
||||
<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|>
|
||||
<DataLoader
|
||||
@src={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route @name={{routeName}} as |route|>
|
||||
<DataLoader
|
||||
@src={{uri
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{{!
|
||||
Copyright (c) HashiCorp, Inc.
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
}}
|
||||
|
||||
<Route @name={{routeName}} as |route|>
|
||||
{{did-insert this.transitionToImported}}
|
||||
</Route>
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
((routes) =>
|
||||
routes({
|
||||
dc: {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
(services => services({
|
||||
"component: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 autolinkHeadings = require('remark-autolink-headings');
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: 'babel-eslint',
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
instrumentation:
|
||||
excludes: [
|
||||
"!app/+(utils|search)/**/*"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
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 { 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 { get } from '@ember/object';
|
||||
import { Ability } from 'ember-can';
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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';
|
||||
|
||||
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 { inject as service } from '@ember/service';
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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 { 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 { 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 { 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 { inject as service } from '@ember/service';
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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 { inject as service } from '@ember/service';
|
||||
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 { inject as service } from '@ember/service';
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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';
|
||||
|
||||
export default class ServiceInstanceAbility extends BaseAbility {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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 { inject as service } from '@ember/service';
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
export default class UpstreamAbility extends BaseAbility {
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import BaseAbility from './base';
|
||||
|
||||
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