Commit Graph
21 Commits
Author SHA1 Message Date
Nicolas Malin f4aab777a5 Improved: Refactoring permission model call
(OFBIZ-7113)
With the problem to have a permission service not on the same transaction that the related service [1]

I realized the following improvement to
 * unified call evalPermission
 * move all related field for permission service on ModelService to ModelPermission
 * Remove deprecated code
 * add labelized error message  
 * call as same transaction the permission service by defautl with possibility to overide this rule 
 * add new attributes on permission model: require-new-transaction and return-error-on-failure

Thanks to Jacques Leroux for the review


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866137 13f79535-47bb-0310-9956-ffa450edef68
2019-08-30 08:47:48 +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 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
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
Hans Bakker ea3a88e1a6 Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +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
Adam Heath ecd71ac2eb Revert back to the previous version.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750345 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 07:05:04 +00:00
Adam Heath c41f9edc98 Converted to <test-group>, as these are really all related.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 02:41:37 +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 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 20d6259e82 Added some tougher variations on the deadlock retry test case to make sure both threads succeed in the end; note that this appears to be failure for the non-retry thread so the retry code and/or the test cases need a little more work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573973 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 09:39:13 +00:00
David E. Jones 3249854cee A few refinements to the deadlock retry test case, but the main part of this is the actual implementation of the deadlock retry in the service engine, and the implementation of that makes the deadlock test case pass now; this is a bit of rework in some low level code so this needs some good testing beyond the few general tests already done
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573956 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 08:13:25 +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
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
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
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