integration glue
Find a file
2022-04-29 16:55:23 +02:00
app fails when user exists 2022-04-29 16:55:23 +02:00
.dockerignore init 2022-03-02 16:10:17 +01:00
.drone.yml add dronefile 2022-04-29 15:58:11 +02:00
.env.sample foo 2022-04-23 18:49:28 +02:00
.gitignore make apps abstract 2022-04-29 14:13:54 +02:00
compose.authentik.yml make apps abstract 2022-04-29 14:13:54 +02:00
compose.wekan.yml test setup kind of works 2022-04-22 18:34:48 +02:00
docker-compose.yml init 2022-03-02 16:10:17 +01:00
Dockerfile init 2022-03-02 16:10:17 +01:00
Makefile testytest 2022-04-29 16:43:47 +02:00
README.md make apps abstract 2022-04-29 14:13:54 +02:00
requirements.txt uff 2022-04-29 14:56:51 +02:00

integrate

integrate all the api's

Development

Getting Started

make init
make up
# wait a moment for containers to start
make test
make run
make down

notes

Provider: a leading system with userdata and a notification channel integrate can connect with (e.g. Authentik)
Apps: Have API that integrate can interact with and e.g. can create user (e.g. Nextcloud, Wekan)

challenges

  • How to handle errors in connected Apps

  • Apps can have different unique constrains than the Provider e.g. Wekan requires a unique Mail addr and authentik doesn't the specifig module for the apps api needs to know how to handle these errors

  • User in App could already exist

https://pydantic-docs.helpmanual.io/ https://jsontopydantic.com/ https://pydantic-docs.helpmanual.io/datamodel_code_generator/ https://docs.python.org/3/library/unittest.mock.html