Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By now the web resources should be installed to into your target 3dspace server folder. Value Components are Component basic behaviour is controlled by some global settings such as global properties (e.g production mode for performance or development efficiency) . Let’s take a look at the result in 3dspace.

Panel
panelIconId1f446
panelIcon:point_up_2:
panelIconText👆
bgColor#F4F5F7

Exercise 2 - Installation result and Setup

  • ‘WEB‘3dspace/WEB-INF/web.xml’

    • Search “tvc”, you should find an added servlet definition, mapping etc. <SCREENSHOT>

  • ‘WEB‘3dspace/WEB-INF/classes/helium.xml’

    • Copy below code snippet with minimal setup (used for automatic routing based on object type)

  • ‘WEB‘3dspace/WEB-INF/classes/tvc.properties'

    • Copy below code snippet (dev mode, debug logs, user agent)

  • Locate installed resources

    • ‘3dspace/WEB-INF/lib/tvc*.jar

    • ‘3dspace/tvc' (legacy classic component jsp’s)

    • ‘3dspace/helium'

    • ‘3dspace/webapps/helium'

    • ‘3dspace/WEB-INF/tvc*.tld'

    • ‘3dspace/WEB-INF/tvc' (configs go here in next step)

  • Start server (3dpsace tomee) and find tvc system init in logs

    Should look like this:

    <SCREENSHOT>

WEB-INF/classes/Helium.xml

Code Block
<boilerPlate<TODO/>

WEB-INF/classes/tvc.properties

Code Block
<boilerPlate/>tvc.TODO=debug
tvc.TODO=false
tvc.TODO=User Agent
tvc.TODO=secret123

Deploy a widget

Panel
panelIconId1f446
panelIcon:point_up_2:
panelIconText👆
bgColor#F4F5F7

Exercise 3 - Deploy a widget

Download and deploy Issues widget. <link to simple training zip app>

  • Predefined zip with a few files

    • view and consider content, issue vs common domain xmls

    • expand to WEB-INF/tvc

  • json widget spec

  • use add app in platform management

  • add app to dashboard from compass and test it

...