Skip to main content

Register endpoints and services in DAC

Project description

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

Project details


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.9.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

dac_autoreg-0.2.9-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page