Skip to content

equinor/fusion-app-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fusion App - Resources

The main purpose for the app is to manage personnel in the Equinor Fusion platform.

Technical

Initial POC / MVP service design: https://github.com/equinor/fusion/blob/technical/resource-service/services/resources.md

Role delegation

Infrastructure

The app will manage it's own infrastructure. This includes separate Azure AD App Registration. This makes the app transferable to other teams.

Azure AD

For now the fusion ad app is backing the resources api.

Test app: [GUID] Production app: [GUID]

Notifications

Scheduled report

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.

Scheduled function

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
Loading

Builder function

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
Loading

About

Manage resources in the fusion platform.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages