Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Tenant Log Test #2093

Merged
merged 2 commits into from Jun 7, 2022
Merged

Adding Tenant Log Test #2093

merged 2 commits into from Jun 7, 2022

Conversation

cniackz
Copy link
Collaborator

@cniackz cniackz commented Jun 6, 2022

Fix https://github.com/miniohq/engineering/issues/602

To test end points:

  /namespaces/{namespace}/tenants/{tenant}/log:
    get:
      summary: Get Tenant Logs
      operationId: GetTenantLogs
      parameters:
        - name: namespace
          in: path
          required: true
          type: string
        - name: tenant
          in: path
          required: true
          type: string
      responses:
        200:
          description: A successful response.
          schema:
            $ref: "#/definitions/tenantLogs"
        default:
          description: Generic error response.
          schema:
            $ref: "#/definitions/error"
      tags:
        - OperatorAPI
    put:
      summary: Set Tenant Logs
      operationId: SetTenantLogs
      parameters:
        - name: namespace
          in: path
          required: true
          type: string
        - name: tenant
          in: path
          required: true
          type: string
        - name: data
          in: body
          required: true
          schema:
            $ref: "#/definitions/tenantLogs"
      responses:
        200:
          description: A successful response.
          schema:
            type: boolean
        default:
          description: Generic error response.
          schema:
            $ref: "#/definitions/error"
      tags:
        - OperatorAPI

Coverage

-          threshold=51.90
+          threshold=52.20

@bexsoft bexsoft merged commit 969feb8 into minio:master Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants