Jacques Le Roux
5b6cdb16f9
Implemented: Add the entity-auto CRUD services for RuntimeData
...
(OFBIZ-9161)
At OFBIZ-9159 I added the entity-auto CRUD services for JobSandbox but
w/o permission check.
While working on this issue I decided it's better to have them and decided to
also put them for JobSandbox CRUD services.
So here are the entity-auto CRUD services for RuntimeData and permission check
for JobSandbox CRUD services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1776558 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 13:16:50 +00:00
Jacques Le Roux
5167567dc3
Implemented: Add the entity-auto CRUD services for JobSandbox
...
(OFBIZ-9159)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1776528 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 08:53:50 +00:00
Divesh Dutta
5e92410b8f
Improvement: Minilang code readability and consistency improvements.
...
(OFBIZ-9109)
Thanks: Ankush Upadhyay for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768237 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 16:18:54 +00:00
Arun Patidar
948731c898
Implemented: Added CRUD services for OrderContentType, RateType, SequenceValueItem, ProdCatalogInvFacility, StatusValidChange, SubscriptionActivity, SubscriptionAttribute, SubscriptionType, SubscriptionTypeAttr, SupplierRatingType, TaxAuthorityAssocType, TaxAuthorityRateType, TermType, TermTypeAttr, Uom, Addendum entities.
...
(OFBIZ-8289) (OFBIZ-8307)(OFBIZ-8440)(OFBIZ-8728)(OFBIZ-8775)(OFBIZ-8776)(OFBIZ-8777)(OFBIZ-8778)(OFBIZ-8779)(OFBIZ-8780)(OFBIZ-8781)(OFBIZ-8782)(OFBIZ-8783)(OFBIZ-8784)(OFBIZ-8787)(OFBIZ-8964)
Thanks: Rahul Singh, Chinmay Patidar, Amit Gadaley and Rishi Solanki for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768184 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 10:56:52 +00:00
Arun Patidar
91a7f26b7b
Implemented: Added CRUD services for ProductAverageCostType, ProductCategoryContentType, ProductCategoryType, ProductCategoryTypeAttr, ProductContentType, ProductFeatureApplType, ProductFeatureIactnType, ProductMaintType, ProductMeterType, ProductOrderItem, ProductPriceActionType, ProductPriceAutoNotice, ProductStoreGroupType, ProductType, ProductTypeAttr and StatusType entities. Also converted services of ContactMechLink to entity-auto.
...
(OFBIZ-8731)(OFBIZ-8732)(OFBIZ-8733)(OFBIZ-8734)(OFBIZ-8735)(OFBIZ-8736)(OFBIZ-8737)(OFBIZ-8762)(OFBIZ-8763)(OFBIZ-8764)(OFBIZ-8765)(OFBIZ-8766)(OFBIZ-8771)(OFBIZ-8772)(OFBIZ-8773)(OFBIZ-8774)(OFBIZ-8807)
Thanks: Rahul Singh, Chinmay Patidar, Rohit Koushal and Rishi Solanki for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768080 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 19:04:55 +00:00
Arun Patidar
b2273163be
Implemented: Added CRUD services for ShipmentAttribute, ShipmentBoxType, ShipmentContactMechType, ShipmentCostEstimate, ShipmentGatewayConfig, ShipmentReceipt, ShipmentTypeAttr, ShoppingListItemSurvey, StandardLanguage and StatusItem entities
...
(OFBIZ-8443) (OFBIZ-8444) (OFBIZ-8452) (OFBIZ-8453) (OFBIZ-8454) (OFBIZ-8468) (OFBIZ-8472) (OFBIZ-8477) (OFBIZ-8479) (OFBIZ-8481)
Thanks: Amit Gadaley for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766111 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 19:35:12 +00:00
Arun Patidar
db6aecccc8
Applied patch from jira issue - OFBIZ-8020 - Added CRUD services for CatalinaSession entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759096 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 15:48:34 +00:00
Deepak Dixit
834691742b
(OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Nicolas Malin
9e72d270f1
Add new process on entity-auto for create invocation to populate automatically the field changeUserLoginId and statusDate for EntityStatus. The purpose is track userlogin for status change, and apply on all entity that cover the EntityStatus concept. The origin issue has been raise by Nameet Jain on OFBIZ-7611
...
This improvement add a control to not update or delete an EntityStatus by entity-auto (for help developer) and complete unit test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751530 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 19:06:52 +00:00
Nicolas Malin
f27504a3a0
Related to the thread http://ofbiz.135035.n4.nabble.com/entity-auto-and-cancel-operation-td4676929.html on the dev mailing list and the issue OFBIZ-6892, this commit manage the action expire on entity-auto engine.
...
When you call expire on a entity :
* if a date field is present on service attribute, OFBiz try to expire it with the given value or with now date
* else try to expire thruDate field
* else try to expire *ThruDate or thru*Date field
With the new action I refactoring the code to separate each action on dedicate function.
the unit test associate to expire action was updated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735737 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 08:04:16 +00:00
Nicolas Malin
0c5de17f41
Add the possibility to set a blackout period for job manager service. During this time all async and scheduled service are put on hold.
...
This improvement add a entity JobManagerLock, a new screen to add/edit job manager lock and an information for end user on FindJob and ScheduleJob screen.
See more information on issue OFBIZ-6790. Thanks to Jacques for sharing on this improvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727570 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 12:52:34 +00:00
Nicolas Malin
5bbff9f365
Manage multi pk with sub-sequence on entity-auto (OFBIZ-5800),
...
Add the possibility to the entity-auto engine on the create action to manage entities with more than 2 primary keys which one is under sub sequence or fromDate, like PerfReview (employeePartyId, employeeRoleTypeId, perfReviewId) or PartyQual (partyId, partyQualTypeId, fromDate).
Improve return message for the create action if the entity value exist and the delete action if the entity value not exist instead of the database message error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637596 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 21:00:55 +00:00
Nicolas Malin
37bb53af64
Add junit test to control entity-auto on create, update and delete to ensure no regression when the entity-auto engine will be improve (like OFBIZ-5800)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1630079 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 12:17:55 +00:00
Nicolas Malin
52d93e3ef3
No functional change, clean end line space
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629816 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 07:35:55 +00:00
Jacques Le Roux
da9f389cb5
A small change to more easily see current pending jobs and possibly cancel some others while canceling one manually
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103667 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:03:39 +00:00
Adrian Crum
de50263021
Built out the new service parameter description feature. Descriptions defined in service interfaces are not being copied to the implementations - so that needs to be fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981067 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:16:46 +00:00
Erwan de Ferrieres
e710059ab7
OFBIZ-3798 Add xml-rpc engine on serviceengine - A new patch from Nicolas Malin ( https://issues.apache.org/jira/browse/OFBIZ-3798 ) - Also updating xml-rpc libs from 3.0.1 to 3.1.2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959261 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 10:52:12 +00:00
Erwan de Ferrieres
0803e3c6f1
Reverting previous commit as it wasn't fully reviewed and was producing errors. Sorry guys...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959076 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 19:19:55 +00:00
Erwan de Ferrieres
ad183f5cea
OFBIZ-3798 Add xml-rpc engine on serviceengine - ( https://issues.apache.org/jira/browse/OFBIZ-3798 )
...
A patch from Nicolas Malin - adding a generic service to call xml-rpc server. The goal is to have a technical interface to make calls directly from mini-lang.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 18:43:56 +00:00
Scott Gray
c3d2b880de
Delay the completion of the testServiceEcaGlobalEventExec test to allow the global ecas to complete before the next test is run, fixes OFBIZ-3124 reported by Jeremy Wickersheimer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835548 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 21:13:49 +00:00
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
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Andrew Zeneski
a0ffc4e42b
added new service to reset scheduled jobs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:12:58 +00:00
Andrew Zeneski
b1478118c4
changed so the purgeOldJobs service can only run one at a time to prevent locking on the job sandbox table; when it is running on multiple application servers at the same time
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577097 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 22:56:19 +00:00
David E. Jones
1aeaa42a42
Added test of global-commit and global-rollback, also commented out the failing tests so that these will all succeed, as solutions are found for these other tests they should be added back in, those are the lock wait timeout tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576730 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:46:04 +00:00
David E. Jones
4c56bd82d9
Fixed a couple of issues with the tx tests, for deadlock the problem was with the test, also changed to hide error with the rollback only set and attempt to commit so doesn't show up as error or failure in test case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575366 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 16:47:36 +00:00
David E. Jones
882124675e
Fixed problem with service engine and TransactionUtil where if rollback only was set in a service it could not run sub-services even in their own transaction; the test case for this now passes with no problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574514 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 08:52:18 +00:00
David E. Jones
84580f87fb
Added service to test case that is currently not working where a service with a transaction with rollback only set can't call a service in its own transaction
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574493 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 07:15:30 +00:00
David E. Jones
afefce6020
These failure cases are now running properly, though for the first lock wait timeout I still don't like the error results because it is hard to identify for retry purposes; whatever the case, here they are; NOTE these WILL all fail right now and that is expected, these are in anticipation of new Service Engine features to automatically recover from these errors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573813 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 10:32:18 +00:00
David E. Jones
c5e71667f6
Added some test cases for deadlock and lock wait timeout errors to be used when developing auto retry feature in service engine; note that this isn't implemented yet so these (usually not used) test cases will fail, if that becommes a problem we can comment them out in the test def xml file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572280 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:45:24 +00:00
Andrew Zeneski
3cd7c25f6f
implemented a simple date based ECA condition
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569693 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 16:02:35 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski
8c9e6bd5c6
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Andrew Zeneski
92fc817dfa
changed resourceDescription to optional; will get set if not passed in the service engine BUT needs to get passed validation first
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515902 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:44:55 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones
c8ffca7540
Added resource-description attribute to permission-service element, which if not specified will default to the service-name for the main service; this is then passed to the permission service for use in error messages, etc; added example to this in the example component; also updated the header on the ExamplePermissionServices.xml file to make it more consistent
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494762 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 08:18:50 +00:00
Andrew Zeneski
45cf1f4ea1
implemented new service based permission; removed the ServiceSecurity interface which this now replacess
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494718 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 05:29:30 +00:00
Jacopo Cappellato
de1b33bba9
License change from MIT to ASL2.0 for the files of the service component.
...
Thanks to Scott Gray for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423866 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:19:51 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00