Altinn / app-localtest

Solution for testing apps locally on your own machine
8 stars 14 forks source link

add controller for handling generic events #69

Closed chrrust closed 10 months ago

chrrust commented 10 months ago

Description

The purpose of this PR is to synchronize the endpoints for events between Altinn Platform and localtest. In Altinn Events API, there are two endpoints for processing events. One for app events, and one for generic events. Currently, only the app events endpoint is present in localtest.

The PR adds an endpoint for processing generic events. Validation works the same as in Altinn Events API. However, as with app events, the events are just saved to a file and not done anything with.

The added endpoint for generic events is the same as the app events endpoint with some minor tweaks for validation and routing.

Verification

chrrust commented 10 months ago

@ivarne Har du mulighet til å merge? Har ikke rettigheter til det