youtube image
From YouTube: Part 6/8 - Operations: 8-Part APISecOps Tutorial ROSA and Kong Konnect in the Red Hat Openshift

Description

APISecOps - Insomnia, Kong Konnect, Tekton - on ROSA

Part 6 of 8 Kong Partner Engineering's APISecOps Tutorial ROSA and Kong Konnect in the Red Hat Openshift Ecosystem: Operations.

In part 6 we continue to step 3 of our DevOps procedures, moving into governance and operations pipelines.

Follow along in GitHub: https://github.com/Kong/kong-apisecops-redhat#introduction

3. Governance Review and Publish API to Konnect-Sandbox Gateway Environment
Publish API to Sandbox Gateway Env

This step is for the Governance and Operations Personas

Now that PR is open on the apiops-gateway gitea repo, the sandbox pipeline can be executed. This pipeline will:

Execute standard OAS linting.
Execute custom governance linting rules.
Create the deck config from the apispec.
Add the mocking plugin to the apispec.
Deck sync to the Konnect Control Plane.

Once this Pipeline has run, navigate to the apiops-gateway gitea repo, and approve the pr opened on the sandbox branch.

Validation

Now that the API spec has been synced/published to the Konnect control plane you can validate via Insomnia that the gateway is exposing the API's correctly.

For the sandbox environment, keep in mind the mocking plugin was used so all data being return is not hitting an actual backend service. This was done intentionally to showcase how even in the case of APIops we can support external teams to testdrive new or updating APIs while the development teams build out the backend service.

Open the disputes design document in Insomnia.
In the bottom right corner select Generate Request Collection. This will drop you into the Debug Tab where you can execute API Requests.
Add the Konnect-Sandbox and Konnect-Dev Environment Details inorder to properly reach the API Gateways.
In the top left tab select the dropdown menu where it says OpenAPI env sandbox:8080
Select Manage Environments
Create a new Sub-Environment, Konnect-Sandbox
Paste in the konnect sandbox details, located in the ansible/demo_facts.json file.

Find all the resources you need in our self-paced demo on GitHub: https://github.com/Kong/kong-apisecops-redhat#introduction