Skip to content

Commit

Permalink
Renaming home plugin folder to kebab-case
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <vachshah@amazon.com>
  • Loading branch information
VachaShah committed Jun 2, 2021
1 parent a8c8275 commit cfff5d7
Show file tree
Hide file tree
Showing 180 changed files with 122 additions and 122 deletions.
2 changes: 1 addition & 1 deletion src/plugins/home/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Sample data sets typically provide data that spans 5 weeks from the past and 5 w

### Adding new sample data sets

Use [existing sample data sets](/src/plugins/home/server/services/sample_data/data_sets) as examples.
Use [existing sample data sets](/src/plugins/home/server/services/sample_data/data-sets) as examples.
To avoid bloating the OpenSearch Dashboards distribution, keep data set size to a minimum.

Follow the steps below to add new Sample data sets to OpenSearch Dashboards.
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/home/public/application/components/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ import {
import { HOME_APP_BASE_PATH } from '../../../common/constants';
import { FeatureCatalogueCategory } from '../../services';
import { getServices } from '../opensearch_dashboards_services';
import { AddData } from './add_data';
import { ManageData } from './manage_data';
import { SolutionsSection } from './solutions_section';
import { AddData } from './add-data';
import { ManageData } from './manage-data';
import { SolutionsSection } from './solutions-section';
import { Welcome } from './welcome';

const KEY_ENABLE_WELCOME = 'home:welcome:show';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/application/components/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import { FormattedMessage } from '@osd/i18n/react';
import { getServices } from '../opensearch_dashboards_services';
import { TelemetryPluginStart } from '../../../../telemetry/public';

import { SampleDataCard } from './sample_data';
import { SampleDataCard } from './sample-data';
import OpenSearchMarkCentered from '../../assets/logos/opensearch_mark_centered.svg';
interface Props {
urlBasePath: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { UiStatsMetricType } from '@osd/analytics';
import { TelemetryPluginStart } from '../../../telemetry/public';
import { UrlForwardingStart } from '../../../url_forwarding/public';
import { TutorialService } from '../services/tutorials';
import { FeatureCatalogueRegistry } from '../services/feature_catalogue';
import { FeatureCatalogueRegistry } from '../services/feature-catalogue';
import { EnvironmentService } from '../services/environment';
import { ConfigSchema } from '../../config';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/mocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

import { featureCatalogueRegistryMock } from '../services/feature_catalogue/feature_catalogue_registry.mock';
import { featureCatalogueRegistryMock } from '../services/feature-catalogue/feature_catalogue_registry.mock';
import { environmentServiceMock } from '../services/environment/environment.mock';
import { configSchema } from '../../config';
import { tutorialServiceMock } from '../services/tutorials/tutorial_service.mock';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/plugin.test.mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

import { featureCatalogueRegistryMock } from './services/feature_catalogue/feature_catalogue_registry.mock';
import { featureCatalogueRegistryMock } from './services/feature-catalogue/feature_catalogue_registry.mock';
import { environmentServiceMock } from './services/environment/environment.mock';
import { tutorialServiceMock } from './services/tutorials/tutorial_service.mock';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
* GitHub history for details.
*/

export * from './feature_catalogue';
export * from './feature-catalogue';
export * from './environment';
export * from './tutorials';
2 changes: 1 addition & 1 deletion src/plugins/home/server/plugin.test.mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/
import { tutorialsRegistryMock } from './services/tutorials/tutorials_registry.mock';
import { sampleDataRegistryMock } from './services/sample_data/sample_data_registry.mock';
import { sampleDataRegistryMock } from './services/sample-data/sample_data_registry.mock';

export const registryForTutorialsMock = tutorialsRegistryMock.create();
export const registryForSampleDataMock = sampleDataRegistryMock.create();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
} from './services';
import { UsageCollectionSetup } from '../../usage_collection/server';
import { capabilitiesProvider } from './capabilities_provider';
import { sampleDataTelemetry } from './saved_objects';
import { sampleDataTelemetry } from './saved-objects';
import { registerRoutes } from './routes';

interface HomeServerPluginSetupDependencies {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/home/server/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ export {
SampleDataRegistry,
SampleDataRegistrySetup,
SampleDataRegistryStart,
} from './sample_data';
} from './sample-data';

export { SampleDatasetSchema, SampleDatasetProvider } from './sample_data';
export { SampleDatasetSchema, SampleDatasetProvider } from './sample-data';
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
} from './lib/sample_dataset_registry_types';
import { sampleDataSchema } from './lib/sample_dataset_schema';

