Add the Altinn landscape generator and update the Apps drawings - #3131
Merged
Merged
Conversation
Adds scripts/altinn-landscape/generate.js, which builds all landscape drawings from origin/main of the Altinn repositories with git ls-tree, and a README on how to run it and how to fix paths it reports as missing. The script exits with an error when a link points to a path that no longer exists on main. The app backend has moved to altinn-studio/src/App/backend, so the Apps drawings now link there and reflect its current code: the workflow engine integration replaces the process event dispatcher and the Fiks Arkiv and eFormidling hosted loops, instance locking and the Altinn Events receive stack are gone, and obsolete APIs such as PagesController and TextClient are dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: Altinn/altinn-studio-docs/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two follow-ups to the Altinn landscape page (#3127, #3129, #3130).
The generator is now in the repository
scripts/altinn-landscape/generate.jsbuilds all the drawings on the page. It reads the file list oforigin/mainin each Altinn repository withgit ls-tree, so the local branch does not matter and nothing in the repositories changes. It has no npm dependencies.If a link points to a path that no longer exists on
main, the script lists it and exits with code 1.scripts/altinn-landscape/README.mdexplains how to run the script, which repositories it needs, how it is structured and how to fix missing paths. The landscape page links to the README and notes that manual edits in draw.io are overwritten on the next run.Apps now points to the app backend in altinn-studio
The app backend has moved to
altinn-studio/src/App/backend, andapp-lib-dotnetis no longer updated (last commit 2026-09-21). The Apps drawings now link there and reflect the current code:WorkflowEngineService,WorkflowEngineCallbackController) is added to the process engine columnProcessEventDispatcher,EformidlingStartupandFiksArkivHostare replaced by the workflow engine,EFormidlingStatusReaderandFiksArkivSubscriberPagesControllerandTextClientare removed as obsolete APIsThe app frontend still links to
app-frontend-react, which is still active.The other drawings change only because frames below Apps moved down slightly. Their content is the same, except that the PEP "Used by" link now points to altinn-studio.
Checked with a local
hugobuild: no errors.🤖 Generated with Claude Code
Summary by CodeRabbit
app-libis in the Altinn Studio repository.