wajeshubham / sap-api-gateway-fastapi-poc

API Gateway to intercept SAP requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

pip install -r requirements.txt

Usage

fastapi dev main.py

Request Flow

Start
  |
  V
Incoming Request
  |
  V
Request enters Middleware
  |
  V
Check Request Counter for Threshold
  |
  |---------------------------------------|
  |                                       |
  | (Counter < Threshold)                 | (Counter == Threshold)
  |                                       |
  |                                       V
  |                                 Trigger Async Email Task to Send Notification
  |                                       |
  |---------------------------------------|
  |
  V
Forward Request to SAP System
  |
  V
Receive Response from SAP System
  |
  V
Return Response to Client
  |
  V
End

About

API Gateway to intercept SAP requests


Languages

Language:Python 100.0%