Yuk-Ming Lam
|
f70c901424
|
Fixed bugs with 'resume', 'cancel', 'pause', etc.
|
преди 4 години |
Yuk-Ming Lam
|
0b260d7e58
|
Code cleanup.
|
преди 4 години |
Yuk-Ming Lam
|
7296a77eac
|
Fixed bug in job managements and broadcast status
|
преди 4 години |
Yuk-Ming Lam
|
0b5c1548af
|
Fix bug of failing to requeue on 0 requeue delay.
|
преди 4 години |
Yuk-Ming Lam
|
f085828d98
|
Added 'SPAM' JobSttus to support NumberWhole
returning 422 HTTP status to indicate message is spammed.
|
преди 4 години |
Yuk-Ming Lam
|
0da88a02c7
|
Add support for SMS provider property 'service_threadpool_size'.
|
преди 4 години |
Yuk-Ming Lam
|
27cf553ffd
|
Added job statuses in support of SMS provider NumberWholesale.
|
преди 5 години |
Yuk-Ming Lam
|
3094d68f20
|
Relax visibility to public.
|
преди 5 години |
Yuk-Ming Lam
|
e18873052d
|
Change visibility of myLogger from private to protected
|
преди 5 години |
Yuk-Ming Lam
|
e6e2ec8ed8
|
Fix bug of not setting the changeStateTime when transitioning to RUNNING
state.
|
преди 5 години |
ymlam
|
56002b3bee
|
Pause and resume
|
преди 6 години |
ymlam
|
cc1a5c174e
|
Fix bug in not properly destroying service and postback threads.
Also fix bug of not doing CANCEL properly.
|
преди 6 години |
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 години |
ymlam
|
c08ba9f57c
|
Moved postback capability from CommEngine to Broadcast.
Tested to work correctly with a 1-recipient SMS broadcast.
Need more testing.
|
преди 6 години |
ymlam
|
bf507f23b4
|
Activate PoolingHttpClientConnectionManager for use in postback.
|
преди 6 години |
ymlam
|
2c7ba134d8
|
Remove unused startProcessing method.
|
преди 6 години |
ymlam
|
1a92409c15
|
Removed unused and already-commented out do_post_good method.
|
преди 6 години |
ymlam
|
8d390402d4
|
More accurate print statement.
|
преди 6 години |
ymlam
|
396dca45be
|
Add compatibility with re-maven era convention of log4php filepaths.
|
преди 6 години |
ymlam
|
2ac4151c04
|
Use PoolingHttpClientConnectionManager to handle postback persistent connections
to Portal.
|
преди 6 години |
ymlam
|
5f8b64843b
|
More debugging statement using System.out.println
|
преди 6 години |
ymlam
|
224eadefd4
|
Move to HttpClient-4.5.2 and do not check SSL certificate when
posting back to portal or cluster.
|
преди 6 години |
yiu
|
e0e56ddf97
|
CommEngine temp changes and maven repo
|
преди 6 години |
ymlam
|
705aedcac9
|
Change context name/value pairs.
|
преди 6 години |
Yiu Leung
|
8b5e6c2be5
|
maven changes
|
преди 6 години |
ymlam
|
e56690259a
|
Update
|
преди 6 години |
ymlam
|
022cb3352a
|
Correct sometimes mis-counting completed jobs.
|
преди 7 години |
ymlam
|
dad895d0ac
|
Do not requeue report as this may lead to a dead lock. It should retry by itself.
|
преди 7 години |
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 години |
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 години |
ymlam
|
dc2b648c26
|
Removed thread name from logging, as it can be displayed using the %t option in log4j.
|
преди 7 години |
ymlam
|
b7962a2333
|
Raise visibility level.
|
преди 7 години |
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 години |
ymlam
|
c7edb78aad
|
Start report in a new line in logging.
Add time of wait when waiting for available space in postQueue.
|
преди 9 години |
ymlam
|
87b7e197dc
|
Remove end of line in logging so that a job report is in one single line.
|
преди 9 години |
ymlam
|
f49203affa
|
Wake threads that are waiting for available space to add job reports to postQueue.
|
преди 9 години |
ymlam
|
7daa802a25
|
Move POST processing to Broadcast.doPost method.
|
преди 9 години |
ymlam
|
6165eff51c
|
Move POST processing to Broadcast.doPost method.
|
преди 9 години |
ymlam
|
a92b947160
|
Added broadcast state 'EXPIRED'.
|
преди 10 години |
ymlam
|
4ec51daae7
|
Removed READY from Job.Status which is a concept in the portal, not with CommEngine.
|
преди 11 години |
ymlam
|
1853a905e5
|
Improved job counting and fixed bug of non-matching time units involved in rescheduling.
|
преди 11 години |
ymlam
|
785ea730b3
|
moved log4j.properties file from classes directory to sibling of properties file, which is specified by a servlet context parameter.
|
преди 11 години |
ymlam
|
d6d08d14ef
|
Improved organization of broadcast exceptions.
|
преди 11 години |
ymlam
|
566fa78ef0
|
Added attribute sleepBetweenJobs, time in milliseconds, for the service threads to sleep between consecutive jobs (or more exact batches of jobs).
|
преди 11 години |
ymlam
|
d30a7dcd49
|
Pruned out unused JobStatus, and comment on use of each JobStatus.
|
преди 11 години |
ymlam
|
e446718bda
|
Adjust to change of Broadcast.cancel method.
|
преди 11 години |
ymlam
|
83b9ecefad
|
Change HALT to PAUSE
Added syncrhonized qualifier to 2 methods to guard against simultaneous update by 2 threads.
Completed CANCEL processing.
|
преди 11 години |
ymlam
|
7ea29e35fc
|
Add logging of stack trace of unexpected Throwable.
|
преди 11 години |
ymlam
|
9d7883e60f
|
Follows redirection when posting
|
преди 13 години |
ymlam
|
d2179500c7
|
Added logging.
|
преди 13 години |