Skip to content

Commit

Permalink
Add xpack.cloud.full_story configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Jun 16, 2021
1 parent d3c1f7c commit b12ffff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x-pack/plugins/cloud/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ const apmConfigSchema = schema.object({
),
});

const fullStoryConfigSchema = schema.object({
enabled: schema.boolean({ defaultValue: false }),
orgId: schema.maybe(schema.string()),
});

const configSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
id: schema.maybe(schema.string()),
Expand All @@ -27,6 +32,7 @@ const configSchema = schema.object({
profile_url: schema.maybe(schema.string()),
deployment_url: schema.maybe(schema.string()),
organization_url: schema.maybe(schema.string()),
full_story: fullStoryConfigSchema,
});

export type CloudConfigType = TypeOf<typeof configSchema>;
Expand All @@ -39,6 +45,7 @@ export const config: PluginConfigDescriptor<CloudConfigType> = {
profile_url: true,
deployment_url: true,
organization_url: true,
full_story: true,
},
schema: configSchema,
};

0 comments on commit b12ffff

Please sign in to comment.