Skip to content

Commit

Permalink
Merge pull request #8 from tsullivan/alerting/task-manager--xpack
Browse files Browse the repository at this point in the history
Move Task Manager service to X-Pack plugin
  • Loading branch information
chrisdavies authored Oct 4, 2018
2 parents 5452a14 + ea8e5d3 commit 56e9d18
Show file tree
Hide file tree
Showing 40 changed files with 529 additions and 849 deletions.
21 changes: 0 additions & 21 deletions src/server/config/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,30 +244,9 @@ export default () => Joi.object({
}),
profile: Joi.boolean().default(false)
}).default(),

status: Joi.object({
allowAnonymous: Joi.boolean().default(false)
}).default(),

task_manager: Joi.object({
max_attempts: Joi.number()
.description('The maximum number of times a task will be attempted before being abandoned as failed')
.default(3),
poll_interval: Joi.number()
.description('How often, in milliseconds, the task manager will look for more work.')
.default(3000),
index: Joi.string()
.description('The name of the index used to store task information.')
.default('.kibana_task_manager'),
max_workers: Joi.number()
.description('The maximum number of tasks that this Kibana instance will run simultaneously.')
.default(10),
override_num_workers: Joi.object()
.pattern(/.*/, Joi.number().greater(0))
.description('Customize the number of workers occupied by specific tasks (e.g. override_num_workers.reporting: 2)')
.default({})
}).default(),

map: Joi.object({
includeElasticMapsService: Joi.boolean().default(true),
tilemap: tilemapSchema,
Expand Down
4 changes: 0 additions & 4 deletions src/server/kbn_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import * as Plugins from './plugins';
import { indexPatternsMixin } from './index_patterns';
import { savedObjectsMixin } from './saved_objects';
import { sampleDataMixin } from './sample_data';
import { taskManagerMixin } from './task_manager';
import { KibanaMigrator } from './saved_objects/migrations';
import { urlShorteningMixin } from './url_shortening';
import { serverExtensionsMixin } from './server_extensions';
Expand Down Expand Up @@ -95,9 +94,6 @@ export default class KbnServer {
// setup routes for installing/uninstalling sample data sets
sampleDataMixin,

// task manager service
taskManagerMixin,

// setup routes for short urls
urlShorteningMixin,

Expand Down
20 changes: 0 additions & 20 deletions src/server/task_manager/index.ts

This file was deleted.

57 changes: 0 additions & 57 deletions src/server/task_manager/lib/logger.ts

This file was deleted.

188 changes: 0 additions & 188 deletions src/server/task_manager/task_manager_mixin.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/ui/ui_exports/ui_export_types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ export {
validations,
} from './saved_object';

export {
taskDefinitions
} from './task_definitions';

export {
app,
apps,
Expand Down
28 changes: 0 additions & 28 deletions src/ui/ui_exports/ui_export_types/task_definitions.js

This file was deleted.

Loading

0 comments on commit 56e9d18

Please sign in to comment.