altinn-eformidling's People
altinn-eformidling's Issues
Find a way to separate the eFormidling integration point in Altinn from DigDir
Description
Altinn have a single eFormidling integration point using DigDir "credentials". We want the integration point being used by Apps in Altinn to be separated from the DigDir hierarchy.
Additional Information
No response
Move automated tests from the altinn-platform repository
Description
Team Platform wants to make the altinn-platform repository private. Automated tests needs to be moved here.
This includes the code and the workflow.
Additional Information
No response
Tasks
No response
Acceptance Criterias
- No remaining code or workflows in the altinn-platform repository
- Failures are correctly reported to slack on the alerts channels
Disable the check of failed shipments of eFormidling in TT02
Description
Turn off the TT02 tests for failed shipments.
Tasks
- Re-work test scripts
- QA
- Manual verification
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Detected dependencies
docker-compose
tests/k6/docker-compose.yml
grafana/k6 0.53.0
github-actions
.github/workflows/efm-ip-use-case.yml
actions/checkout v4
slackapi/slack-github-action v1.26.0
- Check this box to trigger a request for Renovate to run again on this repository
Upgrade the alarm check to ignore incomming messages
Description
The archiving system at Norges Bank generates a respons and sends it to us as a new message using the same conversation id. This is the theory as to why we're getting incomming messages from Norges Bank.
Conclusion: We should not have alarms on this, as it is a bug outside our systems (people should not send messages in the first place). The sender will also get "failed message" in theri end.
Additional Information
The API might already have support for filtering on incomming or outgoing messages.
API doc
Acceptance Criterias
- No alarm when we find receipts with message timeout status on incomming messages
- Issues with messages being sent still trigger alarms
Testing
This is a little tricky to test. The hope is that we can check for new LEVETID_UTLØPT receipts and cross check with the type of message as well as the time of alarms. A regression test would mean that we still correctly generate alarms for issues with messages we're sending. Is this something we can trigger?
Analysis: How to handle the asynchronicity of eFormidling
Description
eFormidling is an asynchronous system. It will accept requests on to a queue and generate a receipt after some time. The time will wary a lot from a few milliseconds to up to 24 hours. One submission will eventually get many receipts for different steps, but the most important one would probably be a confirmation of delivery.
This asynchronicity is not handled by the current client implemetation used by Apps. They will show the user a receipt of success before knowing how the submission actually went.
In scope
The channel currently being used is KS SvarInn. Another channel that has been wanted is DPV.
Question:
Should we allow apps that display success despite not actually knowing for sure whether the shipment succeeded or not?
The apps currently in development jumps directly to the receipt page once the user has submitted the data. This gives the impression of success. For other apps we rely on the application owner to take action. The responsibility is shifted over to them or somone they have hired to handle new instances.
The eFormidling integration is sneaking in a mechanism similar to what we have in Altinn 2 where Altinn is responsible for the sending of data untill confirmed received by the recipient.
Analysis:
How should Altinn ensure that the shipment is actually delivered? If eFormidling/KS SvarInn continue to refuse our shipment, how do we handle it? When KS has taken responsibility for a shipment they guarantee delivery and will eventually use print and mail it if necessary.
An alternative is to force apps that use eFormidling to have a waiting step in the process. The app will not indicate success unless we have successfully delivered the data through eFormidling. If all attempts to send the data fails, the user is informed and will need to try again later or contact their municipality in a different way.
Out of scope
No response
Additional Information
No response
Analysis
It's difficult to see Altinn implementing a printing and mailing system, but having apps that can wait for a successful submission sounds like a fun project.
The idea behind a waiting step comes from the SKD apps with feedback steps. We copy the idea and create a system that can check for receipts in eFormidling and automatically update the instance once the submission has gone through.
This is going to involve new infrastructure with Azure Functions, Storage Queues and a database to persist statuses. Alot of it is already implemented in our reference implenetation for application owners.
We remove the eFormidling client from the Apps. The integration is moved to a new system that can handle the process.
- Subscribe for events where an instance enters the waiting step.
- Download data and create a shipment for eFormidling.
- Store a status in a database
- Queue a polling job to look for receipts from eFormidling.
- Handle the receipt(s): Update instance and status based on receipt.
- Automatically end the waiting step. "process/next"
- Automatically complete the instance. "process/next"
- Automatically set the instance as complete on behalf of application owner. (This will allow actual delete once the user wants the instance deleted.) "instance/complete"
- The feedback step as a polling mechanism we can copy. Once the instance has been updated it will automatically show the receipt page if the user still have the browser window open.
Conclusion
No response
Move eFormidling code from the altinn-studio repository
On hold. Not sure if the eFormidling client code used by the Apps belong here or not.
Description
Code related to the eFormidling client currently located in the altinn-studio repository should be moved into its new home.
Try to retain as the commit history.
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.