-
Notifications
You must be signed in to change notification settings - Fork 19
update metamodel to follow process requirements #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //src:license-checkStatus: Click to expand output |
|
Unfortunately we cannot apply changes, as long as examples in process repo violate them.
|
Thanks god we have CI, I will fix it |
156e697 to
6fc11ca
Compare
6fc11ca to
750a2eb
Compare
|
The created documentation from the pull request is available at: docu-html |
|
This PR probably addresses this topic: #268 (review) as addressed by @aschemmel-tech |
MODULE.bazel
Outdated
| module_name = "score_process", | ||
| remote = "https://github.com/eclipse-score/process_description.git", | ||
| commit = "5c4c11df4af3d48592f15d26c70a11c82a38402b", # trlc-2.0.2 release | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is a git override necessary here??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried building without the override and got these errors:
folder_templates/features/feature_name/architecture/index.rst:139: WARNING: comp_arc_sta__feature_name__component_name: is missing required link: `fulfils`. [score_metamodel]
folder_templates/modules/module_name/component_name/docs/architecture/index.rst:114: WARNING: comp_arc_sta__component_name__2: is missing required link: `fulfils`. [score_metamodel]
So it seems to be about the fundamental problem that docs-as-code and score_process have a circular dependency. I created #272 for this.
Now we need to quicker fix for this change. We could leave fulfils optional for now.
| status: ^(valid|invalid)$ | ||
| mandatory_links: | ||
| includes: ^logic_arc_int(_op)*__.+$ | ||
| optional_links: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! According to tool_req__docs_arch_link_fulfils this should have been mandatory already.
The other changes to the metamodel also match the current requirements imho.
| optional_links: | ||
| includes: logic_arc_int_op | ||
| fulfils: comp_req | ||
| fulfils: feat_req |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change also requires a corresponding change in tool_req__docs_arch_link_fulfils.
* Undo git-override Due to a circular dependency this implies a certain fulfils link is still optional until score_process documents are fixed. * Adapt requirement to process/metamodel change
📌 Description
🚨 Impact Analysis
✅ Checklist