Skip to content

Commit

Permalink
[Fleet] Remove fleet agent routes and related services (#97206)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored Apr 15, 2021
1 parent f972174 commit 78937e3
Show file tree
Hide file tree
Showing 88 changed files with 189 additions and 6,166 deletions.
5 changes: 0 additions & 5 deletions x-pack/plugins/fleet/common/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ export const AGENT_API_ROUTES = {
UPGRADE_PATTERN: `${API_ROOT}/agents/{agentId}/upgrade`,
BULK_UPGRADE_PATTERN: `${API_ROOT}/agents/bulk_upgrade`,
};
export const AGENT_API_ROUTES_7_9 = {
CHECKIN_PATTERN: `${FLEET_API_ROOT_7_9}/agents/{agentId}/checkin`,
ACKS_PATTERN: `${FLEET_API_ROOT_7_9}/agents/{agentId}/acks`,
ENROLL_PATTERN: `${FLEET_API_ROOT_7_9}/agents/enroll`,
};

export const ENROLLMENT_API_KEY_ROUTES = {
CREATE_PATTERN: `${API_ROOT}/enrollment-api-keys`,
Expand Down
48 changes: 0 additions & 48 deletions x-pack/plugins/fleet/common/openapi/paths/[email protected]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion x-pack/plugins/fleet/common/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export interface FleetConfigType {
registryProxyUrl?: string;
agents: {
enabled: boolean;
fleetServerEnabled: boolean;
tlsCheckDisabled: boolean;
pollingRequestTimeout: number;
maxConcurrentConnections: number;
Expand Down
3 changes: 0 additions & 3 deletions x-pack/plugins/fleet/common/types/models/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import type { SavedObjectAttributes } from 'src/core/public';
export interface BaseSettings {
has_seen_add_data_notice?: boolean;
fleet_server_hosts: string[];
// TODO remove as part of https://github.com/elastic/kibana/issues/94303
kibana_urls: string[];
kibana_ca_sha256?: string;
}

export interface Settings extends BaseSettings {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const createConfigurationMock = (): FleetConfigType => {
registryProxyUrl: '',
agents: {
enabled: true,
fleetServerEnabled: false,
tlsCheckDisabled: true,
pollingRequestTimeout: 1000,
maxConcurrentConnections: 100,
Expand Down
9 changes: 0 additions & 9 deletions x-pack/plugins/fleet/scripts/dev_agent/index.js

This file was deleted.

Loading

0 comments on commit 78937e3

Please sign in to comment.