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

OVV - Create integration-code to fetch data from remote #202

Open
2 of 9 tasks
Tracked by #200
olebhansen opened this issue Sep 30, 2024 · 0 comments
Open
2 of 9 tasks
Tracked by #200

OVV - Create integration-code to fetch data from remote #202

olebhansen opened this issue Sep 30, 2024 · 0 comments

Comments

@olebhansen
Copy link

olebhansen commented Sep 30, 2024

Description

This task is to code the API-calls to BR/OVV to fetch data (i.e. read-only / one-way-synch FROM BR/OVV).
Part of this task should be to "solve" how to do incremental and batched updates. This will require research into the availbale OVV system API.

Regular triggering of this integration for the purpose of keeping our replica in synch, is in task #206

Client code should be a part of the profile integrations project.

Future support for write-operations will be part of #201

Be aware of possible IP filtering at BR.

Additional information

Altinn 2 batch: (private repo) https://dev.azure.com/digdir/_git/Altinn?path=/SBL/Batch/KoFuVi/KoFuViSync.cs

Tasks

  • OVV- Get Credentails for OVV endpoints #205
  • Configure OVV credentials. Enterprise certificate
  • Feature/job: initial dataload
  • Feature: incremental/delta-updates
    • Analyse the batch in Altinn 2 and associated logic in the Register component.
    • Implement the same logic in Profile.
    • The job should be triggered with a HTTPS call against a new endpoint in TriggerController.

To be decided: What to do if the full/delta difrentiation is not as easy as just starting at 0 and incrementing a counter.
Decided: We assume that we can start from 0, but it should be investigated.

Acceptance criteria:

  • Our code can call the OVV API and get a sucessfull response back (i.e. with data)

Things to discuss

  • Threat modelling
    Discuss possible security issues
  • Documentation
  • Do we need to update documentation in altinn docs?
  • Do we need Internal documentation (confluence)?
  • External tests
  • Should new functionality be Regression tested?
  • Should new functionality be included in Usecase tests?
  • Acceptance criteria
    Does the issue have defined acceptance criteria?
@olebhansen olebhansen changed the title Create integration-code OVV - Create integration-code Oct 1, 2024
@olebhansen olebhansen changed the title OVV - Create integration-code OVV - Create integration-code to fetch data from remote Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant