Skip to content

[1048] Improve TransitionUsage to improve control of succession of#1095

Merged
AxelRICHARD merged 1 commit intoeclipse-syson:mainfrom
adaussy:ada/fix/issue1048
Mar 11, 2025
Merged

[1048] Improve TransitionUsage to improve control of succession of#1095
AxelRICHARD merged 1 commit intoeclipse-syson:mainfrom
adaussy:ada/fix/issue1048

Conversation

@adaussy
Copy link
Contributor

@adaussy adaussy commented Mar 10, 2025

action

Bug: #1048

PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW

Project management

  • Has the pull request been added to the relevant milestone?
  • Have the priority: and pr: labels been added to the pull request? (In case of doubt, start with the labels priority: low and pr: to review later)
  • Have the relevant issues been added to the pull request?
  • Have the relevant labels been added to the issues? (area:, type:)
  • Have the relevant issues been added to the same project milestone as the pull request?

Changelog and release notes

  • Has the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc been updated to reference the relevant issues?
  • Have the relevant API breaks been described in the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • In case of a change with a visual impact, are there any screenshots in the doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • In case of a key change, has the change been added to Key highlights section in doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • Are the new / upgraded dependencies mentioned in the relevant section of the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?

Documentation

  • Have you included an update of the documentation in your pull request? Please ask yourself if an update (installation manual, user manual, developer manual...) is needed and add one accordingly.

Tests

  • Is the code properly tested? Any pull request (fix, enhancement or new feature) should come with a test (or several). It could be unit tests, integration tests or cypress tests depending on the context. Only doc and releng pull request do not need for tests.

result = actionUsage;
}
// See specification constraint deriveTransitionUsageSource in TransitionUsage
Feature sourceFeature = this.sourceFeature();
Copy link
Member

Choose a reason for hiding this comment

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

Nope, this is not what is described in the specification.
I will update it to conform to the sepcification.

// TODO: implement this method
// Ensure that you remove @generated or mark it @generated NOT
return null;
return this.getOwnedMembership().stream()
Copy link
Member

Choose a reason for hiding this comment

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

Nope, this is not what is described in the specification.
I will update it to conform to the specification.

```
- Improve `PortDefinition` textual import by creating the required `ConjugatedPort` during the import process.

- Improve `TransitionUsage` import with _implit_ source. In the following example, the source of outgoing `TransitionUsages` of the `DecisionNode` are now properly resolved.
Copy link
Member

Choose a reason for hiding this comment

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

  • implit -> implicit
  • Only one sentence per line please.

Could you please take the time to review your contributions, especially the sentences in the changelog and the release note please? It will help you finding the mistakes and fix them.

I will handle this one.

@adaussy adaussy force-pushed the ada/fix/issue1048 branch from 1cfc0f0 to d843929 Compare March 10, 2025 14:41
@AxelRICHARD AxelRICHARD force-pushed the ada/fix/issue1048 branch 2 times, most recently from 903b596 to 3c99c6b Compare March 10, 2025 15:35
Bug: eclipse-syson#1048
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
@AxelRICHARD AxelRICHARD merged commit 40e9b4e into eclipse-syson:main Mar 11, 2025
3 checks passed
@adaussy adaussy deleted the ada/fix/issue1048 branch March 27, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve TransitionUsage import with implit source

2 participants