Skip to content

Commit

Permalink
deletes commented out mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Mar 26, 2023
1 parent 14c2684 commit 13cb2ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 45 deletions.
15 changes: 1 addition & 14 deletions x-pack/plugins/alerting/server/saved_objects/mappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,7 @@ export const alertMappings: SavedObjectsTypeMappingDefinition = {
},
frequency: {
dynamic: false,
properties: {
// summary: {
// index: false,
// type: 'boolean',
// },
// notifyWhen: {
// index: false,
// type: 'keyword',
// },
// throttle: {
// index: false,
// type: 'keyword',
// },
},
properties: {},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,7 @@ export const rulesSettingsMappings: SavedObjectsTypeMappingDefinition = {
properties: {
flapping: {
dynamic: false,
properties: {
// enabled: {
// type: 'boolean',
// index: false,
// },
// lookBackWindow: {
// type: 'long',
// index: false,
// },
// statusChangeThreshold: {
// type: 'long',
// index: false,
// },
// createdBy: {
// type: 'keyword',
// index: false,
// },
// updatedBy: {
// type: 'keyword',
// index: false,
// },
// createdAt: {
// type: 'date',
// index: false,
// },
// updatedAt: {
// type: 'date',
// index: false,
// },
},
properties: {},
},
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const apmServerSettings: SavedObjectsType = {
properties: {
schemaJson: {
type: 'text',
index: false,
index: false, // referenced directly in `createCloudApmPackgePolicy`
},
},
},
Expand Down

0 comments on commit 13cb2ca

Please sign in to comment.