Like in the case of JIRA, the Tim synchronization UI in the project edition will
only appear if Tim connector is activated.
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
Lots of changes:
* Created a new model to follow the standard structure of controllers in
LibrePlan.
* Marked several strings to be internationalized.
* Improved .zul page, removing unneeded stuff and simplifying code.
* Checked that cron expression is right, otherwise inform the user.
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
Maybe it's not needed to get all workers, so the call to findAll has been changed by findByCode.
Moreover, it was using code in ExportTimesheetsToTim and NIF in
ImportRosterFromTim which was not coherent, so it has been changed to use code
in both places.
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
It makes code simpler than using Calendar API, and it's the common way to manage
dates into LibrePlan.
FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
DTO classes are renamed to class-name with suffix DTO according to Libreplan naming convention
Modified all classes which are affected by the renamed classes
Comments and author information added where applicable
Test cases modified
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.
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
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.
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.
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.
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.
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.
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
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.