ofbiz-component.xml

Clone Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reverted: "Improved: Use ‘depends-on’ attribute instead of “component-load.xml”" (OFBIZ-11296)

This reverts commit eeabe69813a1d9f42911dec70a912574046ef49b.

  1. … 24 more files in changeset.
Improved: Use ‘depends-on’ attribute instead of “component-load.xml” (OFBIZ-11296)

We currently have two ways to define component loading order. Either

by using ‘depends-on’ attribute in “component-config.xml” or by adding

a “component-load.xml” file at the root of a component directory.

“depends-on” is more flexible because it handles partial ordering when

“component-load.xml” defines a total order which is not necessarily

meaningful, so it is better to rely only “depends-on”.

This removes the usage of “component-load.xml” to use ‘depends-on’

instead. The dependency declarations correspond to the total ordering

previously defined but will need to be refined in the future to relax

unnecessary dependency declarations.

Only “framework/base/config/component-load.xml” which defines the

top-level directories order (framework, applications, themes and

plugins) is kept.

  1. … 24 more files in changeset.
Improved: Remove redundant "dtd" directory from classpath (OFBIZ-11161)

the "dtd" directories are already present as resources distributed

inside OFBiz jar, so there is no need to augment the classpath to find

the XML schema inside those directories.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1865796 13f79535-47bb-0310-9956-ffa450edef68

  1. … 10 more files in changeset.
Added: Unit test case for service - getDataResource. (OFBIZ-8423) Thanks Tanmay Muley for reporting and Yogesh Naroliya for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856597 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
Implemented : File transfer management with communicationEvent and new contactMech FTP_ADDRESS (OFBIZ-10245)

This commit introduce a new way to manage file transfer in OFBiz.

Inspired by mailing communication event management, a new communicationEventTypeId is created ('FILE_TRANSFER_COMM').

Such commEvent with classics : partyIdFrom/partyIdTo/contactMechIdTo/entryDate etc. are analysed by a job (like sendEmailDated), to send associated contents to a configured FTP/SFTP/FTPS server. If failure happens, it is catched and stored in communicationEvent, waiting for a new try.

For this purpose :

A new contactMechTypeId is introduced (FtpAddress), with its corresponding table. This contactMech store needed information for basic user/password authentication (server url and protocol, port, username, password, etc.)

A new service sendFileTransferDated that will look for pending file transfer and call following service.

A new service sendCommEventAsFtp that take a selected commEvent, check its structure and manage its status after trying the associated content file transfers.

A new service sendContentToFtp, that take a content and transfer it to a given FtpAddress.

A seca createCommEventFromFtpTransfer on sendContentToFtp to manage plural content file transfer, creating children communicationEvent to follow each content transfer separately (only for several content transfers).

A new Interface FtpClientInterface, with the 3 implementations of FTP, FTPS (To Implement), SFTP clients to manage Ftp connection and transfer.

A new property file to enable and manage redirection for testing purpose.

With this implementation, creating a communicationEvent, with a FtpAddress contactMechIdTo, and sendFileTransferDated job planned, the file is transfered to the ftp : communication event status set to COM_COMPLETE, if error occured the communication event status is set to COM_BOUNCED with error message on communicationEvent note.

Thanks Rishi for your feedbacks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831867 13f79535-47bb-0310-9956-ffa450edef68

  1. … 22 more files in changeset.
Improved: Move all data in applications to the datamodel component. Move the PortalPortlet, PortletPortletCategory and PortletCategory data to party, workeffort and content components from datamodel. (OFBIZ-9501) Thanks to Taher for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828817 13f79535-47bb-0310-9956-ffa450edef68

  1. … 9 more files in changeset.
Improved: Move all data in applications to the datamodel component. Moved demo data from accounting, commonext, content, humanres, manufacturing, marketing, order, party, product, workeffort components to datamodel component. Done changes in related data files and do entries accordingly. (OFBIZ-9501) Thanks to Sourabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823177 13f79535-47bb-0310-9956-ffa450edef68

  1. … 69 more files in changeset.
Fixed: Corrected file name in content ofbiz-component.xml file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818912 13f79535-47bb-0310-9956-ffa450edef68

Improved: Move all data in applications to the datamodel component. Move the help data back to the origin component from where moved to datamodel as discussed on ticket. (OFBIZ-9501) Thanks to Taher and Jacques for finalizing the direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817151 13f79535-47bb-0310-9956-ffa450edef68

  1. … 7 more files in changeset.
