Skip to content

adding doc on multi-tenancy#287

Merged
jkiddo merged 2 commits into
masterfrom
adding-multitenancy-docs
May 28, 2026
Merged

adding doc on multi-tenancy#287
jkiddo merged 2 commits into
masterfrom
adding-multitenancy-docs

Conversation

@jkiddo
Copy link
Copy Markdown
Collaborator

@jkiddo jkiddo commented May 20, 2026

This pull request introduces several improvements and new features across the build scripts and documentation for the eHealth Infrastructure project. The most significant changes include a major refactor and enhancement of the _build.bat script, the introduction of a new cross-platform _build.sh script, improvements to internet connectivity checks, and the addition of new documentation for multitenancy support.

Build Script Improvements and Refactoring:

  • Major refactor of _build.bat to improve argument parsing, add extra argument support, clarify user prompts (including default reasons), and unify script termination logic with a single :endscript label. Also improves offline handling and messaging, and ensures extra arguments are passed to the publisher. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
  • Adds a new _build.sh Bash script for Linux/macOS environments, providing feature parity with _build.bat including interactive and command-line-driven modes, improved internet checks, update/download logic, and cleanup operations.

Connectivity and Robustness Enhancements:

  • Replaces legacy ping-based internet checks with a more reliable PowerShell HTTP request in _build.bat, _genonce.bat, and _updatePublisher.bat for better cross-platform and network reliability. [1] [2] [3]

Documentation and Guidance Updates:

  • Adds a comprehensive new multitenancy.md guidance document describing the coexistence model, tagging, markup, and search behavior for multi-solution environments, and links it from the navigation menu. [1] [2]

Minor Usability and Consistency Fixes:

  • Improves script output messages for clarity and consistency, especially around publisher location, version status, and offline warnings. [1] [2]
  • Fixes logic for the skipPrompts variable to consistently use "true" instead of "y" for batch script prompt suppression. [1] [2] [3]

These changes collectively modernize and streamline the build process, improve reliability and user experience, and provide clearer documentation for multi-tenant solution support.

Comment thread input/pagecontent/multitenancy.md Outdated
@@ -0,0 +1,37 @@
The eHealth Infrastructure supports a softened form of multitenancy referred to as *coexistence*: multiple solutions share the same infrastructure while each solution decides when to search generically across the shared data and when to scope queries to its own data. The full description is maintained on the [wiki site](https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/2355986433/Multitenancy).

The mechanism rests on three elements:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there should be something about coexistance tags in the JWT context.

@jkiddo jkiddo requested a review from tyfoni-systematic May 21, 2026 09:09
@ohetrifork
Copy link
Copy Markdown
Contributor

The menu seems to span 2 lines with the addition of multitenancy - is that on purpose?

image

@jkiddo jkiddo merged commit 4498097 into master May 28, 2026
2 checks passed
@jkiddo jkiddo deleted the adding-multitenancy-docs branch May 28, 2026 12:17
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

Successfully merging this pull request may close these issues.

3 participants