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.7.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for dac_autoreg-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4660693a7257f146c359f71cda8b213021b7287ddb50164369ce2e318fab31c3 |
|
MD5 | 74c8df1ba5292c7c3400d53389e12d3a |
|
BLAKE2b-256 | e7afb78f9cc980b28ceffb7c16aee044293078fd578d367d1854c8a9b7a03830 |