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

Add Tenant Logging Tests #2090

Merged
merged 1 commit into from Jun 6, 2022
Merged

Conversation

cniackz
Copy link
Collaborator

@cniackz cniackz commented Jun 6, 2022

Fixes https://github.com/miniohq/engineering/issues/604
Fixes https://github.com/miniohq/engineering/issues/603

To test these end points:

  /namespaces/{namespace}/tenants/{tenant}/enable-logging:
    post:
      summary: Enable Tenant Logging
      operationId: EnableTenantLogging
      parameters:
        - name: namespace
          in: path
          required: true
          type: string
        - name: tenant
          in: path
          required: true
          type: string
      responses:
        200:
          description: A successful response.
          schema:
            type: boolean
        default:
          description: Generic error response.
          schema:
            $ref: "#/definitions/error"
      tags:
        - OperatorAPI
  /namespaces/{namespace}/tenants/{tenant}/disable-logging:
    post:
      summary: Disable Tenant Logging
      operationId: DisableTenantLogging
      parameters:
        - name: namespace
          in: path
          required: true
          type: string
        - name: tenant
          in: path
          required: true
          type: string
      responses:
        200:
          description: A successful response.
          schema:
            type: boolean
        default:
          description: Generic error response.
          schema:
            $ref: "#/definitions/error"
      tags:
        - OperatorAPI

Coverage

-          threshold=51.50
+          threshold=51.90

@dvaldivia dvaldivia merged commit 2d80638 into minio:master Jun 6, 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

3 participants