import { flightsSpecProvider, logsSpecProvider, ecommerceSpecProvider } from './data_sets';
import { flightsSpecProvider, logsSpecProvider, ecommerceSpecProvider } from './data-sets';
import { createListRoute, createInstallRoute } from './routes';
import { UsageCollectionSetup } from '../../../../usage_collection/server';
import { makeSampleDataUsageCollector, usage } from './usage';
Expand Down
216 changes: 108 additions & 108 deletions src/plugins/home/server/tutorials/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,115 +29,115 @@
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
import { activemqLogsSpecProvider } from './activemq_logs';
import { activemqMetricsSpecProvider } from './activemq_metrics';
import { aerospikeMetricsSpecProvider } from './aerospike_metrics';
import { apacheLogsSpecProvider } from './apache_logs';
import { apacheMetricsSpecProvider } from './apache_metrics';
import { activemqLogsSpecProvider } from './activemq-logs';
import { activemqMetricsSpecProvider } from './activemq-metrics';
import { aerospikeMetricsSpecProvider } from './aerospike-metrics';
import { apacheLogsSpecProvider } from './apache-logs';
import { apacheMetricsSpecProvider } from './apache-metrics';
import { auditbeatSpecProvider } from './auditbeat';
import { auditdLogsSpecProvider } from './auditd_logs';
import { awsLogsSpecProvider } from './aws_logs';
import { awsMetricsSpecProvider } from './aws_metrics';
import { azureLogsSpecProvider } from './azure_logs';
import { azureMetricsSpecProvider } from './azure_metrics';
import { barracudaLogsSpecProvider } from './barracuda_logs';
import { bluecoatLogsSpecProvider } from './bluecoat_logs';
import { cefLogsSpecProvider } from './cef_logs';
import { cephMetricsSpecProvider } from './ceph_metrics';
import { checkpointLogsSpecProvider } from './checkpoint_logs';
import { ciscoLogsSpecProvider } from './cisco_logs';
import { cloudwatchLogsSpecProvider } from './cloudwatch_logs';
import { cockroachdbMetricsSpecProvider } from './cockroachdb_metrics';
import { consulMetricsSpecProvider } from './consul_metrics';
import { corednsLogsSpecProvider } from './coredns_logs';
import { corednsMetricsSpecProvider } from './coredns_metrics';
import { couchbaseMetricsSpecProvider } from './couchbase_metrics';
import { couchdbMetricsSpecProvider } from './couchdb_metrics';
import { crowdstrikeLogsSpecProvider } from './crowdstrike_logs';
import { cylanceLogsSpecProvider } from './cylance_logs';
import { dockerMetricsSpecProvider } from './docker_metrics';
import { dropwizardMetricsSpecProvider } from './dropwizard_metrics';
import { opensearchLogsSpecProvider } from './opensearch_logs';
import { opensearchMetricsSpecProvider } from './opensearch_metrics';
import { envoyproxyLogsSpecProvider } from './envoyproxy_logs';
import { envoyproxyMetricsSpecProvider } from './envoyproxy_metrics';
import { etcdMetricsSpecProvider } from './etcd_metrics';
import { f5LogsSpecProvider } from './f5_logs';
import { fortinetLogsSpecProvider } from './fortinet_logs';
import { golangMetricsSpecProvider } from './golang_metrics';
import { googlecloudLogsSpecProvider } from './googlecloud_logs';
import { googlecloudMetricsSpecProvider } from './googlecloud_metrics';
import { gsuiteLogsSpecProvider } from './gsuite_logs';
import { haproxyLogsSpecProvider } from './haproxy_logs';
import { haproxyMetricsSpecProvider } from './haproxy_metrics';
import { ibmmqLogsSpecProvider } from './ibmmq_logs';
import { ibmmqMetricsSpecProvider } from './ibmmq_metrics';
import { icingaLogsSpecProvider } from './icinga_logs';
import { iisLogsSpecProvider } from './iis_logs';
import { iisMetricsSpecProvider } from './iis_metrics';
import { impervaLogsSpecProvider } from './imperva_logs';
import { infobloxLogsSpecProvider } from './infoblox_logs';
import { iptablesLogsSpecProvider } from './iptables_logs';
import { juniperLogsSpecProvider } from './juniper_logs';
import { kafkaLogsSpecProvider } from './kafka_logs';
import { kafkaMetricsSpecProvider } from './kafka_metrics';
import { opensearchDashboardsLogsSpecProvider } from './opensearch_dashboards_logs';
import { opensearchDashboardsMetricsSpecProvider } from './opensearch_dashboards_metrics';
import { kubernetesMetricsSpecProvider } from './kubernetes_metrics';
import { logstashLogsSpecProvider } from './logstash_logs';
import { logstashMetricsSpecProvider } from './logstash_metrics';
import { memcachedMetricsSpecProvider } from './memcached_metrics';
import { microsoftLogsSpecProvider } from './microsoft_logs';
import { mispLogsSpecProvider } from './misp_logs';
import { mongodbLogsSpecProvider } from './mongodb_logs';
import { mongodbMetricsSpecProvider } from './mongodb_metrics';
import { mssqlLogsSpecProvider } from './mssql_logs';
import { mssqlMetricsSpecProvider } from './mssql_metrics';
import { muninMetricsSpecProvider } from './munin_metrics';
import { mysqlLogsSpecProvider } from './mysql_logs';
import { mysqlMetricsSpecProvider } from './mysql_metrics';
import { natsLogsSpecProvider } from './nats_logs';
import { natsMetricsSpecProvider } from './nats_metrics';
import { netflowLogsSpecProvider } from './netflow_logs';
import { netscoutLogsSpecProvider } from './netscout_logs';
import { nginxLogsSpecProvider } from './nginx_logs';
import { nginxMetricsSpecProvider } from './nginx_metrics';
import { o365LogsSpecProvider } from './o365_logs';
import { oktaLogsSpecProvider } from './okta_logs';
import { openmetricsMetricsSpecProvider } from './openmetrics_metrics';
import { oracleMetricsSpecProvider } from './oracle_metrics';
import { osqueryLogsSpecProvider } from './osquery_logs';
import { panwLogsSpecProvider } from './panw_logs';
import { phpfpmMetricsSpecProvider } from './php_fpm_metrics';
import { postgresqlLogsSpecProvider } from './postgresql_logs';
import { postgresqlMetricsSpecProvider } from './postgresql_metrics';
import { prometheusMetricsSpecProvider } from './prometheus_metrics';
import { rabbitmqLogsSpecProvider } from './rabbitmq_logs';
import { rabbitmqMetricsSpecProvider } from './rabbitmq_metrics';
import { radwareLogsSpecProvider } from './radware_logs';
import { redisLogsSpecProvider } from './redis_logs';
import { redisMetricsSpecProvider } from './redis_metrics';
import { redisenterpriseMetricsSpecProvider } from './redisenterprise_metrics';
import { santaLogsSpecProvider } from './santa_logs';
import { sonicwallLogsSpecProvider } from './sonicwall_logs';
import { sophosLogsSpecProvider } from './sophos_logs';
import { squidLogsSpecProvider } from './squid_logs';
import { stanMetricsSpecProvider } from './stan_metrics';
import { statsdMetricsSpecProvider } from './statsd_metrics';
import { suricataLogsSpecProvider } from './suricata_logs';
import { systemLogsSpecProvider } from './system_logs';
import { systemMetricsSpecProvider } from './system_metrics';
import { tomcatLogsSpecProvider } from './tomcat_logs';
import { traefikLogsSpecProvider } from './traefik_logs';
import { traefikMetricsSpecProvider } from './traefik_metrics';
import { uptimeMonitorsSpecProvider } from './uptime_monitors';
import { uwsgiMetricsSpecProvider } from './uwsgi_metrics';
import { vSphereMetricsSpecProvider } from './vsphere_metrics';
import { windowsEventLogsSpecProvider } from './windows_event_logs';
import { windowsMetricsSpecProvider } from './windows_metrics';
import { zeekLogsSpecProvider } from './zeek_logs';
import { zookeeperMetricsSpecProvider } from './zookeeper_metrics';
import { zscalerLogsSpecProvider } from './zscaler_logs';
import { auditdLogsSpecProvider } from './auditd-logs';
import { awsLogsSpecProvider } from './aws-logs';
import { awsMetricsSpecProvider } from './aws-metrics';
import { azureLogsSpecProvider } from './azure-logs';
import { azureMetricsSpecProvider } from './azure-metrics';
import { barracudaLogsSpecProvider } from './barracuda-logs';
import { bluecoatLogsSpecProvider } from './bluecoat-logs';
import { cefLogsSpecProvider } from './cef-logs';
import { cephMetricsSpecProvider } from './ceph-metrics';
import { checkpointLogsSpecProvider } from './checkpoint-logs';
import { ciscoLogsSpecProvider } from './cisco-logs';
import { cloudwatchLogsSpecProvider } from './cloudwatch-logs';
import { cockroachdbMetricsSpecProvider } from './cockroachdb-metrics';
import { consulMetricsSpecProvider } from './consul-metrics';
import { corednsLogsSpecProvider } from './coredns-logs';
import { corednsMetricsSpecProvider } from './coredns-metrics';
import { couchbaseMetricsSpecProvider } from './couchbase-metrics';
import { couchdbMetricsSpecProvider } from './couchdb-metrics';
import { crowdstrikeLogsSpecProvider } from './crowdstrike-logs';
import { cylanceLogsSpecProvider } from './cylance-logs';
import { dockerMetricsSpecProvider } from './docker-metrics';
import { dropwizardMetricsSpecProvider } from './dropwizard-metrics';
import { opensearchLogsSpecProvider } from './opensearch-logs';
import { opensearchMetricsSpecProvider } from './opensearch-metrics';
import { envoyproxyLogsSpecProvider } from './envoyproxy-logs';
import { envoyproxyMetricsSpecProvider } from './envoyproxy-metrics';
import { etcdMetricsSpecProvider } from './etcd-metrics';
import { f5LogsSpecProvider } from './f5-logs';
import { fortinetLogsSpecProvider } from './fortinet-logs';
import { golangMetricsSpecProvider } from './golang-metrics';
import { googlecloudLogsSpecProvider } from './googlecloud-logs';
import { googlecloudMetricsSpecProvider } from './googlecloud-metrics';
import { gsuiteLogsSpecProvider } from './gsuite-logs';
import { haproxyLogsSpecProvider } from './haproxy-logs';
import { haproxyMetricsSpecProvider } from './haproxy-metrics';
import { ibmmqLogsSpecProvider } from './ibmmq-logs';
import { ibmmqMetricsSpecProvider } from './ibmmq-metrics';
import { icingaLogsSpecProvider } from './icinga-logs';
import { iisLogsSpecProvider } from './iis-logs';
import { iisMetricsSpecProvider } from './iis-metrics';
import { impervaLogsSpecProvider } from './imperva-logs';
import { infobloxLogsSpecProvider } from './infoblox-logs';
import { iptablesLogsSpecProvider } from './iptables-logs';
import { juniperLogsSpecProvider } from './juniper-logs';
import { kafkaLogsSpecProvider } from './kafka-logs';
import { kafkaMetricsSpecProvider } from './kafka-metrics';
import { opensearchDashboardsLogsSpecProvider } from './opensearch-dashboards-logs';
import { opensearchDashboardsMetricsSpecProvider } from './opensearch-dashboards-metrics';
import { kubernetesMetricsSpecProvider } from './kubernetes-metrics';
import { logstashLogsSpecProvider } from './logstash-logs';
import { logstashMetricsSpecProvider } from './logstash-metrics';
import { memcachedMetricsSpecProvider } from './memcached-metrics';
import { microsoftLogsSpecProvider } from './microsoft-logs';
import { mispLogsSpecProvider } from './misp-logs';
import { mongodbLogsSpecProvider } from './mongodb-logs';
import { mongodbMetricsSpecProvider } from './mongodb-metrics';
import { mssqlLogsSpecProvider } from './mssql-logs';
import { mssqlMetricsSpecProvider } from './mssql-metrics';
import { muninMetricsSpecProvider } from './munin-metrics';
import { mysqlLogsSpecProvider } from './mysql-logs';
import { mysqlMetricsSpecProvider } from './mysql-metrics';
import { natsLogsSpecProvider } from './nats-logs';
import { natsMetricsSpecProvider } from './nats-metrics';
import { netflowLogsSpecProvider } from './netflow-logs';
import { netscoutLogsSpecProvider } from './netscout-logs';
import { nginxLogsSpecProvider } from './nginx-logs';
import { nginxMetricsSpecProvider } from './nginx-metrics';
import { o365LogsSpecProvider } from './o365-logs';
import { oktaLogsSpecProvider } from './okta-logs';
import { openmetricsMetricsSpecProvider } from './openmetrics-metrics';
import { oracleMetricsSpecProvider } from './oracle-metrics';
import { osqueryLogsSpecProvider } from './osquery-logs';
import { panwLogsSpecProvider } from './panw-logs';
import { phpfpmMetricsSpecProvider } from './php-fpm-metrics';
import { postgresqlLogsSpecProvider } from './postgresql-logs';
import { postgresqlMetricsSpecProvider } from './postgresql-metrics';
import { prometheusMetricsSpecProvider } from './prometheus-metrics';
import { rabbitmqLogsSpecProvider } from './rabbitmq-logs';
import { rabbitmqMetricsSpecProvider } from './rabbitmq-metrics';
import { radwareLogsSpecProvider } from './radware-logs';
import { redisLogsSpecProvider } from './redis-logs';
import { redisMetricsSpecProvider } from './redis-metrics';
import { redisenterpriseMetricsSpecProvider } from './redisenterprise-metrics';
import { santaLogsSpecProvider } from './santa-logs';
import { sonicwallLogsSpecProvider } from './sonicwall-logs';
import { sophosLogsSpecProvider } from './sophos-logs';
import { squidLogsSpecProvider } from './squid-logs';
import { stanMetricsSpecProvider } from './stan-metrics';
import { statsdMetricsSpecProvider } from './statsd-metrics';
import { suricataLogsSpecProvider } from './suricata-logs';
import { systemLogsSpecProvider } from './system-logs';
import { systemMetricsSpecProvider } from './system-metrics';
import { tomcatLogsSpecProvider } from './tomcat-logs';
import { traefikLogsSpecProvider } from './traefik-logs';
import { traefikMetricsSpecProvider } from './traefik-metrics';
import { uptimeMonitorsSpecProvider } from './uptime-monitors';
import { uwsgiMetricsSpecProvider } from './uwsgi-metrics';
import { vSphereMetricsSpecProvider } from './vsphere-metrics';
import { windowsEventLogsSpecProvider } from './windows-event-logs';
import { windowsMetricsSpecProvider } from './windows-metrics';
import { zeekLogsSpecProvider } from './zeek-logs';
import { zookeeperMetricsSpecProvider } from './zookeeper-metrics';
import { zscalerLogsSpecProvider } from './zscaler-logs';

export const builtInTutorials = [
systemLogsSpecProvider,
Expand Down

0 comments on commit cfff5d7

Please sign in to comment.