-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
109 changed files
with
2,545 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
const LICENSE_HEADER = ` | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
`; | ||
|
||
module.exports = { | ||
root: true, | ||
extends: ["@elastic/eslint-config-kibana", "plugin:@elastic/eui/recommended"], | ||
rules: { | ||
// "@osd/eslint/require-license-header": "off" | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["**/*.{js,ts,tsx}"], | ||
rules: { | ||
"@osd/eslint/require-license-header": [ | ||
"error", | ||
{ | ||
licenses: [LICENSE_HEADER], | ||
}, | ||
], | ||
"no-console": 0, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
cypress/fixtures/plugins/index-management-dashboards-plugin/sample_policy_alias_action.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"policy": { | ||
"policy_id": "test_alias_policy_id", | ||
"description": "Example policy with an alias action.", | ||
"default_state": "alias-state", | ||
"states": [ | ||
{ | ||
"name": "alias-state", | ||
"actions": [ | ||
{ | ||
"alias": { | ||
"actions": [ | ||
{ | ||
"remove": { | ||
"aliases": ["alias1", "alias2"] | ||
} | ||
}, | ||
{ | ||
"remove": { | ||
"alias": "alias3" | ||
} | ||
}, | ||
{ | ||
"add": { | ||
"aliases": ["alias4", "alias5"] | ||
} | ||
}, | ||
{ | ||
"add": { | ||
"aliases": "alias6" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"transitions": [] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.