iRail / The-DataTank

DEPRECATED - new repo at http://github.com/tdt/core
http://thedatatank.com
26 stars 9 forks source link

Installed resource - hierarchical approach #108

Closed coreation closed 12 years ago

coreation commented 12 years ago

Hierarchical processing (adding and calling) of installed resources is now implemented as follows:

Old approach of making a class derived from AResource is still there, naming convention is still the same. (Make sure it is unique, our approach is concatenate the folderstructure and name of the class as the classname, this is just a practice we use, not a obligatory thing).

Then once you created your resource, you can publish it by using our API, so just like adding a 'generic' resource like CSV, excel,... The parameters that need to be passed can be checked out on our TDTInfo/Admin resource; these are:

classname ( the classname of the installed resource ) location ( relative from custom/packages; so if you have a resource X in folder /custom/packages/Y your location value should be X/Y )

coreation commented 12 years ago

Package/resource/RESTparameters don't work for corepackages

coreation commented 12 years ago

Found and fixed the issue !