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

Services inside the workspace with specific types can't be called #469

Open
ylussaud opened this issue Sep 14, 2022 · 1 comment
Open

Services inside the workspace with specific types can't be called #469

ylussaud opened this issue Sep 14, 2022 · 1 comment

Comments

@ylussaud
Copy link
Collaborator

ylussaud commented Sep 14, 2022

This bug was detected inside Capella but is probably not limited to Capella.

For instance the following service can't be resolved if it's in the workspace:

public static String test(CapellaElement capellaElement) {
    return "OK";
}

This has probably something to do with the class path and/or the different classloader used to load the service and the model.

As a workaround, one can create a plug-in project with his template and service class, use the template registry extension point. Then start a runtime with the input model and create a .genconf file and use the "Browse registry" button to select the template. You can find more details in this discussion.

@ylussaud ylussaud added this to the 3.2.3 milestone Sep 16, 2022
@ylussaud ylussaud modified the milestones: 3.3.0, 3.3.1 May 2, 2023
@ylussaud ylussaud modified the milestones: 3.3.1, 3.3.2 Sep 19, 2023
@ylussaud ylussaud modified the milestones: 3.3.2, 3.3.3 Dec 4, 2023
@ylussaud
Copy link
Collaborator Author

This should be fixed when using AQL 8.x.

@ylussaud ylussaud removed this from the 3.3.3 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant