Commit graph

8973 commits

Author SHA1 Message Date
Miciele Ghiorghis
4b67e10ab8 Tim-connector: new method setupTimSynchronizationController to setup a controller for TimSynchronization 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
f8d71c9881 Tim-connector: SchedulerManager bean is added
SchedulerManager bean and schedulerFactoryBean are added to make scheduling of jobs possible
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
b622b68589 Tim-connector: Two mapping resource added
AppProperties.hbm.xml and JosSchedulerConfiguration.hb.mxl are added
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
21c65717a8 Tim-connector: Three new tables added
Three tables added:
order_sync_info: holds the order synchronization information
app_properties: holds app configuration properties
job_scheduler_configuratiion: holds job to be scheduled
Both app_properties and job_scheduler_configurations are filled with default values
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
3f606eab3c Tim-connector: An implementation of method findByOrderElementAndChildrenFilteredByDate
To find all WorkReportLines of an order between 2 dates
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
1ce4477c84 Tim-connector: new search method added
findByOrderElementAndChildrenFilteredByDate added, to find all workReportLines of an order between 2 dates
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
9463d94a84 Tim-connector: Method getWorkReportLines added
getWorkReportLines: gets all WorkReportLines of this order specified between start and end date.
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
ddce4b2f1d Tim-connector: Hibernate mapping for OrderSyncInfo is added 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
77fcc3fed2 Tim-connector: extended with connectors-configuration functionality
New methods added to store and get connectors-configurations(AppProperties)
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
e0788a30e4 Tim-connector: extended with connectors functionaliteit.
Functionaliteit added to save and get connector properties
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
65b7d138f0 Tim-connector: A new panel for Connectors-configuration added 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
5b3b278e9e Tim-connector: new component _timOrderTimesheetSync.zul added
A user interface _timOrderTimesheetSync.zul for exporting timesheets to Tim SOAP
server added
2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
7f60352a1a Tim-connector: new Connectors-configuration functioality added 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
23b24f46fd Tim-connector: A new ROLE for job scheduler added 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
82a1b9023b Tim-connector: Test for TimSoapClient 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
05ed133214 Tim-connector: Test for ImportRosterFromTim 2013-02-08 11:16:18 +01:00
Miciele Ghiorghis
3a9b3bada4 Tim-connector: Test for ExportTimesheetsToTim 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
58fa93da0e Tim-connector: UI for timesheet synchronization 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
4605d318f8 Tim-connector: UI for job scheduling 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
339a35a28d Tim-connector: A controller for job scheduling 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
5cd6ac7566 Tim-connector: A controller for Tim synchronizing of timesheets 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
ae54764b17 Tim-connector: SOAP client to interact with Tim SOAP server
This client creates SOAP message, makes connection to the SOAP server, sends
the request and processes the response. It uses jaxb lirary to marshal and
unmarshal the request and response.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
b313de6935 Tim-connector: Helper class to convert Tim rosters to RosterExceptions 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
7520f27604 Tim-connector: The scheduler info (non persistent bean) 2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
fd30e75940 Tim-connector: A manager that dynamically creates jobs and cron-triggers using spring quartz libraray
An implementation of the interface ISchedulerManager
Dynamically creates jobs and cron triggers. It associated the triggers with the jobs and add
them to the scheduler. It also supports the rescheduling of jobs.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
3619f716ee Tim-connector: A manager that dynamically creates jobs and cron-triggers using spring quartz library
An interface that SchedulerManager implements.
Dynamically creates jobs and cron triggers. It associated the triggers with the jobs and add
them to the scheduler. It also supports the rescheduling of jobs.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
93fc9a8a41 Tim-connector: A job that import rosters from Tim SOAP server
This is the job that is scheduled by the scheduler to import rosters from Tim SOAP server.
It is executed based on the cron-expression defined for this job.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
d9fba94d7c Tim-connector: Import rosters from Tim SOAP Server and convert them to worker's calendar exception
An implementation of the interface IImportRosterFromTim
It import rosters from Tim convert them to workers calendar exception. If
worker's calendar exception already exists it updates effort duration, otherwise
creates new worker's calendar exception.
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
225a3475de Tim-connector: Imports Rosters from Tim SOAP server
An interface that ImportRosterFromTim implements
It import Rosters from Tim SOAP server and convert them to workers calendar Exception.
If workers calendar exception already existis it updates the effort duration, otherwise
creates new worker's calendar exception
2013-02-08 11:16:17 +01:00
Miciele Ghiorghis
071c3e84d9 Tim-connector: A job that exports timesheets to Tim SOAP server
This is the job that is scheduled by the scheduler to export timesheets to tim SOAP server
It is executed based on the cron-expression defined for this job.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
d783587123 Tim-connector: exports timesheet to Tim SOAP server
An implementation of the interface IExportTimesheetsTOTim.
It exports timesheets of an existing order to Tim SOAP server.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
138e4d6fac Tim-connector: Export timesheets to Tim SOAP server
An interface that ExportTimesheetsTomTim implements.
It exports timesheets of an existing order to Tim SOAP server.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
3ee39bcffe Tim-connector: Hibernate mapping file for JobSchedulerConfiguration 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
4ffd4e5b50 Tim-connector: Hibernate mapping file for AppProperties 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
f1762336ee Tim-connector: OrderSyncInfo entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
07c2ccaec9 Tim-connector: DAO for OrderSyncInfo
An implementation of the interface IOrderSyncInfoDAO
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
b459606e72 Tim-connector: Contract for OrderSyncInfo
An interface that OrderSyncInfoDAO implements.
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
8869325b60 Tim-connector: JobSchedulerConfiguration entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
ed26857809 Tim-connector: AppProperties entity 2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
f985a65a94 Tim-connector: DAO for JobSchedulerConfiguration
An implementation of IJobSchedulerConfigurationDAO
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
5418fc21b0 Tim-connector: Contract for JobSchedulerConfigurationDAO
An interface that JobSchedulerConfigurationDAO implements
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
3ba555853f Tim-connector: Contract for AppPropertiesDAO
An interface that AppPropertiesDAO implements
2013-02-08 11:16:16 +01:00
Miciele Ghiorghis
fa310807db Tim-connector: DAO for AppProperties
DAO for AppProperties. Implementation of the interface IAppPropertiesDAO
2013-02-08 11:16:16 +01:00
Manuel Rego Casasnovas
be38a3455e jira-integration: Change own implementation to strip whitespaces by StringUtils method
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-08 10:38:33 +01:00
miciele Ghiorghis
1cad4ca9b6 Jira-integration: some improvement on get issues.
getIssues gets now the issues from jira in one request. This is done by adding a
query fields with desired fields to be included in response. Moreover the max_results
is now outside if(!query.isEmpty) statetment.
Test case is modified to read label from jira-properties instead of hard coded
2013-02-08 10:33:45 +01:00
miciele Ghiorghis
946c66163b Jira-integration: modified to test the classes instead code copied and jira label is moved to jira-conn-properties 2013-02-05 14:02:25 +01:00
Manuel Rego Casasnovas
685f0ac77d jira-integration: Allow to search labels by any chars and not only the first ones
Add simple comment explaining the purpose of SimpleListModelExt.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-01 11:34:34 +01:00
Manuel Rego Casasnovas
cdc140c7c8 jira-integration: Increase size of field jiraLabels
As this field could be used to store a list of labels, it's better that it's
longer than 255 chars.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-01 11:30:04 +01:00
Manuel Rego Casasnovas
9d17881ddb jira-integration: Fix issue in _jiraSyncInfo that was using args instead of arg
This was causing that the messages to show or not depending on the success
operation were not working properly.

Moreover, it has been updated the messages to give more information to the user.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-01 11:10:28 +01:00
Manuel Rego Casasnovas
21da67ffcd jira-integration: Fix minor visual stuff in JIRA part inside project edition
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
2013-02-01 10:38:28 +01:00