ymlam
|
cc1a5c174e
|
Fix bug in not properly destroying service and postback threads.
Also fix bug of not doing CANCEL properly.
|
6 anni fa |
ymlam
|
78992579de
|
Use completedJobCount and totalJob to help keeping track of job counts in
various states. Delay closing HttpClient until all postback threads have
exited.
|
6 anni fa |
ymlam
|
c08ba9f57c
|
Moved postback capability from CommEngine to Broadcast.
Tested to work correctly with a 1-recipient SMS broadcast.
Need more testing.
|
6 anni fa |
ymlam
|
2c7ba134d8
|
Remove unused startProcessing method.
|
6 anni fa |
ymlam
|
1a92409c15
|
Removed unused and already-commented out do_post_good method.
|
6 anni fa |
ymlam
|
8d390402d4
|
More accurate print statement.
|
6 anni fa |
ymlam
|
396dca45be
|
Add compatibility with re-maven era convention of log4php filepaths.
|
6 anni fa |
ymlam
|
2ac4151c04
|
Use PoolingHttpClientConnectionManager to handle postback persistent connections
to Portal.
|
6 anni fa |
ymlam
|
5f8b64843b
|
More debugging statement using System.out.println
|
6 anni fa |
ymlam
|
2bbcb270cc
|
Merge branch 'maven' of alerttekdev:/home/alerttekdev/git_hub/CommEngine into maven
|
6 anni fa |
ymlam
|
224eadefd4
|
Move to HttpClient-4.5.2 and do not check SSL certificate when
posting back to portal or cluster.
|
6 anni fa |
ymlam
|
bef6df3d0a
|
Merge branch 'maven' of alerttekdev:/home/alerttekdev/git_hub/CommEngine into maven
To get pom.xml file change.
|
6 anni fa |
ymlam
|
2a136e849a
|
Remove eclipse project files.
|
6 anni fa |
yiu
|
5e1e306c39
|
use more recent httpclient
|
6 anni fa |
yiu
|
026b1bdcff
|
updated pom
|
6 anni fa |
yiu
|
9c25bdefdd
|
[maven-release-plugin] prepare for next development iteration
|
6 anni fa |
yiu
|
dc603d891e
|
[maven-release-plugin] prepare release CommEngine-0.0.2
|
6 anni fa |
yiu
|
6de85f03a6
|
updated ssh plugin
|
6 anni fa |
yiu
|
00f52c3b1d
|
[maven-release-plugin] prepare for next development iteration
|
6 anni fa |
yiu
|
c0bc78d643
|
[maven-release-plugin] prepare release CommEngine-0.0.1
|
6 anni fa |
yiu
|
13c8ad0292
|
maven release updates
|
6 anni fa |
yiu
|
d6bf5c6ff5
|
maven release updates
|
6 anni fa |
yiu
|
693a9c47f2
|
maven release updates
|
6 anni fa |
yiu
|
ec27c7a777
|
[maven-release-plugin] prepare release CommEngine-0.0.1
|
6 anni fa |
yiu
|
4edfa1acc8
|
maven release updates
|
6 anni fa |
yiu leung
|
56aa3cb4b3
|
changed groupId to alerttek and target java to 8
|
6 anni fa |
yiu leung
|
0204d6d33f
|
changed target to java 1.8
|
6 anni fa |
Yiu Leung
|
2f2bfa5403
|
merged with master
|
6 anni fa |
yiu
|
e0e56ddf97
|
CommEngine temp changes and maven repo
|
6 anni fa |
ymlam
|
705aedcac9
|
Change context name/value pairs.
|
6 anni fa |
Yiu Leung
|
8b5e6c2be5
|
maven changes
|
6 anni fa |
ymlam
|
e56690259a
|
Update
|
6 anni fa |
ymlam
|
022cb3352a
|
Correct sometimes mis-counting completed jobs.
|
7 anni fa |
ymlam
|
dad895d0ac
|
Do not requeue report as this may lead to a dead lock. It should retry by itself.
|
7 anni fa |
ymlam
|
1ed5321d14
|
Change to require the service threads to wait for space in the postQueue in order to post reports, instead of dropping reports. Better diagnostic logging to help identify threads' life and death events.
|
7 anni fa |
ymlam
|
65c1d3ddde
|
Remove the offending 'synchronized' modifier on postJobStatus method which is not compatible with the scheme to require the service threads to wait for space in the postQueue in order to post reports. Without removing this modifier, the CommEngine is likely to freeze on large broadcasts.
|
7 anni fa |
ymlam
|
dc2b648c26
|
Removed thread name from logging, as it can be displayed using the %t option in log4j.
|
7 anni fa |
ymlam
|
b7962a2333
|
Raise visibility level.
|
7 anni fa |
ymlam
|
73f27cf7f0
|
Reverse last change about waiting for postback queue to have space to add a report, as this wait may result in hanging up the process. So an alarm is added to indicate this report is not queued for sending back to portal.
|
8 anni fa |
ymlam
|
c7edb78aad
|
Start report in a new line in logging.
Add time of wait when waiting for available space in postQueue.
|
9 anni fa |
ymlam
|
87b7e197dc
|
Remove end of line in logging so that a job report is in one single line.
|
9 anni fa |
ymlam
|
f49203affa
|
Wake threads that are waiting for available space to add job reports to postQueue.
|
9 anni fa |
ymlam
|
7daa802a25
|
Move POST processing to Broadcast.doPost method.
|
9 anni fa |
ymlam
|
6165eff51c
|
Move POST processing to Broadcast.doPost method.
|
9 anni fa |
ymlam
|
a92b947160
|
Added broadcast state 'EXPIRED'.
|
10 anni fa |
ymlam
|
4ec51daae7
|
Removed READY from Job.Status which is a concept in the portal, not with CommEngine.
|
11 anni fa |
ymlam
|
1853a905e5
|
Improved job counting and fixed bug of non-matching time units involved in rescheduling.
|
11 anni fa |
ymlam
|
785ea730b3
|
moved log4j.properties file from classes directory to sibling of properties file, which is specified by a servlet context parameter.
|
11 anni fa |
ymlam
|
d6d08d14ef
|
Improved organization of broadcast exceptions.
|
11 anni fa |
ymlam
|
566fa78ef0
|
Added attribute sleepBetweenJobs, time in milliseconds, for the service threads to sleep between consecutive jobs (or more exact batches of jobs).
|
11 anni fa |