Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation to sso-helpdesk-backend to highlight important code parts #7

Closed
ay-kay opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@ay-kay
Copy link
Contributor

ay-kay commented Oct 11, 2023

  • Adjusting the letter template
  • Adjusting locations
@rzo1
Copy link
Contributor

rzo1 commented Oct 11, 2023

Locations

The safest way at this point would be to write in the instructions how to send appropriate SQL statements against the dockerized PostgreSQL database, i.e. delete all locations and insert appropriate ones. This way, schema migrations will go through via Flyway (if we just do it via Flyway, it might break future updates).

As an enhancement, you could later simply create locations via the web interface.

Letter Template

The template can be adjusted in https://github.com/HHN/sso-helpdesk-backend/blob/fba0b964fecaa69201401c58a6684e66a1901fe7/src/main/resources/hhn.xslt and tested with the FopUtil in the test source directory.

As an enhancement, we could make this configurable via the web interface, i.e. a privileged user can just edit the xml inside the web interface. For PDF creation, we fetch the XML from the PostgreSQL database.

@rzo1 rzo1 assigned rzo1 and unassigned Snorzze Oct 12, 2023
@rzo1 rzo1 added this to the 2.0.0p1 milestone Oct 12, 2023
@rzo1 rzo1 added the documentation Improvements or additions to documentation label Oct 12, 2023
@rzo1 rzo1 closed this as completed in 05b7d22 Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants