Skip to content

Commit

Permalink
Add noAuth to dataSource attributes (opensearch-project#2154)
Browse files Browse the repository at this point in the history
Signed-off-by: Kristen Tian <[email protected]>

Signed-off-by: Kristen Tian <[email protected]>
  • Loading branch information
kristenTian committed Sep 14, 2022
1 parent 4f4c3ae commit aec8c26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions src/plugins/data_source/common/data_sources/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ import { SavedObjectAttributes } from 'src/core/types';
export interface DataSourceAttributes extends SavedObjectAttributes {
title: string;
endpoint: string;
noAuth: boolean;
}
8 changes: 0 additions & 8 deletions src/plugins/data_source/server/saved_objects/data_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ export const dataSource: SavedObjectsType = {
title: {
type: 'text',
},
endpoint: {
type: 'keyword',
index: false,
doc_values: false,
},
version: {
type: 'integer',
},
},
},
};

0 comments on commit aec8c26

Please sign in to comment.