Skip to content

Commit

Permalink
moving to jira to a gold license (#67178)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
XavierM and elasticmachine committed Jun 5, 2020
1 parent f0300a9 commit 0cb8947
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
ExecutorSubActionGetIncidentParamsSchema,
ExecutorSubActionHandshakeParamsSchema,
} from './schema';
import { LicenseType } from '../../../../../legacy/common/constants';

export interface AnyParams {
[index: string]: string | number | object | undefined | null;
Expand Down Expand Up @@ -51,6 +52,7 @@ export type Comment = TypeOf<typeof CommentSchema>;
export interface ExternalServiceConfiguration {
id: string;
name: string;
minimumLicenseRequired: LicenseType;
}

export interface ExternalServiceCredentials {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ export const createConnector = ({
configurationUtilities,
executor = createConnectorExecutor({ api, createExternalService }),
}: CreateActionTypeArgs): ActionType => ({
id: config.id,
name: config.name,
minimumLicenseRequired: 'platinum',
...config,
validate: {
config: schema.object(validationSchema.config, {
validate: curry(validate.config)(configurationUtilities),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import * as i18n from './translations';
export const config: ExternalServiceConfiguration = {
id: '.jira',
name: i18n.NAME,
minimumLicenseRequired: 'gold',
};
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import * as i18n from './translations';
export const config: ExternalServiceConfiguration = {
id: '.servicenow',
name: i18n.NAME,
minimumLicenseRequired: 'platinum',
};

0 comments on commit 0cb8947

Please sign in to comment.