Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler um Endpunkte ergänzen und absichern #735

Open
Ollitod opened this issue Feb 7, 2024 · 0 comments
Open

Scheduler um Endpunkte ergänzen und absichern #735

Ollitod opened this issue Feb 7, 2024 · 0 comments

Comments

@Ollitod
Copy link
Collaborator

Ollitod commented Feb 7, 2024

IST:
Scheduler in MEGA verhindern, dass die Applikation bei keiner Auslastung downgescaled wird.

SOLL:
Für alle Scheduled-Jobs sollen Endpunkte geschaffen werden, die extern aufgerufen werden können, um die Applikation "anzustupsen" und ein Startup einzuleiten.

Beschreibung:
Um die dafür notwendigen Endpunkte abzusichern, ist auf quarkus-oidc umzustellen und die Applikation multi-tenancy-fähig zu machen. Die Authentifizierung erfolgt über einen OAuth Client Credentials Flow.
Eine besondere Problemstelle beim Scheduling ist das Polling der Mailbox. Um davon loszukommen, soll MEGA benachrichtigt werden, wenn eine neue, relevante Email, in der Mailbox landet. Dazu wird Google Cloud Pub/Sub genutzt. MEGA sendet einen watch-Request an die Google Mail API. Anschließend benachrichtigt die Google Mail API ein Pub/Sub Topic. Darauf reagiert eine Subscription in der Google Cloud und sendet einen authentifizierten Request an MEGA (Webhook), woraufhin die Verarbeitung der Email angestoßen wird.

Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
rainer-gepardec added a commit to Gepardec/mega-backend that referenced this issue Feb 16, 2024
rainer-gepardec added a commit to Gepardec/mega-backend that referenced this issue Feb 19, 2024
rainer-gepardec added a commit to Gepardec/mega-backend that referenced this issue Feb 20, 2024
…void name clash with java RolesAllowed annotation
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
…void name clash with java RolesAllowed annotation
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Feb 23, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod pushed a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
…void name clash with java RolesAllowed annotation
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 13, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 20, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 20, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 23, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
Ollitod added a commit to Gepardec/mega-backend that referenced this issue Sep 24, 2024
@Ollitod Ollitod changed the title Scheduler durch Endpunkte ersetzen Scheduler um Endpunkte ergänzen und absichern Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Testing
Development

No branches or pull requests

1 participant