From a06f4a02fd2a3666f44419f8c48b36ba1043f53a Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Tue, 28 Jun 2016 10:57:24 +0200 Subject: [PATCH 1/3] Rename Marvel packages and directories to Monitoring related to elastic/elasticsearch#2383 Original commit: elastic/x-pack-elasticsearch@7f4001a031cbd9c48715e45f1ed9197b6537c67e --- .../qa/smoke-test-plugins-ssl/build.gradle | 2 +- elasticsearch/x-pack/build.gradle | 2 +- .../xpack/graph/test/GraphTests.java | 3 +- .../AbstractLicensesIntegrationTestCase.java | 2 +- .../plugin/LicensesTransportTests.java | 2 +- .../xpack/TribeTransportTestCase.java | 2 +- .../xpack/monitoring}/MonitoredSystem.java | 2 +- .../xpack/monitoring}/Monitoring.java | 19 +++--- .../monitoring}/MonitoringFeatureSet.java | 6 +- .../xpack/monitoring}/MonitoringLicensee.java | 4 +- .../xpack/monitoring}/MonitoringModule.java | 6 +- .../xpack/monitoring}/MonitoringSettings.java | 5 +- .../action/MonitoringBulkAction.java | 2 +- .../monitoring}/action/MonitoringBulkDoc.java | 4 +- .../action/MonitoringBulkRequest.java | 4 +- .../action/MonitoringBulkRequestBuilder.java | 2 +- .../action/MonitoringBulkResponse.java | 2 +- .../monitoring}/action/MonitoringIndex.java | 2 +- .../action/TransportMonitoringBulkAction.java | 8 +-- .../xpack/monitoring}/agent/AgentService.java | 16 ++--- .../agent/collector/AbstractCollector.java | 12 ++-- .../agent/collector/Collector.java | 4 +- .../agent/collector/CollectorModule.java | 16 ++--- .../cluster/ClusterInfoMonitoringDoc.java | 4 +- .../cluster/ClusterStateCollector.java | 16 ++--- .../cluster/ClusterStateMonitoringDoc.java | 4 +- .../ClusterStateNodeMonitoringDoc.java | 4 +- .../cluster/ClusterStatsCollector.java | 13 ++-- .../cluster/ClusterStatsMonitoringDoc.java | 4 +- .../cluster/DiscoveryNodeMonitoringDoc.java | 4 +- .../indices/IndexRecoveryCollector.java | 12 ++-- .../indices/IndexRecoveryMonitoringDoc.java | 4 +- .../indices/IndexStatsCollector.java | 12 ++-- .../indices/IndexStatsMonitoringDoc.java | 4 +- .../indices/IndicesStatsCollector.java | 12 ++-- .../indices/IndicesStatsMonitoringDoc.java | 4 +- .../collector/node/NodeStatsCollector.java | 12 ++-- .../node/NodeStatsMonitoringDoc.java | 4 +- .../collector/shards/ShardMonitoringDoc.java | 4 +- .../collector/shards/ShardsCollector.java | 12 ++-- .../agent/exporter/ExportBulk.java | 2 +- .../agent/exporter/ExportException.java | 2 +- .../monitoring}/agent/exporter/Exporter.java | 4 +- .../agent/exporter/ExporterModule.java | 8 +-- .../monitoring}/agent/exporter/Exporters.java | 6 +- .../agent/exporter/MonitoringDoc.java | 2 +- .../exporter/MonitoringTemplateUtils.java} | 6 +- .../agent/exporter/http/HttpExporter.java | 16 ++--- .../exporter/http/HttpExporterUtils.java | 2 +- .../agent/exporter/local/LocalBulk.java | 12 ++-- .../agent/exporter/local/LocalExporter.java | 14 ++--- .../resolver/MonitoringIndexNameResolver.java | 20 +++--- .../agent/resolver/ResolversRegistry.java | 58 +++++++++-------- .../bulk/MonitoringBulkDataResolver.java | 6 +- .../MonitoringBulkTimestampedResolver.java | 8 +-- .../resolver/cluster/ClusterInfoResolver.java | 6 +- .../cluster/ClusterStateNodeResolver.java | 8 +-- .../cluster/ClusterStateResolver.java | 8 +-- .../cluster/ClusterStatsResolver.java | 8 +-- .../cluster/DiscoveryNodeResolver.java | 6 +- .../indices/IndexRecoveryResolver.java | 8 +-- .../resolver/indices/IndexStatsResolver.java | 8 +-- .../indices/IndicesStatsResolver.java | 8 +-- .../resolver/node/NodeStatsResolver.java | 8 +-- .../agent/resolver/shards/ShardsResolver.java | 8 +-- .../monitoring}/cleaner/CleanerService.java | 6 +- .../monitoring}/client/MonitoringClient.java | 10 +-- .../client/MonitoringClientModule.java | 2 +- .../rest/MonitoringRestHandler.java | 2 +- .../rest/action/RestMonitoringBulkAction.java | 8 +-- .../monitoring}/support/VersionUtils.java | 2 +- .../src/main/resources/monitoring-data.json | 0 .../src/main/resources/monitoring-es.json | 0 .../src/main/resources/monitoring-kibana.json | 0 .../stats/IndicesStatsResponseTestUtils.java | 0 .../xpack/monitoring}/MonitoringF.java | 2 +- .../MonitoringFeatureSetTests.java | 10 +-- .../MonitoringPluginClientTests.java} | 7 +-- .../monitoring/MonitoringPluginTests.java} | 20 +++--- .../monitoring/MonitoringSettingsTests.java} | 5 +- .../monitoring}/MonitoringTribeTests.java | 8 +-- .../action/MonitoringBulkDocTests.java | 4 +- .../action/MonitoringBulkRequestTests.java | 2 +- .../action/MonitoringBulkResponseTests.java | 4 +- .../action/MonitoringBulkTests.java | 12 ++-- .../action/MonitoringIndexTests.java | 2 +- .../TransportMonitoringBulkActionTests.java | 13 ++-- .../collector/AbstractCollectorTestCase.java | 9 +-- .../cluster/ClusterStateCollectorTests.java | 58 ++++++++--------- .../cluster/ClusterStatsCollectorTests.java | 53 ++++++++-------- .../indices/IndexRecoveryCollectorTests.java | 39 ++++++------ .../indices/IndexStatsCollectorTests.java | 39 ++++++------ .../indices/IndicesStatsCollectorTests.java | 42 ++++++------- .../node/NodeStatsCollectorTests.java | 40 ++++++------ .../shards/ShardsCollectorTests.java | 34 +++++----- .../AbstractExporterTemplateTestCase.java | 22 +++---- .../agent/exporter/ExportersTests.java | 10 +-- .../agent/exporter/MonitoringDocTests.java | 2 +- .../MonitoringTemplateUtilsTests.java} | 10 +-- .../http/HttpExporterTemplateTests.java | 6 +- .../exporter/http/HttpExporterTests.java | 44 ++++++------- .../exporter/http/HttpExporterUtilsTests.java | 2 +- .../local/LocalExporterTemplateTests.java | 6 +- .../exporter/local/LocalExporterTests.java | 63 +++++++++---------- .../agent/resolver/DataResolverTests.java | 10 +-- .../MonitoringIndexNameResolverTestCase.java | 48 +++++++------- .../resolver/TimestampedResolverTests.java | 18 +++--- .../bulk/MonitoringBulkDataResolverTests.java | 16 ++--- ...onitoringBulkTimestampedResolverTests.java | 14 ++--- .../cluster/ClusterInfoResolverTests.java | 16 ++--- .../resolver/cluster/ClusterInfoTests.java | 26 ++++---- .../ClusterStateNodeResolverTests.java | 14 ++--- .../cluster/ClusterStateResolverTests.java | 14 ++--- .../resolver/cluster/ClusterStateTests.java | 42 ++++++------- .../cluster/ClusterStatsResolverTests.java | 22 +++---- .../resolver/cluster/ClusterStatsTests.java | 18 +++--- .../indices/IndexRecoveryResolverTests.java | 14 ++--- .../resolver/indices/IndexRecoveryTests.java | 22 +++---- .../indices/IndexStatsResolverTests.java | 14 ++--- .../resolver/indices/IndexStatsTests.java | 20 +++--- .../indices/IndicesStatsResolverTests.java | 14 ++--- .../resolver/indices/IndicesStatsTests.java | 20 +++--- .../node/DiscoveryNodeResolverTests.java | 16 ++--- .../resolver/node/MultiNodesStatsTests.java | 16 ++--- .../resolver/node/NodeStatsResolverTests.java | 14 ++--- .../agent/resolver/node/NodeStatsTests.java | 22 +++---- .../resolver/shards/ShardsResolverTests.java | 16 ++--- .../agent/resolver/shards/ShardsTests.java | 26 ++++---- .../settings/MonitoringSettingsTests.java} | 22 +++---- .../AbstractIndicesCleanerTestCase.java | 24 +++---- .../cleaner/CleanerServiceTests.java | 6 +- .../local/LocalIndicesCleanerTests.java | 6 +- .../license/LicenseIntegrationTests.java | 8 +-- .../license/MonitoringLicenseeTests.java} | 6 +- .../MonitoringInternalClientTests.java} | 8 +-- .../MonitoringSettingsFilterTests.java} | 8 +-- .../support/VersionUtilsTests.java | 2 +- .../test/MonitoringIntegTestCase.java} | 60 +++++++++--------- .../src/test/resources/log4j.properties | 2 +- .../src/test/resources/monitoring-test.json | 0 .../api/xpack.monitoring.bulk.json | 2 +- .../test/monitoring/bulk/10_basic.yaml | 0 .../x-pack/security/config/x-pack/roles.yml | 6 +- .../security/authz/permission/KibanaRole.java | 2 +- .../test/SecuritySettingsSource.java | 2 +- .../authz/permission/KibanaRoleTests.java | 2 +- .../authz/permission/KibanaUserRoleTests.java | 2 +- .../org/elasticsearch/transport/actions | 1 + .../security/authz/store/default_roles.yml | 6 +- .../org/elasticsearch/xpack/XPackClient.java | 2 +- .../org/elasticsearch/xpack/XPackPlugin.java | 4 +- .../watcher/WatcherPluginDisableTests.java | 2 +- .../AbstractWatcherIntegrationTestCase.java | 2 +- .../WatcherSettingsFilterTests.java | 6 +- 154 files changed, 873 insertions(+), 886 deletions(-) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/MonitoredSystem.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/Monitoring.java (83%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/MonitoringFeatureSet.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/MonitoringLicensee.java (97%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/MonitoringModule.java (87%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/MonitoringSettings.java (98%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkAction.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkDoc.java (94%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkRequest.java (96%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkRequestBuilder.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkResponse.java (98%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/MonitoringIndex.java (97%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/action/TransportMonitoringBulkAction.java (96%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/AgentService.java (93%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/AbstractCollector.java (91%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/Collector.java (77%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/CollectorModule.java (68%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterInfoMonitoringDoc.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStateCollector.java (87%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStateMonitoringDoc.java (87%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStateNodeMonitoringDoc.java (85%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStatsCollector.java (92%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStatsMonitoringDoc.java (84%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/DiscoveryNodeMonitoringDoc.java (82%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexRecoveryCollector.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexRecoveryMonitoringDoc.java (85%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexStatsCollector.java (91%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexStatsMonitoringDoc.java (83%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndicesStatsCollector.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndicesStatsMonitoringDoc.java (84%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/node/NodeStatsCollector.java (93%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/node/NodeStatsMonitoringDoc.java (93%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/shards/ShardMonitoringDoc.java (87%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/collector/shards/ShardsCollector.java (91%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/ExportBulk.java (98%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/ExportException.java (97%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/Exporter.java (96%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/ExporterModule.java (87%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/Exporters.java (97%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/MonitoringDoc.java (99%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel/agent/exporter/MarvelTemplateUtils.java => monitoring/src/main/java/org/elasticsearch/xpack/monitoring/agent/exporter/MonitoringTemplateUtils.java} (86%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/http/HttpExporter.java (98%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/http/HttpExporterUtils.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/local/LocalBulk.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/exporter/local/LocalExporter.java (96%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/MonitoringIndexNameResolver.java (91%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/ResolversRegistry.java (67%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/bulk/MonitoringBulkDataResolver.java (83%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/bulk/MonitoringBulkTimestampedResolver.java (80%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterInfoResolver.java (92%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStateNodeResolver.java (81%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStateResolver.java (86%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStatsResolver.java (88%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/DiscoveryNodeResolver.java (88%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexRecoveryResolver.java (88%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexStatsResolver.java (94%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndicesStatsResolver.java (89%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/node/NodeStatsResolver.java (95%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/agent/resolver/shards/ShardsResolver.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/cleaner/CleanerService.java (98%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/client/MonitoringClient.java (83%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/client/MonitoringClientModule.java (90%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/rest/MonitoringRestHandler.java (93%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/rest/action/RestMonitoringBulkAction.java (92%) rename elasticsearch/x-pack/{marvel/src/main/java/org/elasticsearch/marvel => monitoring/src/main/java/org/elasticsearch/xpack/monitoring}/support/VersionUtils.java (96%) rename elasticsearch/x-pack/{marvel => monitoring}/src/main/resources/monitoring-data.json (100%) rename elasticsearch/x-pack/{marvel => monitoring}/src/main/resources/monitoring-es.json (100%) rename elasticsearch/x-pack/{marvel => monitoring}/src/main/resources/monitoring-kibana.json (100%) rename elasticsearch/x-pack/{marvel => monitoring}/src/test/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponseTestUtils.java (100%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/MonitoringF.java (97%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/MonitoringFeatureSetTests.java (94%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/MarvelPluginClientTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginClientTests.java} (88%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/MarvelPluginTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringPluginTests.java} (86%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/MarvelSettingsTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MonitoringSettingsTests.java} (94%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/MonitoringTribeTests.java (86%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkDocTests.java (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkRequestTests.java (99%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkResponseTests.java (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/MonitoringBulkTests.java (93%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/MonitoringIndexTests.java (97%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/action/TransportMonitoringBulkActionTests.java (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/AbstractCollectorTestCase.java (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStateCollectorTests.java (78%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/cluster/ClusterStatsCollectorTests.java (73%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexRecoveryCollectorTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndexStatsCollectorTests.java (86%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/indices/IndicesStatsCollectorTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/node/NodeStatsCollectorTests.java (73%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/collector/shards/ShardsCollectorTests.java (85%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/AbstractExporterTemplateTestCase.java (91%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/ExportersTests.java (98%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/MonitoringDocTests.java (99%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/agent/exporter/MarvelTemplateUtilsTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/agent/exporter/MonitoringTemplateUtilsTests.java} (70%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/http/HttpExporterTemplateTests.java (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/http/HttpExporterTests.java (93%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/http/HttpExporterUtilsTests.java (98%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/local/LocalExporterTemplateTests.java (87%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/exporter/local/LocalExporterTests.java (81%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/DataResolverTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/MonitoringIndexNameResolverTestCase.java (77%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/TimestampedResolverTests.java (83%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/bulk/MonitoringBulkDataResolverTests.java (82%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/bulk/MonitoringBulkTimestampedResolverTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterInfoResolverTests.java (85%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterInfoTests.java (87%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStateNodeResolverTests.java (80%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStateResolverTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStateTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStatsResolverTests.java (89%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/cluster/ClusterStatsTests.java (83%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexRecoveryResolverTests.java (83%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexRecoveryTests.java (87%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexStatsResolverTests.java (89%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndexStatsTests.java (85%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndicesStatsResolverTests.java (90%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/indices/IndicesStatsTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/node/DiscoveryNodeResolverTests.java (78%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/node/MultiNodesStatsTests.java (91%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/node/NodeStatsResolverTests.java (92%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/node/NodeStatsTests.java (84%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/shards/ShardsResolverTests.java (90%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/agent/resolver/shards/ShardsTests.java (85%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/agent/settings/MarvelSettingsTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/agent/settings/MonitoringSettingsTests.java} (93%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/cleaner/AbstractIndicesCleanerTestCase.java (90%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/cleaner/CleanerServiceTests.java (97%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/cleaner/local/LocalIndicesCleanerTests.java (90%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/license/LicenseIntegrationTests.java (95%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/license/MarvelLicenseeTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/license/MonitoringLicenseeTests.java} (96%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/security/MarvelInternalClientTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/security/MonitoringInternalClientTests.java} (93%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/security/MarvelSettingsFilterTests.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/security/MonitoringSettingsFilterTests.java} (93%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel => monitoring/src/test/java/org/elasticsearch/xpack/monitoring}/support/VersionUtilsTests.java (97%) rename elasticsearch/x-pack/{marvel/src/test/java/org/elasticsearch/marvel/test/MarvelIntegTestCase.java => monitoring/src/test/java/org/elasticsearch/xpack/monitoring/test/MonitoringIntegTestCase.java} (93%) rename elasticsearch/x-pack/{marvel => monitoring}/src/test/resources/log4j.properties (85%) rename elasticsearch/x-pack/{marvel => monitoring}/src/test/resources/monitoring-test.json (100%) rename elasticsearch/x-pack/{marvel => monitoring}/src/test/resources/rest-api-spec/api/xpack.monitoring.bulk.json (89%) rename elasticsearch/x-pack/{marvel => monitoring}/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yaml (100%) diff --git a/elasticsearch/qa/smoke-test-plugins-ssl/build.gradle b/elasticsearch/qa/smoke-test-plugins-ssl/build.gradle index 05fc100d3f9..e2c6ace1b8b 100644 --- a/elasticsearch/qa/smoke-test-plugins-ssl/build.gradle +++ b/elasticsearch/qa/smoke-test-plugins-ssl/build.gradle @@ -174,7 +174,7 @@ integTest { setupCommand 'setupTestUser', 'bin/x-pack/users', 'useradd', 'test_user', '-p', 'changeme', '-r', 'superuser' - setupCommand 'setupMarvelUser', + setupCommand 'setupMonitoringUser', 'bin/x-pack/users', 'useradd', 'monitoring_agent', '-p', 'changeme', '-r', 'remote_monitoring_agent' // Required to detect that the monitoring agent service has started diff --git a/elasticsearch/x-pack/build.gradle b/elasticsearch/x-pack/build.gradle index 391172ce60b..05e30057874 100644 --- a/elasticsearch/x-pack/build.gradle +++ b/elasticsearch/x-pack/build.gradle @@ -57,7 +57,7 @@ dependencies { // we keep the source directories in the original structure of split plugins, // in order to facilitate backports to 2.x. TODO: remove after 5.0 release -for (String module : ['', 'license-plugin/', 'security/', 'watcher/', 'marvel/', 'graph/']) { +for (String module : ['', 'license-plugin/', 'security/', 'watcher/', 'monitoring/', 'graph/']) { sourceSets { main { java.srcDir("${module}src/main/java") diff --git a/elasticsearch/x-pack/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java b/elasticsearch/x-pack/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java index 26c7e77394d..a4ad8cdb434 100644 --- a/elasticsearch/x-pack/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java +++ b/elasticsearch/x-pack/graph/src/test/java/org/elasticsearch/xpack/graph/test/GraphTests.java @@ -13,14 +13,13 @@ import org.elasticsearch.common.settings.Settings.Builder; import org.elasticsearch.common.unit.TimeValue; import org.elasticsearch.index.query.QueryBuilders; import org.elasticsearch.index.query.ScriptQueryBuilder; -import org.elasticsearch.marvel.Monitoring; +import org.elasticsearch.xpack.monitoring.Monitoring; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.plugins.ScriptPlugin; import org.elasticsearch.script.AbstractSearchScript; import org.elasticsearch.script.ExecutableScript; import org.elasticsearch.script.NativeScriptFactory; import org.elasticsearch.script.Script; -import org.elasticsearch.script.ScriptModule; import org.elasticsearch.script.ScriptService.ScriptType; import org.elasticsearch.xpack.security.Security; import org.elasticsearch.test.ESSingleNodeTestCase; diff --git a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/AbstractLicensesIntegrationTestCase.java b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/AbstractLicensesIntegrationTestCase.java index e3758326bd5..76b6f8055dd 100644 --- a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/AbstractLicensesIntegrationTestCase.java +++ b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/AbstractLicensesIntegrationTestCase.java @@ -23,7 +23,7 @@ import org.elasticsearch.license.plugin.core.LicenseState; import org.elasticsearch.license.plugin.core.LicensesManagerService; import org.elasticsearch.license.plugin.core.LicensesMetaData; import org.elasticsearch.license.plugin.core.LicensesStatus; -import org.elasticsearch.marvel.Monitoring; +import org.elasticsearch.xpack.monitoring.Monitoring; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.xpack.security.Security; import org.elasticsearch.test.ESIntegTestCase; diff --git a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/LicensesTransportTests.java b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/LicensesTransportTests.java index 77d76020f88..997e14062a7 100644 --- a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/LicensesTransportTests.java +++ b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/license/plugin/LicensesTransportTests.java @@ -19,7 +19,7 @@ import org.elasticsearch.license.plugin.action.put.PutLicenseAction; import org.elasticsearch.license.plugin.action.put.PutLicenseRequestBuilder; import org.elasticsearch.license.plugin.action.put.PutLicenseResponse; import org.elasticsearch.license.plugin.core.LicensesStatus; -import org.elasticsearch.marvel.Monitoring; +import org.elasticsearch.xpack.monitoring.Monitoring; import org.elasticsearch.node.Node; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.xpack.security.Security; diff --git a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/xpack/TribeTransportTestCase.java b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/xpack/TribeTransportTestCase.java index 9cb295c296c..962ca7f5e37 100644 --- a/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/xpack/TribeTransportTestCase.java +++ b/elasticsearch/x-pack/license-plugin/src/test/java/org/elasticsearch/xpack/TribeTransportTestCase.java @@ -20,7 +20,7 @@ import org.elasticsearch.common.network.NetworkModule; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.TransportAddress; import org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing; -import org.elasticsearch.marvel.Monitoring; +import org.elasticsearch.xpack.monitoring.Monitoring; import org.elasticsearch.node.Node; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.xpack.security.Security; diff --git a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoredSystem.java b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoredSystem.java similarity index 95% rename from elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoredSystem.java rename to elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoredSystem.java index 45ddf37802f..227c63d84b7 100644 --- a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoredSystem.java +++ b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoredSystem.java @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -package org.elasticsearch.marvel; +package org.elasticsearch.xpack.monitoring; import java.util.Locale; diff --git a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/Monitoring.java b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java similarity index 83% rename from elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/Monitoring.java rename to elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java index cf8ccd6fdbe..3ca63653af9 100644 --- a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/Monitoring.java +++ b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/Monitoring.java @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -package org.elasticsearch.marvel; +package org.elasticsearch.xpack.monitoring; import org.elasticsearch.action.ActionRequest; import org.elasticsearch.action.ActionResponse; @@ -11,14 +11,15 @@ import org.elasticsearch.common.component.LifecycleComponent; import org.elasticsearch.common.inject.Module; import org.elasticsearch.common.network.NetworkModule; import org.elasticsearch.common.settings.Settings; -import org.elasticsearch.marvel.action.MonitoringBulkAction; -import org.elasticsearch.marvel.action.TransportMonitoringBulkAction; -import org.elasticsearch.marvel.agent.AgentService; -import org.elasticsearch.marvel.agent.collector.CollectorModule; -import org.elasticsearch.marvel.agent.exporter.ExporterModule; -import org.elasticsearch.marvel.cleaner.CleanerService; -import org.elasticsearch.marvel.client.MonitoringClientModule; -import org.elasticsearch.marvel.rest.action.RestMonitoringBulkAction; +import org.elasticsearch.xpack.XPackPlugin; +import org.elasticsearch.xpack.monitoring.action.MonitoringBulkAction; +import org.elasticsearch.xpack.monitoring.action.TransportMonitoringBulkAction; +import org.elasticsearch.xpack.monitoring.agent.AgentService; +import org.elasticsearch.xpack.monitoring.agent.collector.CollectorModule; +import org.elasticsearch.xpack.monitoring.agent.exporter.ExporterModule; +import org.elasticsearch.xpack.monitoring.cleaner.CleanerService; +import org.elasticsearch.xpack.monitoring.client.MonitoringClientModule; +import org.elasticsearch.xpack.monitoring.rest.action.RestMonitoringBulkAction; import org.elasticsearch.plugins.ActionPlugin; import org.elasticsearch.xpack.XPackPlugin; diff --git a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringFeatureSet.java b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java similarity index 95% rename from elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringFeatureSet.java rename to elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java index c28118df0dd..717c40dbb02 100644 --- a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringFeatureSet.java +++ b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringFeatureSet.java @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -package org.elasticsearch.marvel; +package org.elasticsearch.xpack.monitoring; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.inject.Inject; @@ -12,9 +12,9 @@ import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.xcontent.XContentBuilder; -import org.elasticsearch.marvel.agent.exporter.Exporter; -import org.elasticsearch.marvel.agent.exporter.Exporters; import org.elasticsearch.xpack.XPackFeatureSet; +import org.elasticsearch.xpack.monitoring.agent.exporter.Exporter; +import org.elasticsearch.xpack.monitoring.agent.exporter.Exporters; import java.io.IOException; import java.util.HashMap; diff --git a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringLicensee.java b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringLicensee.java similarity index 97% rename from elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringLicensee.java rename to elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringLicensee.java index f63ff611b16..058bff4c18c 100644 --- a/elasticsearch/x-pack/marvel/src/main/java/org/elasticsearch/marvel/MonitoringLicensee.java +++ b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/MonitoringLicensee.java @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -package org.elasticsearch.marvel; +package org.elasticsearch.xpack.monitoring; import org.elasticsearch.common.Strings; import org.elasticsearch.common.inject.Inject; @@ -17,7 +17,7 @@ import org.elasticsearch.license.plugin.core.Licensee; import org.elasticsearch.license.plugin.core.LicenseeRegistry; /** - * {@code MarvelLicensee} determines whether certain features of Monitoring are enabled or disabled. + * {@code MonitoringLicensee} determines whether certain features of Monitoring are enabled or disabled. *

* Once the license expires, the agent will stop: *