Bug 1037727

Summary: Cannot set start and end time in quartz binding
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Tomas Rohovsky <trohovsk>
Component: SwitchYard EditorAssignee: Brian Fitzpatrick <bfitzpat>
Status: CLOSED CURRENTRELEASE QA Contact: Matej Melko <mmelko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: apodhrad, atangrin, kconner, ldimaggi, oskutka, rcernich, soa-p-jira
Target Milestone: CR2Keywords: Reopened
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-06 11:39:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Rohovsky 2013-12-03 16:44:29 UTC
Cannot set "Start time" and "End Time" in quartz binding. This exception is thrown: "java.lang.Exception: AbstractSwitchyardComposite:Feature ID (endTime) not found." I believe that this can be simply fixed by changing of "startTime" and "endTime" to "triggerStartTime" and "triggerEndTime" in http://goo.gl/SmIKfM

Comment 2 JBoss JIRA Server 2013-12-03 21:09:51 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1873

Fixed in PR for SWITCHYARD-1872

Comment 3 JBoss JIRA Server 2013-12-03 22:33:42 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-1873 to Resolved

Comment 4 Tomas Rohovsky 2013-12-16 16:45:47 UTC
The exception isn't thrown anymore, but Start time and End time elements are not written to switchyard.xml.

Comment 5 JBoss JIRA Server 2013-12-16 17:10:03 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-1873 to Reopened

Comment 6 Rob Cernich 2013-12-17 15:43:14 UTC
The specified time must be in the format yyyy-MM-dd'T'HH:mm:ss or it will not be persisted.  We'll give the user better feedback in 2.0.

Comment 8 Brian Fitzpatrick 2014-06-09 20:02:31 UTC
This has been resolved in the changes for SWITCHYARD-1873. Please see the PDF attached to that closed JIRA for details. Can we verify that this is fixed for 2.0?

Comment 9 Tomas Rohovsky 2014-06-10 09:37:01 UTC
Is the version of tooling that contains the fix available anywhere?

Comment 10 Brian Fitzpatrick 2014-06-10 12:29:39 UTC
The upcoming SwitchYard Tooling 2.0.0.Alpha1 release will include it. I don't think it's gone public yet.

Comment 11 Tomas Rohovsky 2014-06-10 12:47:47 UTC
I have verified that the elements are written to the switchyard.xml in the tooling version 2.0.0.v20140609-1745-H460-Alpha1. However, the runtime contains some issues. I will report them in a separate bz.

I have noticed that the project documentation (https://docs.jboss.org/author/display/SWITCHYARD/Quartz) as well as the product documentation (https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Fuse_Service_Works/6/html/Development_Guide_Volume_1_SwitchYard/chap-Gateways.html#sect-Quartz) state that the format of start and end time should be yyyy-MM-dd'T'HH:mm:ss (T surrounded with apostrophes). But the tooling requires the format to be yyyy-MM-ddTHH:mm:ss (T without apostrophes). It should be clarified in the documentation or fixed in the tooling.

Comment 12 JBoss JIRA Server 2014-11-03 13:35:52 UTC
Andrej Podhradsky <apodhrad> updated the status of jira SWITCHYARD-1873 to Closed

Comment 13 Andrej Podhradsky 2015-01-09 15:56:29 UTC
Verified with JBDS 8.0.0.GA with + JBDS-IS 8.0.0.Beta1 (SwitchYard 2.0.0.v20141011-0508-H499-Alpha3)

Comment 16 Andrej Podhradsky 2016-01-06 11:39:08 UTC
Fixed and included in the latest release