Keep Calm & Open the Tools - Developers Meetup - February 2017
1. Keep calm & open the Tools 1
Jahia Meetup
Keep calm & open the Tools
2. Keep calm & open the Tools 2
What are the Jahia “Tools” ?
1
3. Keep calm & open the Tools 3
1 The Tools
• Special admin back-office : http://localhost:8080/tools
• Accessed using a special user
• Aggregation of various JSP for various needs (maintenance,
debugging, performances benchmark, …)
4. Keep calm & open the Tools 4
Overview of the
possibilities
What is the Tools’ purpose ?
2
5. Keep calm & open the Tools 5
2 Purpose of the Tools
• Development assistance
• Helping performance issues diagnosis
• Also used for maintenance
6. Keep calm & open the Tools 6
Development assistance
3
7. Keep calm & open the Tools 7
3 Development assistance
• JCR Repository Browser
• JCR Query tool
• Various lists (Filters, Actions, Choicelist initializers & renders)
• …
8. Keep calm & open the Tools 8
Performance issues
4
9. Keep calm & open the Tools 9
4 Performance issues
• JCR Query statistics
• Thread dumps
• Cache management
• Find cache deactivated by editors
• …
12. Keep calm & open the Tools 12
Your own tools
Going further
6
13. Keep calm & open the Tools 13
6 Your own tools
What you need :
• A Jahia module having for parent : org.jahia.bundles
• Make it an OSGI fragment of “tools” bundle
• A JSP
Example :
https://github.com/Jahia/dx-examples/tree/master/example-tools
14. Keep calm & open the Tools 14
New features
What’s next
7
15. Keep calm & open the Tools 15
7 What’s next
• Add your own Tools page in the menu
• Predefined Groovy scripts in the Groovy Console
• Re-index JCR subtree
• Listing of business rules (Drools)
16. Keep calm & open the Tools 16
THE END!
THANKS FOR LISTENING