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

Refactor Camunda subsystem to use WildFly subsystem and service libraries #4104

Open
yanavasileva opened this issue Feb 14, 2024 · 1 comment
Labels
type:subtask Issues that are subtasks of another issue. Must always be part of the breakdown of the parent issue.

Comments

@yanavasileva
Copy link
Member

yanavasileva commented Feb 14, 2024

Acceptance Criteria (Required on creation)

  • Prerequisite: we know how to refactor the source code that uses org.jboss.msc.service.ServiceController.getService()/getValue().
  • Camunda subsystem use WildFly subsystem and service instead of JBoss MSC API

Hints

Links

Breakdown

Pull Requests

Preview Give feedback
No tasks being tracked yet.
@yanavasileva yanavasileva added type:subtask Issues that are subtasks of another issue. Must always be part of the breakdown of the parent issue. potential:7.21.0 labels Feb 14, 2024
@yanavasileva
Copy link
Member Author

yanavasileva commented Apr 17, 2024

Notes from innovation week:

  • I didn't find any docs beside javadocs in the classes
  • Overall the issue with usage of non-encapsulated service is still problematic. We will need to re-write no matter of which new API we decide to use (org.jboss.msc.Service or the wildfly libraries)
  • subsystem
  • service
    • There's a lot of code duplication from the subsystem module, that gives me a bit of uncertainty in the two libraries. But the author as far as I saw in the most classes is the same. Maybe they can improve that in the future.
    • Attempt to use the library in our subsystem: master...4104-innovation-week-services
      • adjusted only MscRuntimeContainerDelegate and MscBpmPlatformPlugins data don't have a lot of code => local run of engine IT was green with the changes
      • code can be reduce and readability improved if we adopt the library API
      • start and stop service methods must be re-written with tasks (org.wildfly.service.Installer.UnaryBuilder.onStart(Consumer<T>))
  • I raised [MSC-345] ServiceBuilder: populate serviceId from provided dependencies jboss-msc/jboss-msc#136 as I still think, there's an issue in JBoss MSC when the serviceId=null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:subtask Issues that are subtasks of another issue. Must always be part of the breakdown of the parent issue.
Projects
None yet
Development

No branches or pull requests

1 participant