I am just getting started a project to do some customization of RT, and I’m
finding the documentation confusing and the book a little bit out of date.
I’m wondering if there is a standard way to deliver your customizations
(dashboards, scrips, saved queries etc) to the production database? Do you
just write database scripts, or what? Do you copy over a database dump
file?
Also, is there any documentation for the REST api other than trying to find
the appropriate scripts and doing a “perldoc” on them?
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
I am just getting started a project to do some customization of RT, and I’m
finding the documentation confusing and the book a little bit out of date.
I’m wondering if there is a standard way to deliver your customizations
(dashboards, scrips, saved queries etc) to the production database? Do you
just write database scripts, or what? Do you copy over a database dump
file?
Use extensions with initialdata files. Extensions can have tests (just
borrow Test.pm file from modern extension) and at least this would
simplify greatly dropping DB and re-inserting your initialdata file
for testing.
Also, is there any documentation for the REST api other than trying to find
the appropriate scripts and doing a “perldoc” on them?
Use REST client from CPAN or use rt command line utility to catch
requests and responses.
–
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
RT Training Sessions (http://bestpractical.com/services/training.html)
- Boston — March 5 & 6, 2012
List info: The rt-devel Archives
Best regards, Ruslan.
I am just getting started a project to do some customization of RT, and I’m
finding the documentation confusing and the book a little bit out of date.
I’m wondering if there is a standard way to deliver your customizations
(dashboards, scrips, saved queries etc) to the production database? Do you
just write database scripts, or what? Do you copy over a database dump
file?
Use extensions with initialdata files. Extensions can have tests (just
borrow Test.pm file from modern extension) and at least this would
simplify greatly dropping DB and re-inserting your initialdata file
for testing.
Note that initialdata files can not only contain the basic object
definitions allowed, but you can put arbitrary code in subrefs pushed
into @Final.
Thomas