Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
move ISM under management tab of sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenlan-amzn committed Jun 25, 2020
1 parent 8f71bf3 commit b4136af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ import { existsSync } from "fs";
import { createISMCluster } from "./server/clusters";
import { PolicyService, ManagedIndexService, IndexService } from "./server/services";
import { indices, policies, managedIndices } from "./server/routes";
import { DEFAULT_APP_CATEGORIES } from "../../src/core/utils";

export default function(kibana) {
export default function (kibana) {
return new kibana.Plugin({
require: ["elasticsearch"],
name: "opendistro_index_management_kibana",
Expand All @@ -29,9 +30,10 @@ export default function(kibana) {
title: "Index Management Kibana",
description: "Kibana plugin for Index Management",
main: "plugins/opendistro_index_management_kibana/app",
category: DEFAULT_APP_CATEGORIES.management,
},
hacks: [],
styleSheetPaths: [resolve(__dirname, "public/app.scss"), resolve(__dirname, "public/app.css")].find(p => existsSync(p)),
styleSheetPaths: [resolve(__dirname, "public/app.scss"), resolve(__dirname, "public/app.css")].find((p) => existsSync(p)),
},

config(Joi) {
Expand Down

0 comments on commit b4136af

Please sign in to comment.