This documentation is for WSO2 Microgateway 3.0.1. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FolderDescription
api_definitions
Stores Open API definitions.
conf
Includes the deployment-config.toml file. This file includes details of the Docker image or the Kubernetes artifacts that needs to be created including the Microgateway project. The Docker image or the Kubernetes artifact are generated at build time.
extensions

Includes the following extensions.

  • extension_filter.bal - This sets meaningful error codes to the response.
  • startup_extension.bal
  • token_revocation_extension.bal - If a custom token revocation endpoint other than WSO2 API Manager is used, you can use this extension to notify WSO2 API Microgateway with regard to the revoked tokens. When the token is added to the revoked  token map via this extension, WSO2 API Microgateway is able to read the revoked token map and restrict access to the revoked token.
gen/api_definitionsIs it used to store all the Swagger definitions of the APIs that you import from WSO2 API Manager.
interceptors
Includes any request interceptors or response interceptors that you use for the APIs in the Microgateway project. An interceptor is able to perform mediation and transformation on a request or response.

policies.yaml

This specifies the predefined policies used for the project.

services

This inclues the following services.

  • authorize_endpoint.bal
  • revoke_endpoint.bal
  • token_endpoint.bal
  • user_info_endpoint.bal

target

Includes the compiled artifacts from the build command.

target/gen/api_definitions

Is it used to store all the Swagger definitions of the APIs that you import from WSO2 API Manager.