Skip to content

Commit

Permalink
[Cases] Version connectors domain and apis (elastic#162059)
Browse files Browse the repository at this point in the history
## Summary

This PR versions the `connector` domain object and its corresponding
APIs

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
2 people authored and Devon Thomson committed Aug 1, 2023
1 parent 166a5e5 commit a8de58f
Show file tree
Hide file tree
Showing 180 changed files with 754 additions and 872 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/common/api/cases/case.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { ConnectorTypes } from '../connectors';
import { ConnectorTypes } from '../../types/domain/connector/v1';
import {
RelatedCaseInfoRt,
SettingsRt,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/common/api/cases/case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import * as rt from 'io-ts';
import { UserRt } from '../user';
import { CommentRt } from './comment';
import { CasesStatusResponseRt, CaseStatusRt } from './status';
import { CaseConnectorRt } from '../connectors/connector';
import { CaseAssigneesRt } from './assignee';
import {
limitedArraySchema,
Expand All @@ -32,6 +31,7 @@ import {
MAX_BULK_GET_CASES,
MAX_CASES_PER_PAGE,
} from '../../constants';
import { CaseConnectorRt } from '../../types/domain/connector/v1';

export const AttachmentTotalsRt = rt.strict({
alerts: rt.number,
Expand Down
89 changes: 0 additions & 89 deletions x-pack/plugins/cases/common/api/connectors/get_connectors.test.ts

This file was deleted.

37 changes: 0 additions & 37 deletions x-pack/plugins/cases/common/api/connectors/jira.test.ts

This file was deleted.

16 changes: 0 additions & 16 deletions x-pack/plugins/cases/common/api/connectors/jira.ts

This file was deleted.

117 changes: 0 additions & 117 deletions x-pack/plugins/cases/common/api/connectors/mappings.test.ts

This file was deleted.

51 changes: 0 additions & 51 deletions x-pack/plugins/cases/common/api/connectors/mappings.ts

This file was deleted.

36 changes: 0 additions & 36 deletions x-pack/plugins/cases/common/api/connectors/resilient.test.ts

This file was deleted.

15 changes: 0 additions & 15 deletions x-pack/plugins/cases/common/api/connectors/resilient.ts

This file was deleted.

Loading

0 comments on commit a8de58f

Please sign in to comment.