dac-autoreg

Register endpoints and services in DAC


Keywords
access-control, autoreg, dac, microservice, python
License
MIT
Install
pip install dac-autoreg==0.3.0

Documentation

License: MIT GitHub stars GitHub forks GitHub issues

About

This module is used to register endpoints and service names to DAC [Dyncamic Access Control] service.

DAC [Dyncamic Access Control] service is used to control accesses between microservices and users

Visit https://github.com/OnePoint-Team/DAC for more information about DAC service

🔨 Installation

 $ sudo pip3 install dac_autoreg

🕹 Python Module

from fastapi import FastAPI
from core.factories import settings
from core.extensions import log

from dac_autoreg.modules import Autoreg

app = FastAPI()

@app.on_event("startup")
async def startup():
    await Autoreg(app=app, log=log, settings=settings).autoreg()

Supported OS

Linux, MacOS

🌱 Contributing

Feel free to open issue and send pull request.

Python >= 3.6