Skip to content

Commit

Permalink
[Rename] maps-legacy plugin (#130)
Browse files Browse the repository at this point in the history
* [Rename] maps-legacy plugin

Signed-off-by: Kawika Avilla <[email protected]>

* Address PR comments

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla authored and mihirsoni committed Mar 20, 2021
1 parent 9c5bf60 commit d263443
Show file tree
Hide file tree
Showing 26 changed files with 217 additions and 215 deletions.
6 changes: 3 additions & 3 deletions src/plugins/maps_legacy/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
* under the License.
*/

import { schema, TypeOf } from '@kbn/config-schema';
import { schema, TypeOf } from '@osd/config-schema';
import { configSchema as tilemapSchema } from '../tile_map/config';
import { configSchema as regionmapSchema } from '../region_map/config';

export const configSchema = schema.object({
includeElasticMapsService: schema.boolean({ defaultValue: true }),
proxyElasticMapsServiceInMaps: schema.boolean({ defaultValue: false }),
includeOpenSearchDashboardsMapsService: schema.boolean({ defaultValue: true }),
proxyOpenSearchDashboardsMapsServiceInMaps: schema.boolean({ defaultValue: false }),
tilemap: tilemapSchema,
regionmap: regionmapSchema,
manifestServiceUrl: schema.string({ defaultValue: '' }),
Expand Down
9 changes: 0 additions & 9 deletions src/plugins/maps_legacy/kibana.json

This file was deleted.

9 changes: 9 additions & 0 deletions src/plugins/maps_legacy/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "mapsLegacy",
"version": "8.0.0",
"opensearchDashboardsVersion": "opensearchDashboards",
"configPath": ["map"],
"ui": true,
"server": true,
"requiredBundles": ["opensearchDashboardsReact", "charts"]
}
Loading

0 comments on commit d263443

Please sign in to comment.