Skip to content

feat(portal): add core domain, use cases and HRID-to-UUID factory#17306

Merged
konrad-krol-incubly merged 1 commit into
masterfrom
feat/portal-domain
Jun 2, 2026
Merged

feat(portal): add core domain, use cases and HRID-to-UUID factory#17306
konrad-krol-incubly merged 1 commit into
masterfrom
feat/portal-domain

Conversation

@konrad-krol-incubly
Copy link
Copy Markdown
Contributor

Issue

https://gravitee.atlassian.net/browse/EXT-134

Description

Context: First slice of the next-gen Portal feature for the Automation API — introduces the domain layer of the Portal resource so reviewers can absorb the model, contracts, and use cases in isolation before persistence or REST wiring lands.

Scope:

  • Adds the Portal core model (entity + value-object id + not-found exception) and its CRUD service interface.
  • Introduces four use cases covering create-or-update, get, delete, and default-portal seeding, fully covered by unit tests backed by an in-memory CRUD
    service.
  • Extends the HRID-to-UUID factory with a deterministic portal() derivation used by the seed.
  • No Spring wiring yet — the use cases ship without the framework annotation so the module boots green until persistence arrives in PR 2.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

@dev-marek dev-marek left a comment

Choose a reason for hiding this comment

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

Please do some minor changes, but overall nice job

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

@konrad-krol-incubly konrad-krol-incubly marked this pull request as ready for review June 2, 2026 11:22
@konrad-krol-incubly konrad-krol-incubly requested a review from a team as a code owner June 2, 2026 11:22
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@konrad-krol-incubly konrad-krol-incubly merged commit 8a9e0be into master Jun 2, 2026
13 checks passed
@konrad-krol-incubly konrad-krol-incubly deleted the feat/portal-domain branch June 2, 2026 16:05
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.

2 participants