Open
Conversation
…s for REConf 2026 project
…onstrator-at-reconf-2026-conference-in-munich' into 1-implement-endpoint-check-pleml
… error handling and test coverage
|
| Retrieves the problem statement documentation element. | ||
| """ | ||
| query_url = mbse4u_sysmlv2.get_commit_url(server_url, project_id, commit_id) | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
| part_usages = mbse4u_sysmlv2.get_elements_fromAPI(query_url, part_usages_ids) | ||
| found_contexts = mbse4u_sysmlv2.find_elements_specializing(server_url, project_id, commit_id, part_usages, context_type, 'PartUsage') | ||
| context_part = found_contexts[0] if found_contexts else None | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
| Retrieves container for dependency relationships annotated with @FB. | ||
| """ | ||
| query_url = mbse4u_sysmlv2.get_commit_url(server_url, project_id, commit_id) | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
| """ | ||
| print(f"Creating Feature Binding between {client_id} and {supplier_id}") | ||
| query_url = mbse4u_sysmlv2.get_commit_url(server_url, project_id, commit_id) | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
| """ | ||
| print(f"Checking SYSMOD status for project {sysmod_project_id}") | ||
| query_url = mbse4u_sysmlv2.get_commit_url(server_url, project_id, commit_id) | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
|
|
||
| print(f"Getting SYSMOD atlas for project {sysmod_project_id}") | ||
| query_url = mbse4u_sysmlv2.get_commit_url(server_url, project_id, commit_id) | ||
| query_url = mbse4u_sysmlv2_helpers.get_commit_url(server_url, project_id, commit_id) |
| print(f"get_metadatausage_annotatedElement_ids returns: {results}") | ||
| return results | ||
|
|
||
| def get_owned_usages(server_url, project_id, commit_id, owner, feature_kind = None, feature_name = None, includeInherited = True): |
|
|
||
| return owned_usages | ||
|
|
||
| def get_owned_parameters(server_url, project_id, commit_id, owner, parameter_kind = "parameter"): |
| # Copyright 2026 MBSE4U - Tim Weilkiens. Licensed under the Apache License, Version 2.0. | ||
|
|
||
| import json | ||
| import uuid |
| @@ -0,0 +1,82 @@ | |||
| import pytest | |||
| from unittest.mock import patch, MagicMock | |||
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.


Implemented and checked endpoint to check if the given project is contains PLEML (feature tree).