-
Notifications
You must be signed in to change notification settings - Fork 392
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
[incubator-kie-issues#1596] Adding Business Calendar Example #2031
Conversation
Hi @Abhitocode Thanks for the PR! Some comments:
|
...kus-examples/process-business-calendar-example/src/main/resources/org/application.properties
Outdated
Show resolved
Hide resolved
PR job Reproducerbuild-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-examples -u #2031 --skipParallelCheckout NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2031/5/display/redirect Test results:
Those are the test failures: org.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithErrorProcess instance with id 7a6449f6-7784-445c-b8d4-a2d0e58a1842 failed becuase of Process instance with id 7a6449f6-7784-445c-b8d4-a2d0e58a1842 failed becuase of [demo.orders:7a6449f6-7784-445c-b8d4-a2d0e58a1842 - Dump order:[uuid=_0617D7DF-047A-4EC4-85E7-E201D640F4F5]] -- Cannot invoke "String.toUpperCase()" because "" is nullorg.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.JSON path [0].id doesn't match. Expected: is "57e0a65a-6b46-4be2-a618-4722b2cf531c" Actual: null org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithErrorProcess instance with id bae56bf0-7a4d-4602-a8a5-44c6b1905afd failed becuase of Process instance with id bae56bf0-7a4d-4602-a8a5-44c6b1905afd failed becuase of [demo.orders:bae56bf0-7a4d-4602-a8a5-44c6b1905afd - Dump order:[uuid=_0617D7DF-047A-4EC4-85E7-E201D640F4F5]] -- Cannot invoke "String.toUpperCase()" because "approver" is nullorg.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.JSON path [0].id doesn't match. Expected: is "f698f2ae-0910-4b29-9473-4d3a9f6027a3" Actual: null |
business.start.hour=0 | ||
business.holiday.date.format=yyyy-MM-dd | ||
business.days.per.week =7 | ||
business.cal.timezone= system default timezone.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Abhitocode I guess this property should be commented on, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes: apache/incubator-kie-issues#1596
Add an example ensuring business calendar functionality to kogito-quarkus-examples.
The example should include a simple process that uses a business calendar. The example should contain a good README with clear step by step instructions, and has to incorporate all supporting resources required. The priority would be having this example for Quarkus.
Note: PR still in progress, files needs to be updated.