Altinn / altinn-profile

Altinn platform microservice for handling user profile
0 stars 1 forks source link

Establish KRR synch-job/trigger #188

Open olebhansen opened 2 months ago

olebhansen commented 2 months ago

Description

Blocked by #187

This task is to trigger the feature from #187 on a schedule.

The plan is to trigger trough an scheduled curl-call to an internal/unexposed API call, as is the pattern for the other similar jobs in other apps. Storage is using the same feature to start cleanup jobs and Notifications is using it to trigger different order processing tasks. The jobs are defined as kubernetes jobs in the helm charts (altinn-studio-ops repo in Azure DevOps).

The endpoints should not be visible for the ApiExplorer (OpenAPI spesification).

Additional info

NB: the discussion was also to run the code in the job itself. This is not in scope now (for the sake of uniformity).

The batch in Altinn 2 runs once every 10 minutes.

Tasks

Acceptance criteria

SandGrainOne commented 1 week ago

PR was approved. The changes can be merged on Wednesday next week. That gives us a week to run KRR sync in TT02 and production.