You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "Abhitocode (via GitHub)" <gi...@apache.org> on 2024/10/31 10:24:50 UTC
[PR] Adding Business Calendar Example [incubator-kie-kogito-examples]
Abhitocode opened a new pull request, #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [incubator-kie-issues#1596] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "Abhitocode (via GitHub)" <gi...@apache.org>.
Abhitocode closed pull request #2031: [incubator-kie-issues#1596] Adding Business Calendar Example
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on PR #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031#issuecomment-2449952604
Hi @Abhitocode Thanks for the PR!
Some comments:
1. please declare the newly added `business-calendar-example` module to parent pom
2. please add a pom.xml to this new module
3. please add some integration tests - if this example is using something already tested in kogito-runtimes, you may use the same approach, even if behind a rest invocation
4. is this correct -> `business.cal.timezone= system default timezone..`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [incubator-kie-issues#1596] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on code in PR #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031#discussion_r1827614908
##########
kogito-quarkus-examples/process-business-calendar-example/src/main/resources/org/application.properties:
##########
Review Comment:
This has to be under "/resources", together with calendar.properties
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [incubator-kie-issues#1596] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on code in PR #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031#discussion_r1829603286
##########
kogito-quarkus-examples/process-business-calendar-example/src/test/resources/calendar.properties:
##########
@@ -0,0 +1,12 @@
+business.end.hour=24
+business.hours.per.day=24
+business.start.hour=0
+business.holiday.date.format=yyyy-MM-dd
+business.days.per.week =7
+business.cal.timezone= system default timezone..
Review Comment:
@Abhitocode I guess this property should be commented on, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [incubator-kie-issues#1596] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "Abhitocode (via GitHub)" <gi...@apache.org>.
Abhitocode commented on code in PR #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031#discussion_r1829679751
##########
kogito-quarkus-examples/process-business-calendar-example/src/test/resources/calendar.properties:
##########
@@ -0,0 +1,12 @@
+business.end.hour=24
+business.hours.per.day=24
+business.start.hour=0
+business.holiday.date.format=yyyy-MM-dd
+business.days.per.week =7
+business.cal.timezone= system default timezone..
Review Comment:
@yesamer Yes, you're right, missed on it, will update in the reopened pr https://github.com/apache/incubator-kie-kogito-examples/pull/2036
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [incubator-kie-issues#1596] Adding Business Calendar Example [incubator-kie-kogito-examples]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #2031:
URL: https://github.com/apache/incubator-kie-kogito-examples/pull/2031#issuecomment-2455531061
**PR job** `#5` was: **UNSTABLE**
Possible explanation: This should be test failures
<details>
<summary><b>Reproducer</b></summary>
build-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 https://github.com/apache/incubator-kie-kogito-examples/pull/2031 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
</details>
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:**
- PASSED: 391
- FAILED: 4
Those are the test failures:
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2031/5/testReport/org.kie.kogito.examples/OrdersProcessIT/testOrderProcessWithError/">org.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithError</a></summary>
Process 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 "<local2>" is null
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2031/5/testReport/org.kie.kogito.examples/OrdersRestIT/testOrdersWithErrorRest/">org.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest</a></summary>
1 expectation failed.<br/>JSON path [0].id doesn't match.<br/>Expected: is "57e0a65a-6b46-4be2-a618-4722b2cf531c"<br/> Actual: null<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2031/5/testReport/org.kie.kogito.examples.demo/OrdersProcessIT/testOrderProcessWithError/">org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithError</a></summary>
Process 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 null
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2031/5/testReport/org.kie.kogito.examples.demo/OrdersRestIT/testOrdersWithErrorRest/">org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest</a></summary>
1 expectation failed.<br/>JSON path [0].id doesn't match.<br/>Expected: is "f698f2ae-0910-4b29-9473-4d3a9f6027a3"<br/> Actual: null<br/>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org