Feature: Add Deployment Profile#17
Merged
Merged
Conversation
Introduce JSON Deployment Profiles and a backend that resolves feature and
guided-option availability from the active profile's provided capabilities.
- bootstrap profiles default-teacher-profile and ai-enabled-profile under
src/main/resources/deployment-profiles, with secret references only
- deployment package: DeploymentProfile domain, file-backed repository
(classpath bootstrap + data/deployment-profiles override), service,
CapabilityResolutionService, DTOs, and controlled DeploymentProfileException
- GET /api/deployment-profiles, GET /api/deployment-profiles/{id}, and
GET /api/feature-model/profile-availability?profileId= (default + per-profile)
- capabilities are read from guided-workflow option requiresCapabilities; the
teacher-facing reason hides raw ids while advanced views keep them
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Integrate deployment-profile availability into the guided Configurator. - header profile selector switches the active deployment profile and reconciles the current selection, removing now-unavailable features with a clear note - guided option cards are disabled with a readable teacher-facing reason when the active profile lacks their capabilities; raw capability ids stay out of the cards - review page shows the active profile and a profile-dependent feature summary - advanced tree debug view shows availability and the exact missing capability ids for the selected feature - workflow warnings no longer leak raw capability ids - FeatureModelService.loadWorkflowAvailability and deployment-profile types Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Apply the Phase 4 reassessment: teachers configure functional features only and
are never asked to choose a Deployment Profile.
- replace the two bootstrap profiles with a single default-artemis-profile that
provides every referenced capability and a richer, evidence-backed parameter
set (Iris/Athena/Spring AI/Atlas/Theia/Sharing + baseline); secrets are env:
references only
- DeploymentProfileService.DEFAULT_PROFILE_ID -> default-artemis-profile
- remove the header profile selector, onSelectProfile, and profile-switch
reconciliation; keep capability gating as a latent safety net for maintainer
local overrides
- neutral review wording ("Deployment context loaded") and a "needs deployment
setup" list; reframe the option hint to "Requires deployment setup"
- keep GET /api/feature-model/profile-availability?profileId= for tests/debug and
the advanced tree missing-capability view
- update backend and frontend tests for the single profile
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
# Conflicts: # src/main/webapp/app/feature-model/configurator/feature-model-configurator.component.ts
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.
No description provided.