Skip to content

Commit

Permalink
Merge pull request #64 from vivekhiwarkar/new_fix_buf_issue
Browse files Browse the repository at this point in the history
Fixing lint issue from buf
  • Loading branch information
niravparikh05 committed Aug 26, 2022
2 parents eb88366 + 10396c7 commit 27805eb
Show file tree
Hide file tree
Showing 172 changed files with 11,179 additions and 13,144 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,9 +6,13 @@ All notable changes to this project will be documented in this file.

## Added

- Adding more audit points for better visibility from [vivekhiwarkar](https://github.com/vivekhiwarkar)
- Added more audit points for better visibility from [vivekhiwarkar](https://github.com/vivekhiwarkar)
- Added audit point for kubeconfig download [meain](https://github.com/meain)

## Fixed

- Fixed lint issues due to buf from [vivekhiwarkar](https://github.com/vivekhiwarkar)

## [0.1.2] - 2022-08-12

## Fixed
Expand Down
10 changes: 10 additions & 0 deletions buf.yaml
Expand Up @@ -10,3 +10,13 @@ breaking:
lint:
use:
- DEFAULT
except:
- PACKAGE_VERSION_SUFFIX
- FIELD_LOWER_SNAKE_CASE
- RPC_REQUEST_RESPONSE_UNIQUE
- PACKAGE_DIRECTORY_MATCH
- RPC_REQUEST_STANDARD_NAME
- RPC_RESPONSE_STANDARD_NAME
- ENUM_ZERO_VALUE_SUFFIX
- ENUM_VALUE_PREFIX
- ENUM_VALUE_UPPER_SNAKE_CASE
6 changes: 3 additions & 3 deletions gen/openapi/pkg/gateway/testdata/test.swagger.json
Expand Up @@ -6,7 +6,7 @@
},
"tags": [
{
"name": "Test"
"name": "TestService"
}
],
"consumes": [
Expand All @@ -18,7 +18,7 @@
"paths": {
"/v3/test/{metadata.name}/test/{metadata.name}": {
"get": {
"operationId": "Test_Get",
"operationId": "TestService_Get",
"responses": {
"200": {
"description": "A successful response.",
Expand Down Expand Up @@ -48,7 +48,7 @@
}
],
"tags": [
"Test"
"TestService"
]
}
}
Expand Down
50 changes: 25 additions & 25 deletions gen/openapi/proto/rpc/audit/auditlog.swagger.json
Expand Up @@ -9,7 +9,7 @@
},
"tags": [
{
"name": "AuditLog"
"name": "AuditLogService"
}
],
"schemes": [
Expand All @@ -26,12 +26,12 @@
"paths": {
"/event/v1/auditlog": {
"get": {
"operationId": "AuditLog_getAuditLogByProjects",
"operationId": "AuditLogService_GetAuditLogByProjects",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1auditLogSearchResponse"
"$ref": "#/definitions/v1GetAuditLogSearchResponse"
}
},
"403": {
Expand All @@ -55,42 +55,42 @@
"parameters": [
{
"name": "metadata.name",
"description": "Name. name of the resource",
"description": "Name\n\nname of the resource",
"in": "query",
"required": false,
"required": true,
"type": "string"
},
{
"name": "metadata.displayName",
"description": "Display Name. display name of the resource",
"description": "Display Name\n\ndisplay name of the resource",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.description",
"description": "Description. description of the resource",
"description": "Description\n\ndescription of the resource",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.project",
"description": "Project. Project of the resource",
"description": "Project\n\nProject of the resource",
"in": "query",
"required": false,
"required": true,
"type": "string"
},
{
"name": "metadata.organization",
"description": "Organization. Organization to which the resource belongs",
"description": "Organization\n\nOrganization to which the resource belongs",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.partner",
"description": "Partner. Partner to which the resource belongs",
"description": "Partner\n\nPartner to which the resource belongs",
"in": "query",
"required": false,
"type": "string"
Expand Down Expand Up @@ -199,18 +199,18 @@
}
],
"tags": [
"AuditLog"
"AuditLogService"
]
}
},
"/event/v1/{metadata.urlScope}/auditlog": {
"get": {
"operationId": "AuditLog_getAuditLog",
"operationId": "AuditLogService_GetAuditLog",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1auditLogSearchResponse"
"$ref": "#/definitions/v1GetAuditLogSearchResponse"
}
},
"403": {
Expand Down Expand Up @@ -241,42 +241,42 @@
},
{
"name": "metadata.name",
"description": "Name. name of the resource",
"description": "Name\n\nname of the resource",
"in": "query",
"required": false,
"required": true,
"type": "string"
},
{
"name": "metadata.displayName",
"description": "Display Name. display name of the resource",
"description": "Display Name\n\ndisplay name of the resource",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.description",
"description": "Description. description of the resource",
"description": "Description\n\ndescription of the resource",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.project",
"description": "Project. Project of the resource",
"description": "Project\n\nProject of the resource",
"in": "query",
"required": false,
"required": true,
"type": "string"
},
{
"name": "metadata.organization",
"description": "Organization. Organization to which the resource belongs",
"description": "Organization\n\nOrganization to which the resource belongs",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "metadata.partner",
"description": "Partner. Partner to which the resource belongs",
"description": "Partner\n\nPartner to which the resource belongs",
"in": "query",
"required": false,
"type": "string"
Expand Down Expand Up @@ -379,7 +379,7 @@
}
],
"tags": [
"AuditLog"
"AuditLogService"
]
}
}
Expand Down Expand Up @@ -420,7 +420,7 @@
"default": "NULL_VALUE",
"description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
},
"v1auditLogQueryFilter": {
"v1AuditLogQueryFilter": {
"type": "object",
"properties": {
"type": {
Expand Down Expand Up @@ -464,7 +464,7 @@
}
}
},
"v1auditLogSearchResponse": {
"v1GetAuditLogSearchResponse": {
"type": "object",
"properties": {
"result": {
Expand Down

0 comments on commit 27805eb

Please sign in to comment.