-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for -include-checks on changelog (#294)
* Extend include-checks to work with changelog * Default other checkers to INFO * Include all checkers in GetCHecks * Fix swapped checker IDs * Rename struct * Remove unused method * Add tests * Add tests
- Loading branch information
Showing
18 changed files
with
450 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: Tufin | ||
version: "1.0" | ||
servers: | ||
- url: https://localhost:9080 | ||
paths: | ||
/api/v1.0/groups: | ||
post: | ||
tags: | ||
- Group | ||
operationId: createOneGroup | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: Creates one project. | ||
required: true | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: OK | ||
"409": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: Conflict | ||
summary: Create One Project | ||
/api/v1.0/groups/{groupId}: | ||
get: | ||
operationId: returnOneGroup | ||
parameters: | ||
- $ref: '#/components/parameters/groupId' | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: OK | ||
summary: Return One Project | ||
components: | ||
parameters: | ||
groupId: | ||
in: path | ||
name: groupId | ||
required: true | ||
schema: | ||
type: string | ||
schemas: | ||
GroupView: | ||
type: object | ||
properties: | ||
data: | ||
type: object | ||
properties: | ||
created: | ||
type: string | ||
format: date-time | ||
readOnly: true | ||
pattern: "^[a-z]+$" | ||
id: | ||
type: string | ||
readOnly: true | ||
name: | ||
type: string | ||
required: | ||
- name |
65 changes: 65 additions & 0 deletions
65
data/run_test/breaking_changes_include_checks_revision.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: Tufin | ||
version: "1.0" | ||
servers: | ||
- url: https://localhost:9080 | ||
paths: | ||
/api/v1.0/groups: | ||
post: | ||
operationId: createOneGroup | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: Creates one project. | ||
required: true | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: OK | ||
summary: Create One Project | ||
/api/v1.0/groups/{groupId}: | ||
get: | ||
operationId: returnOneGroup | ||
parameters: | ||
- $ref: '#/components/parameters/groupId' | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: OK | ||
summary: Return One Project | ||
components: | ||
parameters: | ||
groupId: | ||
in: path | ||
name: groupId | ||
required: true | ||
schema: | ||
type: string | ||
schemas: | ||
GroupView: | ||
type: object | ||
properties: | ||
data: | ||
type: object | ||
properties: | ||
created: | ||
type: string | ||
format: date-time | ||
readOnly: true | ||
pattern: "^[a-z]+$" | ||
id: | ||
type: string | ||
readOnly: true | ||
name: | ||
type: string | ||
required: | ||
- name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: Tufin | ||
version: "1.0" | ||
servers: | ||
- url: https://localhost:9080 | ||
paths: | ||
/api/v1.0/groups: | ||
post: | ||
operationId: createOneGroup | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: Creates one project. | ||
required: true | ||
responses: | ||
"200": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: OK | ||
"409": | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/GroupView' | ||
description: Conflict | ||
summary: Create One Project | ||
components: | ||
parameters: | ||
groupId: | ||
in: path | ||
name: groupId | ||
required: true | ||
schema: | ||
type: string | ||
schemas: | ||
GroupView: | ||
type: object | ||
properties: | ||
created: | ||
type: string | ||
format: date-time | ||
readOnly: true | ||
pattern: ".*" | ||
id: | ||
type: string | ||
readOnly: true | ||
name: | ||
type: string | ||
required: | ||
- name |
Oops, something went wrong.