Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.11 KB

Soffitjs

A quick and dirty POC returning html from node given a remote portlet request.

Steps to integrate to portal

  1. Deploy the soffit portal code update
  2. Build and install soffit to your local m2 cache
  3. Cherry-pick/merge/whatever Drew Wills' soffit branch - Also can be seen at this PR
  4. Build/deploy portal wherever you'd like to test
  5. Manage Portlets

Import

(cont.)

  1. Modify data in the included xml definition file (soffit-test-one.portlet-definition.xml)
  2. Import using the Admin import/export feature (or your preferred import method)

Manual

(cont.)

  1. Register New Portlet
  2. Portlet (Adapter for JSR-168 and JSR-286 Portlets)
  3. /uPortal > Soffit Connector
  4. Add portlet preference org.apereo.portlet.soffit.connector.SoffitConnectorController.serviceUrl : <node_url_and_port>
  • This will probably be fine as http://localhost:3000/ unless you're running the portal and this code on different machines
  1. Publish as usual
  2. Navigate to /uPortal/p/<your_portlet_fname>
  3. ?
  4. PROFIT!