Improved: Move all data in applications to the datamodel component. Moved seed and seed-initial data from party, content, security ext and work effort component. Left with few data changes which can be moved to some plugins or confusing. Will share the data over community and proceed accordingly once base effort is complete. Thanks Sourabh Jain, Saurabh Dixit and Prakhar Kumar for your contribution. (OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813724 13f79535-47bb-0310-9956-ffa450edef68

  1. … 30 more files in changeset.
Improved: Several file names do not adhere to conventions applied to same files in other components. (OFBIZ-9338)

Thanks Pierre Smits for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800303 13f79535-47bb-0310-9956-ffa450edef68

  1. … 29 more files in changeset.
Implemented: Added CRUD services for DocumentAttribute, Document and DesiredFeature entity. (OFBIZ-8161) (OFBIZ-8162) (OFBIZ-8163)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761193 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2 more files in changeset.
Forgot this one at r1755306 for OFBIZ-7776 because I hesitated removing the README

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755401 13f79535-47bb-0310-9956-ffa450edef68

Fixes "Remove warnings regarding missing component lib folders" - https://issues.apache.org/jira/browse/OFBIZ-7776 - by cleaning/clearing the references to non existent/empty dirs.

Notes:

* Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)

* When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml

* I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755306 13f79535-47bb-0310-9956-ffa450edef68

  1. … 45 more files in changeset.
OFBIZ-6760: Moved all entity definitions from the applications components into a new component named "datamodel". This is a first step to refactor application components into independent parts that can be deployed when needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720413 13f79535-47bb-0310-9956-ffa450edef68

  1. … 30 more files in changeset.
Fix OFBiz looking for web.xml in wrong place - https://issues.apache.org/jira/browse/OFBIZ-6259.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674451 13f79535-47bb-0310-9956-ffa450edef68

This reapplies r1519245: The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658621 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
Added missing OFBTOOLS base-permission; thanks to Darrell (darrell73s <darrellofbiz@gmail.com>) for the bug report in the users mailing list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576757 13f79535-47bb-0310-9956-ffa450edef68

Closes https://issues.apache.org/jira/browse/OFBIZ-5521 as not a problem It was my bad, I was simply stupid on this, reverts r1519245

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1562767 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519245 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars. In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68

  1. … 50 more files in changeset.
This is not needed anymore

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517132 13f79535-47bb-0310-9956-ffa450edef68

Comment out non-existent web application.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400385 13f79535-47bb-0310-9956-ffa450edef68

A patch from Tom Burns "BIRT interferes with Context Help" https://issues.apache.org/jira/browse/OFBIZ-5033

To reproduce:

In the Accounting,Facility, or Order component.

Click the Help icon

Expected:

Help window opens for the active component

Actual:

Help window opens for BIRT

The following, added in Rev. 1361130 to BIRT ofbiz-component.xml, appears to be causing the problem. The problem goes away if BIRT is not loaded.

<webapp name="accounting"

title="Accounting"

server="default-server"

location="webapp/accounting"

base-permission="OFBTOOLS,ACCOUNTING"

mount-point="/accounting"/>

<webapp name="facility"

title="Facility"

description="FacilityComponentDescription"

server="default-server"

location="webapp/facility"

base-permission="OFBTOOLS,FACILITY"

mount-point="/facility"/>

<webapp name="order"

title="Order"

description="OrderComponentDescription"

server="default-server"

location="webapp/ordermgr"

base-permission="OFBTOOLS,ORDERMGR"

mount-point="/ordermgr"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1396105 13f79535-47bb-0310-9956-ffa450edef68

Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list). Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68

  1. … 223 more files in changeset.
A patch from Olivier Heintz "Example Help data files has not been moved to example" https://issues.apache.org/jira/browse/OFBIZ-4935

Example component has been moved from framework to specialpurpose.

When example was in framework content data for help was loaded in content component because example was loaded before content.

Now it's possible (and more logical) to load content help for example in example.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355807 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2 more files in changeset.
split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68

  1. … 126 more files in changeset.
reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68

  1. … 42 more files in changeset.
introduced a new data-reader : 'security'

Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .

It is still loaded as part of the reader 'demo'

to load the security files:

./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>

<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>

<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1346255 13f79535-47bb-0310-9956-ffa450edef68

  1. … 34 more files in changeset.
remove reference to a deleted file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142970 13f79535-47bb-0310-9956-ffa450edef68