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

Enable Business Calendars #1554

Open
pefernan opened this issue Oct 21, 2024 · 0 comments · May be fixed by apache/incubator-kie-kogito-runtimes#3686
Open

Enable Business Calendars #1554

pefernan opened this issue Oct 21, 2024 · 0 comments · May be fixed by apache/incubator-kie-kogito-runtimes#3686
Assignees
Labels
area:engine Related to the runtime engines area:workflows Related to the general workflow engine

Comments

@pefernan
Copy link

pefernan commented Oct 21, 2024

We must reenable the Business Calendar capabilty for processes. Currently Business Calendars aren't available in the process environment and cannot be loaded. Additionally the actual BusinessCalendarImpl is using the wrong classloader to load the calendar.properties file.

In order to sort this out, we should make BusinessCalendar injectable in the ProcessConfig, so it can be later set into the process environment. We may need to have a BusinessCalendarProducer(quarkus/springboot) generated during the codegen (only if the calendar.properties is present in the project).

Then if the Calendar is correctly injected we should be able to get from the application configuraition when creating the DummyKnowledgeRuntime and set it into the Environment using the right key, so it will be available for the process engine.

@pefernan pefernan self-assigned this Oct 21, 2024
@pefernan pefernan added area:engine Related to the runtime engines area:workflows Related to the general workflow engine labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:engine Related to the runtime engines area:workflows Related to the general workflow engine
Projects
Status: ⏳ In Progress
Development

Successfully merging a pull request may close this issue.

1 participant