Commit Graph
47 Commits
Author SHA1 Message Date
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Vikas Mayur 9f8491cf9f Removed the script directory from classpath for oagis component and chaged the service def to refer to simple method files by component:// url instead of classpath resource location. This is the second step (I guess after David commit for the same thing but for example component in rev 574829) to make the project less classpath dependent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718213 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 09:57:57 +00:00
David E. Jones a7f3eac338 Some adjustments to the services so that they will run on global-commit, or global-commit-post-run where needed; also changed the configuration so that the secas file is not commented out, but the eca ref in the ofbiz-component.xml file is, this allows add in components to mount that eca rule themselves; in general a number of bug fixes so these work again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576816 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 10:07:57 +00:00
David E. Jones e1dde76457 Changed these to run only when transaction from triggering processes commit; this will avoid sending false messages and such
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575437 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 20:21:16 +00:00
David E. Jones 257b155880 Whoops, committed with SECAS uncommented, commenting back out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574455 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:10:02 +00:00
David E. Jones f8ab693708 Added service to re-receive messages in OagisMessageInfo records
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574452 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:07:28 +00:00
David E. Jones a0ad94e33b Fixed issues with receive Confirm BOD messages, including putting SHIPREQEUST in the db instead of SHIPREQES which was put in before to comply with the OAGIS spec of 10 characters for that field; also issue with including userLogin in the find OagisMessageInfo query, so cleaned up that code; also renamed receiveConfirmBod to be like others, oagisReceiveConfirmBod
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572843 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 00:26:20 +00:00
David E. Jones 7efb9b26d7 Added service to take Set of orderIds that are no longer on backorder and call the oagisSendProcessShipment message for each; uses new Set returned by balanceInventoryItems service; as per normal the SECAs are commented out so that none of this runs by default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569963 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 02:30:23 +00:00
David E. Jones ae205e9f92 Added initial pass on Ack Del for status change service; note that this is a quick initial implementation and not yet tested for this new functionality in this service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568281 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 21:04:05 +00:00
David E. Jones 036508cb72 Refactoring to improve service names to clarify their purpose and avoid future conflicts; also separately commening out the reserveProductInventoryByFacility SECA because it caused a double call to oagisSendProcessShipment, and somehow in a way that resulted in multiple shipments too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567672 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 12:40:30 +00:00
David E. Jones ecd7cd329b Changed for better userLogin passing around and a fairly big change to handle business/message errors separate from system errors so that retry and Confirm BOD behavior is as desired
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566646 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 10:22:17 +00:00
David E. Jones 227f14d995 Changed process incoming message services to save error status and the message handler that checks for existing messages to look for errors and allow the call to go through passing in a parameter so the services know they are processing an error retry, and changed them to handle that as needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:27:59 +00:00
David E. Jones a015f448c8 Changed the error message handling for incoming messages and sending outgoing CBOD messages; also cleaned up the services.xml file to eliminate unused service defs and organize the services better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 23:50:59 +00:00
Anil Patel 6d04dc4bf0 added list of inventoryItemIds in result.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565555 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 22:18:55 +00:00
Anil Patel ad1593d4bf changed service to trigger processShipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564979 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:45:44 +00:00
Anil Patel 7e61c1cf30 changed service to trigger processShipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564972 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:49:37 +00:00
Anil Patel 14e7c38083 check if orderItems are on back order before sending process shipment and put eca in place (commented by default) call processShipment when inventory is received.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564842 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 07:31:49 +00:00
David E. Jones 91cbccf8d8 Set max-retry on these services as they will largely be called async persisted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564522 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:09:21 +00:00
Anil Patel bf78c41070 Added a eca rule for calling oagisReceiveDelivery service when ReturnHeader moves to ACCEPTED status.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564407 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 22:26:28 +00:00
David E. Jones f2c4f2833e Added max retries because is now called async and persisted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564073 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:02:01 +00:00
David E. Jones 05f88aa2a0 Changes to make sure OagisMessageInfo services are run in a new transaction for saving interim results
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562449 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:02:46 +00:00
David E. Jones 14aaea0f58 Changed default, though still commented out, to run oagisProcessShipment async
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562292 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:53:35 +00:00
David E. Jones dd0e4dcd67 Changed to only retry 3 times for saving message info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562289 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:26:44 +00:00
David E. Jones ed5ff3837c Small changes for better error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562278 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 22:23:38 +00:00
Anil Patel 4e55c75546 cleanup and fixes to use service routing service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559031 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 12:50:36 +00:00
Anil Patel 2bb6f1f4d1 adding message routing service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558954 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 07:59:50 +00:00
Anil Patel 9859aae9f0 improvements to ReceiveDelivery service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558936 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 05:54:37 +00:00
Anil Patel 1fcc9e532b improvements to processShipment. Now tries to get Payment Auth before shipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558657 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 08:37:52 +00:00
Anil Patel 365582e1a1 Cleaning up of error message response.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558628 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 07:11:56 +00:00
Anil Patel 963100f454 Reverted changed made in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558236 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 03:56:36 +00:00
Anil Patel 2786787474 adding cc auth process before processing shipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558234 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 03:34:07 +00:00
Anil Patel cf4c077184 syncInventory service improvements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557848 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 02:52:13 +00:00
Anil Patel a028e9a207 Improved error response handling.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555723 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 19:12:01 +00:00
Anil Patel 574b8da524 call to createOagisMessageInfo is moved into services. Messages are now being saved to a File.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553909 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:46:27 +00:00
David E. Jones 71c768a074 Some changes to the processShipment service (which is now oagisProcessShipment to separate it further) so it can do various things with the export output
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552772 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 10:17:05 +00:00
Anil Patel 9a180e24af Improvement and clean up in processShipment service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551913 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 14:58:33 +00:00
Anil Patel 389c721b27 additional fields added to message. Tons of clean up still pending.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551667 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 19:16:49 +00:00
Anil Patel 04ae04918f first cut of RMA services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551599 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 15:42:04 +00:00
Anil Patel eb4f38d80f Added receive delivery message service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551503 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 08:31:10 +00:00
Anil Patel 9b74e4b120 Minor clean ups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551498 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 08:11:19 +00:00
Anil Patel 3844ae37d2 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551015 13f79535-47bb-0310-9956-ffa450edef68 2007-06-27 02:31:13 +00:00
Anil Patel 24fd6c8141 First cut of sendConfirmBod service and template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550708 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 06:28:08 +00:00
Anil Patel 94eef8186d First cut of ProcessShipment message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550347 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 05:04:47 +00:00
Anil Patel 8d9641297a Connect syncInventory service to request for processing message from partner.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550019 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 07:33:56 +00:00
Anil Patel 560fc38d6f set connection from controller request to service for receiveConfirmBod.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550016 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 07:19:44 +00:00
Anil Patel 4ce539faa6 modified service for showShipment to accept stream.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550009 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 05:15:10 +00:00
Anil Patel 10e7eab2f3 Added CRUD services for Message Info entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549594 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 20:07:50 +00:00