Skip to content
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

#2061 Correcting the behavior of DiagramServices #2713

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ebausson-obeo
Copy link
Contributor

When DiagramServices tests an EdgeMapping for selection or visibility, the disconnect between EdgeMappingImpl and EdgeMappingWrapper is now managed, allowing easier integration of external features and plugins into Capella.

@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-1 started!

@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-2 started!

@eclipse-capella-bot
Copy link

😞 Build master-PR-2713-2 failed!

@ebausson-obeo
Copy link
Contributor Author

Bonjour @pdulth, the CI has the same error on my three merge requests on this repository, on a plugin I haven't touched yet (I'm waiting to resolve pending issue before pushing the associated doc update).
Do you have any insight in what is going on? @lredor pointed me toward you in this specific case.
Thanks.

[INFO] Calling: /bin/sh -c cd '/home/jenkins/agent/workspace/capella-product_PR-2713/doc/plugins/org.polarsys.capella.developer.doc/html/api-docs/javadoc' && '/opt/tools/java/openjdk/jdk-17/latest/bin/javadoc' '@/home/jenkins/agent/workspace/capella-product_PR-2713/doc/plugins/org.polarsys.capella.developer.doc/target/javadoc.options.txt'
Loading source files for package null...
error: No source files for package null
1 error
[INFO] execution failed with rc = 2
org.polarsys.capella.developer.doc ................. FAILURE

@pdulth
Copy link
Contributor

pdulth commented Sep 1, 2023

Bonjour @pdulth, the CI has the same error on my three merge requests on this repository, on a plugin I haven't touched yet (I'm waiting to resolve pending issue before pushing the associated doc update). Do you have any insight in what is going on? @lredor pointed me toward you in this specific case. Thanks.

[INFO] Calling: /bin/sh -c cd '/home/jenkins/agent/workspace/capella-product_PR-2713/doc/plugins/org.polarsys.capella.developer.doc/html/api-docs/javadoc' && '/opt/tools/java/openjdk/jdk-17/latest/bin/javadoc' '@/home/jenkins/agent/workspace/capella-product_PR-2713/doc/plugins/org.polarsys.capella.developer.doc/target/javadoc.options.txt'
Loading source files for package null...
error: No source files for package null
1 error
[INFO] execution failed with rc = 2
org.polarsys.capella.developer.doc ................. FAILURE

yep weird, i will look

@pdulth pdulth force-pushed the fix-management-edgeMappingWrapper branch from f9173ee to b9ad835 Compare September 4, 2023 11:29
@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-3 started!

@eclipse-capella-bot
Copy link

👍 Build master-PR-2713-3 is successfull! The product is available here.

@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-4 started!

@sonarcloud
Copy link

sonarcloud bot commented Sep 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@eclipse-capella-bot
Copy link

👍 Build master-PR-2713-4 is successfull! The product is available here.

@pdulth
Copy link
Contributor

pdulth commented Sep 5, 2023

FYI build is ok if you rebase your branch from master

@ebausson-obeo ebausson-obeo force-pushed the fix-management-edgeMappingWrapper branch from d09ad10 to 447c86a Compare November 16, 2023 14:32
@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-5 started!

Copy link

sonarcloud bot commented Nov 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@eclipse-capella-bot
Copy link

👍 Build master-PR-2713-5 is successfull! The product is available here.

@lfasani
Copy link
Contributor

lfasani commented Nov 29, 2023

According to @pdulth you should use DiagramService.isMapping directly instead of having your own code.
Philippe will test and may add additional comments

@ebausson-obeo
Copy link
Contributor Author

ebausson-obeo commented Dec 6, 2023

According to @pdulth you should use DiagramService.isMapping directly instead of having your own code.
Philippe will test and may add additional comments

The change to DiagramService.isMapping was already committed 3 weeks ago is this branch. (commit: 447c86a )

When DiagramServices tests an EdgeMapping for selection or visibility,
the disconnect between EdgeMappingImpl and EdgeMappingWrapper is now
managed,
allowing easier integration of external features and plugins into
Capella.
@ebausson-obeo ebausson-obeo force-pushed the fix-management-edgeMappingWrapper branch from 447c86a to 8763399 Compare January 26, 2024 16:02
@eclipse-capella-bot
Copy link

🚀 Build master-PR-2713-6 started!

Copy link

sonarcloud bot commented Jan 26, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@eclipse-capella-bot
Copy link

😟 Build master-PR-2713-6 is unstable! The product is available here.

@pdulth
Copy link
Contributor

pdulth commented Feb 14, 2024

I tried using only DiagramServices.getDiagramServices().isMapping and the original issue with DiagramStyler/ExchangeCategory seems fixed.
Can you try #2810.
Thanks

@pdulth pdulth marked this pull request as draft February 14, 2024 15:39
@SteveMonnier
Copy link
Contributor

Hi @pdulth, thanks for the new PR, I will check the scenario with your new PR and get back to you.

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.

None yet

5 participants