Skip to content

Commit

Permalink
moving to jira to a gold license
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed May 21, 2020
1 parent 484e0a9 commit 6b1f481
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 @@ -119,9 +119,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 6b1f481

Please sign in to comment.