/hydra-fragments

serving fragments through Hydra

Primary LanguageJava

FRAGMENTS

Demo to analyze problems when loading a fragment via Hydra

Fixed by disabling csrf in security-config

Example

start hydra, common and fragment

This is OK

This is NOT OK

TODO

Hydra

hydra hello

  • Register applications
  • Serving fragment between common and fragments
  • When fragments are used, normal actions no longer work.
  • Initial attribute values are not resolved in fragment.

Common

common hello

  • Connection to Hydra
  • Displaying fragment sample from service fragment
  • UI IS updated from controller when INTERNAL fragments are use
  • UI IS NOT updated from controller when EXTERNAL fragments are use (fixed !)
  • Initial attribute values ARE NOT resolved in fragment.

Fragments

fragment sample

  • Connection to Hydra
  • Serving fragment sample to common
  • Initial attribute values ARE resolved in fragment (reference)[http://localhost:8888/reference]