Register endpoints and services in DAC
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dac-autoreg-0.2.8.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for dac_autoreg-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4801651b7c3b35dae8571cd0b818ae2a50a2fd7038e79e1fa9fc6fde7c99bd |
|
MD5 | e4ed350bb188dda99b43ce82a9b836ad |
|
BLAKE2b-256 | 928b1126cb378f1eb4dc10b3119c09bd8ef587a425466cf1fabf4d812815a778 |