Package org.apache.juneau.petstore.console
package org.apache.juneau.petstore.console
Petstore admin console: the
/console page tree.
Every page is a FreeMarker template rendered inside the base.ftlh console chrome, mounted beside the
unchanged /petstore API and sharing its PetStore.
Example:
-
ClassesClassDescriptionAbout: what the petstore demonstrates, as prose cards, plus Juneau's REST utility beans shown against the
Petdomain bean.Serves the console chrome assets (the structuralchrome.css, the stock theme packs andjuneau-console.js) at the context-root/juneau-console/*URLs that every console page links.The console's write gate.The/petstoreAPI's CSRF boundary: aRequestBoundaryFilterover the framework'sCsrfBoundary, applied to/petstoreand everything under it.The console's CSRF boundary: aLoopbackBoundaryFilterapplied to/consoleand everything under it.Base class for every petstore console page resource: registers the console FreeMarker mixin withbase.ftlhas chrome, and injects the sharedPetStore.Root of the petstore admin console, mounted at/consolebeside the/petstoreAPI and sharing itsPetStore.The Store page, the petstore dashboard, and the feeds its charts, tiles and fragments read.