Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-4017

Implement RBACv2 Wiremock for component testing

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • subs-swatch-thunder

      In order to better test authorization of SWATCH  component tests we need to implement a wiremock of the RBACv2 gRPC api. 

      Wiremock supports gRPC but needs to be updated to include the extension as shown here: https://wiremock.org/docs/grpc/#standalone-usage

       

      Wiremock-consoledot repo: https://github.com/RedHatInsights/wiremock-consoledot/tree/main

       

      Done:

      •  Wiremock available for admin permissions

        • subscriptions::
      • Wiremock available for report reader permissions

        • subscriptions:reports:read
      • Wiremock available for no permissions

              Unassigned Unassigned
              kflahert@redhat.com Kevin Flaherty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: