The main purpose for the app is to manage personnel in the Equinor Fusion platform.
Initial POC / MVP service design: https://github.com/equinor/fusion/blob/technical/resource-service/services/resources.md
The app will manage it's own infrastructure. This includes separate Azure AD App Registration. This makes the app transferable to other teams.
For now the fusion ad app is backing the resources api.
Test app: [GUID] Production app: [GUID]
This functions send a weekly report to resource owners.
- The time triggered function
ScheduledReportTimerTriggerFunction.cs
run once every week. - Individual resource owners are sent to a queue on Azure ServiceBus.
- The content builder function
ScheduledReportContentBuilderFunction.cs
is triggered by the queue. The content builder function generate an adaptive card specific to each resource owner and their respective department. - The content is sent to the Core Notifications API which send the notification to the resource owner.
sequenceDiagram
Cron trigger ->>+ Time triggered function: Start function
LineOrg API ->>+ Time triggered function: Departments
LineOrg API ->>+ Time triggered function: Resource owners
Time triggered function ->>+ ServiceBus queue: Single resource owners sent to queue
sequenceDiagram
ServiceBus queue ->>+ Content builder function: Resource owner
Resource API ->>+ Content builder function: Requests for department
Resource API ->>+ Content builder function: Personnel for department
Resource API ->>+ Content builder function: Leave for personnel
Org API ->>+ Content builder function: Changelog for personnel
Content builder function ->>+ Notifications API: Content for resource owner