Open
Description
Create a service like metrics or requests to support flask_cors
https://flask-cors.readthedocs.io/en/latest/
How-to:
- Read the tutorial How to create services
- Add new dependencies in setup.py
- Create the service
- Initialize the Service in create_app.Microservice.init_app
Challenge:
Try to pass the configuration from configuration file to CORS initialization
pyms:
services:
cors:
resources:
"/api/*":
"origins": "*"