Read-only mirror of https://github.com/swiyu-admin-ch/swiyu-ecosystem-portal-scs — Bundesamt für Justiz. Issues & pull requests at the source.
  • TypeScript 60.8%
  • Java 18%
  • HTML 16.8%
  • SCSS 3.6%
  • Shell 0.4%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-26 04:14:26 +00:00
.git-hooks Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
.mvn Snapshot import from 2026-07-15T05:00:46Z 2026-07-15 05:00:46 +00:00
.run Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
assets Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
swiyu-ecosystem-portal-service Snapshot import from 2026-08-14T04:34:05Z 2026-08-14 04:34:05 +00:00
swiyu-ecosystem-portal-ui Snapshot import from 2026-08-14T04:34:05Z 2026-08-14 04:34:05 +00:00
.gitignore Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
.snyk Snapshot import from 2026-07-03T05:17:59Z 2026-07-03 05:17:59 +00:00
AGENTS.md Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
CHANGELOG.md Snapshot import from 2026-08-14T04:34:05Z 2026-08-14 04:34:05 +00:00
Dockerfile Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
mvnw Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
pom.xml Snapshot import from 2026-08-14T04:34:05Z 2026-08-14 04:34:05 +00:00
README.md Snapshot import from 2026-07-09T05:20:25Z 2026-07-09 05:20:25 +00:00
renovate.json Snapshot import from 2026-06-25T05:22:00Z 2026-06-25 05:22:00 +00:00
setVersions.sh Snapshot import from 2026-07-16T05:02:49Z 2026-07-16 05:02:49 +00:00

SWIYU Service Portal

Getting Started

To start the application locally run the following command:

mvn install # will also build the ui
mvn spring-boot:run -Dspring-boot.run.profiles=local

Add the mock-registration-service profile as well, if you wish to mock the communication with the core business service for the registration.

Spring Profiles

The backend uses a combination of Spring profiles to control which external services are used. IntelliJ run configurations for common combinations are provided in .run/.

Profile combination IntelliJ config When to use
local start:backend Default. All external service URLs point to localhost:8200 (no real services needed).
local,shared start:backend:shared Same as local for now — reserved for a future docker-compose/mock setup for shared dependencies.
local,shared,shared-dev start:backend:shared:dev Points external service URLs at the real DEV cloud environment (trust registry, identifier registry, core business service). Use this when you need to test against live DEV APIs.

The compound configs (start:app:shared, start:app:shared:dev) start both the Angular UI (npm run start, port 4501) and the backend (port 8501) together.

Why local and shared are separate: local is for personal/machine-specific overrides. shared is intended to hold team-wide configuration for a docker-compose-based mock infrastructure once that is set up. Until then it is empty and behaves identically to local.

PAMS API Proxy (for FOITT internal usage only)

To use/test the service navigation in local development please use the pams API proxy. see: https://bitbucket.bit.admin.ch/projects/EPORTAL/repos/pams-proxy/browse/readme.md?at=refs/heads/master

after install you can use the following command to start your local proxy:

$ pams-proxy --env=ref --level S2Plus --host \
  --uuid <YOUR_ePORTAL_UUID> 

Replace <YOUR_ePORTAL_UUID> with your users eportal id (see: https://eportal-r.admin.ch/profile/details) If you set the env variables you could use the following command:

$ pams-proxy --uuid $AUTH_PAMS_USER_ID --qa $AUTH_PAMS_QA --host https://portal-r.trust-infra.swiyu.admin.ch --level S2Plus --env=ref