Exercise

Review the security of the ACME Brewery API!

ACME released a first version of its Brewery API secured with API Keys. However, since high security is a stake, we need to update the security scheme to OpenID Connect.

  • Open the APICurio Studio
  • Login with your account
  • Copy this URL and import it in APIcurio
  • Review the existing design and try to determine what changed with the previous API Contract
  • Open the OpenShift Web Console
  • Go to Builds > Pipelines
  • Click on your pipeline (the one that ends with your username)
  • Click Actions > Edit
  • Change line number 8 from:
      openapi_file: "api-contracts/beer-catalog-1.0.yaml",

to:

      openapi_file: "api-contracts/beer-catalog-2.0.yaml",
  • Click Save
  • Click Start Pipeline

Wait for your pipeline to finish!