Goal template api impl / Goal SDK / AmoutOf-GoalTemplate - #50
Merged
Conversation
added 3 commits
May 11, 2026 14:37
* Webservice impl + Test * GoalService implementation * Extension of the ComponentFactory Webservice for GoalTemplates * Some changes and additions to the API - already synced to the Frontend! MORE-Platform#325: first simple version of the GaolSDK * Simple SDK with all the base function like storing named key/value pairs * Extended all the Factory, Properties und Component classes for gaols MORE-Platform#346: GoalTemplate for `amountOf` goal templates (trink, eat and reduce) Additionally: * refactored all ComponentFactory beans to use applicationContext! No Bean that registers directly the `Map<String,ComponentFactory>` anymore!
janoliver20
approved these changes
May 13, 2026
added 3 commits
May 13, 2026 15:06
…ontext.getBean() does never return NULL but throws exceptions instead. This needed to be reflected in the mocks of unit tests!
…ed the dependency in the MoreSDK from the GoalRepository to the GoalService.
…wed to contain template references. It also validates that all template references are valid in case a allowList is defined. This also defines this allowList for all three usages of this class
…into umm/326-goal-template-api-impl
…mbh/more-studymanager-backend into umm/326-goal-template-api-impl
…lue. Also added UnitTests for the AmoutOf goal template factory and the ComponentController validate method
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.
326: Implementation of the Goal APIs for the StudyManager
325: first simple version of the GaolSDK
346: GoalTemplate for
amountOfgoal templates (trink, eat and reduce)Additionally:
Map<String,ComponentFactory>anymore!