Set up AngularJS overview to show all Bundles for a selected BundlesSource
Relevant files for the front-end:
src/main/webapp/scripts/app/entities/bundlesSource/bundlesSource-detail.html
src/main/webapp/components/entities/bundlesSource/bundlesSource.service.js
A problem exists with the REST endpoint not returning some bundlesSource's "bundles". @christoph.hellmich ran into a similar challenges with Wizard entity's "steps" relationship. The solution found back then was
- to remove the @JsonIgnore annotation from Wizard entity's "steps" field and fetch eagerly
- and introducing the @JsonView(xyz) annotation on entity fields and introducing the @JsonView(xyz) annotation on WizardResource's REST methods, e.g.
org.gesis.dda.wizard.web.rest.WizardResource.getAllWizards()
Gerrit will update file bundlesSource.service.js
to make the AngularJS side understand bundlesSource's "bundles" relationship. http://stackoverflow.com/a/14530508/923560 could be a possible solution.